Building Ekiga for Windows
To build Ekiga for Windows you need a GNU/Linux system, process known as cross-building. You cannot build Ekiga for Windows on a Windows system.
You need an installed, working version of Minimalist GNU for Windows (mingw) together with its binutils and runtime libraries, and some other libraries/programs. On a debian system you can install them via apt-get:
apt-get install mingw-w64 apt-get install nsis build-essential make automake bison flex zip unzip git-core subversion apt-get install gnome-common gnome-doc-utils gnome-icon-theme xmlto yasm libgconf2-dev intltool libgdk-pixbuf2.0-dev
- if you prefer to use mingw32 instead of mingw-w64, replace the line above with mingw-w64 with:
apt-get install gcc-mingw32 mingw32-binutils mingw32-runtime
- when using mingw32, you need a version of mingw32-runtime >= 3.15, while debian unstable has version 3.13 as of Nov. 2012; you can download 3.15 from Ubuntu for example
Downloading building program
Create an empty directory and save into it the following file under the name Makefile:
- for stable version (use this one if you do not know which one): http://git.gnome.org/browse/ekiga/plain/win32/Makefile?h=v4_0
- for unstable version: http://git.gnome.org/browse/ekiga/plain/win32/Makefile. Note: the unstable version does not build currently: Ekiga needs GTK+ 3.12, but last usable GTK+ Windows bundle is 3.6 (3.10 has packaging errors)...
1. Now you execute the automated download process that gets ekiga sources and its required libraries (such as ptlib, opal, theora and speex) from the Internet. Go to the directory where you saved the Makefile file, and execute:
(or, if you prefer the latest release,
make update-sources RELEASE=1).
Be patient. Some file downloading and git/svn checkouts will happen. Depending on your network speed, it might look for some minutes as if the make process stalled.
2. Then start the build process by simply executing:
make RELEASE=1 for latest release)
(you must have executed the similar command at the previous step too).
DEBUG=1 if you wish not to remove debug information from dll and executables generated.
MINGW32=1 if you wish to compile with the old mingw32.
This step compiles all the libraries and finally ekiga itself as usually, but through mingw (note that even if these libraries might be installed on your GNU/Linux computer, they are useless for cross-build for the Win32 target). It also puts together all the libraries and ekiga in a single file ekiga-setup.exe.
Your cross-compiled windows version is now located in dist directory.
Execute dist/ekiga-setup...exe on a Windows system.