Tue, 25 Mar 2003 05:01:00 +0000
[gaim-migrate @ 5219]
Fix a lil ko.po problem some people with weird gettexts had.
Swap the "Open Mail" and "Close" buttons on the mail
notification dialog. Is this more HIGgish? If not, lemme know
and I'll burninate.
I took out lots of aim_conn_t's from ssi.c in favor of looking up
the connection from the session when it is needed. I like this way
better, and I've been slowly moving towards it.
Added some code used for uploading icons. I haven't gotten it to work
yet. I'm still not exactly sure what I'm supposed to be doing.
'twould be nice if Windows AIM still did this correctly. 'twould be
nice to have that kind of job security.
| 3630 | 1 | How to build Gaim using MinGw |
| 2 | ============================= | |
| 3 | ||
| 4 | Set Up Build Environment | |
| 5 | ------------------------ | |
| 6 | ||
| 7 | - Install Cygwin bash shell (www.cygwin.com). | |
| 8 | ||
| 9 | - Install MinGw v1.1 (http://www.mingw.org) | |
| 10 | Make sure to read the installation instructions. Make sure to set MinGw's | |
| 11 | bin directory in your PATH (in .bash_login), before Cygwin's bin dir | |
| 12 | (so that mingw's build tools are used over cygwin's). | |
| 13 | ||
| 14 | Install LIBs, DLLs and headers used by GAIM | |
| 15 | ------------------------------------------- | |
| 16 | ||
| 17 | Assuming you have the gaim sources in ~/gaim, you will need to do the | |
| 18 | fowllowing: | |
| 19 | ||
|
4066
b544630865f0
[gaim-migrate @ 4278]
Herman Bloggs <herman@bluedigits.com>
parents:
3932
diff
changeset
|
20 | GTK & GLIB (v 2.0.9 as of writing) |
| 3630 | 21 | ---------------------------------- |
| 22 | ||
| 23 | $ mkdir -p ~/win32-dev/gtk_2_0/zips | |
| 24 | ||
| 25 | Download the following from thw win32 download page at www.gtk.org to the | |
| 26 | zips dir you just created: | |
| 27 | ||
| 28 | atk-1.0.3-20020821.zip | |
| 29 | atk-dev-1.0.3-20020821.zip | |
| 30 | gettext-dev-0.10.40-20020904.zip | |
|
4128
1cde6a7c1359
[gaim-migrate @ 4346]
Herman Bloggs <herman@bluedigits.com>
parents:
4066
diff
changeset
|
31 | glib-2.0.6-20020802.zip |
|
1cde6a7c1359
[gaim-migrate @ 4346]
Herman Bloggs <herman@bluedigits.com>
parents:
4066
diff
changeset
|
32 | glib-dev-2.0.6-20020802.zip |
|
1cde6a7c1359
[gaim-migrate @ 4346]
Herman Bloggs <herman@bluedigits.com>
parents:
4066
diff
changeset
|
33 | gtk+-2.0.6-20020921.zip |
|
1cde6a7c1359
[gaim-migrate @ 4346]
Herman Bloggs <herman@bluedigits.com>
parents:
4066
diff
changeset
|
34 | gtk+-dev-2.0.6-20020921.zip |
| 3630 | 35 | libiconv-1.7-w32.bin.zip |
| 36 | libintl-0.10.40-tml-20020904.zip | |
| 37 | libjpeg-6b-bin.zip | |
| 38 | libpng-1.2.4-1-bin.zip | |
|
4128
1cde6a7c1359
[gaim-migrate @ 4346]
Herman Bloggs <herman@bluedigits.com>
parents:
4066
diff
changeset
|
39 | pango-1.0.4-20020921.zip |
|
1cde6a7c1359
[gaim-migrate @ 4346]
Herman Bloggs <herman@bluedigits.com>
parents:
4066
diff
changeset
|
40 | pango-dev-1.0.4-20020921.zip |
| 3630 | 41 | tiff-3.5.7-bin.zip |
| 42 | zlib-1.1.4-bin.zip | |
| 43 | ||
|
4066
b544630865f0
[gaim-migrate @ 4278]
Herman Bloggs <herman@bluedigits.com>
parents:
3932
diff
changeset
|
44 | Make sure that after unziping, the binaries (dlls and exes) have the correct |
|
b544630865f0
[gaim-migrate @ 4278]
Herman Bloggs <herman@bluedigits.com>
parents:
3932
diff
changeset
|
45 | executable permissions (e.g. "chmod 755 iconv.dll"): |
|
b544630865f0
[gaim-migrate @ 4278]
Herman Bloggs <herman@bluedigits.com>
parents:
3932
diff
changeset
|
46 | |
| 3630 | 47 | $ cd ~/win32-dev/gtk_2_0/zips |
|
4128
1cde6a7c1359
[gaim-migrate @ 4346]
Herman Bloggs <herman@bluedigits.com>
parents:
4066
diff
changeset
|
48 | $ unzip -d .. "*.zip" |
| 3630 | 49 | $ cd .. |
| 50 | $ cp lib/libintl-1.dll ./bin | |
| 51 | $ cd libiconv-1.7-w32.bin | |
| 52 | $ cp iconv.exe ../bin | |
| 53 | $ cp iconv.lib ../lib | |
| 54 | $ cp localcharset.dll ../lib | |
| 55 | $ cp iconv.dll ../lib | |
| 56 | $ cp iconv.dll ../bin | |
| 57 | $ cp iconv.h ../include/ | |
| 58 | $ cp libcharset.h ../include/ | |
| 59 | ||
| 60 | NOTE: If you use a more recent versions of any of these packages, you may | |
| 61 | need to move files around so that they can be found when Gaim is built. | |
| 62 | ||
| 63 | Perl56 | |
| 64 | ------ | |
| 65 | ||
| 66 | Download perl-5.6.1 from www.cpan.org. You can build perl56 yourself if | |
| 67 | you have MS Visual C++, or you can download a win32 binary distribution | |
| 68 | (I tried SiePerl successfully). In either case make sure you do the | |
| 69 | following: | |
| 70 | ||
| 71 | $ mkdir -p ~/win32-dev/perl56 | |
| 72 | ||
| 73 | Copy Perl's "CORE" directory to ~/win32-dev/perl56 as well as "perl56.dll" | |
| 74 | and "perl56.lib". | |
| 75 | ||
|
3857
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
76 | Aspell-15 |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
77 | --------- |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
78 | |
|
3909
ea4229966687
[gaim-migrate @ 4068]
Herman Bloggs <herman@bluedigits.com>
parents:
3857
diff
changeset
|
79 | Download the dev package (aspell-15.tar.gz) from http://gaim.sf.net/win32, |
|
3857
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
80 | and untar it under ~/win32-dev. |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
81 | |
|
4128
1cde6a7c1359
[gaim-migrate @ 4346]
Herman Bloggs <herman@bluedigits.com>
parents:
4066
diff
changeset
|
82 | Gtkspell 2.0.3 |
|
3857
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
83 | -------------- |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
84 | |
|
4128
1cde6a7c1359
[gaim-migrate @ 4346]
Herman Bloggs <herman@bluedigits.com>
parents:
4066
diff
changeset
|
85 | Download the dev package (gtkspell-2.0.3-20021223.tar.gz) from |
|
4066
b544630865f0
[gaim-migrate @ 4278]
Herman Bloggs <herman@bluedigits.com>
parents:
3932
diff
changeset
|
86 | http://gaim.sf.net/win32, and untar it under ~/win32-dev. |
|
3932
07016fbd65bf
[gaim-migrate @ 4104]
Herman Bloggs <herman@bluedigits.com>
parents:
3909
diff
changeset
|
87 | |
| 3630 | 88 | Build Gaim |
| 89 | ---------- | |
| 90 | ||
| 91 | $ cd ~/gaim | |
| 92 | $ make -f Makefile.mingw install | |
| 93 | ||
| 94 | Run Gaim | |
| 95 | -------- | |
| 96 | ||
| 97 | $ cd ~/gaim/win32-install-dir | |
| 98 | $ ./gaim.exe | |
| 99 | ||
| 100 | That's it.. | |
| 101 | ||
| 102 | Note: If you wish to build an install exe of Gaim, then you need to install | |
| 103 | NSIS from http://www.nullsoft.com/free/nsis/ making sure to place its | |
| 104 | binary dir in your PATH. Then... | |
| 105 | ||
|
3648
03b23b553b9a
[gaim-migrate @ 3772]
Herman Bloggs <herman@bluedigits.com>
parents:
3630
diff
changeset
|
106 | $ cd ~/gaim |
| 3630 | 107 | $ make -f Makefile.mingw installer |
| 108 | ||
| 109 | Debugging | |
| 110 | --------- | |
| 111 | ||
| 112 | There is quite a good "Just In Time" debugger for MinGw: | |
| 113 | http://mefriss1.swan.ac.uk/~jfonseca/gnu-win32/software/drmingw/ | |
| 114 | ||
| 115 | ||
| 116 | Happy Gaiming... | |
| 117 | Herman Bloggs <hermanator12002@yahoo.com> | |
| 118 | ||
| 119 | ||
| 120 | ||
| 121 | ||
| 122 | ||
| 123 |