[jitsi-dev] How to build the Jitsi package for Windows


#1

In my sandbox I have implemented some new stuff to support some ZRTP
features. Before I will propose this and feed it back to the normal
Jitsi development I would like to test this on various systems, among
them several Windows systems. My fellow tester shall be able to install
Jitsi as usual - thus I would need some support on how to package
Jitsi for Windows.

I haven't found the tools in SVN nor any support in the ant build
file. Any hints or links ?

Thanks.

Best regards,
Werner

BTW: Emil, the lip reading service comes in very handy also in
large and noisy offices :wink: .

Werner


#2

Hi Werner,

I'll send you my quick start guide to create an installer for windows
systems. If I understood your question this maybe will help you:

*1. SOFTWARE REQUIREMENTS:*

-Cygwin: include lib "make, gcc & g++"
http://cygwin.com/setup.exe

-MinGW (only gcc, no g++) (use installation file .zip,
taken into account that build.xml is looking for a
sub-folder x86 y x64 into MinGW root folder)
http://sourceforge.net/projects/mingw/files/latest/download
-Install in C:\MinGW
-copy mingw-make.exe to make.exe (folder C:\MinGW\bin)

-bzip2 (v1.0.5 in this case): install in C:\MinGW\bzip2
http://gnuwin32.sourceforge.net/downlinks/bzip2.php

-xz (v5.0.3 in this case): unzip in C:\MinGW\xz
http://tukaani.org/xz/xz-5.0.3-windows.zip
-make for win32 (v3.8.1 in this case)
http://gnuwin32.sourceforge.net/downlinks/make.php

-wix35-binaries (v3.5 in this case): unzip in C:\Program Files\WiX
-Use binaries (wix35-binaries.zip), not WiX .msi installer.
http://wix.codeplex.com/releases/view/60102#DownloadId=204418

-ant (v1.8.3 in this case): unzip in C:\C:\apache-ant-1.8.3
http://ant.apache.org/bindownload.cgi

-jdk1.6 (v1.6.0_31 in this case)

*2. ENVIRONMENT VARIABLES:*

-Export environment variables:

-ANT_HOME=C:\apache-ant-1.8.3

-BZ2_HOME=C:\MinGW\bzip2

-LZMA_HOME=C:\MinGW\xz

-JAVA_HOME=C:\Program Files\Java\jdk1.6.0_31
-Add to PATH :
%ANT_HOME%\bin
C:\MinGW\bin
C:\cygwin\bin
C:\MinGW\msys\1.0
C:\Program Files\WiX

*3.ADDITIONAL TASKS*:

-Edit "installers.properties" adding path for JRE files to
add into installer and/or for JRE .zip files

-Compile project

*4. EXECUTE SCRIPT*

-Launch Cygwin terminal

-Go to: /cygdrive/c/{dir_root IdentityCall}

-Execute:
- ant build-installation-wix (to create an installer for windows x86)
- ant build-installation-wix-64 (to create an installer for windows x64)
- ant build-installation-linux (to create an installer for linux)

ยทยทยท

*--*
* --DAVID--*

2012/4/1 Werner Dittmann <Werner.Dittmann@t-online.de>

In my sandbox I have implemented some new stuff to support some ZRTP
features. Before I will propose this and feed it back to the normal
Jitsi development I would like to test this on various systems, among
them several Windows systems. My fellow tester shall be able to install
Jitsi as usual - thus I would need some support on how to package
Jitsi for Windows.

I haven't found the tools in SVN nor any support in the ant build
file. Any hints or links ?

Thanks.

Best regards,
Werner

BTW: Emil, the lip reading service comes in very handy also in
large and noisy offices :wink: .

Werner