Patchwork [CONSOLIDATED,PULL,5/9] gtk-icon-cache bbclass: don't assing to global RDEPENDS

login
register
mail settings
Submitter Saul Wold
Date Aug. 6, 2011, 6:38 a.m.
Message ID <a3ba62867c0f23a8ed12d9b024bd47944b594f56.1312612601.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/9442/
State New, archived
Headers show

Comments

Saul Wold - Aug. 6, 2011, 6:38 a.m.
From: Koen Kooi <koen@dominion.thruhere.net>

Only the package with the icons needs it

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta/classes/gtk-icon-cache.bbclass |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index 4142d0e..5d8ef34 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -37,9 +37,9 @@  python populate_packages_append () {
 			continue
 
 		bb.note("adding hicolor-icon-theme dependency to %s" % pkg)	
-		rdepends = bb.data.getVar('RDEPENDS', d, 1)
+		rdepends = bb.data.getVar('RDEPENDS_%s' % pkg, d, 1)
 		rdepends += "hicolor-icon-theme"
-		bb.data.setVar('RDEPENDS', rdepends, d)
+		bb.data.setVar('RDEPENDS_%s' % pkg, rdepends, d)
 	
 		bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)