Skip to contentSkip to conversation

libmokoui2 needs pygtk-codegen-2.0

PATCH Antonio Ospite 2 participants 3 messages Apr 9, 2010 – Apr 11, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

when building libmokoui2 I get this:
http://tinderbox.openembedded.org/packages/544186/

basically:
/bin/sh: pygtk-codegen-2.0: command not found

With this change to python-pygtk_2.16.0.bb I can make it build:

recipes/python/python-pygtk_2.16.0.bb +0 -1
index e2b0602..de570c7 100644
@@ -36,7 +36,6 @@ do_configure_prepend() {
 # dirty fix #1: remove dependency on python-pygobject-dev
 do_install_append() {
        find ${D} -name "*.la"|xargs rm -f
-       rm -f ${D}/${bindir}/pygtk-codegen-2.0
        rm -rf ${D}/${libdir}/pkgconfig
 }
 

Is this the way to go? Why pygtk-codegen-2.0 is not supplied?

This is one of the very few issues which prevent me from building fso-zhone-image from a fresh setup.

Thanks,
Antonio

Signature · 10 lines
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 22 lines · Antonio Ospite

Hi,

when building libmokoui2 I get this:
http://tinderbox.openembedded.org/packages/544186/

basically:
/bin/sh: pygtk-codegen-2.0: command not found

With this change to python-pygtk_2.16.0.bb I can make it build:

recipes/python/python-pygtk_2.16.0.bb +0 -1
index e2b0602..de570c7 100644
@@ -36,7 +36,6 @@ do_configure_prepend() {
 # dirty fix #1: remove dependency on python-pygobject-dev
 do_install_append() {
        find ${D} -name "*.la"|xargs rm -f
-       rm -f ${D}/${bindir}/pygtk-codegen-2.0
        rm -rf ${D}/${libdir}/pkgconfig
 }
 
Quoted 1 line

Is this the way to go? Why pygtk-codegen-2.0 is not supplied?

It's part of python-gobject nowadays (and named differently).

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFLv5DjMkyGM64RGpERAsLlAJsEuyS3Pi8XL9kJ/wBhakzBwpHFowCfTYzt AOPKZEt90htljLC3kqUSEBI=
=5fkL
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 26 lines · On Fri, 09 Apr 2010 22:41:07 +0200 Koen Kooi <[email protected]> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 22 lines · Antonio Ospite

Hi,

when building libmokoui2 I get this:
http://tinderbox.openembedded.org/packages/544186/

basically:
/bin/sh: pygtk-codegen-2.0: command not found

With this change to python-pygtk_2.16.0.bb I can make it build:

recipes/python/python-pygtk_2.16.0.bb +0 -1
index e2b0602..de570c7 100644
@@ -36,7 +36,6 @@ do_configure_prepend() {
 # dirty fix #1: remove dependency on python-pygobject-dev
 do_install_append() {
        find ${D} -name "*.la"|xargs rm -f
-       rm -f ${D}/${bindir}/pygtk-codegen-2.0
        rm -rf ${D}/${libdir}/pkgconfig
 }
 
Quoted 4 lines
Quoted 1 line

Is this the way to go? Why pygtk-codegen-2.0 is not supplied?

It's part of python-gobject nowadays (and named differently).

So the right fix should be to make libmokoui2 using pygobject-codegen-2.0 instead, leaving python-pygtk_2.16.0.bb untouched, I see.

Thanks,
Antonio

Signature · 10 lines
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?