Patchwork gnome-icon-theme: add missing icon-cache inherit

login
register
mail settings
Submitter Koen Kooi
Date April 18, 2013, 1:51 p.m.
Message ID <1366293090-31353-1-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/48491/
State Accepted
Commit a0643812b05cf7ed8b6f530f81925f60089c2410
Headers show

Comments

Koen Kooi - April 18, 2013, 1:51 p.m.
When installing this manually the icon cache won't get refreshed.

Rearrange recipe to comply the the styleguide as well.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Patch

diff --git a/meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb b/meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb
index ab541ed..920ee4f 100644
--- a/meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb
+++ b/meta/recipes-gnome/gnome/gnome-icon-theme_2.31.0.bb
@@ -1,17 +1,16 @@ 
 DESCRIPTION = "GNOME 2 default icon themes"
 HOMEPAGE = "http://www.gnome.org/"
 BUGTRACKER = "https://bugzilla.gnome.org/"
+SECTION = "x11/gnome"
 
 LICENSE = "LGPLv3+ | CC-BY-SA-3.0"
 LIC_FILES_CHKSUM = "file://COPYING;md5=e7e289d90fc8bdceed5e3f142f98229e"
 
-SECTION = "x11/gnome"
+PR = "r5"
+
 DEPENDS = "icon-naming-utils-native glib-2.0 intltool-native libxml-simple-perl-native"
-RDEPENDS_${PN} = "hicolor-icon-theme"
-RRECOMMENDS_${PN} = "librsvg-gtk"
-PR = "r4"
 
-FILES_${PN} += "${datadir}/*"
+inherit autotools perlnative gtk-icon-cache
 
 SRC_URI = "${GNOME_MIRROR}/${BPN}/2.31/${BPN}-${PV}.tar.bz2 \
            file://iconpath-option.patch"
@@ -21,4 +20,5 @@  SRC_URI[sha256sum] = "ea7e05b77ead159379392b3b275ca0c9cbacd7d936014e447cc7c5e27a
 
 EXTRA_OECONF = "--with-iconmap=${@d.getVar('STAGING_LIBEXECDIR_NATIVE', True).replace('gnome-icon-theme', 'icon-naming-utils')}/icon-name-mapping"
 
-inherit autotools perlnative
+FILES_${PN} += "${datadir}/*"
+RRECOMMENDS_${PN} += "librsvg-gtk"