Changes between Version 8 and Version 9 of BuildingTransmissionQtWindows


Ignore:
Timestamp:
Oct 21, 2009, 5:24:45 PM (12 years ago)
Author:
rb07
Comment:

Update to version 1.75

Legend:

Unmodified
Added
Removed
Modified
  • BuildingTransmissionQtWindows

    v8 v9  
    44The following procedure in not the only one possible, it was just the easiest for me.
    55
    6 If you have a MinGW [http://mingw.org/] development environment (Qt SDK [http://www.qtsoftware.com/downloads/downloads#lgpl] installs the basic tools but with an old winapi that is not enough) then you can skip the first part, add as many ported packages as you can find [http://sourceforge.net/project/showfiles.php?group_id=2435], and try the 2nd part.
     6If you have a MinGW [http://mingw.org/] development environment (Qt SDK [http://www.qtsoftware.com/downloads/downloads#lgpl] installs the basic tools but with an old winapi that is not enough) then you can skip the first part, add as many ported packages as you can find [http://sourceforge.net/project/showfiles.php?group_id=2435], port the rest, and try the 2nd part.
    77
    88== Cross build environment ==
     
    1010Using the excellent tools from the Fedora project [http://fedoraproject.org/wiki/MinGW] we can build Transmission for running on Windows (XP and above).
    1111
    12 You don't need to install Fedora 11, I run it under Windows on a virtual machine (VMWare Player [http://www.vmware.com/download/player/download.html]), the Fedora 11 image is from VMplanet [http://vmplanet.net/node/92].
     12You don't need to install Fedora 11, I run it under Windows on a virtual machine (VMWare Player [http://www.vmware.com/download/player/download.html]), the Fedora 11 image is from one of the available options [http://www.vmware.com/appliances/directory/cat/9833].
    1313
    1414Once you have it, log in, su to root, and install the cross-development tools:
     
    3939Start by downloading and installing the source in your workspace:
    4040
    41  * curl http://download.m0k.org/transmission/files/transmission-1.71.tar.bz2 -O
    42  * tar xvf transmission-1.71.tar.bz2
     41 * curl http://download.m0k.org/transmission/files/transmission-1.75.tar.bz2 -O
     42 * tar xvf transmission-1.75.tar.bz2
    4343
    44 We are using one patch [wiki:BuildingTransmissionQtWindows/transmission-1.71-Qt-build.diff]; the download is done in the steps below.
     44We are using one patch [wiki:BuildingTransmissionQtWindows/transmission-1.75-Qt-build.diff]; the download is done in one of the steps below.
    4545
    4646Then:
    4747 
    48  * cd transmission-1.71
    49  * curl "!http://trac.transmissionbt.com/wiki/BuildingTransmissionQtWindows/transmission-1.71-Qt-build.diff?format=txt" -O transmission-1.71-Qt-build.diff
    50  * patch -p1 < transmission-1.71-Qt-build.diff
     48 * cd transmission-1.75
     49 * curl "!http://trac.transmissionbt.com/wiki/BuildingTransmissionQtWindows/transmission-1.75-Qt-build.diff?format=txt" -O transmission-1.75-Qt-build.diff
     50 * patch -p1 < transmission-1.75-Qt-build.diff
    5151 * mingw32-configure --disable-nls --disable-largefile --disable-cli --disable-gtk
    5252 * make CFLAGS="-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -mms-bitfields -DSTATICLIB"
     
    7878Finally create the installer:
    7979
    80  * nsiswrapper --run --name "!QtTransmission" --outfile !QtTransmission-1.71_installer.exe --installdir 'C:\Program Files\Transmission-1.71' /usr/i686-pc-mingw32/sys-root/mingw/bin/qtr.exe
     80 * nsiswrapper --run --name "!QtTransmission" --outfile !QtTransmission-1.75_installer.exe --installdir 'C:\Program Files\Transmission' /usr/i686-pc-mingw32/sys-root/mingw/bin/qtr.exe
    8181
    8282That's it, now just copy the installer to Windows, I use ftp but of course I have a ftp server... haven't tried other means but scp (putty or OpenSSH) should work, also using a flash drive, or a Windows/Samba share.