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.
- Timestamp:
-
May 15, 2007, 8:03:32 PM (17 years ago)
- Author:
-
phroggie
- Comment:
-
monotone handles line endings better than CVS did, local.mak clarifications, better describe layout, and a pidgin in a tutu sounds utterly silly ;-)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v11
|
v12
|
|
17 | 17 | === The manual way === |
18 | 18 | |
19 | | 1. Install the [http://cygwin.com Cygwin] Bash shell. Make sure to select Unix file mode during setup. |
20 | | Also make sure you install bash, bzip2, coreutils, gawk, grep, gzip, make, patch, sed, monotone, tar, unzip, and wget (several of these are selected by default).[[BR]] |
| 19 | 1. Install the [http://cygwin.com Cygwin] Bash shell. |
| 20 | Make sure you install bash, bzip2, coreutils, gawk, grep, gzip, make, patch, sed, monotone, tar, unzip, and wget (several of these are selected by default).[[BR]] |
21 | 21 | You may prefer to use the native Windows monotone binary available [http://www.monotone.ca here]. |
22 | 22 | |
… |
… |
|
31 | 31 | 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. |
32 | 32 | |
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): |
| 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). It is not required to actually define `$PIDGIN_DEV_ROOT`, it is simply mentioned here to show which parts of the process are up to your personal choice.[[BR]][[BR]] |
| 34 | ** Note: You should avoid using a `$PIDGIN_DEV_ROOT` path that contains spaces as that can cause unnecessary complications.[[BR]][[BR]] |
| 35 | The location of win32-dev and it's contents can be changed by creating a `local.mak` file in the `$PIDGIN_DEV_ROOT/pidgin` directory and overriding the various Makefile variables. While this is not necessary, it allows you the freedom to install dependencies wherever you please. The variables that can be overridden with this method are listed in the source archive in [http://developer.pidgin.im/viewmtn/revision/file/8c0ef1cb63204eeb0e5cda5501300c62d11bf89e/libpurple/win32/global.mak libpurple/win32/global.mak]. For example, to install Pidgin over `C:\Program Files\Pidgin` instead of `$PIDGIN_DEV_ROOT/pidgin/win32-install-dir`, create a `$PIDGIN_DEV_ROOT/pidgin/local.mak` containing: |
| 36 | {{{ |
| 37 | PIDGIN_INSTALL_DIR = /cygdrive/c/Program\ Files/Pidgin |
| 38 | PURPLE_INSTALL_DIR = /cygdrive/c/Program\ Files/Pidgin |
| 39 | }}} |
| 40 | People are sometimes confused about the directory structure, so here is an example that will build without any local.mak overrides (`$PIDGIN_DEV_ROOT` is `c:/development/pidgin_dev` in this example): |
36 | 41 | {{{ |
37 | 42 | C:\development\pidgin_dev |
38 | | (The following is the source tree root, containing the config.h.mingw file.) |
| 43 | (The following is the source tree root, containing config.h.mingw and libpurple.) |
39 | 44 | C:\development\pidgin_dev\pidgin |
40 | 45 | C:\development\pidgin_dev\win32-dev |
… |
… |
|
42 | 47 | C:\development\pidgin_dev\win32-dev\gtk_2_0\include\libintl.h |
43 | 48 | }}} |
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 |
| 49 | Or, for those more graphically inclined (again using `c:/development/pidgin_dev` for `$PIDGIN_DEV_ROOT`):[[BR]] |
| 50 | [[Image(ticket:1017:build-layout.png)]] |
46 | 51 | |
47 | 52 | == Install Pidgin's build dependencies == |
… |
… |
|
83 | 88 | === Meanwhile === |
84 | 89 | Download and extract [http://prdownloads.sourceforge.net/meanwhile/meanwhile-1.0.2-win32.zip?download meanwhile-1.0.2-win32.zip] to `win32-dev`. |
85 | | |
86 | | === Pidgin's build dependency folder structure example === |
87 | | [[Image(ticket:1017:alldependencies.png)]] |
88 | 90 | |
89 | 91 | == Get the Pidgin source code == |
… |
… |
|
145 | 147 | Once this is set up, you should be able to follow the [#BuildPidgin building instructions above]. |
146 | 148 | |
147 | | ** Note: I haven't been able to get the NSIS installer to to build correctly on my 64-bit Linux system. |
| 149 | ** Note: I haven't been able to get the NSIS installer to build correctly on my 64-bit Linux system. |
148 | 150 | |
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!