[oe-commits] Stanislav Brabec : gnome-doc-utils: Fix of python path moved to do_install_append, so xml2po calls correct python instance during build.
git version control
git at git.openembedded.org
Thu Jan 28 09:00:37 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: 7d685461b7468315fd7ee0326895be0f683801fa
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7d685461b7468315fd7ee0326895be0f683801fa
Author: Stanislav Brabec <utx at penguin.cz>
Date: Wed Jan 27 22:01:57 2010 +0000
gnome-doc-utils: Fix of python path moved to do_install_append, so xml2po calls correct python instance during build.
---
recipes/gnome/gnome-doc-utils.inc | 5 +++--
recipes/gnome/gnome-doc-utils_0.19.2.bb | 2 ++
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/recipes/gnome/gnome-doc-utils.inc b/recipes/gnome/gnome-doc-utils.inc
index 00231a9..1590527 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 d501a7d..9d0ac09 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"
More information about the Openembedded-commits
mailing list