From: Saul Wold <sgw@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [CONSOLIDATED PULL 1/5] pango: use qemu to generate pango.modules during rootfs construction
Date: Tue, 6 Sep 2011 10:26:21 -0700 [thread overview]
Message-ID: <88d4647ffb27c7b2ae452f809ab0a6047735a09f.1315329511.git.sgw@linux.intel.com> (raw)
In-Reply-To: <cover.1315329511.git.sgw@linux.intel.com>
In-Reply-To: <cover.1315329511.git.sgw@linux.intel.com>
From: Phil Blundell <philb@gnu.org>
This allows pango to be installed in an image with read-only-rootfs.
Signed-off-by: Phil Blundell <philb@gnu.org>
---
meta/recipes-graphics/pango/pango.inc | 11 +++++++----
meta/recipes-graphics/pango/pango_1.28.4.bb | 2 +-
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/meta/recipes-graphics/pango/pango.inc b/meta/recipes-graphics/pango/pango.inc
index a8e99e2..ff3f5dd 100644
--- a/meta/recipes-graphics/pango/pango.inc
+++ b/meta/recipes-graphics/pango/pango.inc
@@ -10,13 +10,13 @@ SECTION = "libs"
LICENSE = "LGPL"
X11DEPENDS = "virtual/libx11 libxft"
-DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
+DEPENDS = "glib-2.0 fontconfig freetype zlib virtual/libiconv gtk-doc-native cairo qemu-native ${@base_contains('DISTRO_FEATURES', 'x11', '${X11DEPENDS}', '', d)}"
PACKAGES_DYNAMIC = "pango-module-*"
RRECOMMENDS_${PN} = "${@base_contains('DISTRO_FEATURES', 'x11', 'pango-module-basic-x', '', d)} pango-module-basic-fc"
-inherit gnome
+inherit gnome qemu
EXTRA_AUTORECONF = ""
@@ -33,9 +33,12 @@ LIBV = "1.6.0"
postinst_prologue() {
if [ "x$D" != "x" ]; then
- exit 1
+ if [ ! -f "$D${sysconfdir}/pango/pango.modules" ]; then
+ mkdir -p $D${sysconfdir}/pango
+ PSEUDO_RELOADED=YES ${@qemu_target_binary(d)} -L $D $D${bindir}/pango-querymodules > "$D${sysconfdir}/pango/pango.modules"
+ fi
+ exit 0
fi
-
}
python 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 68ab700..33eac21 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
LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
-PR = "r1"
+PR = "r4"
SRC_URI += "file://no-tests.patch"
--
1.7.6
next prev parent reply other threads:[~2011-09-06 17:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-06 17:26 [CONSOLIDATED PULL 0/5] Collection of patches Saul Wold
2011-09-06 17:26 ` Saul Wold [this message]
2011-09-06 17:26 ` [CONSOLIDATED PULL 2/5] mtd-utils: update to version to 1.4.6 Saul Wold
2011-09-06 17:26 ` [CONSOLIDATED PULL 3/5] scripts/oe-buildenv-internal: Add SOCKS5_{USER, PASSWD} to BB_ENV_EXTRAWHITE Saul Wold
2011-09-06 17:26 ` [CONSOLIDATED PULL 4/5] gettext: use included libxml and libcroco Saul Wold
2011-09-06 17:26 ` [CONSOLIDATED PULL 5/5] web: Update SRCREV to address ccs_parser_parse_stylesheet arg mismatch Saul Wold
2011-09-07 22:36 ` [CONSOLIDATED PULL 0/5] Collection of patches Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=88d4647ffb27c7b2ae452f809ab0a6047735a09f.1315329511.git.sgw@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox