[oe-commits] Michael 'Mickey' Lauer : python-pygtk 2.10.4: link to pygobject-codegen-2. 0 until we have updated our pygobject-native

GIT User account git at amethyst.openembedded.net
Thu Nov 20 15:50:20 UTC 2008


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 3fb4f6f0c2b8f5b7475a9258f9e4f00c6b03df85
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=3fb4f6f0c2b8f5b7475a9258f9e4f00c6b03df85

Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Thu Nov 20 16:49:16 2008 +0100

python-pygtk 2.10.4: link to pygobject-codegen-2.0 until we have updated our pygobject-native
(which comes with said binary)

---

 packages/python/python-pygtk_2.10.4.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/packages/python/python-pygtk_2.10.4.bb b/packages/python/python-pygtk_2.10.4.bb
index dcc3289..87f31cb 100644
--- a/packages/python/python-pygtk_2.10.4.bb
+++ b/packages/python/python-pygtk_2.10.4.bb
@@ -6,7 +6,7 @@ RDEPENDS = "python-shell python-pycairo python-pygobject"
 PROVIDES = "python-pygtk2"
 SRCNAME = "pygtk"
 LICENSE = "LGPL"
-PR = "ml8"
+PR = "ml9"
 
 MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
 SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2 \
@@ -54,6 +54,8 @@ do_stage() {
 	autotools_stage_includes
 	sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0
 	install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/
+	# until we have a newer pygobject version, we resue pygtk's codegen
+	ln -sf ./pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/pygobject-codegen-2.0
 	install -d ${STAGING_DATADIR}/pygtk/2.0/codegen
 	install -d ${STAGING_DATADIR}/pygtk/2.0/defs/
 	cp -pPr codegen/*.py* ${STAGING_DATADIR}/pygtk/2.0/codegen/





More information about the Openembedded-commits mailing list