Patchwork [CONSOLIDATED,PULL,(Updated),10/15] gtk-icon-cache: fix RDEPENDS append bug

login
register
mail settings
Submitter Saul Wold
Date Aug. 7, 2011, 5:01 a.m.
Message ID <5322e54c65dbd118085df08a9d7408197f9d19db.1312692935.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/9475/
State New, archived
Headers show

Comments

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

python += doesn't add a leading space, which we do need:

| Collected errors:
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome-themes:
|  *    gnome-icon-themehicolor-icon-theme *
|  * opkg_install_cmd: Cannot install package task-gnome-themes.
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome-apps:
|  *    iso-codeshicolor-icon-theme *
|  * opkg_install_cmd: Cannot install package task-gnome-apps.
|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for task-gnome:
|  *    grephicolor-icon-theme *
|  * opkg_install_cmd: Cannot install package task-gnome.

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

Patch

diff --git a/meta/classes/gtk-icon-cache.bbclass b/meta/classes/gtk-icon-cache.bbclass
index 5d8ef34..3bfb8ff 100644
--- a/meta/classes/gtk-icon-cache.bbclass
+++ b/meta/classes/gtk-icon-cache.bbclass
@@ -38,7 +38,7 @@  python populate_packages_append () {
 
 		bb.note("adding hicolor-icon-theme dependency to %s" % pkg)	
 		rdepends = bb.data.getVar('RDEPENDS_%s' % pkg, d, 1)
-		rdepends += "hicolor-icon-theme"
+		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)