[OE-core] [CONSOLIDATED PULL (Updated) 05/15] gtk-icon-cache bbclass: don't assing to global RDEPENDS

Saul Wold sgw at linux.intel.com
Sun Aug 7 05:01:07 UTC 2011


From: Koen Kooi <koen at dominion.thruhere.net>

Only the package with the icons needs it

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

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)
 		
-- 
1.7.3.4





More information about the Openembedded-core mailing list