Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 9 and Version 10 of BuildingWinPidgin


Ignore:
Timestamp:
May 14, 2007, 3:32:46 PM (17 years ago)
Author:
datallah
Comment:

Use "$PIDGIN_DEV_ROOT" instead of "~" to prevent confusion, Add note about not using paths with spaces.

Legend:

Unmodified
Added
Removed
Modified
  • BuildingWinPidgin

    v9 v10  
    2525     Specifically, you will need `gcc-core 3.4.2`, `binutils 2.15.91`, `mingw-runtime 3.9` and `win32api 3.9` (or newer). Note that a bug with the MinGW site causes win32api 3.9 to not appear. You'll need to grab it from their [http://sourceforge.net/project/showfiles.php?group_id=2435 Sourceforge page].[[BR]]
    2626     You will need to set MinGW's bin directory before Cygwin's in your PATH.[[BR]]
    27      For Example (You can add the following to `~/.bash_login`):
     27     For Example (You can add the following to your `~/.bashrc` file (create the file if it doesn't exist yet)):
    2828{{{
    2929  export PATH=/cygdrive/c/MinGW/bin:$PATH
     
    3131     You do not want to use any of Cygwin's build tools, with one exception; you need to use Cygwin's make utility. If typing `which make` produces MinGW's make utility, then just rename the `make.exe` in the MinGW bin directory to something else so that cygwin's make utility will be used instead. This shouldn't be a problem with recent versions of MinGW.
    3232
    33   3. The following instructions were written under the assumption that you checkout Pidgin from monotone to `~/pidgin` and that you install all of Pidgin's build dependencies under `~/win32-dev` (the point being that the pidgin source root and `win32-dev` directories should be on the same level).[[BR]]
    34      This can be overridden by creating a `local.mak` file in the `~/pidgin` directory and overriding the various Makefile variables.[[BR]]
    35      People are sometimes confused about the directory structure, so here is an example:
     33  3. The following instructions were written under the assumption that you checkout Pidgin from monotone to `$PIDGIN_DEV_ROOT/pidgin` and that you install all of Pidgin's build dependencies under `$PIDGIN_DEV_ROOT/win32-dev` (the point being that the pidgin source root and `win32-dev` directories should be on the same level).[[BR]]
     34     This can be overridden by creating a `local.mak` file in the `$PIDGIN_DEV_ROOT/pidgin` directory and overriding the various Makefile variables.[[BR]]
     35     People are sometimes confused about the directory structure, so here is an example (`$PIDGIN_DEV_ROOT` is `c:/development` in this example):
    3636{{{
    3737C:\development\pidgin_dev
     
    4242C:\development\pidgin_dev\win32-dev\gtk_2_0\include\libintl.h
    4343}}}
    44      [[BR]]**TODO: post example local.mak
     44     ** Note: You should avoid using a `$PIDGIN_DEV_ROOT` path that contains spaces as that can cause unnecessary complications.
     45     [[BR]]** TODO: post example local.mak
    4546
    4647== Install Pidgin's build dependencies ==
     
    5051  Pidgin depends on GTK+ 2.6.10 (newer runtime versions can be used, but building against newer headers will prevent Win98/ME compatibility).
    5152  For your convenience, we have included all of GTK's dependencies in one tarball.
    52   Extract [http://prdownloads.sourceforge.net/pidgin/gtk-dev-2.6.10-rev-a.tar.gz?download gtk-dev-2.6.10-rev-a.tar.gz] within `~/win32-dev`.[[BR]]
     53  Extract [http://prdownloads.sourceforge.net/pidgin/gtk-dev-2.6.10-rev-a.tar.gz?download gtk-dev-2.6.10-rev-a.tar.gz] within `$PIDGIN_DEV_ROOT/win32-dev`.[[BR]]
    5354  If you wish to run Pidgin from the `win32-install-dir` directory once it is built, you will need to make sure that you have installed the GTK+ runtime, and make sure that its bin dir is in your PATH.[[BR]]
    5455  Visit the [http://www.gtk.org GTK+ website] for official binary and source releases.
     
    6061  Install Perl 5.8 for Windows (I use [http://www.activestate.com/Products/ActivePerl/ ActivePerl]), to `C:\Perl`.
    6162  If you install Perl anywhere else, you will need to override the `PERL` and `EXTUTILS` variables in your `pidgin/local.mak` file.
    62   You will also need to install [/static/win32/perl582.tar.gz perl582.tar.gz] under `~/win32-dev` (Containing headers and import lib for mingw gcc).
     63  You will also need to install [/static/win32/perl582.tar.gz perl582.tar.gz] under `$PIDGIN_DEV_ROOT/win32-dev` (Containing headers and import lib for mingw gcc).
    6364
    6465=== Tcl 8.4.5 ===
     
    7172
    7273=== Mozilla NSS ===
    73   * Download and unzip the following under `~/win32-dev` (make sure you `chmod 755` all the unzipped binaries):
     74  * Download and unzip the following under `$PIDGIN_DEV_ROOT/win32-dev` (make sure you `chmod 755` all the unzipped binaries):
    7475    * [ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_4_RTM/msvc6.0/WIN954.0_OPT.OBJ/nss-3.11.4.zip Network Security Services (NSS)]
    7576    * [ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.6.4/msvc6.0/WIN954.0_OPT.OBJ/nspr-4.6.4.zip Netscape Portable Runtime (NSPR)]
     
    8889  Run the following:
    8990{{{
    90 $ cd ~/pidgin
     91$ cd $PIDGIN_DEV_ROOT/pidgin
    9192$ make -f Makefile.mingw install
    9293}}}
    93   Now just wait and let your compiler do its thing.  When finished, Pidgin will be in `~/pidgin/win32-install-dir`.
     94  Now just wait and let your compiler do its thing.  When finished, Pidgin will be in `$PIDGIN_DEV_ROOT/pidgin/win32-install-dir`.
    9495
    9596== Build the Pidgin Installer ==
     
    99100      For information on the NSIS installer, visit the [http://nsis.sourceforge.net NSIS website].
    100101    * Download [http://prdownloads.sourceforge.net/pidgin/gtk-2.10.11-rev-b-installer.tar.gz?download gtk-2.10.11-rev-b-installer.tar.gz]
    101       and extract it to `~/` (or whichever directory you have the pidgin dir in). From within the new `gtk_installer directory`, run `. build.sh` (this builds the GTK+ runtime installer, which the Pidgin installer will include).
    102     * Download [/static/win32/pidgin-inst-deps.tar.gz pidgin-inst-deps.tar.gz] and extract under `~/win32-dev`.
     102      and extract it to `$PIDGIN_DEV_ROOT/`. From within the new `gtk_installer directory`, run `. build.sh` (this builds the GTK+ runtime installer, which the Pidgin installer will include).
     103    * Download [/static/win32/pidgin-inst-deps.tar.gz pidgin-inst-deps.tar.gz] and extract under `$PIDGIN_DEV_ROOT/win32-dev`.
    103104  * Now you can actually build the installer.[[BR]]
    104105    There are 3 different installers: "Normal" (with GTK+), "No GTK+" and "Debug".
    105106    The Makefile targets for these are `installer`, `installer_nogtk`, and `installer_debug` respectively.  To build all 3, use the `installers` target.
    106107{{{
    107 $ cd ~/pidgin
     108$ cd $PIDGIN_DEV_ROOT/pidgin
    108109$ make -f Makefile.mingw installers
    109110}}}
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!