diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/wv')
3 files changed, 62 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/wv/wv-1.2.4/0001-configure-use-foreign-mode-to-avoid-errors-with-miss.patch b/meta-gnome/recipes-gnome/wv/wv-1.2.4/0001-configure-use-foreign-mode-to-avoid-errors-with-miss.patch new file mode 100644 index 000000000..a8c5bc796 --- /dev/null +++ b/meta-gnome/recipes-gnome/wv/wv-1.2.4/0001-configure-use-foreign-mode-to-avoid-errors-with-miss.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From eebe1f27f4b27b05eb4b9b55f9df1124acf4d092 Mon Sep 17 00:00:00 2001 | ||
2 | From: Koen Kooi <koen@dominion.thruhere.net> | ||
3 | Date: Fri, 1 Aug 2014 12:25:24 +0200 | ||
4 | Subject: [PATCH] configure: use 'foreign' mode to avoid errors with missing | ||
5 | NEWS/AUTHORS/etc | ||
6 | |||
7 | Upstream-status: Pending | ||
8 | |||
9 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
10 | --- | ||
11 | configure.ac | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 3d7eef6..1784bdd 100644 | ||
16 | --- a/configure.ac | ||
17 | +++ b/configure.ac | ||
18 | @@ -41,7 +41,7 @@ VERSION=$WV_VERSION | ||
19 | PACKAGE=wv | ||
20 | |||
21 | dnl Initialize automake stuff | ||
22 | -AM_INIT_AUTOMAKE($PACKAGE, $VERSION) | ||
23 | +AM_INIT_AUTOMAKE([foreign]) | ||
24 | |||
25 | # Specify a configuration file | ||
26 | AM_CONFIG_HEADER(config.h) | ||
27 | -- | ||
28 | 1.9.0 | ||
29 | |||
diff --git a/meta-gnome/recipes-gnome/wv/wv-1.2.4/pkgconfig.patch b/meta-gnome/recipes-gnome/wv/wv-1.2.4/pkgconfig.patch new file mode 100644 index 000000000..136d89341 --- /dev/null +++ b/meta-gnome/recipes-gnome/wv/wv-1.2.4/pkgconfig.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | Index: wv-1.2.0/wv-1.0.pc.in | ||
2 | =================================================================== | ||
3 | --- wv-1.2.0.orig/wv-1.0.pc.in 2008-03-19 22:25:18.000000000 +0000 | ||
4 | +++ wv-1.2.0/wv-1.0.pc.in 2008-03-19 22:26:32.000000000 +0000 | ||
5 | @@ -6,5 +6,6 @@ | ||
6 | Name: wvWare | ||
7 | Description: Word Document Filter library and utilities | ||
8 | Version: @VERSION@ | ||
9 | -Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @GLIB_LIBS@ @GSF_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm | ||
10 | -Cflags: -I${includedir}/wv @GSF_CFLAGS@ | ||
11 | +Requires: libgsf-1 | ||
12 | +Libs: -L${libdir} -lwv @WMF_LIBS@ @XML_LIBS@ @PNG_LIBS@ @ZLIB_LIBS@ @LIBS@ -lm | ||
13 | +Cflags: -I${includedir}/wv | ||
diff --git a/meta-gnome/recipes-gnome/wv/wv_1.2.4.bb b/meta-gnome/recipes-gnome/wv/wv_1.2.4.bb new file mode 100644 index 000000000..6489c6f19 --- /dev/null +++ b/meta-gnome/recipes-gnome/wv/wv_1.2.4.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | SUMMARY = "Programs for accessing Microsoft Word documents" | ||
2 | HOMEPAGE = "http://wvware.sourceforge.net/" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=6cbca01f1c9178aca280e8ff64d85b2f" | ||
5 | |||
6 | DEPENDS = "libgsf glib-2.0 libpng" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/wvware/wv-${PV}.tar.gz \ | ||
9 | file://pkgconfig.patch \ | ||
10 | file://0001-configure-use-foreign-mode-to-avoid-errors-with-miss.patch \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[md5sum] = "c1861c560491f121e12917fa76970ac5" | ||
14 | SRC_URI[sha256sum] = "673109910e22d4cf94cc8be4dcb9a0c41b5fbdb1736d4b7bdc7778894d57c2d6" | ||
15 | |||
16 | inherit autotools pkgconfig | ||
17 | |||
18 | S = "${WORKDIR}/${PN}-${PV}" | ||
19 | |||
20 | EXTRA_OECONF = "" | ||