summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome
diff options
context:
space:
mode:
Diffstat (limited to 'meta-gnome/recipes-gnome')
-rw-r--r--meta-gnome/recipes-gnome/evince/evince/0001-help-remove-YELP-macro.patch24
-rw-r--r--meta-gnome/recipes-gnome/evince/evince/0001-tiff-fix-compile-warning.patch33
-rw-r--r--meta-gnome/recipes-gnome/evince/evince/Remove-pkg-config-check-for-gnome-icon-theme.patch35
-rw-r--r--meta-gnome/recipes-gnome/evince/evince/cross-compile-fix.patch25
-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 @@
1From 40921037d8e7205a3889d529fb4e06f79e1e88b0 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 19 Feb 2016 16:52:18 +0200
4Subject: [PATCH] help: remove YELP macro
5
6Upstream-Status: Inappropriate [embedded-specific]
7Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
8---
9 help/Makefile.am | 2 --
10 1 file changed, 2 deletions(-)
11
12diff --git a/help/Makefile.am b/help/Makefile.am
13index 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--
232.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 @@
1From 00b5e55c90477eeac02bec58f032cb6916a1eb5c Mon Sep 17 00:00:00 2001
2From: Hib Eris <hib@hiberis.nl>
3Date: Mon, 20 Feb 2012 21:36:16 +0100
4Subject: [PATCH] tiff: fix compile warning
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Backport
10
11Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
12---
13 backend/tiff/tiff2ps.c | 4 ++--
14 1 files changed, 2 insertions(+), 2 deletions(-)
15
16diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c
17index 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--
321.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 @@
1From f4051f27aee7cbe88f206783461784c936d7f5db Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Tue, 15 Sep 2015 16:17:50 +0300
4Subject: [PATCH] Remove pkg-config check for gnome-icon-theme
5
6Theme is not required for building and the icons are provided by
7adwaita-icon-theme anyway
8
9Upstream-Status: Inappropriate [Current versions are fixed]
10Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
11---
12 configure.ac | 7 -------
13 1 file changed, 7 deletions(-)
14
15diff --git a/configure.ac b/configure.ac
16index 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--
342.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 @@
1Index: 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"
2LICENSE = "GPLv2" 2LICENSE = "GPLv2"
3LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b" 3LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b"
4SECTION = "x11/office" 4SECTION = "x11/office"
5DEPENDS = "gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade" 5DEPENDS = "gtk+3 libsecret gnome-desktop3 poppler gstreamer1.0-plugins-base orc adwaita-icon-theme"
6PR = "r5" 6PR = "r5"
7 7
8inherit gnome pkgconfig gtk-icon-cache gsettings 8inherit gnome pkgconfig gtk-icon-cache gsettings gobject-introspection
9 9
10SRC_URI += " \ 10SRC_URI[archive.md5sum] = "c39af6b8b1c44d4393ef8ac9dab99c0b"
11 file://cross-compile-fix.patch \ 11SRC_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
16SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319" 13SRC_URI += "file://0001-help-remove-YELP-macro.patch"
17SRC_URI[archive.sha256sum] = "2a4c91ae38f8b5028cebb91b9da9ddc50ea8ae3f3d429df89ba351da2d787ff7"
18GNOME_COMPRESS_TYPE="bz2"
19 14
20EXTRA_OECONF = " --enable-thumbnailer \ 15EXTRA_OECONF = " --enable-thumbnailer \
21 --disable-scrollkeeper \
22 --enable-pixbuf \
23 --disable-help \
24" 16"
25 17
18do_compile_prepend() {
19 export GIR_EXTRA_LIBS_PATH="${B}/libdocument/.libs"
20}
21
22
26do_install_append() { 23do_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
31PACKAGECONFIG ??= "" 28PACKAGECONFIG ??= ""
32PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" 29PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus"
30PACKAGECONFIG[browser-plugin] = "--enable-browser-plugin,--disable-browser-plugin,"
33 31
34RDEPENDS_${PN} += "glib-2.0-utils" 32RDEPENDS_${PN} += "glib-2.0-utils"
35RRECOMMMENDS_${PN} = "adwaita-icon-theme" 33RRECOMMMENDS_${PN} = "adwaita-icon-theme"
36 34
37PACKAGES =+ "${PN}-nautilus-extension" 35PACKAGES =+ "${PN}-nautilus-extension"
38FILES_${PN} += "${datadir}/dbus-1" 36PACKAGES =+ "${PN}-browser-plugin"
37FILES_${PN} += "${datadir}/dbus-1 \
38 ${datadir}/appdata \
39 ${datadir}/thumbnailers \
40 "
39FILES_${PN}-dbg += "${libdir}/*/*/.debug \ 41FILES_${PN}-dbg += "${libdir}/*/*/.debug \
40 ${libdir}/*/*/*/.debug" 42 ${libdir}/*/*/*/.debug"
41FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la \ 43FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la \
@@ -43,3 +45,4 @@ FILES_${PN}-dev += "${libdir}/nautilus/extensions-2.0/*.la \
43FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a \ 45FILES_${PN}-staticdev += "${libdir}/nautilus/extensions-2.0/*.a \
44 ${libdir}/evince/*/backends/*.a" 46 ${libdir}/evince/*/backends/*.a"
45FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so" 47FILES_${PN}-nautilus-extension = "${libdir}/nautilus/*/*so"
48FILES_${PN}-browser-plugin = "${libdir}/mozilla/*/*so"