summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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_2.32.0.bb5
2 files changed, 38 insertions, 2 deletions
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
new file mode 100644
index 000000000..6368a315c
--- /dev/null
+++ b/meta-gnome/recipes-gnome/evince/evince/Remove-pkg-config-check-for-gnome-icon-theme.patch
@@ -0,0 +1,35 @@
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_2.32.0.bb b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb
index e742edea9..2d91075b8 100644
--- a/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb
+++ b/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb
@@ -2,8 +2,7 @@ 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-icon-theme gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade" 5DEPENDS = "gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade"
6
7PR = "r5" 6PR = "r5"
8 7
9inherit gnome pkgconfig gtk-icon-cache gsettings 8inherit gnome pkgconfig gtk-icon-cache gsettings
@@ -11,6 +10,7 @@ inherit gnome pkgconfig gtk-icon-cache gsettings
11SRC_URI += " \ 10SRC_URI += " \
12 file://cross-compile-fix.patch \ 11 file://cross-compile-fix.patch \
13 file://0001-tiff-fix-compile-warning.patch \ 12 file://0001-tiff-fix-compile-warning.patch \
13 file://Remove-pkg-config-check-for-gnome-icon-theme.patch \
14" 14"
15 15
16SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319" 16SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319"
@@ -32,6 +32,7 @@ PACKAGECONFIG ??= ""
32PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" 32PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus"
33 33
34RDEPENDS_${PN} += "glib-2.0-utils" 34RDEPENDS_${PN} += "glib-2.0-utils"
35RRECOMMMENDS_${PN} = "adwaita-icon-theme"
35 36
36PACKAGES =+ "${PN}-nautilus-extension" 37PACKAGES =+ "${PN}-nautilus-extension"
37FILES_${PN} += "${datadir}/dbus-1" 38FILES_${PN} += "${datadir}/dbus-1"