diff options
-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_2.32.0.bb | 5 |
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 @@ | |||
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_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" | |||
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-icon-theme gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade" | 5 | DEPENDS = "gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade" |
6 | |||
7 | PR = "r5" | 6 | PR = "r5" |
8 | 7 | ||
9 | inherit gnome pkgconfig gtk-icon-cache gsettings | 8 | inherit gnome pkgconfig gtk-icon-cache gsettings |
@@ -11,6 +10,7 @@ inherit gnome pkgconfig gtk-icon-cache gsettings | |||
11 | SRC_URI += " \ | 10 | SRC_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 | ||
16 | SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319" | 16 | SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319" |
@@ -32,6 +32,7 @@ PACKAGECONFIG ??= "" | |||
32 | PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" | 32 | PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus" |
33 | 33 | ||
34 | RDEPENDS_${PN} += "glib-2.0-utils" | 34 | RDEPENDS_${PN} += "glib-2.0-utils" |
35 | RRECOMMMENDS_${PN} = "adwaita-icon-theme" | ||
35 | 36 | ||
36 | PACKAGES =+ "${PN}-nautilus-extension" | 37 | PACKAGES =+ "${PN}-nautilus-extension" |
37 | FILES_${PN} += "${datadir}/dbus-1" | 38 | FILES_${PN} += "${datadir}/dbus-1" |