[oe] [PATCH] libxml2 : convert to new staging and fix python error in gnome-doc-utils

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Thu Feb 18 20:45:46 UTC 2010


Converting libxml2 recipes to the new staging way
  fixed the error where,during the compilation of gnome-doc-utils
  libxml2.py couldn't be find,but strangely the libxml package had
  only libxml.py

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 recipes/libxml/libxml2-native.inc      |    4 ++--
 recipes/libxml/libxml2-native_2.7.3.bb |    2 +-
 recipes/libxml/libxml2.inc             |    5 ++---
 3 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/recipes/libxml/libxml2-native.inc b/recipes/libxml/libxml2-native.inc
index 3f67152..82d36b9 100644
--- a/recipes/libxml/libxml2-native.inc
+++ b/recipes/libxml/libxml2-native.inc
@@ -22,6 +22,6 @@ do_configure (){
 	autotools_do_configure ${EXTRA_LIBXML2_OECONF}
 }
 
-do_stage () {
-	oe_runmake install
+do_install_append() {
+	:
 }
diff --git a/recipes/libxml/libxml2-native_2.7.3.bb b/recipes/libxml/libxml2-native_2.7.3.bb
index 48e3598..bcbfb66 100644
--- a/recipes/libxml/libxml2-native_2.7.3.bb
+++ b/recipes/libxml/libxml2-native_2.7.3.bb
@@ -1,2 +1,2 @@
 require libxml2-native.inc
-PR = "r0"
+PR = "r1"
diff --git a/recipes/libxml/libxml2.inc b/recipes/libxml/libxml2.inc
index 101489e..bf2bf4d 100644
--- a/recipes/libxml/libxml2.inc
+++ b/recipes/libxml/libxml2.inc
@@ -5,7 +5,7 @@ LICENSE = "MIT"
 
 SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz"
 
-INC_PR = "r2"
+INC_PR = "r3"
 
 inherit autotools pkgconfig binconfig
 
@@ -13,8 +13,7 @@ EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog
 
 export LDFLAGS += "-ldl"
 
-do_stage() {
-	autotools_stage_all
+do_install_append() {
 	install -d ${STAGING_DATADIR}/aclocal/
 	install -d ${STAGING_BINDIR_CROSS}
 
-- 
1.6.4.4





More information about the Openembedded-devel mailing list