Gajim Win32 Dev Environment
I've just completed setting up my environment (WinXP SP2) for Gajim HG on a new machine. These are the files I used, with source webpages.
Note: For trunk (0.14+) pygtk2.16 is needed, so we need to use python2.6. so take py2.6 version of all modules.
Sources
For the actual sources:
Tortoise HG
http://sourceforge.net/project/showfiles.php?group_id=199155&package_id=236242&release_id=679975 ( http://bitbucket.org/tortoisehg/stable/wiki/install)
- Install
- Right-Click target folder -> Select TortoiseHG -> Clone a repository
- Enter URL as: http://hg.gajim.org/gajim
- Click on Clone button
Dependencies
Download and install the following dependencies:
Python
http://www.python.org/ftp/python/2.5.2/python-2.5.2.msi ( http://www.python.org/download/)
Glade/GTK+
For an old version, you can get it here: http://downloads.sourceforge.net/gladewin32/gtk-dev-2.12.9-win32-2.exe ( https://sourceforge.net/projects/gladewin32/)
For a newer version of GTK, check out our binaries of GTK :
- Right click somewhere in windows explorer -> Select TortoiseHG -> Clone a repository
- In Source Path, enter URL as: http://hg.gajim.org/gtk-win32-bin
- In Destination Path, browse and enter this path: [PATH_TO_GAJIM]\src\gtk
- Click on Clone button
PyGTK for Windows (PyGTK, PyCairo, PyGObject)
- http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.12/pygtk-2.12.1-3.win32-py2.5.exe
- http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.4/pycairo-1.4.12-2.win32-py2.5.exe
- http://ftp.gnome.org/pub/GNOME/binaries/win32/pygobject/2.14/pygobject-2.14.2-2.win32-py2.5.exe
( http://pygtk.org/downloads.html)
Python for Windows extensions (PyWin32)
http://mesh.dl.sourceforge.net/sourceforge/pywin32/pywin32-210.win32-py2.5.exe ( http://sourceforge.net/project/showfiles.php?group_id=78018)
Optional Dependencies
The following dependencies are optional:
OpenSSL (optional)
PyOpenSSL
http://webcleaner.sourceforge.net/pyOpenSSL-0.6.win32-py2.5.exe (Link From: http://webcleaner.sourceforge.net/install.html) (Project Page: http://pyopenssl.sourceforge.net/)
Win32 OpenSSL (Shining Light)
http://www.slproweb.com/download/Win32OpenSSL-0_9_8g.exe ( http://www.slproweb.com/products/Win32OpenSSL.html)
PyCrypto?
http://www.voidspace.org.uk/python/modules.shtml#pycrypto
Docutils (optional)
http://mesh.dl.sourceforge.net/sourceforge/docutils/docutils-0.4.tar.gz ( http://docutils.sourceforge.net/)
- Untar, run install.sh
Zero Conf (optional)
The following are the configuration steps to get zero configuration networking working.
Bonjour for Windows
http://supportdownload.apple.com/download.info.apple.com/Apple_Support_Area/Apple_Software_Updates/Mac_OS_X/downloads/061-3511.20070726.b32fw/BonjourSetup.exe ( http://developer.apple.com/networking/bonjour/download/)
pybonjour
http://o2s.csail.mit.edu/download/pybonjour/pybonjour-1.1.0.zip ( http://o2s.csail.mit.edu/o2s-wiki/pybonjour)
- Unzip to a temp location
- Copy pybonjour.py into the src/common/zeroconf folder
Run!
And finally run: launch.bat
Hide the console
Just use "pythonw gajim.py" to run Gajim without console window, or
BTW: For getting rid of the console window (cmd.exe), try:
The Wonderful Icon
http://www.thewonderfulicon.com/wondicon.exe ( http://www.thewonderfulicon.com/download.html)
- Install
- Right-click tray icon -> Configure
- Set hotkey for hide window to Win + H
Then once the console has successfully started the app, just press Win + H to disappear it. Also, try setting the tray icon to always hide. (Right-Click in System Tray->Properties->Customize...)
Enjoy
Happy hacking!
Campey campey[at]gmail.com
