summaryrefslogtreecommitdiff
path: root/recipes/gnome
diff options
context:
space:
mode:
authorStanislav Brabec <utx@penguin.cz>2010-01-27 22:01:57 +0000
committerutx@penguin.cz <utx@penguin.cz>2010-01-27 22:01:57 +0000
commit7d685461b7468315fd7ee0326895be0f683801fa (patch)
treefbd64e2b16e28437ad46ebbefffe0cec7d065a9e /recipes/gnome
parentf2387e3dd59c31772eb73108ec47cf45c1285d45 (diff)
gnome-doc-utils: Fix of python path moved to do_install_append, so xml2po calls correct python instance during build.
Diffstat (limited to 'recipes/gnome')
-rw-r--r--recipes/gnome/gnome-doc-utils.inc5
-rw-r--r--recipes/gnome/gnome-doc-utils_0.19.2.bb2
2 files changed, 5 insertions, 2 deletions
diff --git a/recipes/gnome/gnome-doc-utils.inc b/recipes/gnome/gnome-doc-utils.inc
index 00231a941c..15905270f2 100644
--- a/recipes/gnome/gnome-doc-utils.inc
+++ b/recipes/gnome/gnome-doc-utils.inc
@@ -1,15 +1,16 @@
LICENSE = "GPL LGPL"
DEPENDS = "libxml2 libxslt libxslt-native"
-INC_PR = "r3"
+INC_PR = "r4"
inherit gnome
-EXTRA_OECONF = "--disable-scrollkeeper ac_cv_path_PYTHON=${bindir}/python"
+EXTRA_OECONF = "--disable-scrollkeeper"
do_install_append() {
mkdir -p ${D}${datadir}/xml/gnome/xslt/
cp -pPr ${S}/xslt/* ${D}${datadir}/xml/gnome/xslt/
+ sed -i "1s:/.*/python:${bindir}/python:" ${D}${bindir}/xml2po
}
FILES_${PN} += "${datadir}/xml*"
diff --git a/recipes/gnome/gnome-doc-utils_0.19.2.bb b/recipes/gnome/gnome-doc-utils_0.19.2.bb
index d501a7db4c..9d0ac09a6d 100644
--- a/recipes/gnome/gnome-doc-utils_0.19.2.bb
+++ b/recipes/gnome/gnome-doc-utils_0.19.2.bb
@@ -1,3 +1,5 @@
require gnome-doc-utils.inc
+DEPENDS += "libxml2-native"
+
PR = "${INC_PR}.0"