Excerpt from: the new broken Mouch of BA Manzi
Preparation tools: mingw and msys
Source code: gaim-1.0.0, openq-0.3-p3
Header/library file: gtk2, Aspell, gtkspell, NSPR, NSS, perl58, TCL
NSIs is required if you want to create an installation package.
Several other patches are required.
Compilation Method:
1. It is not necessary to download and install cygwin from the <javasposix environment and mingw GCC (the Gaim web page says; and the above package already comes with mingw ).;
2. Install msys_mingw and run msys. bat. This opens a rxvt session window.
3. Download the source code of gaim-1.0.0from http://sourceforge.net/projects/gaim, and decompress it to a directory of msys2 ~ /Wingaim_building /)
Cd ~ /Wingaim_building
Tar jxf/path/to/gaim-1.0.0.tar.bz2
4. Download the header files and library files of gtk2, Aspell, gtkspell, NSPR, NSS, perl58, TCL and decompress them to wingaim_building/win32-dev/According to
5. Because openq uses the RegEx library /;
6. Add the source code of the gaim-1.0.0 in the OpenQ-0.3-p3 source code directory (this part of the code is extracted from the complete source code of the OpenQ-0.3-p3, corresponding to the gaim-0.79)
Cd ~ /Wingaim_buiding/gaim-1.0.0
Tar zxvf/path/to/openq-0.3-p3-src.tar.gz
7. patch the gaim-1.0.0 code [Patch]. There are two major types of patches. One is a small amount of modifications to the source code of GAIM-1.0.0 for openq.
Cd ~ /Wingaim_buiding/gaim-1.0.0
Patch-p1-B <gaim-0.79-qq-0.3.config.patch (modify configure)
Patch-P1-B <gaim-0.79-qq-0.3.makefile.mingw.patch (modify makefile. mingw)
Patch-P1-B <gaim-1.0.0-qq-0.3.po.patch (modify zh_cn.po)
8. Another type is the patch because the OpenQ-0.3 is released on the gaim-0.79, and some plug-in interfaces are modified when the gaim-1.0 is released, so make the appropriate changes
Cd ~ /Wingaim_buiding/gaim-1.0.0
Patch-P1-B <openq-0.3-gaim-0.79to1.0.0.patch
9. Start Compilation
If you have a ActivePerl-5.8, modify Gaim-1.0.0/plugins/perl/common/makefile. in mingw, Perl and extutils point to the location where Perl is installed; if you don't have a ActivePerl-5.8, you need to put the gaim-1.0.0/plugins/makefile. delete the perl_plugin_loader-related row in mingw
Cd ~ /Wingaim_buiding/gaim-1.0.0
Make-F makefile. mingw
10. Install
Create installation package
Cd ~ /Wingaim_buiding/gaim-1.0.0
Make-F makefile. mingw install
Then you need to add openq data files, that is, head icons, smiley icons and IP data, which are included in the source code package of the OpenQ-0.3. If you download my previous data.zip, you can directly extract it to the win32-install-dir; in addition, openq needs RegEx. dll copy to the win32-install-dir directory
If you need the Perl plug-in, copy perl58.dll.
-------------------------------------------------------------
There are still problems: Gaim crashes when you click "get information" (cygwin does not have this problem)
The relevant information is organized in:
Http://www.oliwen.com/bamanzi/gnu/gaim/win32/readme.html
In addition, we also tried to port cygwin, which is relatively simple. The problem is that after compilation on a single version of gtk2, running on another version will result in an error and cannot be started at all. I don't know what's going on, So patch didn't dare to put it on the home page.