http://img120.imageshack.us/img120/9283/picture1xb7.png
Seems to be running sweet with only a few dbus issues to iron out. I will attempt to package into a standalone bundle when time permits, meanwhile if you want to go kamikaze and try it yourself here's the method:
I recommend you install everything into it's own directory tree such as under /opt/gtk and make it writeable by your user, and please don't try this if you are not familiar with building stuff in terminal - it'll end in tears, I promise .
Prerequsites:
Apple XCode 3.0
GTK+-MacOSX build script (.jhbuildrc) from http://developer.imendio.com/projects/gtk-macosx
GNU libtool-1.5.26 from ftp://ftp.gnu.org/gnu/libtool/libtool-1.5.26.tar.gz
Boost Libraries 1.35 and BJam from http://www.boost.org
dbus, dbus-glib,dbus-python and pyxdg from:
http://dbus.freedesktop.org/releases/db ... 2.1.tar.gz
http://dbus.freedesktop.org/releases/db ... .74.tar.gz
http://dbus.freedesktop.org/releases/db ... 2.3.tar.gz
http://www.freedesktop.org/~lanius/pyxdg-0.15.tar.gz
1. Build bootstrap, Build and install GTK2+ according to http://developer.imendio.com/projects/g ... structions
You will need to alter your .jhbuildrc file to remove the exlusion for the local copy of python2.4.5 - I tried for ages to get this to build with the apple python2.5 on Leopard to no avail. Your mileage may vary.
2. Build and install gnu libtool-1.5.26 to your prefix
3. Build and install python and extensions with
Code: Select all
jhbuild meta-gtk-osx-python
4. Unfotunately the gcc compiler on Leopard is a bit broken so you now need to go back and rebuild the pygtk, pygobject and pycairo extensions again after editing Makefile.am and Makefile.in in the source directories of these extensions. (Should be under ~/Source/gnome).
For each of these extensions, edit Makefile.am and Makefile.in to remove
Code: Select all
-export-symbols-regex [init_....]
Code: Select all
jhbuild buildone pygobject pycairo pygtk
Code: Select all
jhbuild buildone gtk-engines
7. Build and install Bjam and the Boost libraries to your prefix
8. Build and install dbus , dbus-glib & dbus-python. You may need to edit {prefix}/etc/dbus-1/session.conf to make sure the unix socket directory path is valid on osx. Make sure you confgure dbus with the --without-x option, otherwise you'll get X-Windows starting as soon as you launch anything that uses dbus.
At this stage if you can run pygtk-demo, then you're probably set to build deluge!
Grab deluge 0.5.8.9 source and build. Unless you want to install librsvg, replace "deluge.svg" in the function get_logo() in common.py with "deluge.png".
I also had to alter "includedirs" in setup.py to use:
Code: Select all
['/opt/gtk/include/python' + python_version,
'/opt/gtk/include/boost-1_35']
Hope this helps out - I recommend doing all building from a jhbuild shell ( it sets your environment correctly for installing to your tree).
Update: - forgot to mention that the build process for python sometimes "forgets" what the c compiler is (!) and borks with an error if that happens to you, just spawn a jhbuild shell from the option menu, and build that particular package with "jhbuild buildone [package]" then continue as before. good luck!