diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-20 17:19:10 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-22 11:42:24 +0100 |
commit | 768cd7f2b3f6aeaa314b17d7496630e19ccb3c2c (patch) | |
tree | f5a5344069c67e9fee5913bf582d3fd733cf88d7 /meta/recipes-gnome/gnome | |
parent | 655654de6267e6641df406fa65c1c0b3a34fb5a1 (diff) | |
download | poky-768cd7f2b3f6aeaa314b17d7496630e19ccb3c2c.tar.gz |
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.
(From OE-Core rev: 7a336e5ccf07aff2d0e179bff859395855e016c2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gnome')
-rw-r--r-- | meta/recipes-gnome/gnome/gnome-doc-utils.inc | 6 |
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" | |||
2 | DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0" | 2 | DEPENDS = "libxml2 libxslt libxslt-native gnome-doc-utils-native glib-2.0" |
3 | DEPENDS_virtclass-native = "libxml2-native libxslt-native intltool-native glib-2.0-native" | 3 | DEPENDS_virtclass-native = "libxml2-native libxslt-native intltool-native glib-2.0-native" |
4 | 4 | ||
5 | inherit gnome gettext python-dir | 5 | inherit gnome gettext python-dir pythonnative |
6 | 6 | ||
7 | EXTRA_OECONF += "--disable-scrollkeeper" | 7 | EXTRA_OECONF += "--disable-scrollkeeper" |
8 | 8 | ||
@@ -13,6 +13,10 @@ do_install_append() { | |||
13 | chown -R root:root ${D} | 13 | chown -R root:root ${D} |
14 | } | 14 | } |
15 | 15 | ||
16 | do_install_append_class-native () { | ||
17 | create_wrapper ${D}${bindir}/xml2po ${STAGING_BINDIR_NATIVE}/python-native/python | ||
18 | } | ||
19 | |||
16 | FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*" | 20 | FILES_${PN} += "${datadir}/xml* ${PYTHON_SITEPACKAGES_DIR}/*" |
17 | 21 | ||
18 | RDEPENDS_${PN} = "bash" | 22 | RDEPENDS_${PN} = "bash" |