-
Notifications
You must be signed in to change notification settings - Fork 0
Windows
Note: Pre-built development packages are available from http://www.mediafire.com/emesene
NOTE: to the creator of this page, have you seen INSTALL_WINDOWS.txt document on the repo or http://emesene-msn.blogspot.com/2010/10/how-to-generate-exe-files-and.html ?
This is a really quick and basic tutorial, I want to make this more clear, but it should help any new windows coder/tester
I you have used this: http://forum.emesene.org/index.php/topic,3054.0.html to run emesene1.x svn version on windows you have most of the work done, you can go to the msysgit steps
Requirements:
- msysgit http://code.google.com/p/msysgit/
- Python2.6 http://www.python.org/download/ (Don't use 2.7)
- Pygtk http://www.pygtk.org/downloads.html
- gtk http://www.pygtk.org/downloads.html (click on "official GTK+ bundle") (for pygtk and gtk 2.22 use the links provived by dli on the windows svn thread)
Optional requirements (for the papyon backend):
- PyCrypto http://www.voidspace.org.uk/python/modules.shtml#pycrypto
- OpenSSL http://gnuwin32.sourceforge.net/packages/openssl.htm
- pyOpenSSL http://pypi.python.org/pypi/pyOpenSSL
Install dependencies:
- Download python 2.x (2.6.4 at this moment) from the above links, don't use version 3.x!!
- Install python somewhere, i'll use C:/python26, the default folder, but if you changed it you may need that folder for installing pygtk if it doesn't autodect where it is
- Download PyCairo, PyGObject and PyGTK (you can choose the one with or without glade, it doesn't matter, I'll use the one without glade) and install them on that order. Search the site above, look for the newest version of each package for python 2.6. Installation of each package should autodetect python's folder.
- Now, download the "official GTK+ bundle" with all the needed gtk+ libraries. Download the full bundle, around 20mb (at the moment it's gtk+-bundle_2.18.7-20100213_win32.zip, 21mb)
- Unzip the file somewhere, I choosed C:\Program Files\gtk.
- Add the "bin" folder that should be inside the gtk folder to the environment variable PATH. Right click on My PC > Properties > Advanced > Environment Variables, select PATH, click on Modify (if it doesn't exists create a new one) and at the end add ";C:\Program Files\gtk\bin" without the "". Accept and everything should be installed now.
To test if gtk is properly installed, read the text file inside gtk's folder to run the demo.
Install optional dependencies:
- Download OpenSSL binary installer and install it.
- Download pyOpenSSL binar installer and install it (or python2.6).
- Download pyCrpto installer and install it.
Install and configure git:
- Download and install msysgit.
- Open the msysgit.bat file on the installation folder (C:\msysgit bydeault) and a terminal should popup.
- Move to the desired directory and do:
git clone git://github.com/emesene/emesene.git emesene
- Init and update the papyon submodule (optional).
cd emesene
git submodule init (only once)
git submodule update
- Update emesene from git to get latest changes:
git remote add emesene git://github.com/emesene/emesene.git (this is done only once)
git pull emesene master
For developers:
You have to conigure the ssh-key first... you can do that following this tutorial http://kylecordes.com/2008/git-windows-go
You have to use your fork's ssh url for the clone command.
Commit changes:
After you have done some change, you can commit it to your emesene fork.
- git add (one time for each ile modified)
- git commit (add a comment)
- git push
You can use the SVN tutorial to pimp emesene2 a little
POSSIBLE ISSUES Crashes when sending messages: that's a packaging problem, I had those crashes when I didn;t included the font configuration from gtk on the package. the only way to find that for me was to use process explorer and see which resources the app was trying to access before crashing (yeah, it sucks) https://github.com/emesene/emesene/issues/414