diff options
Diffstat (limited to 'meta-gnome/recipes-gnome')
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch | 24 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch | 33 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/Remove-pkg-config-check-for-gnome-icon-theme.patch | 35 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince/cross-compile-fix.patch | 25 | ||||
-rw-r--r-- | meta-gnome/recipes-gnome/evince/evince_3.18.2.bb (renamed from meta-gnome/recipes-gnome/evince/evince_2.32.0.bb) | 31 |
5 files changed, 41 insertions, 107 deletions
diff --git a/meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch b/meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch new file mode 100644 index 000000000..592f46606 --- /dev/null +++ b/meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From 40921037d8e7205a3889d529fb4e06f79e1e88b0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 19 Feb 2016 16:52:18 +0200 | ||
4 | Subject: [PATCH] help: remove YELP macro | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded-specific] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | help/Makefile.am | 2 -- | ||
10 | 1 file changed, 2 deletions(-) | ||
11 | |||
12 | diff --git a/help/Makefile.am b/help/Makefile.am | ||
13 | index 7835810..37c88ce 100644 | ||
14 | --- a/help/Makefile.am | ||
15 | +++ b/help/Makefile.am | ||
16 | @@ -1,5 +1,3 @@ | ||
17 | -@YELP_HELP_RULES@ | ||
18 | - | ||
19 | SUBDIRS = reference | ||
20 | |||
21 | HELP_ID = evince | ||
22 | -- | ||
23 | 2.7.0 | ||
24 | |||
diff --git a/meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch b/meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch deleted file mode 100644 index ebc8976b3..000000000 --- a/meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 00b5e55c90477eeac02bec58f032cb6916a1eb5c Mon Sep 17 00:00:00 2001 | ||
2 | From: Hib Eris <hib@hiberis.nl> | ||
3 | Date: Mon, 20 Feb 2012 21:36:16 +0100 | ||
4 | Subject: [PATCH] tiff: fix compile warning | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | Upstream-Status: Backport | ||
10 | |||
11 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | ||
12 | --- | ||
13 | backend/tiff/tiff2ps.c | 4 ++-- | ||
14 | 1 files changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c | ||
17 | index c0dc0bf..fc63c2e 100644 | ||
18 | --- a/backend/tiff/tiff2ps.c | ||
19 | +++ b/backend/tiff/tiff2ps.c | ||
20 | @@ -1127,8 +1127,8 @@ PS_Lvl2page(TIFF2PSContext* ctx, TIFF* tif, uint32 w, uint32 h) | ||
21 | } | ||
22 | buf_data = (unsigned char *)_TIFFmalloc(chunk_size); | ||
23 | if (!buf_data) { | ||
24 | - TIFFError(ctx->filename, "Can't alloc %u bytes for %s.", | ||
25 | - chunk_size, tiled_image ? "tiles" : "strips"); | ||
26 | + TIFFError(ctx->filename, "Can't alloc %u bytes for %s.", | ||
27 | + (uint) chunk_size, tiled_image ? "tiles" : "strips"); | ||
28 | return(FALSE); | ||
29 | } | ||
30 | |||
31 | -- | ||
32 | 1.7.6.5 | ||
33 | |||
diff --git a/meta-gnome/recipes-gnome/evince/evince/Remove-pkg-config-check-for-gnome-icon-theme.patch b/meta-gnome/recipes-gnome/evince/evince/Remove-pkg-config-check-for-gnome-icon-theme.patch deleted file mode 100644 index 6368a315c..000000000 --- a/meta-gnome/recipes-gnome/evince/evince/Remove-pkg-config-check-for-gnome-icon-theme.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From f4051f27aee7cbe88f206783461784c936d7f5db Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 15 Sep 2015 16:17:50 +0300 | ||
4 | Subject: [PATCH] Remove pkg-config check for gnome-icon-theme | ||
5 | |||
6 | Theme is not required for building and the icons are provided by | ||
7 | adwaita-icon-theme anyway | ||
8 | |||
9 | Upstream-Status: Inappropriate [Current versions are fixed] | ||
10 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
11 | --- | ||
12 | configure.ac | 7 ------- | ||
13 | 1 file changed, 7 deletions(-) | ||
14 | |||
15 | diff --git a/configure.ac b/configure.ac | ||
16 | index d061c2e..7856410 100644 | ||
17 | --- a/configure.ac | ||
18 | +++ b/configure.ac | ||
19 | @@ -175,13 +175,6 @@ case "$with_platform" in | ||
20 | SHELL_PLATFORM_PKGS="hildon-1 hildon-fm-2 libosso" | ||
21 | ;; | ||
22 | gnome) | ||
23 | - # Evince has a rather soft run-time dependency on hicolor-icon-theme. | ||
24 | - # If the hicolor theme is not available, Evince fails to display some | ||
25 | - # icons. Because we cannot check for it at run-time, we instead | ||
26 | - # would like to require the icon theme at compile-time. But, because | ||
27 | - # the hicolor-icon-theme does not have a pkgconfig file, on gnome we | ||
28 | - # require the gnome icon theme instead. | ||
29 | - SHELL_PLATFORM_PKGS="gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED" | ||
30 | # The totem-screensaver and egg_smclient code use x11 directly. | ||
31 | SHELL_PLATFORM_PKGS="$SHELL_PLATFORM_PKGS x11" | ||
32 | ;; | ||
33 | -- | ||
34 | 2.1.4 | ||
35 | |||
diff --git a/meta-gnome/recipes-gnome/evince/evince/cross-compile-fix.patch b/meta-gnome/recipes-gnome/evince/evince/cross-compile-fix.patch deleted file mode 100644 index 6f5420a52..000000000 --- a/meta-gnome/recipes-gnome/evince/evince/cross-compile-fix.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | Index: evince-2.30.0/gnome-doc-utils.make | ||
2 | =================================================================== | ||
3 | --- evince-2.30.0.orig/gnome-doc-utils.make 2010-03-29 11:52:47.000000000 -0700 | ||
4 | +++ evince-2.30.0/gnome-doc-utils.make 2010-08-17 15:20:22.597646001 -0700 | ||
5 | @@ -132,13 +132,12 @@ _DOC_ABS_SRCDIR = @abs_srcdir@ | ||
6 | |||
7 | _xml2po ?= `which xml2po` | ||
8 | _xml2po_mode = $(if $(DOC_ID),mallard,docbook) | ||
9 | - | ||
10 | -_db2html ?= `$(PKG_CONFIG) --variable db2html gnome-doc-utils` | ||
11 | -_db2omf ?= `$(PKG_CONFIG) --variable db2omf gnome-doc-utils` | ||
12 | -_malrng ?= `$(PKG_CONFIG) --variable malrng gnome-doc-utils` | ||
13 | -_chunks ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl | ||
14 | -_credits ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl | ||
15 | -_ids ?= `$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl | ||
16 | +_db2html ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable db2html gnome-doc-utils` | ||
17 | +_db2omf ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable db2omf gnome-doc-utils` | ||
18 | +_malrng ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable malrng gnome-doc-utils` | ||
19 | +_chunks ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/chunks.xsl | ||
20 | +_credits ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/credits.xsl | ||
21 | +_ids ?= ${PKG_CONFIG_SYSROOT_DIR}`$(PKG_CONFIG) --variable xmldir gnome-doc-utils`/gnome/xslt/docbook/utils/ids.xsl | ||
22 | |||
23 | if ENABLE_SK | ||
24 | _ENABLE_SK = true | ||
25 | |||
diff --git a/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb b/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb index 2d91075b8..fe63093ad 100644 --- a/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb +++ b/meta-gnome/recipes-gnome/evince/evince_3.18.2.bb | |||
@@ -2,27 +2,24 @@ SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu" | |||
2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" |
4 | SECTION = "x11/office" | 4 | SECTION = "x11/office" |
5 | DEPENDS = "gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade" | 5 | DEPENDS = "gtk+3 libsecret gnome-desktop3 poppler gstreamer1.0-plugins-base orc adwaita-icon-theme" |
6 | PR = "r5" | 6 | PR = "r5" |
7 | 7 | ||
8 | inherit gnome pkgconfig gtk-icon-cache gsettings | 8 | inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection |
9 | 9 | ||
10 | SRC_URI += " \ | 10 | SRC_URI[archive.md5sum] = "c39af6b8b1c44d4393ef8ac9dab99c0b" |
11 | file://cross-compile-fix.patch \ | 11 | SRC_URI[archive.sha256sum] = "42ad6c7354d881a9ecab136ea84ff867acb942605bcfac48b6c12e1c2d8ecb17" |
12 | file://0001-tiff-fix-compile-warning.patch \ | ||
13 | file://Remove-pkg-config-check-for-gnome-icon-theme.patch \ | ||
14 | " | ||
15 | 12 | ||
16 | SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319" | 13 | SRC_URI += "file://0001-help-remove-YELP-macro.patch" |
17 | SRC_URI[archive.sha256sum] = "2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7" | ||
18 | GNOME_COMPRESS_TYPE="bz2" | ||
19 | 14 | ||
20 | EXTRA_OECONF = " --enable-thumbnailer \ | 15 | EXTRA_OECONF = " --enable-thumbnailer \ |
21 | --disable-scrollkeeper \ | ||
22 | --enable-pixbuf \ | ||
23 | --disable-help \ | ||
24 | " | 16 | " |
25 | 17 | ||
18 | do_compile_prepend() { | ||
19 | export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs" | ||
20 | } | ||
21 | |||
22 | |||
26 | do_install_append() { | 23 | do_install_append() { |
27 | install -d install -d ${D}${datadir}/pixmaps | 24 | install -d install -d ${D}${datadir}/pixmaps |
28 | install -m 0755 ${S}/data/icons/48x48/apps/evince.png ${D}${datadir}/pixmaps/ | 25 | install -m 0755 ${S}/data/icons/48x48/apps/evince.png ${D}${datadir}/pixmaps/ |
@@ -30,12 +27,17 @@ do_install_append() { | |||
30 | 27 | ||
31 | PACKAGECONFIG ??= "" | 28 | PACKAGECONFIG ??= "" |
32 | PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" | 29 | PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" |
30 | PACKAGECONFIG[browser-plugin] = "--enable-browser-plugin,--disable-browser-plugin," | ||
33 | 31 | ||
34 | RDEPENDS_${PN} += "glib-2.0-utils" | 32 | RDEPENDS_${PN} += "glib-2.0-utils" |
35 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" | 33 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" |
36 | 34 | ||
37 | PACKAGES =+ "${PN}-nautilus-extension" | 35 | PACKAGES =+ "${PN}-nautilus-extension" |
38 | FILES_${PN} += "${datadir}/dbus-1" | 36 | PACKAGES =+ "${PN}-browser-plugin" |
37 | FILES_${PN} += "${datadir}/dbus-1 \ | ||
38 | ${datadir}/appdata \ | ||
39 | ${datadir}/thumbnailers \ | ||
40 | " | ||
39 | FILES_${PN}-dbg += "${libdir}/*/*/.debug \ | 41 | FILES_${PN}-dbg += "${libdir}/*/*/.debug \ |
40 | ${libdir}/*/*/*/.debug" | 42 | ${libdir}/*/*/*/.debug" |
41 | FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la \ | 43 | FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la \ |
@@ -43,3 +45,4 @@ FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la \ | |||
43 | FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a \ | 45 | FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a \ |
44 | ${libdir}/evince/*/backends/*.a" | 46 | ${libdir}/evince/*/backends/*.a" |
45 | FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" | 47 | FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" |
48 | FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so" | ||