Thu, 12 Dec 2002 04:03:53 +0000
[gaim-migrate @ 4274]
(23:01:14) LSchiere: okay, this patch fixes at least some of the problems saving sound, away, and font preferences. it makes spin buttons and entry
widgets save prefs on loss of focus or dialog close instead of on change.
(23:01:17) LSchiere: anything else it does?
(23:01:44) faceprint: it makes nothing save unless you hit close. however, everything saves when you hit close.
(23:02:06) LSchiere: they still apply before close?
(23:02:09) faceprint: it should right most of the wrongs of prefs
(23:02:25) faceprint: they apply before close, but aren't written to disk every time you check or uncheck a checkbox or something
(23:02:27) Paco-Paco: it looks OK
committer: Luke Schierer <lschiere@pidgin.im>
| 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 | ||
| 20 | GTK & GLIB (v 2.0.6 as of writing) | |
| 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 | |
| 31 | glib-2.0.6-20020802.zip | |
| 32 | glib-dev-2.0.6-20020802.zip | |
| 33 | gtk+-2.0.6-20020921.zip | |
| 34 | gtk+-dev-2.0.6-20020921.zip | |
| 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 | |
| 39 | pango-1.0.4-20020921.zip | |
| 40 | pango-dev-1.0.4-20020921.zip | |
| 41 | tiff-3.5.7-bin.zip | |
| 42 | zlib-1.1.4-bin.zip | |
| 43 | ||
| 44 | $ cd ~/win32-dev/gtk_2_0/zips | |
| 45 | $ unzip -d .. <all zip files> | |
| 46 | ||
| 47 | $ cd .. | |
| 48 | $ cp lib/libintl-1.dll ./bin | |
| 49 | $ cd libiconv-1.7-w32.bin | |
| 50 | $ cp iconv.exe ../bin | |
| 51 | $ cp iconv.lib ../lib | |
| 52 | $ cp localcharset.dll ../lib | |
| 53 | $ cp iconv.dll ../lib | |
| 54 | $ cp iconv.dll ../bin | |
| 55 | $ cp iconv.h ../include/ | |
| 56 | $ cp libcharset.h ../include/ | |
| 57 | ||
| 58 | NOTE: If you use a more recent versions of any of these packages, you may | |
| 59 | need to move files around so that they can be found when Gaim is built. | |
| 60 | ||
| 61 | Perl56 | |
| 62 | ------ | |
| 63 | ||
| 64 | Download perl-5.6.1 from www.cpan.org. You can build perl56 yourself if | |
| 65 | you have MS Visual C++, or you can download a win32 binary distribution | |
| 66 | (I tried SiePerl successfully). In either case make sure you do the | |
| 67 | following: | |
| 68 | ||
| 69 | $ mkdir -p ~/win32-dev/perl56 | |
| 70 | ||
| 71 | Copy Perl's "CORE" directory to ~/win32-dev/perl56 as well as "perl56.dll" | |
| 72 | and "perl56.lib". | |
| 73 | ||
|
3857
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
74 | Aspell-15 |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
75 | --------- |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
76 | |
|
3909
ea4229966687
[gaim-migrate @ 4068]
Herman Bloggs <herman@bluedigits.com>
parents:
3857
diff
changeset
|
77 | 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
|
78 | and untar it under ~/win32-dev. |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
79 | |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
80 | Gtkspell 2.0.2 |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
81 | -------------- |
|
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
82 | |
|
3909
ea4229966687
[gaim-migrate @ 4068]
Herman Bloggs <herman@bluedigits.com>
parents:
3857
diff
changeset
|
83 | Download the dev package (gtkspell-2.0.2.tar.gz) from http://gaim.sf.net/win32, |
|
3857
da9b4d7f6e84
[gaim-migrate @ 4009]
Herman Bloggs <herman@bluedigits.com>
parents:
3648
diff
changeset
|
84 | and untar it under ~/win32-dev. |
| 3630 | 85 | |
|
3932
07016fbd65bf
[gaim-migrate @ 4104]
Herman Bloggs <herman@bluedigits.com>
parents:
3909
diff
changeset
|
86 | Gtkrc |
|
07016fbd65bf
[gaim-migrate @ 4104]
Herman Bloggs <herman@bluedigits.com>
parents:
3909
diff
changeset
|
87 | ----- |
|
07016fbd65bf
[gaim-migrate @ 4104]
Herman Bloggs <herman@bluedigits.com>
parents:
3909
diff
changeset
|
88 | |
|
07016fbd65bf
[gaim-migrate @ 4104]
Herman Bloggs <herman@bluedigits.com>
parents:
3909
diff
changeset
|
89 | Download the dev package (gtkrc.tar.gz) from http://gaim.sf.net/win32, and |
|
07016fbd65bf
[gaim-migrate @ 4104]
Herman Bloggs <herman@bluedigits.com>
parents:
3909
diff
changeset
|
90 | untar it under ~/win32-dev |
|
07016fbd65bf
[gaim-migrate @ 4104]
Herman Bloggs <herman@bluedigits.com>
parents:
3909
diff
changeset
|
91 | |
| 3630 | 92 | Build Gaim |
| 93 | ---------- | |
| 94 | ||
| 95 | $ cd ~/gaim | |
| 96 | $ make -f Makefile.mingw install | |
| 97 | ||
| 98 | Run Gaim | |
| 99 | -------- | |
| 100 | ||
| 101 | $ cd ~/gaim/win32-install-dir | |
| 102 | $ ./gaim.exe | |
| 103 | ||
| 104 | That's it.. | |
| 105 | ||
| 106 | Note: If you wish to build an install exe of Gaim, then you need to install | |
| 107 | NSIS from http://www.nullsoft.com/free/nsis/ making sure to place its | |
| 108 | binary dir in your PATH. Then... | |
| 109 | ||
|
3648
03b23b553b9a
[gaim-migrate @ 3772]
Herman Bloggs <herman@bluedigits.com>
parents:
3630
diff
changeset
|
110 | $ cd ~/gaim |
| 3630 | 111 | $ make -f Makefile.mingw installer |
| 112 | ||
| 113 | Debugging | |
| 114 | --------- | |
| 115 | ||
| 116 | There is quite a good "Just In Time" debugger for MinGw: | |
| 117 | http://mefriss1.swan.ac.uk/~jfonseca/gnu-win32/software/drmingw/ | |
| 118 | ||
| 119 | ||
| 120 | Happy Gaiming... | |
| 121 | Herman Bloggs <hermanator12002@yahoo.com> | |
| 122 | ||
| 123 | ||
| 124 | ||
| 125 | ||
| 126 | ||
| 127 |