summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-13 17:04:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-13 17:06:17 +0100
commitaa203e460583388006f8ed12cbe0442e86c598eb (patch)
treeef9d2be7aaf6d80e512fa80a5fa53f7e6351bf74
parentcba78fed34318bc1fda2af11e85aebb0467948a8 (diff)
downloadpoky-aa203e460583388006f8ed12cbe0442e86c598eb.tar.gz
Revert "pango: use qemu to generate pango.modules during rootfs construction"
This reverts commit 62381fd3a135318794f14dc3740b04facd32446e. This commit has issues with the rpm rootfs generation which need resolving before it can be accepted. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/pango/pango.inc11
-rw-r--r--meta/recipes-graphics/pango/pango_1.28.4.bb2
2 files changed, 5 insertions, 8 deletions
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index ff3f5dd549..a8e99e2f6d 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -10,13 +10,13 @@ SECTION = "libs"
10LICENSE = "LGPL" 10LICENSE = "LGPL"
11 11
12X11DEPENDS = "virtual/libx11 libxft" 12X11DEPENDS = "virtual/libx11 libxft"
13DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo qemu-native ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}" 13DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
14 14
15PACKAGES_DYNAMIC = "pango-module-*" 15PACKAGES_DYNAMIC = "pango-module-*"
16 16
17RRECOMMENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'x11', 'pango-module-basic-x', '', d)} pango-module-basic-fc" 17RRECOMMENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'x11', 'pango-module-basic-x', '', d)} pango-module-basic-fc"
18 18
19inherit gnome qemu 19inherit gnome
20 20
21EXTRA_AUTORECONF = "" 21EXTRA_AUTORECONF = ""
22 22
@@ -33,12 +33,9 @@ LIBV = "1.6.0"
33 33
34postinst_prologue() { 34postinst_prologue() {
35if [ "x$D" != "x" ]; then 35if [ "x$D" != "x" ]; then
36 if [ ! -f "$D${sysconfdir}/pango/pango.modules" ]; then 36 exit 1
37 mkdir -p $D${sysconfdir}/pango
38 PSEUDO_RELOADED=YES ${@qemu_target_binary(d)} -L $D $D${bindir}/pango-querymodules > "$D${sysconfdir}/pango/pango.modules"
39 fi
40 exit 0
41fi 37fi
38
42} 39}
43 40
44python populate_packages_prepend () { 41python populate_packages_prepend () {
diff --git a/meta/recipes-graphics/pango/pango_1.28.4.bb b/meta/recipes-graphics/pango/pango_1.28.4.bb
index 33eac217f3..68ab700c8c 100644
--- a/meta/recipes-graphics/pango/pango_1.28.4.bb
+++ b/meta/recipes-graphics/pango/pango_1.28.4.bb
@@ -2,7 +2,7 @@ require pango.inc
2 2
3LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" 3LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
4 4
5PR = "r4" 5PR = "r1"
6 6
7SRC_URI += "file://no-tests.patch" 7SRC_URI += "file://no-tests.patch"
8 8