Update recipes that refer to gnome-icon-theme
Following patches remove references to gnome-icon-theme which has been removed from oe-core. In some cases they've been replaced with "adwaita-icon-theme", but in others some additional changes were required (mostly when the build system unnecessarily checks for the theme).
Cheers, Jussi
[meta-oe][PATCH 1/5] gupnp-tools: Upgrade 0.8.1 -> 0.8.10 [meta-oe][PATCH 2/5] evince: Remove pkg-config check for specific [meta-oe][PATCH 3/5] gnome-system-monitor: Remove pkg-config check [meta-oe][PATCH 4/5] gnome-themes: Depend on adwaita, not [meta-oe][PATCH 5/5] xfce4-settings: recommend adwaita, not
PATCH 1/5 gupnp-tools: Upgrade 0.8.1 -> 0.8.10
* Icon theme is no longer a build requirement.
* RRecommend Adwaita as icon theme
* Depend on GTK+3
* license checksum change is not an actual license change
---
.../gupnp/{gupnp-tools_0.8.1.bb => gupnp-tools_0.8.10.bb} | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
rename meta-multimedia/recipes-connectivity/gupnp/{gupnp-tools_0.8.1.bb => gupnp-tools_0.8.10.bb} (50%)meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.8.10.bb renamed from meta-multimedia/recipes-connectivity/gupnp/gupnp-tools_0.8.1.bb +6 -5
@@ -1,11 +1,12 @@ SUMMARY = "Tools for GUPnP" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ - file://src/network-light/main.c;beginline=1;endline=21;md5=033bf37c030780c5a72165846b3003f6" -DEPENDS = "gupnp gupnp-av gtk+ gnome-icon-theme" + file://src/network-light/main.c;beginline=1;endline=21;md5=2c39b3a000495dabd4932f231c7efed8" +DEPENDS = "gupnp gupnp-av gtk+3" +RRECOMMENDS_${PN} = "adwaita-icon-theme" -SRC_URI = "http://download.gnome.org/sources/${BPN}/0.8/${BPN}-${PV}.tar.bz2" -SRC_URI[md5sum] = "cafc2a4f2d1a91a8c1228799073d1d7d" -SRC_URI[sha256sum] = "57d5ca899f8da7e4ae69e5f98d75d1603aa7f388022f9ccb357f90abb22b75b6" +SRC_URI = "http://download.gnome.org/sources/${BPN}/0.8/${BPN}-${PV}.tar.xz" +SRC_URI[md5sum] = "ad8423d036e98bc6f877528d6b846f6a" +SRC_URI[sha256sum] = "592c53289ff1cd70e676405c56ca87b28d2da37a385d34a3bb9b944ba9108d17" inherit autotools pkgconfig
Signature · 1 line
2.1.4
PATCH 2/5 evince: Remove pkg-config check for specific icon theme
In reply to Jussi KukkonenAlso rrecommend adwaita-icon-theme instead of gnome-icon-theme (as latter is removed from oe-core).
--- ...ove-pkg-config-check-for-gnome-icon-theme.patch | 35 ++++++++++++++++++++++ meta-gnome/recipes-gnome/evince/evince_2.32.0.bb | 5 ++-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 meta-gnome/recipes-gnome/evince/evince/Remove-pkg-config-check-for-gnome-icon-theme.patch
meta-gnome/recipes-gnome/evince/evince/Remove-pkg-config-check-for-gnome-icon-theme.patch new file +35 -0
@@ -0,0 +1,35 @@ +From f4051f27aee7cbe88f206783461784c936d7f5db Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +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 <[email protected]> +--- + 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 +
meta-gnome/recipes-gnome/evince/evince_2.32.0.bb +3 -2
@@ -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"
Signature · 1 line
2.1.4
PATCH 3/5 gnome-system-monitor: Remove pkg-config check for specific icon theme
In reply to Jussi KukkonenAlso rrecommend adwaita-icon-theme instead of gnome-icon-theme (as latter is removed from oe-core).
--- ...ove-pkg-config-check-for-gnome-icon-theme.patch | 30 ++++++++++++++++++++++ .../gnome-system-monitor_2.28.2.bb | 5 +++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 meta-gnome/recipes-gnome/gnome-system-monitor/files/Remove-pkg-config-check-for-gnome-icon-theme.patch
meta-gnome/recipes-gnome/gnome-system-monitor/files/Remove-pkg-config-check-for-gnome-icon-theme.patch new file +30 -0
@@ -0,0 +1,30 @@ +From 36fd2aa23e712f05f0cce4a1be3453fcf405d026 Mon Sep 17 00:00:00 2001 +From: Jussi Kukkonen <[email protected]> +Date: Tue, 15 Sep 2015 16:28:18 +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 [Fixed in current versions] +Signed-off-by: Jussi Kukkonen <[email protected]> +--- + configure.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.in b/configure.in +index 3600823..42262f2 100644 +--- a/configure.in ++++ b/configure.in +@@ -37,7 +37,7 @@ LIBXML_REQUIRED=2.0 + RSVG_REQUIRED=2.12 + DBUS_REQUIRED=0.7 + +-PKG_CHECK_MODULES(PROCMAN, glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED) ++PKG_CHECK_MODULES(PROCMAN, glib-2.0 >= $GLIB_REQUIRED gconf-2.0 >= $GCONF_REQUIRED libgtop-2.0 >= $LIBGTOP_REQUIRED libwnck-1.0 >= $LIBWNCK_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gtkmm-2.4 >= $GTKMM_REQUIRED libxml-2.0 >= $LIBXML_REQUIRED librsvg-2.0 >= $RSVG_REQUIRED glibmm-2.4 >= $GLIBMM_REQUIRED giomm-2.4 >= $GIOMM_REQUIRED dbus-glib-1 >= $DBUS_REQUIRED) + + + AC_ARG_ENABLE(more-warnings, +-- +2.1.4 +
meta-gnome/recipes-gnome/gnome-system-monitor/gnome-system-monitor_2.28.2.bb +4 -1
@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" SECTION = "x11/gnome" PR = "r2" -DEPENDS = "libgtop gtkmm glibmm gnome-doc-utils gnome-icon-theme libwnck gtk+ dbus-glib librsvg intltool-native" +DEPENDS = "libgtop gtkmm glibmm gnome-doc-utils libwnck gtk+ dbus-glib librsvg intltool-native" inherit gnome SRC_URI[archive.md5sum] = "3f0bca9b0ebc7a365466851cd580d167"
@@ -13,12 +13,15 @@ GNOME_COMPRESS_TYPE="bz2" SRC_URI += " \ file://0001-Fix-glib-includes.patch \ file://0002-src-procman.cpp-include-main-gtkmm.h.patch \ + file://Remove-pkg-config-check-for-gnome-icon-theme.patch \ " do_configure_prepend() { sed -i -e s:help::g ${S}/Makefile.am } +RRECOMMENDS_${PN} = "adwaita-icon-theme" + FILES_${PN} += "${datadir}/icons \ ${datadir}/dbus-1 \ ${datadir}/gnome/autostart \
Signature · 1 line
2.1.4
PATCH 4/5 gnome-themes: Depend on adwaita, not gnome-icon-theme
In reply to Jussi KukkonenRDEPEND on adwaita-icon-theme instead of gnome-icon-theme (as latter is removed from oe-core).
--- meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb +1 -1
@@ -6,7 +6,7 @@ PR = "r3" SECTION = "x11/gnome" DEPENDS = "gtk-engines icon-naming-utils icon-naming-utils-native glib-2.0 intltool-native libxml-simple-perl-native" -RDEPENDS_${PN} = "gnome-icon-theme" +RDEPENDS_${PN} = "adwaita-icon-theme" EXTRA_OECONF += "--enable-all-themes \ --with-iconmap=${STAGING_LIBDIR_NATIVE}/icon-naming-utils/icon-name-mapping \
Signature · 1 line
2.1.4
PATCH 5/5 xfce4-settings: recommend adwaita, not gnome-icon-theme
In reply to Jussi KukkonenRRECOMMEND adwaita-icon-theme instead of gnome-icon-theme (as latter is removed from oe-core).
--- meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_git.bb +1 -1
@@ -30,6 +30,6 @@ FILES_${PN} += " \ ${datadir}/xfce4 \ " -RRECOMMENDS_${PN} += "gnome-icon-theme" +RRECOMMENDS_${PN} += "adwaita-icon-theme" RRECOMMENDS_${PN} += "${@base_contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}" RRECOMMENDS_${PN} += "${@base_contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}"
Signature · 1 line
2.1.4
Re: [meta-oe][PATCH 5/5] xfce4-settings: recommend adwaita, not gnome-icon-theme
Quoted 21 lines · Jussi Kukkonen
RRECOMMEND adwaita-icon-theme instead of gnome-icon-theme (as latter is removed from oe-core).
Signed-off-by Jussi Kukkonen <[email protected]>--- meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings_git.bb +1
-2@@ -30,6 +30,6 @@ FILES_${PN} += " \ ${datadir}/xfce4 \ " -RRECOMMENDS_${PN} += "gnome-icon-theme" +RRECOMMENDS_${PN} += "adwaita-icon-theme" RRECOMMENDS_${PN} += "${@base_contains('DISTRO_FEATURES','alsa','libcanberra-alsa','',d)}" RRECOMMENDS_${PN} += "${@base_contains('DISTRO_FEATURES','pulseaudio','libcanberra-pulse','',d)}" --
Quoted 2 lines
2.1.4
Just a note on this one for early testers: It will cause missing icons because xfce-settings expects gnome icons by default. So for early testers be prepared.
I will send a follow up on this one because I am the one to blame: My last commit on xfce4-settings hid the patch setting gnome icons as default.
So: