From: Sean E. <sea...@us...> - 2002-10-09 18:01:35
|
Update of /cvsroot/gaim/web/htdocs/win32 In directory usw-pr-cvs1:/tmp/cvs-serv9285 Modified Files: index.php Log Message: ChipX86--fix this up and make it look nice. Index: index.php =================================================================== RCS file: /cvsroot/gaim/web/htdocs/win32/index.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- index.php 26 Sep 2002 10:23:23 -0000 1.1.1.1 +++ index.php 9 Oct 2002 18:01:32 -0000 1.2 @@ -3,9 +3,87 @@ start_html("Gaim - Windows Development"); - start_section("Welcome"); + start_section("Latest Build"); ?> -Come by later this week. +Grab the latest Windows build: <a href="#">here</a> or read below to see how to get Gaim from CVS and build it yourself. +<?php end_section() ?> + +<?php start_section("Build Instructions") ?> +<h3>Set up your build environment</h3> +<ul> +<li>Install <a href="http://cygwin.com">Cygwin</a> Bash shell</li> +<li>Install MinGw v1.1 <a href="http://www.mingw.org">MinGw v1.1</a><br> + Make sure to read the installation instructions. Make sure to set + MinGw's bin directory in your PATH (in .bash_login), before Cygwin's + bin dir (you will be using MinGw's build tools--not cygwin's).</li> +<?php end_section() ?> + +<?php start_section("Install libraries and headers")?> +<h3>GTK+</h3> +Gaim depends on GTK+ 2.0 or greater. First, create a directory to download +the sources to:<br> +<code>$ mkdir -p ~/win32-dev/gtk_2_0/zips</code><br><br> + +Download the following from the win32 download page at <a href="http://www.gtk.org</a> to the zips directory you just created: +<ul><li>atk-1.0.3-20020821.zip</li> + <li>atk-dev-1.0.3-20020821.zip</li> + <li>gettext-dev-0.10.40-20020904.zip</li> + <li>glib-2.0.6-20020802.zip</li> + <li>glib-dev-2.0.6-20020802.zip</li> + <li>gtk+-2.0.6-20020921.zip</li> + <li>gtk+-dev-2.0.6-20020921.zip</li> + <li>libiconv-1.7-w32.bin.zip</li> + <li>libintl-0.10.40-tml-20020904.zip</li> + <li>libjpeg-6b-bin.zip</li> + <li>libpng-1.2.4-1-bin.zip</li> + <li>pango-1.0.4-20020921.zip</li> + <li>pango-dev-1.0.4-20020921.zip</li> + <li>tiff-3.5.7-bin.zip</li> + <li>zlib-1.1.4-bin.zip</li></ul> + +Unzip and install the unzipped libraries:<br> +<code> + $ cd ~/win32-dev/gtk_2_0/zips<br/> + $ unzip -d .. *.zip<br/> + $ cd ..<br/> + $ cp lib/libintl-1.dll ./bin<br/> + $ cd libiconv-1.7-w32.bin<br/> + $ cp iconv.exe ../bin<br/> + $ cp iconv.lib ../lib<br/> + $ cp localcharset.dll ../lib<br/> + $ cp iconv.dll ../lib<br/> + $ cp iconv.dll ../bin<br/> + $ cp iconv.h ../include/<br/> + $ cp libcharset.h ../include/<br/> +</code> + +<h3>Perl 5.6</h3> +Download perl-5.6.1 from <a href="http://www.cpan.org">http://www.cpan.org</a>. You can build perl 5.6 yourself with MS Visual C++, or you can download a win32 binary distribution (SiePerl has been successfully used). In either case make sure to do the following:<br/><br/> +<code>$ mkdir -p ~/win32-dev/perl56</code><br/><br/> +Copy Perl's "CORE" directory to ~/win32-dev/perl56 as well as "perl56.dll" and "perl56.lib". +<?php end_section()?> + +<?php start_section("Install Gaim source from CVS")?> +<h3>Get sources from CVS</h3> +Wait for sources to be in CVS ;) +<?php end_section() ?> + +<?php start_section("Building Gaim") ?> +<code> +$ cd ~/gaim<br/> +$ make -f Makefile.mingw install</code><br/><br/> + +Now just wait and let your compiler do its thing. When finished, Gaim will be in ~/gaim/win32-install-dir<br/><br/> + +If you want to build an .exe self-installer, grab <a href="http://www.nullsoft.com/free/nsis">NSIS</a>--include NSIS in your path and run:<br/><br/> +<code> +$ cd ~/gaim/win32-install-dir<br/> +$ make -f Makefile.mingw installer<br/> +</code> +<?php end_section() ?> + +<?php start_section("Debugging")?> +There is a quite good <b>Just In Time</b> debugger for MinGw: <a href="http://mefriss1.swan.ac.uk/~jfonseca/gnu-win32/software/drmingw/">http://mefriss1.swan.ac.uk/~jfonesca/gnu-win32/software/drmingw/</a> <?php end_section() ?> <?php |