Skip to contentSkip to conversation

glib-2.0: inherit pythonnative

PATCH In review Xin Ouyang 2 participants 3 messages Nov 1, 2012

lore
Share & tools
lore

Xin Ouyang

author
#0 lore raw

cover glib-2.0: inherit pythonnative

The following changes since commit e9e3285e1397cfd2d34f4eb7b5aa59311eea861d:

  openssl: Use ${CFLAGS} not ${FULL_OPTIMIZATION} (2012-10-30 11:06:38 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib xouyang/2843
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=xouyang/2843

Xin Ouyang (1):
glib-2.0: inherit pythonnative

 meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Signature · 1 line
1.7.10.4
author
#1 lore raw

PATCH 1/1 glib-2.0: inherit pythonnative

glib-2.0 needs to inherit pythonnative because it will run python scripts to generate codes while do_compile.

This has caused problems on some hosts(SLED11.2) if no python-xml installed.

[Yocto 2843]

---
 meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb +3 -1
index 10c0b61..5181f9d 100644
@@ -1,8 +1,10 @@
 require glib.inc
 
-PR = "r6"
+PR = "r7"
 PE = "1"
 
+inherit pythonnative
+
 DEPENDS += "libffi python-argparse-native zlib"
 DEPENDS_virtclass-native += "libffi-native python-argparse-native"
 DEPENDS_virtclass-nativesdk += "nativesdk-libffi python-argparse-native nativesdk-zlib ${BPN}-native"
Signature · 1 line
1.7.10.4
#2 lore raw
Quoted 6 lines · Xin Ouyang

glib-2.0 needs to inherit pythonnative because it will run python scripts to generate codes while do_compile.

This has caused problems on some hosts(SLED11.2) if no python-xml installed.

Quoted 6 lines

[Yocto 2843]

---
 meta/recipes-core/glib-2.0/glib-2.0_2.32.4.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

This is going to adversely affect build speed. Can we not document that python-xml needs to be installed on these hosts? I'd have thought that would be available on most systems we support running on these days?

Cheers,

Richard