Hi Julian :-) ! the build of python-gd only looks in /usr/lib for its required libraries. > This fails for its dependencies in multiarch paths. > When building in unstable with multiarched libpng the library will not > have png support: > >>> import gd > >>> gd.image('/icon.png') > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > File "gd.py", line 22, in __init__ > self.__dict__["_image"] = _gd.image(*args) > IOError: unsupported file type (only > .gif|.png|.jpeg|.jpg|.gd|.gd2|.xbm|.xpm accepted) > > please improve the build process by making it not requiring knownledge > of the default library paths (e.g. by test linking) or add the multiarch > paths to the search path using dpkg-architecture -qDEB_HOST_MULTIARCH > > see also the ubuntu bug: > https://bugs.launchpad.net/ubuntu/+source/python-gd/+bug/901525 > > In Advance thank you so much to report it.
Sometime ago for recommendation of Jakub Wilk, I decide to maintain python-gd in Debian Python Team[0] and I am waiting for a review. However if you want feel free to take it and do any change[1] ( right now recognize multiarch paths ), merge them with svn repository[2] and upload it to unstable. [0] http://lists.alioth.debian.org/pipermail/python-modules-team/2011-July/010387.html [1] http://mentors.debian.net/debian/pool/main/p/python-gd/python-gd_0.56+dfsg-3.dsc [2] svn+ssh://svn.debian.org/svn/python-modules/packages/python-gd/trunk Kind regards, -- Julián Moreno Patiño .''`. Debian GNU/{Linux,KfreeBSD} : :' : Free Operating Systems `. `' http://debian.org/ `- PGP KEY ID 6168BF60 Registered GNU Linux User ID 488513