Build Tribler on Windows from Scratch
To build a Tribler installer on Windows from scratch, do the following.
Installing required software
- Download and install Python 2.4.3 into C:\Python243wx2801\.
- Download and install wxPython 2.8.0.1-unicode.
- Download and install py2exe 0.6.6.
- Download and install the NSIS installer into C:\Program Files\NSIS.
- Download and install some Subversion client (for instance TortoiseSVN).
- Download and install M2Crypto 0.18-win32 (Contributed Build).
- Download and install PySqlite and/or APSW.
Preparing the source
Access to https requires authorisation. For read-only access, use http.
- Check out https://svn.tribler.org/abc/branches/mainbranch into C:\svn\mainbranch.
- Check out https://svn.tribler.org/ffmpeg/branches/ffmpeg-win32-ivaylo-jan2007 into C:\svn\ffmpeg.
- Check out https://svn.tribler.org/vlc/branches/vlc-0.8.6a-win32-ivaylo-mar2007 into C:\svn\vlc.
- Copy the files in C:\svn\ffmpeg and C:\svn\vlc into C:\svn\mainbranch.
- Rename the copied C:\svn\mainbranch\zip to vlc.
Build installer
- Open CMD and chdir to C:\svn\mainbranch
- Run makedist
You will now have an installer at C:\svn\mainbranch\dist\Tribler-VERSION.exe, enjoy :)
