Closed GoogleCodeExporter closed 9 years ago
Hi Jason
What version of python-gtk2 do you have and what OS are you using? pygtk-codegen
still works for me in Debian unstable and Lenny so I'm assuming you're not
using Debian.
As for your patch, probably would be better if we check for pygobject-codegen
first
then if that fails, check for pygtk-codegen so we don't break oldish pygtk
installations.
Original comment by jmalo...@gmail.com
on 18 Oct 2008 at 1:48
Hey Jan,
I'm using Ubuntu Intrepid. python-gtk2 package is version 2.13.0-0ubuntu8
I agree with your suggestion about checking for a pygtk installation. I'll
look into
that.
Original comment by jason.ri...@gmail.com
on 18 Oct 2008 at 2:51
Here's the version of python-gobject I am using as well:
python-gobject-dev: 2.15.3-0ubuntu5
python-gtk2-dev: 2.13.0-0ubuntu8
Original comment by jason.ri...@gmail.com
on 18 Oct 2008 at 12:29
I've attached a patch that will use pygtk-codegen-2.0 if pygobject-codegen-2.0
is not
found. I've called the variable PYGOBJECT_CODEGEN, but PYGNOME_CODEGEN should
be
considered.
Here is some info I found about how python-gnome handled this issue:
http://bugzilla.gnome.org/show_bug.cgi?id=548535
http://svn.gnome.org/viewvc/gnome-python/trunk/configure.ac?revision=636&view=ma
rkup
I don't know much about autotools, but using AC_PATH_PROGS seems to be the right
thing to do after reading the autoconf manual. python-gnome does not use it
though.
My patch uses AC_PATH_PROGS.
After applying this patch, r78 builds fine for me on both Ubuntu Intrepid and
Debian
Lenny.
Original comment by jason.ri...@gmail.com
on 19 Oct 2008 at 1:50
Attachments:
Thanks Jason. Patch landed in r79
Cheers
Original comment by jmalo...@gmail.com
on 19 Oct 2008 at 4:23
Original issue reported on code.google.com by
jason.ri...@gmail.com
on 17 Oct 2008 at 9:36Attachments: