[oe-commits] Khem Raj : gnome-themes: inherit perlnative

git at git.openembedded.org git at git.openembedded.org
Thu Sep 20 08:13:24 UTC 2012


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

Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Sep 19 05:26:28 2012 +0000

gnome-themes: inherit perlnative

It needs perl module libxml-simple-perl for icon-name-mapping
secondly inherit perlnative since it may not be available on build host

Fixes errors like below

| Can't locate XML/Simple.pm in @INC (@INC contains: /etc/perl
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14
/usr/local/lib/site_perl .) at
/home/kraj/work/angstrom/build/tmp-angstrom_next-eglibc/sysroots/x86_64-linux/usr/libexec/icon-name-mapping
line 12.

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 .../recipes-gnome/themes/gnome-themes_2.32.1.bb    |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb b/meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb
index f40d355..9cc091f 100644
--- a/meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb
+++ b/meta-gnome/recipes-gnome/themes/gnome-themes_2.32.1.bb
@@ -2,15 +2,15 @@ DESCRIPTION = "GNOME themes"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2b543dc97eb7594d026af39d9b54204b"
 
-PR = "r1"
+PR = "r2"
 
 SECTION = "x11/gnome"
-DEPENDS = "gtk-engines icon-naming-utils icon-naming-utils-native glib-2.0 intltool-native"
+DEPENDS = "gtk-engines icon-naming-utils icon-naming-utils-native glib-2.0 intltool-native libxml-simple-perl-native"
 RDEPENDS_${PN} = "gnome-icon-theme"
 
 EXTRA_OECONF += "--enable-all-themes --disable-hicolor-check"
 
-inherit gnome
+inherit gnome perlnative
 
 do_configure_prepend() {
 	sed -i -e 's:`$PKG_CONFIG --variable=program_path icon-naming-utils`:${STAGING_DIR_NATIVE}${libexecdir}:g' configure.in





More information about the Openembedded-commits mailing list