evince: Remove pkg-config check for specific icon theme

Also rrecommend adwaita-icon-theme instead of gnome-icon-theme
(as latter is removed from oe-core).

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Jussi Kukkonen 2015-09-16 17:35:55 +03:00 committed by Martin Jansa
parent d5fd85dfbf
commit d7eba2737f
2 changed files with 38 additions and 2 deletions

View File

@ -0,0 +1,35 @@
From f4051f27aee7cbe88f206783461784c936d7f5db Mon Sep 17 00:00:00 2001
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
Date: Tue, 15 Sep 2015 16:17:50 +0300
Subject: [PATCH] Remove pkg-config check for gnome-icon-theme
Theme is not required for building and the icons are provided by
adwaita-icon-theme anyway
Upstream-Status: Inappropriate [Current versions are fixed]
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
---
configure.ac | 7 -------
1 file changed, 7 deletions(-)
diff --git a/configure.ac b/configure.ac
index d061c2e..7856410 100644
--- a/configure.ac
+++ b/configure.ac
@@ -175,13 +175,6 @@ case "$with_platform" in
SHELL_PLATFORM_PKGS="hildon-1 hildon-fm-2 libosso"
;;
gnome)
- # Evince has a rather soft run-time dependency on hicolor-icon-theme.
- # If the hicolor theme is not available, Evince fails to display some
- # icons. Because we cannot check for it at run-time, we instead
- # would like to require the icon theme at compile-time. But, because
- # the hicolor-icon-theme does not have a pkgconfig file, on gnome we
- # require the gnome icon theme instead.
- SHELL_PLATFORM_PKGS="gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED"
# The totem-screensaver and egg_smclient code use x11 directly.
SHELL_PLATFORM_PKGS="$SHELL_PLATFORM_PKGS x11"
;;
--
2.1.4

View File

@ -2,8 +2,7 @@ SUMMARY = "Evince is a document viewer for document formats like pdf, ps, djvu"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=96f2f8d5ee576a2163977938ea36fa7b"
SECTION = "x11/office"
DEPENDS = "gnome-icon-theme gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade"
DEPENDS = "gnome-doc-utils-native libgnome-keyring tiff libxt ghostscript poppler libxml2 gtk+ gconf libglade"
PR = "r5"
inherit gnome pkgconfig gtk-icon-cache gsettings
@ -11,6 +10,7 @@ inherit gnome pkgconfig gtk-icon-cache gsettings
SRC_URI += " \
file://cross-compile-fix.patch \
file://0001-tiff-fix-compile-warning.patch \
file://Remove-pkg-config-check-for-gnome-icon-theme.patch \
"
SRC_URI[archive.md5sum] = "ebc3ce6df8dcbf29cb9492f8dd031319"
@ -32,6 +32,7 @@ PACKAGECONFIG ??= ""
PACKAGECONFIG[nautilus] = "--enable-nautilus,--disable-nautilus,nautilus"
RDEPENDS_${PN} += "glib-2.0-utils"
RRECOMMMENDS_${PN} = "adwaita-icon-theme"
PACKAGES =+ "${PN}-nautilus-extension"
FILES_${PN} += "${datadir}/dbus-1"