There seems to be a good deal of interest on the sword list, so I'm posting here too. Apologies if it's out of place.<br><br>These are preliminary instructions. It is quite possible that I have forgotten something important. Please let me know if there are any problems or issues with these. Also, I know very little about autotools and some of the things I have done could be fixed in a better way, so don't hesitate to say so.<br>
<br>Remember when editing any files, particularly shell scripts or your profile, that you need to preserve unix line endings. Notepad will not be your friend here. If you like vi, that comes with msys. Otherwise, I recommend Notepad++. Emacs is also available for windows, of course.<br>
<br><br>Gnomesword/Windows build instructions<br><br>Install mingw base system only<br> <a href="http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780">http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=240780</a><br>
Install msys<br> <a href="http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24963">http://sourceforge.net/project/showfiles.php?group_id=2435&package_id=24963</a><br>Install msysDTK directly over msys (direct link to file)<br>
<a href="http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe?modtime=1041430674&big_mirror=1">http://downloads.sourceforge.net/mingw/msysDTK-1.0.1.exe?modtime=1041430674&big_mirror=1</a><br>Install m4-1.4.7-MSYS into your msys /bin<br>
<a href="http://downloads.sourceforge.net/mingw/m4-1.4.7-MSYS.tar.bz2?modtime=1162303978&big_mirror=1">http://downloads.sourceforge.net/mingw/m4-1.4.7-MSYS.tar.bz2?modtime=1162303978&big_mirror=1</a><br>Install strawberry perl in default location<br>
<a href="http://strawberryperl.com/">http://strawberryperl.com/</a><br>Set the environment variable INTLTOOL_PERL=/path/to/strawberry/bin/perl<br> export INTLTOOL_PERL=/c/strawberry/perl/bin/perl<br> this is done in c:\msys\1.0\etc\profile<br>
----notice-----<br> for all following instructions, when you run configure do it with --prefix=/mingw<br>install gnome versions of utilities<br> <a href="http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/">http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/</a><br>
create a directory c:\msys\1.0\dev<br> add it to your path (in profile)<br> unpack everything there<br> you need at this point, pkg-config, gettext, gettext-deve, gettext-runtime, gettext-runtime-dev<br>add this line to your profile<br>
export PKG_CONFIG_PATH=/dev/lib/pkgconfig<br>upgrade autoconf to 2.63 from source<br> <a href="http://ftp.gnu.org/gnu/autoconf/">http://ftp.gnu.org/gnu/autoconf/</a><br>upgrade automake to 1.9 from source<br> <a href="http://ftp.gnu.org/gnu/automake/">http://ftp.gnu.org/gnu/automake/</a><br>
install libcurl<br> <a href="http://curl.haxx.se/download.html">http://curl.haxx.se/download.html</a><br> (direct linke) <a href="http://www.gknw.net/mirror/curl/win32/curl-7.19.0-devel-mingw32.zip">http://www.gknw.net/mirror/curl/win32/curl-7.19.0-devel-mingw32.zip</a><br>
find curl-config script from linux and copy it to /mingw/bin<br>compile sword-1.5.11 from source (<br> with libcurl is easier than ftplib<br> you will have to manually alter makefile to link against regex<br>download gnomesword 2.4.1<br>
download lots of gnome libs and unpack them in dev<br> for everything, you need the normal and developer package<br> atk, cairo, fontconfig, freetype, gail, gconf, glib, gnome-common, gnome-doc-utils, gnome-vfs, goocanvas, gtk+, gtkhtml-3.18, intltool, libart, libbonobo, libbonoboui, libbzip, libffi, libglade, libgnome, libgnomecanvas, libgnome, libgnomeprint, libgnomeprintui, libgnomeui, libiconv, libIDL, libpng, libxml2, ORBIT, popt, pthreads, zlib<br>
alter configure script to allow compilation without scrollkeeper<br>apply linux/windows diff <br> hopefully most will be unnecessary soon<br> mailed to gnomesword-developers<br>run configure with --enable-gtkhtml --disable-scrollkeeper --prefix=/mingw<br>
make<br> you will have to alter the makefile in libs to link against libcurl.dll (-lcurl doesn't work)<br>make install<br>run gnomesword<br><br>getting gnomesword free from mingw is another topic.<br><br><br>helpful links<br>
<br><a href="http://live.gnome.org/Planner/Windows">http://live.gnome.org/Planner/Windows</a><br><a href="http://www.go-evolution.org/Building_Evolution_on_Windows">http://www.go-evolution.org/Building_Evolution_on_Windows</a><br>
<a href="http://www.mingw.org/wiki/msys">http://www.mingw.org/wiki/msys</a><br>