Setting up a Windows Build Environment: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
m Typo and Aspell 0.60.6 dictionaries.
Updated package list
Line 2: Line 2:


* Current Known issues:
* Current Known issues:
** Not all features of the htmlbar and infbrowser plugins currently work.
** Socket code doesn't work so files can't be opened in a currently running copy of bluefish.
** Socket code doesn't work so files can't be opened in a currently running copy of bluefish.


Line 10: Line 9:
The first step is of course to download all the packages required.  You can extract them pretty much anywhere but for the purposes of this guide I used C:\MinGW.  Keep in mind that C:\MingGW will be the root directory (/) and that in MSYS /usr is the same as /, therefore /usr/local when viewed from the windows side will be C:\MinGW\local.
The first step is of course to download all the packages required.  You can extract them pretty much anywhere but for the purposes of this guide I used C:\MinGW.  Keep in mind that C:\MingGW will be the root directory (/) and that in MSYS /usr is the same as /, therefore /usr/local when viewed from the windows side will be C:\MinGW\local.


;<nowiki>/ (C:\MinGW)</nowiki>
;<nowiki>/ (C:\MinGW)</nowiki> ''MSYS/MiNGW Packages''
:[http://en.sourceforge.jp/frs/redir.php?m=osdn&f=%2Fmingw%2F35400%2FmsysCORE-1.0.11-rc-1-bin.tar.gz msysCORE-1.0.11-rc-1-bin.tar.gz]
:[http://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]
:[http://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FGNU+Binutils%2FCurrent+Release_+GNU+binutils-2.19.1%2Fbinutils-2.19.1-mingw32-bin.tar.gz binutils-2.19.1-mingw32-bin.tar.gz]
:[http://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]
:[http://en.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35404%2Fcrypt-1.1-1-MSYS-1.0.11-1.tar.bz2 crypt-1.1-1-MSYS-1.0.11-1.tar.bz2]
:[http://en.sourceforge.jp/frs/redir.php?m=osdn&f=%2Fmingw%2F35404%2Fflex-2.5.33-MSYS-1.0.11-1.tar.bz2 flex-2.5.33-MSYS-1.0.11-1.tar.bz2]
:[http://en.sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fmingw%2F35400%2Fgawk-3.1.5-MSYS-1.0.11-1.tar.bz2 gawk-3.1.5-MSYS-1.0.11-1.tar.bz2]
:[http://zh.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35108%2Fgcc-core-3.4.5-20060117-3.tar.gz gcc-core-3.4.5-20060117-3.tar.gz]
:[http://zh.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35108%2Fgcc-core-3.4.5-20060117-3.tar.gz gcc-core-3.4.5-20060117-3.tar.gz]
:[http://zh.sourceforge.jp/frs/redir.php?m=osdn&f=%2Fmingw%2F35108%2Fgcc-g%2B%2B-3.4.5-20060117-3.tar.gz gcc-g++-3.4.5-20060117-3.tar.gz]
:[http://zh.sourceforge.jp/frs/redir.php?m=osdn&f=%2Fmingw%2F35108%2Fgcc-g%2B%2B-3.4.5-20060117-3.tar.gz gcc-g++-3.4.5-20060117-3.tar.gz]
:[http://zh.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35108%2Fgcc-g77-3.4.5-20060117-3.tar.gz gcc-g77-3.4.5-20060117-3.tar.gz]
:[http://zh.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35108%2Fgcc-g77-3.4.5-20060117-3.tar.gz gcc-g77-3.4.5-20060117-3.tar.gz]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FGNU+Binutils%2FCurrent+Release_+GNU+binutils-2.19.1%2Fbinutils-2.19.1-mingw32-bin.tar.gz binutils-2.19.1-mingw32-bin.tar.gz]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FGNU+Source-Level+Debugger%2FRelease+Candidate_+GDB+6.8-3%2Fgdb-6.8-mingw-3.tar.bz2 gdb-6.8-mingw-3.tar.bz2]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FGNU+Source-Level+Debugger%2FRelease+Candidate_+GDB+6.8-3%2Fgdb-6.8-mingw-3.tar.bz2 gdb-6.8-mingw-3.tar.bz2]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FMinGW+API+for+MS-Windows%2FCurrent+Release_+w32api-3.13%2Fw32api-3.13-mingw32-dev.tar.gz api-3.13-mingw32-dev.tar.gz]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FMinGW+Runtime%2Fmingwrt-3.15.2%2Fmingwrt-3.15.2-mingw32-dll.tar.gz mingwrt-3.15.2-mingw32-dll.tar.gz]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FMinGW+Runtime%2Fmingwrt-3.15.2%2Fmingwrt-3.15.2-mingw32-dev.tar.gz mingwrt-3.15.2-mingw32-dev.tar.gz]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FMinGW+Utilities%2Fmingw-utils%2Frelease+0.3%2Fmingw-utils-0.3.tar.gz mingw-utils-0.3.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35404%2Fcvs-1.11.22-MSYS-1.0.11-1-bin.tar.gz cvs-1.11.22-MSYS-1.0.11-1-bin.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35404%2Fcrypt-1.1-1-MSYS-1.0.11-1.tar.bz2 crypt-1.1-1-MSYS-1.0.11-1.tar.bz2]
:[http://en.sourceforge.jp/frs/redir.php?m=osdn&f=%2Fmingw%2F35404%2Fflex-2.5.33-MSYS-1.0.11-1.tar.bz2 flex-2.5.33-MSYS-1.0.11-1.tar.bz2]
:[http://en.sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fmingw%2F35400%2Fgawk-3.1.5-MSYS-1.0.11-1.tar.bz2 gawk-3.1.5-MSYS-1.0.11-1.tar.bz2]
:[http://en.sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fmingw%2F35404%2Fgdbm-1.8.3-MSYS-1.0.11-1.tar.bz2 gdbm-1.8.3-MSYS-1.0.11-1.tar.bz2]
:[http://en.sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fmingw%2F35404%2Fgdbm-1.8.3-MSYS-1.0.11-1.tar.bz2 gdbm-1.8.3-MSYS-1.0.11-1.tar.bz2]
:[http://en.sourceforge.jp/frs/redir.php?m=iij&f=%2Fmingw%2F35404%2Fguile-1.8.4-MSYS-1.0.11-1-dev.tar.gz guile-1.8.4-MSYS-1.0.11-1-dev.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=globalbase&f=%2Fmingw%2F35404%2Fguile-1.8.4-MSYS-1.0.11-1-bin.tar.gz guile-1.8.4-MSYS-1.0.11-1-bin.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=globalbase&f=%2Fmingw%2F35404%2Fguile-1.8.4-MSYS-1.0.11-1-bin.tar.gz guile-1.8.4-MSYS-1.0.11-1-bin.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35404%2Fguile-1.8.4-MSYS-1.0.11-1-dll17.tar.gz guile-1.8.4-MSYS-1.0.11-1-dll17.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35404%2Fguile-1.8.4-MSYS-1.0.11-1-dll17.tar.gz guile-1.8.4-MSYS-1.0.11-1-dll17.tar.gz]
:[http://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar]
:[http://downloads.sourceforge.net/project/mingw/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma?use_mirror=iweb libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]
:[http://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]
:[http://en.sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fmingw%2F35404%2Flndir-6.8.1.0-MSYS-1.0.11-1.tar.bz2 lndir-6.8.1.0-MSYS-1.0.11-1.tar.bz2]
:[http://en.sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fmingw%2F35404%2Flndir-6.8.1.0-MSYS-1.0.11-1.tar.bz2 lndir-6.8.1.0-MSYS-1.0.11-1.tar.bz2]
:[http://en.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35404%2Fminires-1.01-1-MSYS-1.0.11-1.tar.bz2 minires-1.01-1-MSYS-1.0.11-1.tar.bz2]
:[http://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]
:[http://en.sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fmingw%2F35404%2Fzlib-1.2.3-MSYS-1.0.11-1.tar.bz2 zlib-1.2.3-MSYS-1.0.11-1.tar.bz2]
:[http://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FMinGW+Runtime%2Fmingwrt-3.15.2%2Fmingwrt-3.15.2-mingw32-dev.tar.gz mingwrt-3.15.2-mingw32-dev.tar.gz]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FMinGW+Runtime%2Fmingwrt-3.15.2%2Fmingwrt-3.15.2-mingw32-dll.tar.gz mingwrt-3.15.2-mingw32-dll.tar.gz]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FMinGW+Utilities%2Fmingw-utils%2Frelease+0.3%2Fmingw-utils-0.3.tar.gz mingw-utils-0.3.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=osdn&f=%2Fmingw%2F35400%2FmsysCORE-1.0.11-rc-1-bin.tar.gz msysCORE-1.0.11-rc-1-bin.tar.gz]
:[http://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]
:[http://subversion.tigris.org/files/documents/15/43931/svn-win32-1.5.3.zip svn-win32-1.5.3.zip]
:[http://en.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35404%2Fvim-7.1-MSYS-1.0.11-1-bin.tar.gz vim-7.1-MSYS-1.0.11-1-bin.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=jaist&f=%2Fmingw%2F35404%2Fvim-7.1-MSYS-1.0.11-1-bin.tar.gz vim-7.1-MSYS-1.0.11-1-bin.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=globalbase&f=%2Fmingw%2F35404%2Fperl-5.6.1-MSYS-1.0.11-1.tar.bz2 perl-5.6.1-MSYS-1.0.11-1.tar.bz2]
:[http://zh.sourceforge.jp/frs/g_redir.php?m=jaist&f=%2Fmingw%2FMinGW+API+for+MS-Windows%2FCurrent+Release_+w32api-3.13%2Fw32api-3.13-mingw32-dev.tar.gz w32api-3.13-mingw32-dev.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=iij&f=%2Fmingw%2F35404%2Fopenssl-0.9.8g-1-MSYS-1.0.11-2-dev.tar.gz openssl-0.9.8g-1-MSYS-1.0.11-2-dev.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fmingw%2F35404%2Fopenssl-0.9.8g-1-MSYS-1.0.11-2-bin.tar.gz openssl-0.9.8g-1-MSYS-1.0.11-2-bin.tar.gz]
:[http://en.sourceforge.jp/frs/redir.php?m=keihanna&f=%2Fmingw%2F35404%2Fopenssl-0.9.8g-1-MSYS-1.0.11-2-dll098.tar.gz openssl-0.9.8g-1-MSYS-1.0.11-2-dll098.tar.gz]
:[http://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]
:[http://downloads.sourceforge.net/project/mingw/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma?use_mirror=iweb libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]
:[http://downloads.sourceforge.net/project/mingw/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma?use_mirror=iweb m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]
:[http://downloads.sourceforge.net/project/mingw/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma?use_mirror=iweb man-1.6f-1-msys-1.0.11-bin.tar.lzma]
:[http://subversion.tigris.org/files/documents/15/43931/svn-win32-1.5.3.zip svn-win32-1.5.3.zip]


;<nowiki>/usr/local (C:\MinGW\local)</nowiki>
;<nowiki>/local (C:\MinGW\local)</nowiki> ''GNOME Packages''
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.26/atk_1.26.0-1_win32.zip atk_1.26.0-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.26/atk-dev_1.26.0-1_win32.zip atk-dev_1.26.0-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.26/atk-dev_1.26.0-1_win32.zip atk-dev_1.26.0-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.26/atk_1.26.0-1_win32.zip atk_1.26.0-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]
Line 52: Line 48:
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.20/glib_2.20.4-1_win32.zip glib_2.20.4-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.20/glib_2.20.4-1_win32.zip glib_2.20.4-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.20/glib-dev_2.20.4-1_win32.zip glib-dev_2.20.4-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.20/glib-dev_2.20.4-1_win32.zip glib-dev_2.20.4-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+_2.16.5-1_win32.zip gtk+_2.16.5-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+_2.16.5-1_win32.zip gtk+_2.16.5-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-dev_2.16.5-1_win32.zip gtk+-dev_2.16.5-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-dev_2.16.5-1_win32.zip gtk+-dev_2.16.5-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libjpeg-6b-4.zip libjpeg-6b-4.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libtiff-3.8.2.zip libtiff-3.8.2.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libtiff-dev-3.8.2.zip libtiff-dev-3.8.2.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.24/pango_1.24.5-1_win32.zip pango_1.24.5-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.24/pango_1.24.5-1_win32.zip pango_1.24.5-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.24/pango-dev_1.24.5-1_win32.zip pango-dev_1.24.5-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.24/pango-dev_1.24.5-1_win32.zip pango-dev_1.24.5-1_win32.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-2.zip pkg-config-0.23-2.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]


;<nowiki>/usr/local (C:\MinGW\local)</nowiki>
;<nowiki>/local (C:\MinGW\local)</nowiki> ''Custom Packages''
:[ftp://kernel86.muleslow.net/mingw/autoconf-2.64-bin-MinGW-20090825.tbz2 autoconf-2.64-bin-MinGW-20090825.tbz2]
:[ftp://kernel86.muleslow.net/mingw/automake-1.11-bin-MinGW-20090825.tbz2 automake-1.11-bin-MinGW-20090825.tbz2]
:[ftp://kernel86.muleslow.net/mingw/gettext-0.17-bin-MinGW-20090825.tbz2 gettext-0.17-bin-MinGW-20090825.tbz2]
:[ftp://kernel86.muleslow.net/mingw/intltool-0.40.6-bin-MinGW-20090826.tbz2 intltool-0.40.6-bin-MinGW-20090826.tbz2]
:[ftp://kernel86.muleslow.net/mingw/libiconv-1.13.1-bin-MinGW-20090824.tbz2 libiconv-1.13.1-bin-MinGW-20090824.tbz2]
:[ftp://kernel86.muleslow.net/mingw/libtool-2.2.6-bin-MinGW-20090825.tbz2 libtool-2.2.6-bin-MinGW-20090825.tbz2]
:[ftp://kernel86.muleslow.net/mingw/mingw-libgnurx-2.5.1-bin-20090825.tbz2 mingw-libgnurx-2.5.1-bin-20090825.tbz2]
:[ftp://kernel86.muleslow.net/mingw/pcre-7.9-bin-MinGW-20090824.tbz2 pcre-7.9-bin-MinGW-20090824.tbz2]
:[ftp://kernel86.muleslow.net/mingw/pcre-7.9-bin-MinGW-20090824.tbz2 pcre-7.9-bin-MinGW-20090824.tbz2]
:[ftp://kernel86.muleslow.net/mingw/pkg-config-0.23-bin-MinGW-20090824.tbz2 pkg-config-0.23-bin-MinGW-20090824.tbz2]
:[ftp://kernel86.muleslow.net/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090828.tbz2]
:[ftp://kernel86.muleslow.net/mingw/aspell-0.60.6-bin-MinGW-20090828.tbz2 aspell-0.60.6-bin-MinGW-20090828.tbz2]
:[ftp://kernel86.muleslow.net/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090828.tbz2]
:[ftp://kernel86.muleslow.net/mingw/enchant-1.5.0-bin-MinGW-20090828.tbz2 enchant-1.5.0-bin-MinGW-20090828.tbz2]
''Note: This last set of binaries were built by me and include the full path. If you extract them from windows<br>make sure to move the contents to the proper locations.  If you extract them under msys give tar '-C /'.''


A full set of dictionaries for Aspell 0.60.6 can be found here: [ftp://kernel86.muleslow.net/mingw/aspell/lang/ ftp://kernel86.muleslow.net/mingw/aspell/lang/]
A full set of dictionaries for Aspell 0.60.6 can be found here: [ftp://kernel86.muleslow.net/mingw/aspell/lang/ ftp://kernel86.muleslow.net/mingw/aspell/lang/]




You will also need to replace /bin/gzip.exe with this copy [ftp://kernel86.muleslow.net/mingw/MinGW_setup/misc/gzip.exe gzip.exe] as there is something wrong with the included version and place [ftp://kernel86.muleslow.net/mingw/MinGW_setup/misc/gio-unix-2.0.pc gio-unix-2.0.pc] in /usr/local/lib/pkgconfig.
The last thing you need is Perl.  The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish.  I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as ActiveState's in /opt/perl for anything that needs a newer version.
 
The last thing you need is Perl.  The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish.  I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as ActiveState's in /perl for anything that needs a newer version.




You only need to set a few environment variables as follows:
You only need to set a few environment variables as follows:
<pre>PATH="/bin:/usr/local/bin:/perl/bin"
<pre>PATH="/bin:/local/bin:/opt/perl/bin"
C_INCLUDE_PATH="/include:/usr/local/include"
C_INCLUDE_PATH="/include:/local/include"
LIBRARY_PATH="/lib:/usr/local/lib"
LIBRARY_PATH="/lib:/local/lib"
PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"</pre>
echo /local/share/aclocal > /share/aclocal/dirlist</pre>




Line 115: Line 106:
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_windows</pre>
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_windows</pre>


Run autogen.sh with perl 5.6.1 and finally switch /bin/perl to your 5.8.1 or newer version or perl and run configure:
Run autogen.sh with perl 5.6.1 and then switch /bin/perl to your 5.8.1 or newer version or perl and run configure:
<pre>./configure LDFLAGS=-lgnurx CFLAGS=-mwindows
<pre>./configure LDFLAGS=-lgnurx CFLAGS=-mwindows
./strip_prefix.sh
./strip_prefix.sh
Line 121: Line 112:


Drop the CFLAGS option to configure for a console window for debug output and of course run configure with '--enable-debugging-output' for a full debug build.
Drop the CFLAGS option to configure for a console window for debug output and of course run configure with '--enable-debugging-output' for a full debug build.
== Building External Packages ==
If you wish to build your own versions of the custom packages these are the configure parameters used for the onws provided.
Aspell 0.60.0
<pre>./configure --prefix=/local --disable-rpath --enable-win32-relocatable</pre>
Enchant 1.5.0
<pre>./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell</pre>
PCRE 7.9
<pre>./configure --prefix=/local</pre>

Revision as of 20:25, 1 September 2009

Error creating thumbnail: File missing
  • Current Known issues:
    • Socket code doesn't work so files can't be opened in a currently running copy of bluefish.


Setting up your Build Environment

The first step is of course to download all the packages required. You can extract them pretty much anywhere but for the purposes of this guide I used C:\MinGW. Keep in mind that C:\MingGW will be the root directory (/) and that in MSYS /usr is the same as /, therefore /usr/local when viewed from the windows side will be C:\MinGW\local.

/ (C:\MinGW) MSYS/MiNGW Packages
autoconf-2.63-1-msys-1.0.11-bin.tar.lzma
automake-1.11-1-msys-1.0.11-bin.tar.lzma
binutils-2.19.1-mingw32-bin.tar.gz
bison-2.4.1-1-msys-1.0.11-bin.tar.lzma
crypt-1.1-1-MSYS-1.0.11-1.tar.bz2
flex-2.5.33-MSYS-1.0.11-1.tar.bz2
gawk-3.1.5-MSYS-1.0.11-1.tar.bz2
gcc-core-3.4.5-20060117-3.tar.gz
gcc-g++-3.4.5-20060117-3.tar.gz
gcc-g77-3.4.5-20060117-3.tar.gz
gdb-6.8-mingw-3.tar.bz2
gdbm-1.8.3-MSYS-1.0.11-1.tar.bz2
guile-1.8.4-MSYS-1.0.11-1-bin.tar.gz
guile-1.8.4-MSYS-1.0.11-1-dll17.tar.gz
gzip-1.3.12-1-msys-1.0.11-bin.tar
libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma
libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma
lndir-6.8.1.0-MSYS-1.0.11-1.tar.bz2
m4-1.4.13-1-msys-1.0.11-bin.tar.lzma
man-1.6f-1-msys-1.0.11-bin.tar.lzma
mingwrt-3.15.2-mingw32-dev.tar.gz
mingwrt-3.15.2-mingw32-dll.tar.gz
mingw-utils-0.3.tar.gz
msysCORE-1.0.11-rc-1-bin.tar.gz
perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma
svn-win32-1.5.3.zip
vim-7.1-MSYS-1.0.11-1-bin.tar.gz
w32api-3.13-mingw32-dev.tar.gz
/local (C:\MinGW\local) GNOME Packages
atk_1.26.0-1_win32.zip
atk-dev_1.26.0-1_win32.zip
cairo_1.8.8-1_win32.zip
cairo-dev_1.8.8-1_win32.zip
expat_2.0.1-1_win32.zip
expat-dev_2.0.1-1_win32.zip
GConf_2.22.0-2_win32.zip
GConf-dev_2.22.0-2_win32.zip
gettext-runtime-0.17.zip
gettext-runtime-dev-0.17.zip
gettext-tools-0.17.zip
glib_2.20.4-1_win32.zip
glib-dev_2.20.4-1_win32.zip
gtk+_2.16.5-1_win32.zip
gtk+-dev_2.16.5-1_win32.zip
intltool_0.40.4-1_win32.zip
intltool-dev_0.40.4-1_win32.zip
libgnurx-2.5.zip
libgnurx-dev-2.5.zip
libiconv-1.9.1.bin.woe32.zip
libpng_1.2.38-1_win32.zip
libpng-dev_1.2.38-1_win32.zip
libxml2_2.7.3-1_win32.zip
libxml2-dev_2.7.3-1_win32.zip
pango_1.24.5-1_win32.zip
pango-dev_1.24.5-1_win32.zip
pkg-config-0.23-2.zip
zlib-1.2.3.zip
zlib-dev-1.2.3.zip
/local (C:\MinGW\local) Custom Packages
pcre-7.9-bin-MinGW-20090824.tbz2
aspell-0.60.6-bin-MinGW-20090828.tbz2
enchant-1.5.0-bin-MinGW-20090828.tbz2

A full set of dictionaries for Aspell 0.60.6 can be found here: ftp://kernel86.muleslow.net/mingw/aspell/lang/


The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as ActiveState's in /opt/perl for anything that needs a newer version.


You only need to set a few environment variables as follows:

PATH="/bin:/local/bin:/opt/perl/bin"
C_INCLUDE_PATH="/include:/local/include"
LIBRARY_PATH="/lib:/local/lib"
echo /local/share/aclocal > /share/aclocal/dirlist


To strip the prefixes from the Makefiles before you build Bluefish you can download or create this simple script I made, strip_prefix.sh. Place it in /usr/local/bin or somewhere in the path.

strip_prefix.sh:

#!/bin/sh

for i in $(find ./ -name Makefile); do
    echo Checking: $i
    cat $i | sed s/'${prefix}\/'// | sed s/'${exec_prefix}\/'// > ${i}.tst
    rm $i
    mv ${i}.tst $i
done


Building Bluefish

Check out the latest windows branch:

svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_windows

Run autogen.sh with perl 5.6.1 and then switch /bin/perl to your 5.8.1 or newer version or perl and run configure:

./configure LDFLAGS=-lgnurx CFLAGS=-mwindows
./strip_prefix.sh
make

Drop the CFLAGS option to configure for a console window for debug output and of course run configure with '--enable-debugging-output' for a full debug build.


Building External Packages

If you wish to build your own versions of the custom packages these are the configure parameters used for the onws provided.

Aspell 0.60.0

./configure --prefix=/local --disable-rpath --enable-win32-relocatable

Enchant 1.5.0

./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell

PCRE 7.9

./configure --prefix=/local