Steps to upgrade the python-gnutls bindings.
1) Get the required software
- You need:
ctypeslib (http://svn.python.org/projects/ctypes/trunk/ctypeslib/)
- gccxml (gccxml version 0.7.0+cvs20070318-1 from ubuntu 7.10 is the only version that worked)
python-gnutls (http://pypi.python.org/pypi/python-gnutls/1.1.4)
2) Install ctypeslib, gccxml normally.
3) Extract python-gnutls, run 'make clean' to remove old definitions and run
- 'make' to generate the new ones.
4) Copy the setup.py from the old python-gnutls.spkg. The only difference is that it adds the correct includedir and libdir's.
5) Patch up functions.py to let it find the correct dylib on OSX. Look at the previous python-gnutls spkg for an example.