summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-20 17:19:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-22 11:40:10 +0100
commit7a336e5ccf07aff2d0e179bff859395855e016c2 (patch)
tree0c3de436593760157fb1bf1144bb3db4837dee99 /meta/recipes-gnome
parentaaf762bf20635a92d16e7aad6c154891d9d689c4 (diff)
downloadopenembedded-core-7a336e5ccf07aff2d0e179bff859395855e016c2.tar.gz
openembedded-core-7a336e5ccf07aff2d0e179bff859395855e016c2.tar.bz2
openembedded-core-7a336e5ccf07aff2d0e179bff859395855e016c2.zip
gnome-doc-utils: Update to use python-native
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>
Diffstat (limited to 'meta/recipes-gnome')
-rw-r--r--meta/recipes-gnome/gnome/gnome-doc-utils.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-gnome/gnome/gnome-doc-utils.inc b/meta/recipes-gnome/gnome/gnome-doc-utils.inc
index 08333db975..b2570d6fd6 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"