[oe-commits] Koen Kooi : gtk-icon-cache bbclass: don't assing to global RDEPENDS

git version control git at git.openembedded.org
Mon Aug 8 12:42:38 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 34fca51d84d4629d82880aa0f47123db86de256b
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=34fca51d84d4629d82880aa0f47123db86de256b

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Fri Aug  5 19:35:57 2011 +0200

gtk-icon-cache bbclass: don't assing to global RDEPENDS

Only the package with the icons needs it

[Squashed laster RDEPENDS fix from koen into commit]
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta/classes/gtk-icon-cache.bbclass |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index 4142d0e..3bfb8ff 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 += "hicolor-icon-theme"
-		bb.data.setVar('RDEPENDS', rdepends, d)
+		rdepends = bb.data.getVar('RDEPENDS_%s' % pkg, d, 1)
+		rdepends += " hicolor-icon-theme"
+		bb.data.setVar('RDEPENDS_%s' % pkg, rdepends, d)
 	
 		bb.note("adding gtk-icon-cache postinst and postrm scripts to %s" % pkg)
 		





More information about the Openembedded-commits mailing list