* [PATCH] gnome-doc-utils: Update to use python-native
@ 2012-07-20 16:19 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2012-07-20 16:19 UTC (permalink / raw)
To: openembedded-core
This includes a wrapper so that the full path to python-native is encoded whilst not
exceeding any environment length constraints as hinted at in the patch to this area
of code already included.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 08333db..b2570d6 100644
--- a/meta/recipes-gnome/gnome/gnome-doc-utils.inc
+++ b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
@@ -2,7 +2,7 @@ LICENSE = "GPLv2 & LGPLv2.1"
DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0"
DEPENDS_virtclass-native = "libxml2-native libxslt-native intltool-native glib-2.0-native"
-inherit gnome gettext python-dir
+inherit gnome gettext python-dir pythonnative
EXTRA_OECONF += "--disable-scrollkeeper"
@@ -13,6 +13,10 @@ do_install_append() {
chown -R root:root ${D}
}
+do_install_append_class-native () {
+ create_wrapper ${D}${bindir}/xml2po ${STAGING_BINDIR_NATIVE}/python-native/python
+}
+
FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*"
RDEPENDS_${PN} = "bash"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-07-20 16:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-20 16:19 [PATCH] gnome-doc-utils: Update to use python-native Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox