Hi, either I'm blind or the python-gd ebuild is not available. How are people generating images from their python code? The code is at http://freshmeat.net/projects/pythongd but I have failed to get it compiled. But I hope you will manage somehow. ;-) aquarius python-gd-0.9 # python setup.py install running install running build running build_py creating build creating build/lib.linux-i686-2.4 copying gd.py -> build/lib.linux-i686-2.4 running build_ext building '_gd' extension creating build/temp.linux-i686-2.4 i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC -I/usr/include/python2.4 -c gdmodule.c -o build/temp.linux-i686-2.4/gdmodule.o In file included from /usr/include/python2.4/Python.h:8, from gdmodule.c:37: /usr/include/python2.4/pyconfig.h:835:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdio.h:28, from gdmodule.c:35: /usr/include/features.h:190:1: warning: this is the location of the previous definition gdmodule.c: In function `gd_createStream': gdmodule.c:402: error: structure has no member named `free' error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1 aquarius python-gd-0.9 # python2.3 setup.py install running install running build running build_py creating build/lib.linux-i686-2.3 copying gd.py -> build/lib.linux-i686-2.3 running build_ext building '_gd' extension creating build/temp.linux-i686-2.3 i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -fPIC -I/usr/include/python2.3 -c gdmodule.c -o build/temp.linux-i686-2.3/gdmodule.o In file included from /usr/include/python2.3/Python.h:8, from gdmodule.c:37: /usr/include/python2.3/pyconfig.h:850:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/stdio.h:28, from gdmodule.c:35: /usr/include/features.h:190:1: warning: this is the location of the previous definition gdmodule.c: In function `gd_createStream': gdmodule.c:402: error: structure has no member named `free' error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1 aquarius python-gd-0.9 # Reproducible: Always Steps to Reproduce: 1. 2. 3.
No progress here for 1 year. Closing WONTFIX. Feel free to reopen with working ebuild.
The original announcement is at http://mail.python.org/pipermail/image-sig/2002-February/001749.html . As of now, the webpage at freshmeat does not exist anymore and I cannot find any python-gd-0.9.* files by Google. Moreover, it seems at least Debian and Ubuntu misplaced gdmodule under python-gd name into their tree (current version 0.56), effectively fooling people. gdmodule for Gentoo is bug #100123. Finally, I just received an answer from Geert: <quote> yes the module is still available on my coding site (http://www.boskant.nl/trac) under the "Draco" project. However I see that due to a server migration few weeks ago, SVN checkouts and the download of the tarball don't work anymore (view source through Trac still works). Today I won't have time but I will fix this tomorrow (and let you know when it is done). </quote>
Someone please reopen and help to clear up this mess. From: Geert Jansen [geert (.asdf.) boskant <<>> nl] Martin MOKREJŠ wrote: > > Hello Geert, > > excellent! Maybe you want to have a look at > > http://bugs.gentoo.org/show_bug.cgi?id=100121 > > and http://bugs.gentoo.org/show_bug.cgi?id=100123 pages. Especially, it > > would be nice if you could comment on the difference to gdmodule and > > Python Imaging Library. ;-) > > Martin > > I was looking into this right now. There is confusion on naming: - There's a software package called "gdmodule" (http://newcenturycomputers.net/projects/gdmodule.html) which both Debian ships as "python-gd". Gentoo also seems to ship this as python-gd (bug #100123) - There is my module "python-gd" which does not seem to be shipped with any distribution but is mentioned in Gentoo bug #100121. Just for cleaning up the confusion my intention is to create a python-gd v1.0. However as mentioned above this is my python-gd, not "gdmodule" shipped as "python-gd" by Gentoo /Debian. Therefore i'm not sure if it solves your current problem. Of course I would be quite happy if you'd also want to include my python-gd into Gentoo. Regards, Geert