Page 1 of 1

[done] pygtk lacks of some dependencies

Posted: 6. Feb 2010, 17:19
by damNageHack
pygtk does not work without pygobject (AFAIK it is a main part of the pygtk project). So please add it to the .dep file.

The README in source tarball says ...
Requirements
============
* C compiler (GCC and MSVC supported)
* Python 2.3.5 or higher
* PyGObject 2.12.1 or higher
* Glib 2.8.0 or higher
* GTK+ 2.8.0 or higher (optional) or
GTK+ 2.10.0 or higher for 2.10 API
GTK+ 2.12.0 or higher for 2.12 API
GTK+ 2.14.0 or higher for 2.14 API
* libglade 2.5.0 or higher (optional)
* pycairo 1.0.2 or higher (optional)
* Numeric (optional)
Additiionally, i would appreciate if libglade and pycairo are at least in a .sug file mentioned. You would get a similiar result with depfinder.
Background: avahi requires definitely pygobject, libglade and pycairo installed. And there is some other problem that is really strange for me, pygtk does not work in Salix Core, there is no gdk module available, although pygobject, pycairo and libglade installed.

Re: pygtk lacks of some dependencies

Posted: 6. Feb 2010, 23:23
by gapan
OK, I have corrected the dependencies on the main server.

Re: pygtk lacks of some dependencies

Posted: 7. Feb 2010, 17:28
by damNageHack
gapan, thanks. Tested with Salix Base installation. Works 8-)

Last but not least, pygtk is not working in Salix Core: "import gdk" fails. Salix Base and Salix Full work. So I guess some problem with missing libraries of Xorg. Really hard to debug (without installing the whole X system and then nearly having Salix Base). :x

I am talking about such problems cause someone wants to build packages with Salix Core to have full control of missing dependencies. Especially, the avahi daemon should be usable also in Salix Core, logically the GUI will not work cause of lacking X functionality. Trying to build avahi package for i486 and finding no end ... :roll:

Re: pygtk lacks of some dependencies

Posted: 7. Feb 2010, 18:05
by gapan
I don't understand what you mean by "pygtk does not work in salix core". Of course it doesn't work. Core doesn't include Xorg. If you install xorg and gtk+2 properly, then pygtk will work.

Re: pygtk lacks of some dependencies

Posted: 7. Feb 2010, 18:15
by damNageHack
gapan wrote:Core doesn't include Xorg. If you install xorg and gtk+2 properly, then pygtk will work.
Yes, that was my intention to say. Both are found by depfinder, so no need to use Salix Core here, makes no sense IMHO.