Skip to contentSkip to conversation

Koen Kooi : gnome-doc-utils: skip generation of docs to avoid weird python error

oe-commits In review Denis 'GNUtoo' Carikli 2 participants 5 messages Feb 18, 2010 – Feb 23, 2010 1 message not in the archive

lore
Share & tools
lore
#2 lore raw

PATCH 1/1 libxml2 : convert to new staging and fix python error in gnome-doc-utils

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

---
 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(-)
recipes/libxml/libxml2-native.inc +2 -2
index 3f67152..82d36b9 100644
@@ -22,6 +22,6 @@ do_configure (){
 	autotools_do_configure ${EXTRA_LIBXML2_OECONF}
 }
 
-do_stage () {
-	oe_runmake install
+do_install_append() {
+	:
 }
recipes/libxml/libxml2-native_2.7.3.bb +1 -1
index 48e3598..bcbfb66 100644
@@ -1,2 +1,2 @@
 require libxml2-native.inc
-PR = "r0"
+PR = "r1"
recipes/libxml/libxml2.inc +2 -3
index 101489e..bf2bf4d 100644
@@ -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}
 
Signature · 1 line
1.6.4.4
#3 lore raw

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

recipes/libxml/libxml2.inc EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog · line 18

Quoted 3 lines · Denis 'GNUtoo' Carikli
recipes/libxml/libxml2.inc +1 -0
+do_install_append() {
 	install -d ${STAGING_DATADIR}/aclocal/
 	install -d ${STAGING_BINDIR_CROSS}

That doesn't look right. I don't think do_install() should ever be writing into ${STAGING_xxxDIR} directly.

What happens if you just remove those lines?

p.

author
#4 lore raw

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

Quoted 11 lines · Phil Blundell

recipes/libxml/libxml2.inc EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog · line 18

Quoted 3 lines · Denis 'GNUtoo' Carikli
recipes/libxml/libxml2.inc +1 -0
+do_install_append() {
 	install -d ${STAGING_DATADIR}/aclocal/
 	install -d ${STAGING_BINDIR_CROSS}

That doesn't look right. I don't think do_install() should ever be writing into ${STAGING_xxxDIR} directly.

What happens if you just remove those lines?

p.

It seem to work just the same...Thanks a lot.

They were just left there because they came from the old version of the recipes But also because I did a quick thing(in fact I didn't even commit it)

Denis.

author
#5 lore raw

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

Quoted 11 lines · GNUtoo
Quoted 10 lines · Phil Blundell

recipes/libxml/libxml2.inc EXTRA_OECONF = "--without-python --without-debug --without-legacy --with-catalog · line 18

Quoted 3 lines · Denis 'GNUtoo' Carikli
recipes/libxml/libxml2.inc +1 -0
+do_install_append() {
 	install -d ${STAGING_DATADIR}/aclocal/
 	install -d ${STAGING_BINDIR_CROSS}

That doesn't look right. I don't think do_install() should ever be writing into ${STAGING_xxxDIR} directly.

What happens if you just remove those lines?

Quoted 8 lines
Quoted 1 line

p.

It seem to work just the same...Thanks a lot.

They were just left there because they came from the old version of the recipes But also because I did a quick thing(in fact I didn't even commit it)

Denis.

Now,Is it safe to commit it?
Denis.