changeset 6713:ba23fd41f9cd octave-forge

mingw32: update several dependency libraries, fix installation of freetype's font.conf file freetype: 2.3.9 -> 2.3.11 fontconfig: 2.7.3 -> 2.8.0 glib: 2.20.5 -> 2.22.3 pixman: 0.16.0 -> 0.17.2 pango: 1.25.6 -> 1.26.2 fltk: 1.1.9 -> 1.1.10 pcre: 7.9 -> 8.0 tiff: 3.9.1 -> 3.9.2 cln: 1.3.0 -> 1.3.1 ginac: 1.5.3 -> 1.5.5 gmp: 4.3.1 -> 4.3.2 glpk: 4.39 -> 4.42 qhull: 2003.1 -> 2010.1 wxwidgets: 2.9.0 -> 2.8.10 (stable branch)
author lindnerb
date Mon, 15 Feb 2010 21:38:47 +0000
parents c1b299dccb42
children 9d6036e710f5
files admin/Windows/mingw32/CLN/CLN-1.3.1-4.patch admin/Windows/mingw32/CLN/build-1.3.1-4.sh admin/Windows/mingw32/fltk/build-1.1.10-4.sh admin/Windows/mingw32/fltk/fltk-1.1.10-4.patch admin/Windows/mingw32/gcc44_build_deps.sh admin/Windows/mingw32/gcc44_common.sh admin/Windows/mingw32/ginac/build-1.5.5-4.sh admin/Windows/mingw32/ginac/ginac-1.5.5-4.patch admin/Windows/mingw32/glib/build-2.22.3-4.sh admin/Windows/mingw32/glib/glib-2.22.3-4.patch admin/Windows/mingw32/glpk/build-4.42-4.sh admin/Windows/mingw32/glpk/glpk-4.42-4.patch admin/Windows/mingw32/gmp/build-4.3.2-4.sh admin/Windows/mingw32/libfontconfig/build-2.7.3-4.sh admin/Windows/mingw32/libfontconfig/build-2.8.0-4.sh admin/Windows/mingw32/libfontconfig/fontconfig-2.8.0-4.patch admin/Windows/mingw32/libfreetype/build-2.3.11-4.sh admin/Windows/mingw32/libfreetype/freetype-2.3.11-4.patch admin/Windows/mingw32/libtiff/build-3.9.2-4.sh admin/Windows/mingw32/pango/build-1.26.2-4.sh admin/Windows/mingw32/pango/pango-1.26.2-4.patch admin/Windows/mingw32/pcre/build-8.0-4.sh admin/Windows/mingw32/pixman/build-0.17.2-4.sh admin/Windows/mingw32/pixman/pixman-0.17.2-4.patch admin/Windows/mingw32/qhull/build-2010.1-4.sh admin/Windows/mingw32/qhull/qhull-2010.1-4.patch admin/Windows/mingw32/wxwidgets/build-2.8.10-4.sh admin/Windows/mingw32/wxwidgets/wxwidgets-2.8.10-4.patch
diffstat 28 files changed, 3943 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/CLN/CLN-1.3.1-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,27 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' cln-1.3.1-orig/src/Makefile.in cln-1.3.1/src/Makefile.in
+--- cln-1.3.1-orig/src/Makefile.in	2009-09-24 09:43:12 +0200
++++ cln-1.3.1/src/Makefile.in	2010-01-17 14:20:20 +0100
+@@ -499,7 +499,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-lib_LTLIBRARIES = libcln.la
++lib_LTLIBRARIES = libcln.la cln.dll
+ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/src -I$(top_builddir)/include -I$(top_builddir)/src
+ DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)/autoconf
+ libcln_la_LDFLAGS = -version-info $(LT_VERSION_INFO)
+@@ -1544,6 +1544,14 @@
+ libcln.la: $(libcln_la_OBJECTS) $(libcln_la_DEPENDENCIES) 
+ 	$(libcln_la_LINK) -rpath $(libdir) $(libcln_la_OBJECTS) $(libcln_la_LIBADD) $(LIBS)
+ 
++cln.dll : libcln.la
++	$(CXX) -shared -o $@ \
++	$(LDFLAGS) \
++	-Wl,--whole-archive .libs/libcln.a \
++	-Wl,--no-whole-archive \
++	-Wl,-out-implib=libcln.dll.a \
++	$(LIBS) 
++
+ mostlyclean-compile:
+ 	-rm -f *.$(OBJEXT)
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/CLN/build-1.3.1-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,242 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=cln
+# Version of Package
+VER=1.3.1
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.bz2
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://www.ginac.de/CLN/cln-1.3.1.tar.bz2"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=include/cln
+
+# Herader files to install
+HEADERS_INSTALL="
+cln/SV_real.h \
+cln/GV_integer.h \
+cln/floatformat.h \
+cln/lfloat.h \
+cln/null_ring.h \
+cln/io.h \
+cln/ring.h \
+cln/V.h \
+cln/GV.h \
+cln/GV_number.h \
+cln/complex_io.h \
+cln/condition.h \
+cln/integer_ring.h \
+cln/dfloat_io.h \
+cln/random.h \
+cln/SV_ringelt.h \
+cln/ffloat_io.h \
+cln/float_class.h \
+cln/cln.h \
+cln/ffloat_class.h \
+cln/float.h \
+cln/string.h \
+cln/lfloat_io.h \
+cln/malloc.h \
+cln/lfloat_class.h \
+cln/number_io.h \
+cln/numtheory.h \
+cln/object.h \
+cln/proplist.h \
+cln/univpoly_rational.h \
+cln/univpoly_real.h \
+cln/output.h \
+cln/real_io.h \
+cln/ffloat.h \
+cln/sfloat_io.h \
+cln/timing.h \
+cln/SV_number.h \
+cln/complex_ring.h \
+cln/univpoly_complex.h \
+cln/version.h \
+cln/rational.h \
+cln/rational_class.h \
+cln/rational_io.h \
+cln/types.h \
+cln/univpoly_modint.h \
+cln/modinteger.h \
+cln/rational_ring.h \
+cln/univpoly_integer.h \
+cln/number.h \
+cln/GV_complex.h \
+cln/GV_modinteger.h \
+cln/GV_real.h \
+cln/SV_complex.h \
+cln/SV_integer.h \
+cln/complex.h \
+cln/exception.h \
+cln/univpoly.h \
+cln/SV_rational.h \
+cln/complex_class.h \
+cln/real.h \
+cln/symbol.h \
+cln/dfloat_class.h \
+cln/modules.h \
+cln/real_ring.h \
+cln/float_io.h \
+cln/GV_rational.h \
+cln/input.h \
+cln/integer_class.h \
+cln/integer_io.h \
+cln/real_class.h \
+cln/sfloat.h \
+cln/sfloat_class.h \
+cln/dfloat.h \
+cln/SV.h \
+cln/integer.h
+"
+
+HEADERS2_INSTALL="
+cln/config.h \
+cln/intparam.h \
+cln/host_cpu.h \
+cln/floatparam.h \
+cln/version.h
+"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL="cln.pc"
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+# make check passes all tests 2009-oct-26 using gcc-4.4.0 from http://www.mingw.org
+
+mkdirs_post()
+{
+   # configure fails if this directory is non-existent, since
+   # it tries to move two include files there...
+   mkdir -pv ${BUILDDIR}/include/cln
+}
+
+conf()
+{
+   conf_pre;
+   # Add CXXLIBS to $LIBS since cln is a pure c++ library
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC="${CC} $LIBGCCLDFLAGS" \
+     CXX="${CXX} $LIBGCCLDFLAGS" \
+     F77="${F77} $LIBGCCLDFLAGS" \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS} -Wl,--allow-multiple-definition" \
+     CXXLIBS="${CXXLIBS}" \
+     LIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --enable-shared \
+     --enable-static
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_all ${BUILDDIR}/libtool
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/cln.dll        ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/.libs/libcln.a ${STATICLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/libcln.dll.a   ${LIBRARY_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/include/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Install headers
+   for a in $HEADERS2_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/include/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/cln.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libcln.dll.a
+   ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libcln.a
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL $HEADERS2_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/fltk/build-1.1.10-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,307 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=fltk
+# Version of Package
+VER=1.1.10
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}-source.tar.bz2
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/fltk/1.1.10/fltk-1.1.10-source.tar.bz2"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=include/FL
+
+# Herader files to install
+HEADERS_INSTALL="
+dirent.h
+Enumerations.H
+filename.H
+Fl.H
+Fl_Adjuster.H
+fl_ask.H
+Fl_Bitmap.H
+Fl_BMP_Image.H
+Fl_Box.H
+Fl_Browser.H
+Fl_Browser_.H
+Fl_Button.H
+Fl_Chart.H
+Fl_Check_Browser.H
+Fl_Check_Button.H
+Fl_Choice.H
+Fl_Clock.H
+Fl_Color_Chooser.H
+Fl_Counter.H
+Fl_Dial.H
+Fl_Double_Window.H
+fl_draw.H
+Fl_Export.H
+Fl_File_Browser.H
+Fl_File_Chooser.H
+Fl_File_Icon.H
+Fl_File_Input.H
+Fl_Fill_Dial.H
+Fl_Fill_Slider.H
+Fl_Float_Input.H
+Fl_FormsBitmap.H
+Fl_FormsPixmap.H
+Fl_Free.H
+Fl_GIF_Image.H
+Fl_Gl_Window.H
+Fl_Group.H
+Fl_Help_Dialog.H
+Fl_Help_View.H
+Fl_Hold_Browser.H
+Fl_Hor_Fill_Slider.H
+Fl_Hor_Nice_Slider.H
+Fl_Hor_Slider.H
+Fl_Hor_Value_Slider.H
+Fl_Image.H
+Fl_Input.H
+Fl_Input_.H
+Fl_Input_Choice.H
+Fl_Int_Input.H
+Fl_JPEG_Image.H
+Fl_Light_Button.H
+Fl_Line_Dial.H
+Fl_Menu.H
+Fl_Menu_.H
+Fl_Menu_Bar.H
+Fl_Menu_Button.H
+Fl_Menu_Item.H
+Fl_Menu_Window.H
+fl_message.H
+Fl_Multi_Browser.H
+Fl_Multi_Label.H
+Fl_Multiline_Input.H
+Fl_Multiline_Output.H
+Fl_Nice_Slider.H
+Fl_Object.H
+Fl_Output.H
+Fl_Overlay_Window.H
+Fl_Pack.H
+Fl_Pixmap.H
+Fl_PNG_Image.H
+Fl_PNM_Image.H
+Fl_Positioner.H
+Fl_Preferences.H
+Fl_Progress.H
+Fl_Radio_Button.H
+Fl_Radio_Light_Button.H
+Fl_Radio_Round_Button.H
+Fl_Repeat_Button.H
+Fl_Return_Button.H
+Fl_RGB_Image.H
+Fl_Roller.H
+Fl_Round_Button.H
+Fl_Round_Clock.H
+Fl_Scroll.H
+Fl_Scrollbar.H
+Fl_Secret_Input.H
+Fl_Select_Browser.H
+Fl_Shared_Image.H
+fl_show_colormap.H
+fl_show_input.H
+Fl_Simple_Counter.H
+Fl_Single_Window.H
+Fl_Slider.H
+Fl_Spinner.H
+Fl_Sys_Menu_Bar.H
+Fl_Tabs.H
+Fl_Text_Buffer.H
+Fl_Text_Display.H
+Fl_Text_Editor.H
+Fl_Tile.H
+Fl_Tiled_Image.H
+Fl_Timer.H
+Fl_Toggle_Button.H
+Fl_Toggle_Light_Button.H
+Fl_Toggle_Round_Button.H
+Fl_Tooltip.H
+Fl_Valuator.H
+Fl_Value_Input.H
+Fl_Value_Output.H
+Fl_Value_Slider.H
+Fl_Widget.H
+Fl_Window.H
+Fl_Wizard.H
+Fl_XBM_Image.H
+Fl_XPM_Image.H
+forms.H
+gl.h
+gl_draw.H
+gl2opengl.h
+glu.h
+glut.H
+mac.H
+math.h
+names.h
+win32.H
+x.H"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL=""
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+mkdirs_post()
+{
+   mkdir -vp ${BUILDDIR}/src
+   mkdir -vp ${BUILDDIR}/lib
+}
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC=$CC \
+     CXX=$CXX \
+     F77=$F77 \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall -DFL_DLL" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall -DFL_DLL" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS}" \
+     LIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --enable-shared \
+     --enable-gl
+   )
+   touch ${BUILDDIR}/have_configure
+
+   substvars ${SRCDIR}/src/makefile ${BUILDDIR}/src/makefile
+   substvars ${SRCDIR}/makefile ${BUILDDIR}/makefile
+   
+   sed -e \
+	"s@../FL@\$(SRCDIR)/FL@g" \
+	${SRCDIR}/src/makedepend > ${BUILDDIR}/src/makedepend
+   
+   # Modify fltk-config
+   sed \
+	-e "/CFLAGS=/ s+-mwindows++g" \
+	-e "/CFLAGS=/ s+-mno-cygwin++g" \
+	-e "/CXXFLAGS=/ s+-mwindows++g" \
+	-e "/CXXFLAGS=/ s+-mno-cygwin++g" \
+	-e "/LDFLAGS=/ s+-mwindows++g" \
+	-e "/LDFLAGS=/ s+-mno-cygwin++g" \
+	${BUILDDIR}/fltk-config > ${BUILDDIR}/fltk-config.mod
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/fltk-config.mod ${BUILDDIR}/fltk-config
+
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/mgwfltknox_forms-1.1.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/mgwfltknox_gl-1.1.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/mgwfltknox_images-1.1.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/mgwfltknox-1.1.dll ${SHAREDLIB_PATH}
+
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/libfltk.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/libfltk_forms.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/libfltk_gl.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/libfltk_images.dll.a ${LIBRARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/fltk-config ${BINARY_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/FL/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/mgwfltknox_forms-1.1.dll
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/mgwfltknox_gl-1.1.dll
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/mgwfltknox_images-1.1.dll
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/mgwfltknox-1.1.dll
+   
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libfltk.dll.a
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libfltk_forms.dll.a
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libfltk_gl.dll.a
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libfltk_images.dll.a
+   
+   ${RM} ${RM_FLAGS} ${BINARY_PATH}/fltk-config
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/fltk/fltk-1.1.10-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,281 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' fltk-1.1.10-orig/Makefile fltk-1.1.10/Makefile
+--- fltk-1.1.10-orig/Makefile	2009-07-02 11:42:17 +0200
++++ fltk-1.1.10/Makefile	2010-01-17 14:09:38 +0100
+@@ -27,12 +27,12 @@
+ 
+ include makeinclude
+ 
+-DIRS	=	$(IMAGEDIRS) src fluid test documentation
++DIRS	=	$(IMAGEDIRS) src
+ 
+ all: makeinclude fltk-config
+ 	for dir in $(DIRS); do\
+ 		echo "=== making $$dir ===";\
+-		(cd $$dir; $(MAKE) $(MFLAGS)) || exit 1;\
++		(cd $$dir; $(MAKE)) || exit 1;\
+ 	done
+ 
+ install: makeinclude
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' fltk-1.1.10-orig/configure fltk-1.1.10/configure
+--- fltk-1.1.10-orig/configure	2009-12-27 16:24:34 +0100
++++ fltk-1.1.10/configure	2010-01-17 13:03:51 +0100
+@@ -1989,7 +1989,7 @@
+ 	    #-----------------------------------------------------------
+             LDFLAGS="$LDFLAGS -Wl,--enable-auto-import -Wl,--enable-runtime-pseudo-reloc"
+ 	    DSOCOMMAND="\$(CXX) \$(DSOFLAGS) -shared \
+-	    	-Wl,--whole-archive -Wl,--export-all-symbols \
++	    	-Wl,--whole-archive \
+ 		-Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-import \
+ 		-Wl,--enable-auto-image-base -o \$@"
+ 	    ;;
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' fltk-1.1.10-orig/fltk-config.in fltk-1.1.10/fltk-config.in
+--- fltk-1.1.10-orig/fltk-config.in	2008-12-29 18:24:51 +0100
++++ fltk-1.1.10/fltk-config.in	2010-01-17 12:58:40 +0100
+@@ -212,13 +212,13 @@
+ done
+ 
+ if test "$includedir" != /usr/include; then
+-    includes=-I$includedir
++    includes=
+ else
+     includes=
+ fi
+ 
+ if test "$libdir" != /usr/lib -a "$libdir" != /usr/lib32; then
+-    libs=-L$libdir
++    libs=
+ else
+     libs=
+ fi
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' fltk-1.1.10-orig/fluid/Makefile fltk-1.1.10/fluid/Makefile
+--- fltk-1.1.10-orig/fluid/Makefile	2008-12-29 21:21:29 +0100
++++ fltk-1.1.10/fluid/Makefile	2010-01-17 12:59:14 +0100
+@@ -57,14 +57,14 @@
+ fluid$(EXEEXT):		$(OBJECTS) $(LIBNAME) $(FLLIBNAME) \
+ 			$(IMGLIBNAME)
+ 	echo Linking $@...
+-	$(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKFLTKFORMS) $(LINKFLTKIMG) $(LDLIBS)
++	$(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKFLTKFORMS) $(LINKFLTKIMG) $(CXXLIBS) $(LDLIBS)
+ 	$(OSX_ONLY) $(INSTALL_BIN) fluid fluid.app/Contents/MacOS
+ 	$(POSTBUILD) $@ ../FL/mac.r
+ 
+ fluid-shared$(EXEEXT):	$(OBJECTS) ../src/$(DSONAME) ../src/$(FLDSONAME) \
+ 			../src/$(IMGDSONAME)
+ 	echo Linking $@...
+-	$(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKSHARED) $(LDLIBS)
++	$(CXX) $(ARCHFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LINKSHARED) $(CXXLIBS) $(LDLIBS)
+ 	$(POSTBUILD) $@ ../FL/mac.r
+ 
+ clean:
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' fltk-1.1.10-orig/makeinclude.in fltk-1.1.10/makeinclude.in
+--- fltk-1.1.10-orig/makeinclude.in	2008-12-29 21:21:29 +0100
++++ fltk-1.1.10/makeinclude.in	2010-01-17 13:00:30 +0100
+@@ -55,8 +55,8 @@
+ # flags for C++ compiler:
+ ARCHFLAGS	= @ARCHFLAGS@
+ OPTIM		= @OPTIM@
+-CFLAGS		= $(OPTIM) @LARGEFILE@ @PTHREAD_FLAGS@ @CPPFLAGS@ @CFLAGS@
+-CXXFLAGS	= $(OPTIM) @LARGEFILE@ @PTHREAD_FLAGS@ @CPPFLAGS@ @CXXFLAGS@
++CFLAGS		= $(OPTIM) @LARGEFILE@ @PTHREAD_FLAGS@ @CPPFLAGS@ @CFLAGS@ -DFL_LIBRARY
++CXXFLAGS	= $(OPTIM) @LARGEFILE@ @PTHREAD_FLAGS@ @CPPFLAGS@ @CXXFLAGS@ -DFL_LIBRARY
+ 
+ # program to make the archive:
+ LIBNAME		= @LIBNAME@
+@@ -70,7 +70,7 @@
+ FLDSONAME	= @FLDSONAME@
+ GLDSONAME	= @GLDSONAME@
+ IMGDSONAME	= @IMGDSONAME@
+-DSOCOMMAND	= @DSOCOMMAND@
++DSOCOMMAND	= @DSOCOMMAND@ $(LDFLAGS)
+ 
+ LIBBASENAME	= @LIBBASENAME@
+ FLLIBBASENAME	= @FLLIBBASENAME@
+@@ -81,7 +81,7 @@
+ AUDIOLIBS	= @AUDIOLIBS@
+ DSOFLAGS	= -L. @DSOFLAGS@
+ LDFLAGS		= $(OPTIM) @LDFLAGS@
+-LDLIBS		= @LIBS@
++LDLIBS		= $(CXXLIBS) @LIBS@
+ GLDLIBS		= @GLLIB@ @LIBS@
+ LINKFLTK	= @LINKFLTK@
+ LINKFLTKGL	= @LINKFLTKGL@
+@@ -132,7 +132,7 @@
+ UNINSTALL_DESKTOP = @UNINSTALL_DESKTOP@
+ 
+ # Be quiet when building...
+-.SILENT:
++#.SILENT:
+ 
+ # Build commands and filename extensions...
+ .SUFFIXES:	.0 .1 .3 .6 .c .cxx .h .fl .man .o .z $(EXEEXT)
+@@ -144,11 +144,11 @@
+ 
+ .c.o:
+ 	echo Compiling $<...
+-	$(CC) -I.. $(ARCHFLAGS) @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CFLAGS) -c $<
++	$(CC) -I.. -I$(SRCDIR) $(ARCHFLAGS) @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CFLAGS) -c $<
+ 
+ .cxx.o:
+ 	echo Compiling $<...
+-	$(CXX) -I.. $(ARCHFLAGS) @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CXXFLAGS) -c $<
++	$(CXX) -I.. -I$(SRCDIR) $(ARCHFLAGS) @PNGINC@ @JPEGINC@ @ZLIBINC@ $(CXXFLAGS) -c $<
+ 
+ .man.0 .man.1 .man.3 .man.6:
+ 	echo Formatting $<...
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' fltk-1.1.10-orig/src/Makefile fltk-1.1.10/src/Makefile
+--- fltk-1.1.10-orig/src/Makefile	2009-07-02 11:42:17 +0200
++++ fltk-1.1.10/src/Makefile	2010-01-17 13:02:13 +0100
+@@ -25,6 +25,8 @@
+ #      http://www.fltk.org/str.php
+ #
+ 
++SRCDIR=@SRCDIR@
++
+ CPPFILES = \
+ 	Fl.cxx \
+ 	Fl_Adjuster.cxx \
+@@ -190,6 +192,12 @@
+ 
+ ################################################################
+ 
++vpath	%.cxx $(SRCDIR)/src
++vpath	%.c $(SRCDIR)/src
++vpath	%.h $(SRCDIR)/src
++vpath	%.H $(SRCDIR)/src
++vpath	%.xpm $(SRCDIR)/src
++
+ include ../makeinclude
+ 
+ OBJECTS = $(CPPFILES:.cxx=.o) $(CFILES:.c=.o)
+@@ -436,53 +444,53 @@
+ fl_set_fonts.o:	fl_set_fonts_mac.cxx fl_set_fonts_x.cxx \
+ 		fl_set_fonts_xft.cxx fl_set_fonts_win32.cxx
+ 
+-fl_arci.o:	../FL/mac.H ../FL/win32.H
+-Fl_arg.o:	../FL/mac.H ../FL/win32.H
+-fl_ask.o:	../FL/mac.H ../FL/win32.H
+-Fl_Bitmap.o:	../FL/mac.H ../FL/win32.H
+-fl_color.o:	../FL/mac.H ../FL/win32.H
+-fl_cursor.o:	../FL/mac.H ../FL/win32.H
+-fl_dnd.o:	../FL/mac.H ../FL/win32.H
+-Fl.o:	../FL/mac.H ../FL/win32.H Fl_win32.cxx Fl_mac.cxx
+-Fl_Double_Window.o:	../FL/mac.H ../FL/win32.H
+-fl_draw_image.o:	../FL/mac.H ../FL/win32.H
+-fl_draw_image_mac.o:	../FL/mac.H ../FL/win32.H
+-fl_draw_image_win32.o:	../FL/mac.H ../FL/win32.H
+-fl_draw_pixmap.o:	../FL/mac.H ../FL/win32.H
+-fl_encoding_latin1.o:	../FL/mac.H ../FL/win32.H
+-fl_encoding_mac_roman.o:   ../FL/mac.H ../FL/win32.H
+-Fl_File_Chooser2.o:	../FL/mac.H ../FL/win32.H
+-fl_font.o:	../FL/mac.H ../FL/win32.H
+-Fl_get_key.o:	../FL/mac.H ../FL/win32.H
+-Fl_get_system_colors.o:	../FL/mac.H ../FL/win32.H
+-Fl_Gl_Choice.o:	../FL/mac.H ../FL/win32.H
+-Fl_Gl_Overlay.o:	../FL/mac.H ../FL/win32.H
+-Fl_Gl_Window.o:	../FL/mac.H ../FL/win32.H
+-Fl_grab.o:	../FL/mac.H ../FL/win32.H
+-Fl_Image.o:	../FL/mac.H ../FL/win32.H
+-fl_line_style.o:	../FL/mac.H ../FL/win32.H
+-Fl_mac.o:	../FL/mac.H ../FL/win32.H
+-Fl_Menu_Window.o:	../FL/mac.H ../FL/win32.H
+-fl_overlay.o:	../FL/mac.H ../FL/win32.H
+-fl_overlay_visual.o:	../FL/mac.H ../FL/win32.H
+-Fl_Overlay_Window.o:	../FL/mac.H ../FL/win32.H
+-Fl_own_colormap.o:	../FL/mac.H ../FL/win32.H
+-Fl_Pixmap.o:	../FL/mac.H ../FL/win32.H
+-fl_read_image.o:	../FL/mac.H ../FL/win32.H
+-fl_read_image_mac.o:	../FL/mac.H ../FL/win32.H
+-fl_read_image_win32.o:	../FL/mac.H ../FL/win32.H
+-fl_rect.o:	../FL/mac.H ../FL/win32.H
+-fl_scroll_area.o:	../FL/mac.H ../FL/win32.H
+-fl_set_font.o:	../FL/mac.H ../FL/win32.H
+-fl_set_fonts.o:	../FL/mac.H ../FL/win32.H
+-fl_shortcut.o:	../FL/mac.H ../FL/win32.H
+-fl_vertex.o:	../FL/mac.H ../FL/win32.H
+-Fl_visual.o:	../FL/mac.H ../FL/win32.H
+-Fl_Window_fullscreen.o:	../FL/mac.H ../FL/win32.H
+-Fl_Window_iconize.o:	../FL/mac.H ../FL/win32.H
+-Fl_x.o:	../FL/mac.H ../FL/win32.H
+-gl_draw.o:	../FL/mac.H ../FL/win32.H
+-gl_start.o:	../FL/mac.H ../FL/win32.H
++fl_arci.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_arg.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_ask.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Bitmap.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_color.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_cursor.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_dnd.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H Fl_win32.cxx Fl_mac.cxx
++Fl_Double_Window.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_draw_image.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_draw_image_mac.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_draw_image_win32.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_draw_pixmap.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_encoding_latin1.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_encoding_mac_roman.o:   $(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_File_Chooser2.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_font.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_get_key.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_get_system_colors.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Gl_Choice.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Gl_Overlay.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Gl_Window.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_grab.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Image.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_line_style.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_mac.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Menu_Window.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_overlay.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_overlay_visual.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Overlay_Window.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_own_colormap.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Pixmap.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_read_image.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_read_image_mac.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_read_image_win32.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_rect.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_scroll_area.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_set_font.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_set_fonts.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_shortcut.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++fl_vertex.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_visual.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Window_fullscreen.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_Window_iconize.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++Fl_x.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++gl_draw.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
++gl_start.o:	$(SRCDIR)/FL/mac.H $(SRCDIR)/FL/win32.H
+ 
+ ################################################################
+ 
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' fltk-1.1.10-orig/src/fl_rect.cxx fltk-1.1.10/src/fl_rect.cxx
+--- fltk-1.1.10-orig/src/fl_rect.cxx	2007-02-12 17:41:41 +0100
++++ fltk-1.1.10/src/fl_rect.cxx	2010-01-17 13:02:44 +0100
+@@ -423,7 +423,7 @@
+ #define STACK_MAX (STACK_SIZE - 1)
+ static Fl_Region rstack[STACK_SIZE];
+ static int rstackptr=0;
+-int fl_clip_state_number=0; // used by gl_begin.cxx to update GL clip
++FL_EXPORT int fl_clip_state_number=0; // used by gl_begin.cxx to update GL clip
+ 
+ #if !defined(WIN32) && !defined(__APPLE__)
+ // Missing X call: (is this the fastest way to init a 1-rectangle region?)
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' fltk-1.1.10-orig/src/flstring.c fltk-1.1.10/src/flstring.c
+--- fltk-1.1.10-orig/src/flstring.c	2005-04-16 02:13:17 +0200
++++ fltk-1.1.10/src/flstring.c	2010-01-17 13:03:15 +0100
+@@ -32,6 +32,7 @@
+  * 'fl_strlcat()' - Safely concatenate two strings.
+  */
+ 
++FL_EXPORT
+ size_t				/* O - Length of string */
+ fl_strlcat(char       *dst,	/* O - Destination string */
+            const char *src,	/* I - Source string */
+@@ -72,6 +73,7 @@
+  * 'fl_strlcpy()' - Safely copy two strings.
+  */
+ 
++FL_EXPORT
+ size_t				/* O - Length of string */
+ fl_strlcpy(char       *dst,	/* O - Destination string */
+            const char *src,	/* I - Source string */
--- a/admin/Windows/mingw32/gcc44_build_deps.sh	Mon Feb 15 21:25:48 2010 +0000
+++ b/admin/Windows/mingw32/gcc44_build_deps.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -31,45 +31,45 @@
 VER_NCURSES=5.6-$REL
 VER_READLINE=5.2-$REL
 VER_REGEX=2.5.1-$REL
-VER_PCRE=7.9-$REL
+VER_PCRE=8.0-$REL
 VER_FFTW3=3.2.2-$REL
-VER_GMP=4.3.1-$REL
-VER_GLPK=4.39-$REL
+VER_GMP=4.3.2-$REL
+VER_GLPK=4.42-$REL
 VER_GSL=1.11-$REL
 VER_LIBPNG=1.2.40-$REL
 VER_LIBJPEG=7-$REL
-VER_LIBTIFF=3.9.1-$REL
+VER_LIBTIFF=3.9.2-$REL
 VER_HDF5=1.6.7-$REL
 VER_LESS=436-$REL
 
 # VER_SED=4.1.5-$REL
 
 VER_CURL=7.19.6-$REL
-VER_QHULL=2003.1-$REL
+VER_QHULL=2010.1-$REL
 VER_EXPAT=2.0.1-$REL
-VER_LIBFREETYPE=2.3.9-$REL
-VER_LIBFONTCONFIG=2.7.3-$REL
+VER_LIBFREETYPE=2.3.11-$REL
+VER_LIBFONTCONFIG=2.8.0-$REL
 VER_LIBGD=2.0.36RC1-$REL
 VER_WMF=0.2.8.4-$REL
 VER_GRAPHICSMAGICK=1.3.7-$REL
 
 VER_ICONV=1.13-$REL
 VER_GETTEXT=0.17-$REL
-VER_GLIB=2.20.5-$REL
+VER_GLIB=2.22.3-$REL
 VER_PKGCONFIG=0.23-$REL
-VER_PIXMAN=0.16.0-$REL
+VER_PIXMAN=0.17.2-$REL
 VER_CAIRO=1.8.8-$REL
-VER_PANGO=1.25.6-$REL
-VER_WXWIDGETS=2.9.0-$REL
+VER_PANGO=1.26.2-$REL
+VER_WXWIDGETS=2.8.10-$REL
 
 VER_TEXINFO=4.13a-$REL
 
 VER_FTGL=2.1.3-rc5-$REL
-VER_FLTK=1.1.9-$REL
+VER_FLTK=1.1.10-$REL
 
 VER_NETCDF=4.0-$REL
-VER_CLN=1.3.0-$REL
-VER_GINAC=1.5.3-$REL
+VER_CLN=1.3.1-$REL
+VER_GINAC=1.5.5-$REL
 VER_FFMPEG=0.5-$REL
 VER_JOGL=1.1.1-$REL
 
--- a/admin/Windows/mingw32/gcc44_common.sh	Mon Feb 15 21:25:48 2010 +0000
+++ b/admin/Windows/mingw32/gcc44_common.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -83,6 +83,7 @@
 LICENSE_BASE=${PREFIX}
 SHARE_BASE=${PREFIX}
 DOC_BASE=${PREFIX}
+ETC_BASE=${PREFIX}
 
 # default subdirectories
 INCLUDE_DEFAULT=include
@@ -93,6 +94,7 @@
 LICENSE_DEFAULT=license
 SHARE_DEFAULT=share
 DOC_DEFAULT=doc
+ETC_DEFAULT=etc
 
 # subdirs for above components, can be overridden locally
 # (e.g. for GSL: ${INCLUDE} = include/gsl )
@@ -104,6 +106,7 @@
 if [ -z ${LICENSE_DIR} ]; then LICENSE_DIR=${LICENSE_DEFAULT}; fi
 if [ -z ${SHARE_DIR} ]; then SHARE_DIR=${SHARE_DEFAULT}; fi
 if [ -z ${DOC_DIR} ]; then DOC_DIR=${DOC_DEFAULT}; fi
+if [ -z ${ETC_DIR} ]; then ETC_DIR=${ETC_DEFAULT}; fi
 
 # create full paths for component directories
 BINARY_PATH=${BINARY_BASE}/${BINARY_DIR}
@@ -114,6 +117,7 @@
 LICENSE_PATH=${LICENSE_BASE}/${LICENSE_DIR}
 SHARE_PATH=${SHARE_BASE}/${SHARE_DIR}
 DOC_PATH=${DOC_BASE}/${DOC_DIR}
+ETC_PATH=${ETC_BASE}/${ETC_DIR}
 
 # Path to pkg-config .pc files
 PKGCONFIGDATA_PATH=${LIBRARY_PATH}/pkgconfig
@@ -309,6 +313,8 @@
   if [ ! -e ${LICENSE_PATH} ];       then mkdir -vp ${LICENSE_PATH}; fi
   if [ ! -e ${LICENSE_PATH}/${PKG} ]; then mkdir -vp ${LICENSE_PATH}/${PKG}; fi
   if [ ! -e ${PKGCONFIGDATA_PATH} ]; then mkdir -vp ${PKGCONFIGDATA_PATH}; fi
+  if [ ! -e ${SHARE_PATH} ];         then mkdir -vp ${SHARE_PATH}; fi
+  if [ ! -e ${ETC_PATH} ];           then mkdir -vp ${ETC_PATH}; fi
  }
 install()
 {
@@ -354,6 +360,9 @@
    rmdir --ignore-fail-on-non-empty ${SHARE_PATH}/${PKGVER}
    rmdir --ignore-fail-on-non-empty ${SHARE_PATH}
    
+   # The ETC Directory
+   rmdir --ignore-fail-on-non-empty ${ETC_PATH}
+   
 }
 
 # == check ==
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/ginac/build-1.5.5-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,151 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=ginac
+# Version of Package
+VER=1.5.5
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.bz2
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-1.5.5.tar.bz2"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=include/ginac
+
+# Herader files to install
+HEADERS_INSTALL="
+ginac.h add.h archive.h assertion.h basic.h class_info.h \
+clifford.h color.h constant.h container.h ex.h excompiler.h expair.h expairseq.h \
+exprseq.h fail.h factor.h fderivative.h flags.h function.h hash_map.h idx.h indexed.h \
+inifcns.h integral.h lst.h matrix.h mul.h ncmul.h normal.h numeric.h operators.h \
+power.h print.h pseries.h ptr.h registrar.h relational.h structure.h \
+symbol.h symmetry.h tensor.h version.h wildcard.h \
+parser/parser.h \
+parser/parse_context.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL="ginac.pc"
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+MAKE_XTRA=" CXXLIBS=$CXXLIBS"
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC="$CC $LIBGCCLDFLAGS" \
+     CXX="$CXX $LIBGCCLDFLAGS" \
+     F77="$F77 $LIBGCCLDFLAGS" \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS} -Wl,--allow-multiple-definition" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --enable-shared
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_all ${BUILDDIR}/libtool
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/ginac/ginac.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/ginac/libginac.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/ginac/.libs/libginac.a ${STATICLIB_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/ginac/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/ginac.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libginac.dll.a
+   ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libginac.a
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/ginac/ginac-1.5.5-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,65 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' ginac-1.5.5-orig/check/Makefile.in ginac-1.5.5/check/Makefile.in
+--- ginac-1.5.5-orig/check/Makefile.in	2009-11-04 22:17:08 +0100
++++ ginac-1.5.5/check/Makefile.in	2010-01-17 14:30:00 +0100
+@@ -753,6 +753,8 @@
+ 	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+ $(am__aclocal_m4_deps):
+ 
++LIBS+=$(CXXLIBS)
++
+ clean-checkPROGRAMS:
+ 	@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
+ 	echo " rm -f" $$list; \
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' ginac-1.5.5-orig/ginac/Makefile.in ginac-1.5.5/ginac/Makefile.in
+--- ginac-1.5.5-orig/ginac/Makefile.in	2009-11-04 22:17:09 +0100
++++ ginac-1.5.5/ginac/Makefile.in	2010-01-17 14:30:00 +0100
+@@ -262,7 +262,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-lib_LTLIBRARIES = libginac.la
++lib_LTLIBRARIES = libginac.la ginac.dll
+ libginac_la_SOURCES = add.cpp archive.cpp basic.cpp clifford.cpp color.cpp \
+   constant.cpp ex.cpp excompiler.cpp expair.cpp expairseq.cpp exprseq.cpp \
+   fail.cpp factor.cpp fderivative.cpp function.cpp idx.cpp indexed.cpp inifcns.cpp \
+@@ -418,6 +418,16 @@
+ libginac.la: $(libginac_la_OBJECTS) $(libginac_la_DEPENDENCIES) 
+ 	$(libginac_la_LINK) -rpath $(libdir) $(libginac_la_OBJECTS) $(libginac_la_LIBADD) $(LIBS)
+ 
++ginac.dll : libginac.la
++	$(CXX) -shared -o $@ \
++	$(LDFLAGS) \
++	-Wl,--out-implib=libginac.dll.a \
++	-Wl,--output-def=libginac.def \
++	-Wl,--whole-archive ./.libs/libginac.a \
++	-Wl,--no-whole-archive \
++	$(CXXLIBS) \
++	$(LIBS)
++
+ mostlyclean-compile:
+ 	-rm -f *.$(OBJEXT)
+ 
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' ginac-1.5.5-orig/ginsh/Makefile.in ginac-1.5.5/ginsh/Makefile.in
+--- ginac-1.5.5-orig/ginsh/Makefile.in	2009-11-04 22:17:09 +0100
++++ ginac-1.5.5/ginsh/Makefile.in	2010-01-17 14:30:00 +0100
+@@ -352,7 +352,7 @@
+ 	else :; fi
+ ginsh$(EXEEXT): $(ginsh_OBJECTS) $(ginsh_DEPENDENCIES) 
+ 	@rm -f ginsh$(EXEEXT)
+-	$(CXXLINK) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS)
++	$(CXXLINK) $(ginsh_OBJECTS) $(ginsh_LDADD) $(LIBS) $(CXXLIBS)
+ 
+ mostlyclean-compile:
+ 	-rm -f *.$(OBJEXT)
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' ginac-1.5.5-orig/tools/Makefile.in ginac-1.5.5/tools/Makefile.in
+--- ginac-1.5.5-orig/tools/Makefile.in	2009-11-04 22:17:09 +0100
++++ ginac-1.5.5/tools/Makefile.in	2010-01-17 14:30:00 +0100
+@@ -333,7 +333,7 @@
+ 	rm -f $$list
+ viewgar$(EXEEXT): $(viewgar_OBJECTS) $(viewgar_DEPENDENCIES) 
+ 	@rm -f viewgar$(EXEEXT)
+-	$(CXXLINK) $(viewgar_OBJECTS) $(viewgar_LDADD) $(LIBS)
++	$(CXXLINK) $(viewgar_OBJECTS) $(viewgar_LDADD) $(LIBS) $(CXXLIBS)
+ install-binSCRIPTS: $(bin_SCRIPTS)
+ 	@$(NORMAL_INSTALL)
+ 	test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/glib/build-2.22.3-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,381 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=glib
+# Version of Package
+VER=2.22.3
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.bz2
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.22/glib-2.22.3.tar.bz2"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=include/glib-2.0
+
+# Herader files to install
+HEADERS_INSTALL="
+glib/glib.h
+glib/glib-object.h
+gmodule/gmodule.h"
+
+HEADERS_GLIB="
+galloca.h
+garray.h
+gasyncqueue.h
+gatomic.h
+gbacktrace.h
+gbase64.h
+gbookmarkfile.h
+gcache.h
+gchecksum.h
+gcompletion.h
+gconvert.h
+gdataset.h
+gdate.h
+gdir.h
+gerror.h
+gfileutils.h
+ghash.h
+ghook.h
+ghostutils.h
+gi18n.h
+gi18n-lib.h
+giochannel.h
+gkeyfile.h
+glist.h
+gmacros.h
+gmain.h
+gmappedfile.h
+gmarkup.h
+gmem.h
+gmessages.h
+gnode.h
+goption.h
+gpattern.h
+gpoll.h
+gprimes.h
+gqsort.h
+gquark.h
+gqueue.h
+grand.h
+gregex.h
+grel.h
+gscanner.h
+gsequence.h
+gshell.h
+gslice.h
+gslist.h
+gspawn.h
+gstdio.h
+gstrfuncs.h
+gtestutils.h
+gstring.h
+gthread.h
+gthreadpool.h
+gtimer.h
+gtree.h
+gtypes.h
+gunicode.h
+gurifuncs.h
+gutils.h
+gwin32.h
+gprintf.h"
+
+HEADERS_GIO="
+gappinfo.h
+gasyncinitable.h
+gasyncresult.h
+gbufferedinputstream.h
+gbufferedoutputstream.h
+gcancellable.h
+gcontenttype.h
+gdatainputstream.h
+gdataoutputstream.h
+gdrive.h
+gemblem.h
+gemblemedicon.h
+gfile.h
+gfileattribute.h
+gfileenumerator.h
+gfileicon.h
+gfileinfo.h
+gfileinputstream.h
+gfilemonitor.h
+gfilenamecompleter.h
+gfileoutputstream.h
+gfileiostream.h
+gfilterinputstream.h
+gfilteroutputstream.h
+gicon.h
+ginetaddress.h
+ginetsocketaddress.h
+ginputstream.h
+ginitable.h
+gio.h
+giotypes.h
+gioenums.h
+gioerror.h
+giomodule.h
+gioscheduler.h
+giostream.h
+gloadableicon.h
+gmount.h
+gmemoryinputstream.h
+gmemoryoutputstream.h
+gmountoperation.h
+gnativevolumemonitor.h
+gnetworkaddress.h
+gnetworkservice.h
+goutputstream.h
+gresolver.h
+gseekable.h
+gsimpleasyncresult.h
+gsocket.h
+gsocketaddress.h
+gsocketaddressenumerator.h
+gsocketclient.h
+gsocketconnectable.h
+gsocketconnection.h
+gsocketcontrolmessage.h
+gsocketlistener.h
+gsocketservice.h
+gsrvtarget.h
+gtcpconnection.h
+gthreadedsocketservice.h
+gthemedicon.h
+gvfs.h
+gvolume.h
+gvolumemonitor.h"
+
+HEADERS_GOBJECT="
+gboxed.h
+gclosure.h
+genums.h
+gobject.h
+gparam.h
+gparamspecs.h
+gsignal.h
+gsourceclosure.h
+gtype.h
+gtypemodule.h
+gtypeplugin.h
+gvalue.h
+gvaluearray.h
+gvaluecollector.h
+gvaluetypes.h
+gobjectnotifyqueue.c
+gmarshal.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL="
+glib-2.0.pc
+gio-2.0.pc
+gobject-2.0.pc
+gmodule-2.0.pc
+gmodule-no-export-2.0.pc
+gthread-2.0.pc"
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC="${CC} $LIBGCCLDFLAGS" \
+     CXX="${CXX} $LIBGCCLDFLAGS" \
+     F77="${F77} $LIBGCCLDFLAGS" \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     WINDRES="$RC --preprocessor=$CPP" \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS}" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --disable-static \
+     --enable-shared \
+     PKG_CONFIG=${TOPDIR}/pkg-config \
+     --disable-gtk-doc \
+     --with-pcre=system \
+     PCRE_CFLAGS="${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS}" \
+     PCRE_LIBS="-lpcre" \
+     MSGFMT=${TOPDIR}/gettext/msgfmt
+     
+     # We must manually specify PCRE_CFLAGS and PCRE_LIBS because we do not have
+     # pkg-config built yet!!
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_nolibprefix ${BUILDDIR}/libtool
+   conf_post;
+}
+
+build_pre()
+{
+   ( cd ${BUILDDIR} && \
+     make glibconfig.h.win32 && \
+     make glibconfig.h && \
+     mv glibconfig.h glibconfig.h.autogened && \
+     cp -vp glibconfig.h.win32 glibconfig.h )
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/gio/.libs/gio-2.0-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/gio/.libs/libgio-2.0.dll.a ${LIBRARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/glib/.libs/glib-2.0-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/glib/.libs/libglib-2.0.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/glib/.libs/gspawn-win32-helper.exe ${BINARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/glib/.libs/gspawn-win32-helper-console.exe ${BINARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/gmodule/.libs/gmodule-2.0-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/gmodule/.libs/libgmodule-2.0.dll.a ${LIBRARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/gobject/.libs/gobject-2.0-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/gobject/.libs/libgobject-2.0.dll.a ${LIBRARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/gthread/.libs/gthread-2.0-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/gthread/.libs/libgthread-2.0.dll.a ${LIBRARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/gobject/glib-mkenums ${BINARY_PATH}
+
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   mkdir -vp ${INCLUDE_PATH}/glib
+   mkdir -vp ${INCLUDE_PATH}/gio
+   mkdir -vp ${INCLUDE_PATH}/gobject
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   for a in $HEADERS_GLIB; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/glib/$a ${INCLUDE_PATH}/glib/`basename $a`
+   done
+   
+   for a in $HEADERS_GIO; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/gio/$a ${INCLUDE_PATH}/gio/`basename $a`
+   done
+   
+   for a in $HEADERS_GOBJECT; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/gobject/$a ${INCLUDE_PATH}/gobject/`basename $a`
+   done
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/glibconfig.h ${INCLUDE_PATH}
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING ${LICENSE_PATH}/${PKG}
+   ${CP} ${CP_FLAGS} ${SRCDIR}/gmodule/COPYING ${LICENSE_PATH}/${PKG}/COPYING.gmodule
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/gio-2.0-0.dll
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/glib-2.0-0.dll
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/gmodule-2.0-0.dll
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/gobject-2.0-0.dll
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/gthread-2.0-0.dll
+   
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libgio-2.0.dll.a
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libglib-2.0.dll.a
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libgmodule-2.0.dll.a
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libgobject-2.0.dll.a
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libgthread-2.0.dll.a
+   
+   ${RM} ${RM_FLAGS} ${BINARY_PATH}/gspawn-win32-helper.exe
+   ${RM} ${RM_FLAGS} ${BINARY_PATH}/gspawn-win32-helper-console.exe
+   
+   ${RM} ${RM_FLAGS} ${BINARY_PATH}/glib-mkenums
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL glibconfig.h; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   for a in $HEADERS_GLIB; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/glib/`basename $a`
+   done
+   
+   for a in $HEADERS_GIO; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/gio/`basename $a`
+   done
+   
+   for a in $HEADERS_GOBJECT; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/gobject/`basename $a`
+   done
+   
+   rmdir --ignore-fail-on-non-empty ${INCLUDE_PATH}/glib
+   rmdir --ignore-fail-on-non-empty ${INCLUDE_PATH}/gio
+   rmdir --ignore-fail-on-non-empty ${INCLUDE_PATH}/gobject
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING.gmodule
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/glib/glib-2.22.3-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,9 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' glib-2.22.2-orig/glib-2.0.pc.in glib-2.22.2/glib-2.0.pc.in
+--- glib-2.22.2-orig/glib-2.0.pc.in	2009-04-01 01:04:20 +0200
++++ glib-2.22.2/glib-2.0.pc.in	2009-12-14 22:07:04 +0100
+@@ -12,4 +12,4 @@
+ Version: @VERSION@
+ Libs: -L${libdir} -lglib-2.0 @INTLLIBS@
+ Libs.private: @ICONV_LIBS@
+-Cflags: -I${includedir}/glib-2.0 -I${libdir}/glib-2.0/include @GLIB_EXTRA_CFLAGS@
++Cflags: -I${includedir}/glib-2.0 @GLIB_EXTRA_CFLAGS@
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/glpk/build-4.42-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,144 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=glpk
+# Version of Package
+VER=4.42
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.gz
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://gd.tuwien.ac.at/gnu/gnusrc/glpk/glpk-4.42.tar.gz"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=include/glpk
+
+# Herader files to install
+HEADERS_INSTALL="glpk.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL=""
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC=$CC \
+     CXX=$CXX \
+     F77=$F77 \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS}" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --with-gmp \
+     --enable-shared  \
+     --enable-static
+   )
+   touch ${BUILDDIR}/have_configure
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/glpk.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/libglpk.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/.libs/libglpk.a ${STATICLIB_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/include/$a ${INCLUDE_PATH}
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+# Make check: test passed 30-aug-2009 using mingw mingw32-gcc-4.4.0-dw2.exe
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/glpk.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libglpk.dll.a
+   ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libglpk.a
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/glpk/glpk-4.42-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,28 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' glpk-4.42-orig/src/Makefile.in glpk-4.42/src/Makefile.in
+--- glpk-4.42-orig/src/Makefile.in	2010-01-13 10:00:00 +0100
++++ glpk-4.42/src/Makefile.in	2010-01-17 20:39:04 +0100
+@@ -215,7 +215,7 @@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ INCLUDES = -I$(srcdir)/../include
+-lib_LTLIBRARIES = libglpk.la
++lib_LTLIBRARIES = libglpk.la glpk.dll
+ libglpk_la_LDFLAGS = -version-info 27:0:27 \
+ -export-symbols-regex '^(glp_|_glp_lpx_).*'
+ 
+@@ -395,6 +395,15 @@
+ libglpk.la: $(libglpk_la_OBJECTS) $(libglpk_la_DEPENDENCIES) 
+ 	$(libglpk_la_LINK) -rpath $(libdir) $(libglpk_la_OBJECTS) $(libglpk_la_LIBADD) $(LIBS)
+ 
++glpk.dll : libglpk.la
++	$(CC) -shared -o $@ \
++	  $(LDFLAGS) \
++	  -Wl,--export-all-symbols \
++	  -Wl,--whole-archive .libs/libglpk.a \
++	  -Wl,--out-implib=libglpk.dll.a \
++	  -Wl,--output-def=$.exp \
++	  -Wl,--no-whole-archive $(LIBS)
++
+ mostlyclean-compile:
+ 	-rm -f *.$(OBJEXT)
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/gmp/build-4.3.2-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,157 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=gmp
+# Version of Package
+VER=4.3.2
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.bz2
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://gd.tuwien.ac.at/gnu/gnusrc/gmp/gmp-4.3.2.tar.bz2"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=
+
+# Herader files to install
+HEADERS_INSTALL="gmp.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL=""
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+conf()
+{
+   conf_pre;
+   # Require relative path for SRCDIR because configure
+   # hard-codes paths into test scripts and msys paths do not work
+   # with mingw32 gcc...
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=../${SRCDIR} \
+     CC="${CC} $LIBGCCLDFLAGS" \
+     CXX="${CXX} $LIBGCCLDFLAGS" \
+     F77="${F77} $LIBGCCLDFLAGS" \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${ARCH_FLAGS} ${OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${ARCH_FLAGS} ${OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS}" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --disable-static \
+     --enable-shared \
+     --enable-fat \
+     ABI=32
+   # GMP cannot build static and dynamic library simultaneously!
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_all ${BUILDDIR}/libtool
+   conf_post;
+}
+
+# Running "make check" will produce all-failed tests if built with 
+# --enable-shared. This is due to strange method of creating executable 
+# within libtool.
+# However, when building with --enable-static, make check reports ALL tests 
+# as passed.
+# Tested using mingw mingw32-gcc-4.4.0-dw2, 17-jan-2010 with -O3 -mtune-generic -march=i686 flags
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/.libs/gmp.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/.libs/libgmp.dll.a ${LIBRARY_PATH}
+   #${CP} ${CP_FLAGS} ${BUILDDIR}/.libs/libgmp.a ${STATICLIB_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${INCLUDE_PATH}
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING ${LICENSE_PATH}/${PKG}
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING.lib ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/gmp.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libgmp.dll.a
+   #${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libgmp.a
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING.lib
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- a/admin/Windows/mingw32/libfontconfig/build-2.7.3-4.sh	Mon Feb 15 21:25:48 2010 +0000
+++ b/admin/Windows/mingw32/libfontconfig/build-2.7.3-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -78,6 +78,11 @@
    conf_post;
 }
 
+build_post()
+{
+   ( cd ${BUILDDIR} && make_common fonts.conf )
+}
+
 install()
 {
    install_pre;
@@ -87,6 +92,10 @@
    ${CP} ${CP_FLAGS} ${BUILDDIR}/src/.libs/libfontconfig.dll.a ${LIBRARY_PATH}
    ${CP} ${CP_FLAGS} ${BUILDDIR}/src/.libs/libfontconfig.a ${STATICLIB_PATH}
    
+   # Install fonts.conf to /etc/fonts
+   mkdir -vp ${ETC_PATH}/fonts
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/fonts.conf ${ETC_PATH}/fonts
+   
    # Install pkg-config .pc files
    for a in $PKG_CONFIG_INSTALL; do
       ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
@@ -112,6 +121,10 @@
    ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libfontconfig.dll.a
    ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libfontconfig.a
    
+   # Uninstall /etc/fonts/fonts.conf
+   ${RM} ${RM_FLAGS} ${ETC_PATH}/fonts/fonts.conf
+   rmdir --ignore-fail-on-non-empty ${ETC_PATH}/fonts
+   
    # Uninstall headers
    for a in $HEADERS_INSTALL; do
       ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/libfontconfig/build-2.8.0-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,154 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=fontconfig
+# Version of Package
+VER=2.8.0
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.gz
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://fontconfig.org/release/fontconfig-$VER.tar.gz"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=include/fontconfig
+
+# Herader files to install
+HEADERS_INSTALL="fontconfig.h fcfreetype.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL="fontconfig.pc"
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC="${CC} $LIBGCCLDFLAGS" \
+     CXX="${CXX} $LIBGCCLDFLAGS" \
+     F77="${F77} $LIBGCCLDFLAGS" \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0500" \
+     LDFLAGS="${LDFLAGS}" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --with-default-fonts
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_all ${BUILDDIR}/libtool
+   conf_post;
+}
+
+build_post()
+{
+   ( cd ${BUILDDIR} && make_common fonts.conf )
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/.libs/fontconfig.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/.libs/libfontconfig.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/.libs/libfontconfig.a ${STATICLIB_PATH}
+   
+   # Install fonts.conf to /etc/fonts
+   mkdir -vp ${ETC_PATH}/fonts
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/fonts.conf ${ETC_PATH}/fonts
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/fontconfig/$a ${INCLUDE_PATH}
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/fontconfig.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libfontconfig.dll.a
+   ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libfontconfig.a
+   
+   # Uninstall /etc/fonts/fonts.conf
+   ${RM} ${RM_FLAGS} ${ETC_PATH}/fonts/fonts.conf
+   rmdir --ignore-fail-on-non-empty ${ETC_PATH}/fonts
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/libfontconfig/fontconfig-2.8.0-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,12 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' fontconfig-2.8.0-orig/src/Makefile.in fontconfig-2.8.0/src/Makefile.in
+--- fontconfig-2.8.0-orig/src/Makefile.in	2009-12-14 21:39:50 +0100
++++ fontconfig-2.8.0/src/Makefile.in	2009-12-14 21:39:44 +0100
+@@ -738,7 +738,7 @@
+ 	(cat $(PUBLIC_FILES) $(PUBLIC_FT_FILES) || echo 'FcERROR ()' ) | \
+  	grep '^Fc[^ ]* *(' | sed -e 's/ *(.*$$//' -e 's/^/	/' | \
+ 	sort; \
+-	echo LIBRARY libfontconfig-@LIBT_CURRENT_MINUS_AGE@.dll; \
++	echo LIBRARY fontconfig.dll; \
+ 	echo VERSION @LIBT_CURRENT@.@LIBT_REVISION@) >$@
+ 	@ ! grep -q FcERROR $@ || ($(RM) $@; false)
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/libfreetype/build-2.3.11-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,222 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=freetype
+# Version of Package
+VER=2.3.11
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.bz2
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://downloads.sourceforge.net/project/freetype/freetype2/$VER/freetype-$VER.tar.bz2"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=
+
+# Herader files to install
+HEADERS_INSTALL="ft2build.h"
+HEADERS2_INSTALL="
+freetype.h
+ftbbox.h
+ftbdf.h
+ftbitmap.h
+ftcache.h
+ftchapters.h
+ftcid.h
+fterrdef.h
+fterrors.h
+ftgasp.h
+ftglyph.h
+ftgxval.h
+ftgzip.h
+ftimage.h
+ftincrem.h
+ftlcdfil.h
+ftlist.h
+ftlzw.h
+ftmac.h
+ftmm.h
+ftmodapi.h
+ftmoderr.h
+ftotval.h
+ftoutln.h
+ftpfr.h
+ftrender.h
+ftsizes.h
+ftsnames.h
+ftstroke.h
+ftsynth.h
+ftsystem.h
+fttrigon.h
+fttypes.h
+ftwinfnt.h
+ftxf86.h
+t1tables.h
+ttnameid.h
+tttables.h
+tttags.h
+ttunpat.h"
+HEADERS3_INSTALL="
+ftheader.h
+ftoption.h
+ftstdlib.h"
+HEADERS4_INSTALL="
+ftconfig.h
+ftmodule.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL="freetype2.pc"
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+conf()
+{
+   # Do not specify --srcdir as freetype's configure script chokes on it...
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     CC="$CC $LIBGCCLDFLAGS"\
+     CXX="$CXX $LIBGCCLDFLAGS" \
+     F77="$F77 $LIBGCCLDFLAGS"\
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS}" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX}
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_nolibprefix ${BUILDDIR}/libtool
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/.libs/freetype-6.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/.libs/libfreetype.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/.libs/libfreetype.a ${STATICLIB_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   if ! [ -e ${INCLUDE_PATH}/freetype ]; then mkdir -v ${INCLUDE_PATH}/freetype; fi
+   if ! [ -e ${INCLUDE_PATH}/freetype/config ]; then mkdir -v ${INCLUDE_PATH}/freetype/config; fi
+
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/include/$a ${INCLUDE_PATH}
+   done
+   
+   for a in $HEADERS2_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/include/freetype/$a ${INCLUDE_PATH}/freetype
+   done
+   
+   for a in $HEADERS3_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/include/freetype/config/$a ${INCLUDE_PATH}/freetype/config
+   done
+   
+   for a in $HEADERS4_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${INCLUDE_PATH}/freetype/config
+   done
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/freetype-config         ${BINARY_PATH}
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/docs/GPL.txt ${LICENSE_PATH}/${PKG}
+   ${CP} ${CP_FLAGS} ${SRCDIR}/docs/LICENSE.txt ${LICENSE_PATH}/${PKG}
+   ${CP} ${CP_FLAGS} ${SRCDIR}/src/pcf/README ${LICENSE_PATH}/${PKG}/README.PCF
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/freetype-6.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libfreetype.dll.a
+   ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libfreetype.a
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
+   done
+   
+   for a in $HEADERS2_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/freetype/$a
+   done
+   
+   for a in $HEADERS3_INSTALL $HEADERS4_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/freetype/config/$a
+   done
+   
+   rmdir --ignore-fail-on-non-empty ${INCLUDE_PATH}/freetype/config
+   rmdir --ignore-fail-on-non-empty ${INCLUDE_PATH}/freetype
+   
+   ${RM} ${RM_FLAGS} ${BINARY_PATH}/freetype-config
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/GPL.txt
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/LICENSE.txt
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/README.PCF
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/libfreetype/freetype-2.3.11-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,41 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' freetype-2.3.11-orig/builds/unix/freetype-config.in freetype-2.3.11/builds/unix/freetype-config.in
+--- freetype-2.3.11-orig/builds/unix/freetype-config.in	2009-12-14 21:43:18 +0100
++++ freetype-2.3.11/builds/unix/freetype-config.in	2009-12-14 21:43:31 +0100
+@@ -131,12 +131,8 @@
+ fi
+ 
+ if test "$echo_cflags" = "yes" ; then
+-  cflags="-I$includedir/freetype2"
+-  if test "$includedir" != "/usr/include" ; then
+-    echo $cflags -I$includedir
+-  else
++  cflags=""
+     echo $cflags
+-  fi
+ fi
+ 
+ if test "$echo_libs" = "yes" ; then
+@@ -145,11 +141,7 @@
+     eval "rpath=\"$hardcode_libdir_flag_spec\""
+   fi
+   libs="-lfreetype @LIBZ@ @FT2_EXTRA_LIBS@"
+-  if test "$libdir" != "/usr/lib" && test "$libdir" != "/usr/lib64"; then
+-    echo -L$libdir $rpath $libs
+-  else
+     echo $libs
+-  fi
+ fi
+ 
+ if test "$echo_libtool" = "yes" ; then
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' freetype-2.3.11-orig/builds/unix/freetype2.in freetype-2.3.11/builds/unix/freetype2.in
+--- freetype-2.3.11-orig/builds/unix/freetype2.in	2009-12-14 21:43:18 +0100
++++ freetype-2.3.11/builds/unix/freetype2.in	2009-12-14 21:43:31 +0100
+@@ -7,6 +7,6 @@
+ Description: A free, high-quality, and portable font engine.
+ Version: @ft_version@
+ Requires:
+-Libs: -L${libdir} -lfreetype
++Libs: -lfreetype
+ Libs.private: @LIBZ@ @FT2_EXTRA_LIBS@
+-Cflags: -I${includedir}/freetype2 -I${includedir}
++Cflags: 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/libtiff/build-3.9.2-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,146 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=tiff
+# Version of Package
+VER=3.9.2
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.gz
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.9.2.tar.gz"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=
+
+# Herader files to install
+HEADERS_INSTALL="tiff.h tiffvers.h tiffio.h"
+HEADERS2_INSTALL="tiffconf.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL=""
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC="$CC $LIBGCCLDFLAGS" \
+     CXX="$CXX $LIBGCCLDFLAGS" \
+     F77="$F77 $LIBGCCLDFLAGS" \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS}" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --disable-cxx
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_nolibprefix ${BUILDDIR}/libtool
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/libtiff/.libs/tiff-3.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/libtiff/.libs/libtiff.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/libtiff/.libs/libtiff.a ${STATICLIB_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/libtiff/$a ${INCLUDE_PATH}
+   done
+   
+   for a in $HEADERS2_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/libtiff/$a ${INCLUDE_PATH}
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYRIGHT ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/tiff-3.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libtiff.dll.a
+   ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libtiff.a
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL $HEADERS2_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYRIGHT
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/pango/build-1.26.2-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,202 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=pango
+# Version of Package
+VER=1.26.2
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.bz2
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://ftp.gnome.org/pub/GNOME/sources/pango/1.26/pango-1.26.1.tar.bz2"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=include/pango
+
+# Herader files to install
+HEADERS_INSTALL="
+pango-attributes.h
+pango-bidi-type.h
+pango-break.h
+pango-context.h
+pango-coverage.h
+pango-engine.h
+pango-font.h
+pango-fontmap.h
+pango-fontset.h
+pango-glyph-item.h
+pango-glyph.h
+pango-gravity.h
+pango-item.h
+pango-language.h
+pango-layout.h
+pango-matrix.h
+pango-modules.h
+pango-ot.h
+pango-renderer.h
+pango-script.h
+pango-tabs.h
+pango-types.h
+pango-utils.h
+pango.h
+pangocairo.h
+pangofc-decoder.h
+pangofc-font.h
+pangofc-fontmap.h
+pangoft2.h
+pangowin32.h"
+
+HEADERSBUILD_INSTALL="
+pango-features.h
+pango-enum-types.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL="pango.pc pangocairo.pc pangoft2.pc pangowin32.pc"
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC="${CC} $LIBGCCLDFLAGS" \
+     CXX="${CXX} $LIBGCCLDFLAGS" \
+     F77="${F77} $LIBGCCLDFLAGS" \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     WINDRES="$RC --preprocessor=$CPP" \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS}" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --without-x \
+     --enable-explicit-deps=no \
+     --with-included-modules=yes
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_nolibprefix ${BUILDDIR}/libtool
+   touch -r ${BUILDDIR}/config.lt ${BUILDDIR}/libtool
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/.libs/pango-1.0-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/.libs/libpango-1.0.dll.a ${LIBRARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/.libs/pangocairo-1.0-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/.libs/libpangocairo-1.0.dll.a ${LIBRARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/.libs/pangoft2-1.0-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/.libs/libpangoft2-1.0.dll.a ${LIBRARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/.libs/pangowin32-1.0-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/.libs/libpangowin32-1.0.dll.a ${LIBRARY_PATH}
+   
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/.libs/pango-querymodules.exe    ${BINARY_PATH}
+
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/pango/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   for a in $HEADERSBUILD_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/pango/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/pango-1.0-0.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libpango-1.0.dll.a
+   
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/pangocairo-1.0-0.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libpangocairo-1.0.dll.a
+   
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/pangoft2-1.0-0.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libpangoft2-1.0.dll.a
+   
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/pangowin32-1.0-0.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libpangowin32-1.0.dll.a
+   
+   ${RM} ${RM_FLAGS} ${BINARY_PATH}/pango-querymodules.exe
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL $HEADERSBUILD_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/pango/pango-1.26.2-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,36 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' pango-1.26.1-orig/pango.pc.in pango-1.26.1/pango.pc.in
+--- pango-1.26.1-orig/pango.pc.in	2009-02-07 00:49:34 +0100
++++ pango-1.26.1/pango.pc.in	2009-12-14 22:01:49 +0100
+@@ -10,4 +10,4 @@
+ Version: @VERSION@
+ Requires: glib-2.0,gobject-2.0,gmodule-no-export-2.0
+ Libs: -L${libdir} -lpango-@PANGO_API_VERSION@ @PKGCONFIG_MATH_LIBS@
+-Cflags: -I${includedir}/pango-1.0
++Cflags: -I${includedir}/pango
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' pango-1.26.1-orig/pangocairo.pc.in pango-1.26.1/pangocairo.pc.in
+--- pango-1.26.1-orig/pangocairo.pc.in	2009-02-07 00:49:34 +0100
++++ pango-1.26.1/pangocairo.pc.in	2009-12-14 22:01:49 +0100
+@@ -8,4 +8,4 @@
+ Version: @VERSION@
+ Requires: pango cairo @PKGCONFIG_CAIRO_REQUIRES@
+ Libs: -L${libdir} -lpangocairo-@PANGO_API_VERSION@
+-Cflags: -I${includedir}/pango-1.0
++Cflags: -I${includedir}/pango
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' pango-1.26.1-orig/pangoft2.pc.in pango-1.26.1/pangoft2.pc.in
+--- pango-1.26.1-orig/pangoft2.pc.in	2009-02-07 00:49:34 +0100
++++ pango-1.26.1/pangoft2.pc.in	2009-12-14 22:01:49 +0100
+@@ -8,4 +8,4 @@
+ Version: @VERSION@
+ Requires: pango freetype2 fontconfig
+ Libs: -L${libdir} -lpangoft2-@PANGO_API_VERSION@
+-Cflags: -I${includedir}/pango-1.0
++Cflags: -I${includedir}/pango
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' pango-1.26.1-orig/pangowin32.pc.in pango-1.26.1/pangowin32.pc.in
+--- pango-1.26.1-orig/pangowin32.pc.in	2009-02-07 00:49:34 +0100
++++ pango-1.26.1/pangowin32.pc.in	2009-12-14 22:01:49 +0100
+@@ -8,4 +8,4 @@
+ Version: @VERSION@
+ Requires: pango
+ Libs: -L${libdir} -lpangowin32-@PANGO_API_VERSION@ @WIN32_LIBS@
+-Cflags: -I${includedir}/pango-1.0
++Cflags: -I${includedir}/pango
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/pcre/build-8.0-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,151 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=pcre
+# Version of Package
+VER=8.00
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.bz2
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://downloads.sourceforge.net/pcre/pcre-8.00.tar.bz2"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=
+
+# Header files to install
+HEADERS_INSTALL="pcre.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL="libpcre.pc libpcrecpp.pc"
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC="${CC} $LIBGCCLDFLAGS" \
+     CXX="${CXX} $LIBGCCLDFLAGS" \
+     F77="${F77} $LIBGCCLDFLAGS" \
+     CPP="$CPP $LIBGCCLDFLAGS" \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS}" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --enable-shared --enable-static \
+     --enable-utf8 \
+     --enable-unicode-properties \
+     --enable-newline-is-any \
+     --enable-pcregrep-libz \
+     --disable-cpp
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_all ${BUILDDIR}/libtool
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/.libs/pcre.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/.libs/libpcre.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/.libs/libpcre.a ${STATICLIB_PATH}
+   
+   # Install configure script
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pcre-config ${BINARY_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${INCLUDE_PATH}
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/LICENCE ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/pcre.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libpcre.dll.a
+   ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libpcre.a
+   
+   ${RM} ${RM_FLAGS} ${BINARY_PATH}/pcre-config
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/LICENCE
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/pixman/build-0.17.2-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,146 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=pixman
+# Version of Package
+VER=0.17.2
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.gz
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://www.cairographics.org/releases/pixman-$VER.tar.gz"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=
+
+# Herader files to install
+HEADERS_INSTALL="pixman/pixman.h"
+HEADERSBUILD_INSTALL="pixman/pixman-version.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL="pixman-1.pc"
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC="$CC $LIBGCCLDFLAGS" \
+     CXX="$CXX $LIBGCCLDFLAGS" \
+     F77="$F77 $LIBGCCLDFLAGS" \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS}" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --enable-shared
+   )
+   touch ${BUILDDIR}/have_configure
+   modify_libtool_nolibprefix ${BUILDDIR}/libtool
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pixman/.libs/pixman-1-0.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pixman/.libs/libpixman-1.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/pixman/.libs/libpixman-1.a ${STATICLIB_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   for a in $HEADERSBUILD_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/pixman-1-0.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libpixman-1.dll.a
+   ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libpixman-1.a
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL $HEADERSBUILD_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/pixman/pixman-0.17.2-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,11 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' pixman-0.17.2-orig/pixman-1.pc.in pixman-0.17.2/pixman-1.pc.in
+--- pixman-0.17.2-orig/pixman-1.pc.in	2008-12-18 16:30:03 +0100
++++ pixman-0.17.2/pixman-1.pc.in	2009-12-14 22:04:19 +0100
+@@ -6,6 +6,6 @@
+ Name: Pixman
+ Description: The pixman library (version 1)
+ Version: @PACKAGE_VERSION@
+-Cflags: -I${includedir}/pixman-1 @DEP_CFLAGS@
++Cflags: -I${includedir} @DEP_CFLAGS@
+ Libs: -L${libdir} -lpixman-1 @DEP_LIBS@
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/qhull/build-2010.1-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,153 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=qhull
+# Version of Package
+VER=2010.1
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}-src.tgz
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://www.qhull.org/download/qhull-2010.1-src.tgz"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=makefile
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=include/qhull
+
+# Herader files to install
+HEADERS_INSTALL="
+libqhull.h 
+user.h 
+qhull.h 
+qhull_a.h 
+geom.h 
+io.h 
+mem.h 
+merge.h 
+poly.h 
+random.h 
+qset.h 
+stat.h"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL=""
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+mkdirs_post() 
+{ 
+   # directory makefile is located
+   mkdir -p ${BUILDDIR}/src
+}
+
+conf()
+{
+   conf_pre;
+   substvars ${SRCDIR}/src/${MAKEFILE} ${BUILDDIR}/src/${MAKEFILE}
+   conf_post;
+}
+
+build()
+{
+   build_pre;
+   ( cd ${BUILDDIR}/src && make_common all lib )
+   build_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/qhull.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/libqhull.dll.a ${LIBRARY_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/src/libqhull.a ${STATICLIB_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/src/$a ${INCLUDE_PATH}
+   done
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/COPYING.txt ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/qhull.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libqhull.dll.a
+   ${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libqhull.a
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
+   done
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/COPYING.txt
+   
+   uninstall_post;
+}
+
+clean()
+{
+   clean_pre;
+   ( cd ${BUILDDIR}/src && make_common clean )
+   clean_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/qhull/qhull-2010.1-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,40 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' qhull-2010.1-orig/src/Makefile qhull-2010.1/src/Makefile
+--- qhull-2010.1-orig/src/Makefile	2010-01-10 02:14:07 +0100
++++ qhull-2010.1/src/Makefile	2010-01-17 20:44:36 +0100
+@@ -34,6 +34,11 @@
+ #
+ # Do not replace tabs with spaces.  Needed by 'make' for build rules
+ 
++SRCDIR = @SRCDIR@/src
++
++vpath %.c $(SRCDIR)
++vpath %.h $(SRCDIR)
++
+ BINDIR	= /usr/local/bin
+ MANDIR	= /usr/local/man/man1
+ 
+@@ -45,7 +50,7 @@
+ 
+ #for Gnu's gcc compiler -O2 for optimization, -g for debugging, -Wall for check
+ #   -fno-strict-aliasing not needed for gcc 4.4+ (segfault in qset.c)
+-CC  = gcc
++CC  ?= gcc
+ CCOPTS1 = -O2 -ansi -fno-strict-aliasing 
+ 
+ # for Sun's cc compiler, -fast or O2 for optimization, -g for debugging, -Xc for ANSI
+@@ -84,6 +89,15 @@
+ 
+ all: rbox qconvex qdelaunay qhalf qvoronoi qhull
+ 
++lib: libqhull.a qhull.dll
++
++qhull.dll : libqhull.a
++	$(CC) -shared $(LDFLAGS) -o $@ \
++	-Wl,--out-implib=$(<:.a=.dll.a) \
++	-Wl,--output-def=$@.exp \
++	-Wl,--whole-archive $< \
++	-Wl,--no-whole-archive
++
+ unix.o:	    libqhull.h user.h mem.h
+ qconvex.o:  libqhull.h user.h mem.h
+ qdelaun.o:  libqhull.h user.h mem.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/wxwidgets/build-2.8.10-4.sh	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,789 @@
+#! /usr/bin/sh
+
+# Name of package
+PKG=wxwidgets
+# Version of Package
+VER=2.8.10
+# Release of (this patched) package
+REL=4
+# Name&Version of Package
+PKGVER=${PKG}-${VER}
+# Full name of this patched Package
+FULLPKG=${PKGVER}-${REL}
+
+# Name of source file(s)
+SRCFILE=${PKGVER}.tar.bz2
+# Name of Patch file
+PATCHFILE=${FULLPKG}.patch
+
+# URL(s) of source code file(s)
+URL="http://downloads.sourceforge.net/project/wxwindows/wxAll/2.8.10/wxWidgets-2.8.10.tar.bz2"
+
+# Top dir of this building process (i.e. where the patch file and source file(s) reside)
+TOPDIR=`pwd`
+# Directory source code is extraced to (relative to TOPDIR)
+SRCDIR=${PKGVER}
+# Directory original source code is extracted to (for generating diffs) (relative to TOPDIR)
+SRCDIR_ORIG=${SRCDIR}-orig
+
+# Make file to use (optional)
+MAKEFILE=
+# Any extra flags to pass make to
+MAKE_XTRA=
+
+# subdirectory to install heraders to (empty for default)
+INCLUDE_DIR=include/wx-2.8
+
+# Herader files to install
+HEADERS_INSTALL="
+wx/afterstd.h 
+wx/app.h 
+wx/apptrait.h 
+wx/archive.h 
+wx/arrimpl.cpp 
+wx/arrstr.h 
+wx/beforestd.h 
+wx/buffer.h 
+wx/build.h 
+wx/chkconf.h 
+wx/clntdata.h 
+wx/cmdline.h 
+wx/confbase.h 
+wx/config.h 
+wx/convauto.h 
+wx/containr.h 
+wx/cpp.h 
+wx/datetime.h 
+wx/datstrm.h 
+wx/dde.h 
+wx/debug.h 
+wx/defs.h 
+wx/dir.h 
+wx/dlimpexp.h 
+wx/dynarray.h 
+wx/dynlib.h 
+wx/dynload.h 
+wx/encconv.h 
+wx/event.h 
+wx/except.h 
+wx/features.h 
+wx/ffile.h 
+wx/file.h 
+wx/fileconf.h 
+wx/filefn.h 
+wx/filename.h 
+wx/filesys.h 
+wx/fontenc.h 
+wx/fontmap.h 
+wx/fs_arc.h 
+wx/fs_filter.h 
+wx/fs_mem.h 
+wx/fs_zip.h 
+wx/hash.h 
+wx/hashmap.h 
+wx/hashset.h 
+wx/html/forcelnk.h 
+wx/iconloc.h 
+wx/init.h 
+wx/intl.h 
+wx/iosfwrap.h 
+wx/ioswrap.h 
+wx/ipc.h 
+wx/ipcbase.h 
+wx/isql.h 
+wx/isqlext.h 
+wx/link.h 
+wx/list.h 
+wx/listimpl.cpp 
+wx/log.h 
+wx/longlong.h 
+wx/math.h 
+wx/memconf.h 
+wx/memory.h 
+wx/memtext.h 
+wx/mimetype.h 
+wx/module.h 
+wx/msgout.h 
+wx/mstream.h 
+wx/object.h 
+wx/platform.h 
+wx/platinfo.h 
+wx/power.h 
+wx/process.h 
+wx/ptr_scpd.h 
+wx/recguard.h 
+wx/regex.h 
+wx/scopeguard.h 
+wx/snglinst.h 
+wx/sstream.h 
+wx/stack.h 
+wx/stackwalk.h 
+wx/stdpaths.h 
+wx/stockitem.h 
+wx/stopwatch.h 
+wx/strconv.h 
+wx/stream.h 
+wx/string.h 
+wx/sysopt.h 
+wx/tarstrm.h 
+wx/textbuf.h 
+wx/textfile.h 
+wx/thread.h 
+wx/thrimpl.cpp 
+wx/timer.h 
+wx/tokenzr.h 
+wx/txtstrm.h 
+wx/types.h 
+wx/uri.h 
+wx/utils.h 
+wx/variant.h 
+wx/vector.h 
+wx/version.h 
+wx/volume.h 
+wx/wfstream.h 
+wx/wx.h 
+wx/wxchar.h 
+wx/wxprec.h 
+wx/xti.h 
+wx/xtistrm.h 
+wx/zipstrm.h 
+wx/zstream.h 
+wx/msw/apptrait.h 
+wx/msw/apptbase.h 
+wx/msw/chkconf.h 
+wx/msw/crashrpt.h 
+wx/msw/dde.h 
+wx/msw/debughlp.h 
+wx/msw/gccpriv.h 
+wx/msw/libraries.h 
+wx/msw/mimetype.h 
+wx/msw/mslu.h 
+wx/msw/private.h 
+wx/msw/regconf.h 
+wx/msw/registry.h 
+wx/msw/seh.h 
+wx/msw/stackwalk.h 
+wx/msw/stdpaths.h 
+wx/msw/winundef.h 
+wx/msw/wrapcctl.h 
+wx/msw/wrapcdlg.h 
+wx/msw/wrapwin.h  
+wx/fs_inet.h 
+wx/gsocket.h 
+wx/protocol/file.h 
+wx/protocol/ftp.h 
+wx/protocol/http.h 
+wx/protocol/protocol.h 
+wx/sckaddr.h 
+wx/sckipc.h 
+wx/sckstrm.h 
+wx/socket.h 
+wx/url.h 
+wx/msw/gsockmsw.h  
+wx/xml/xml.h 
+wx/xtixml.h 
+wx/db.h 
+wx/dbkeyg.h 
+wx/dbtable.h 
+wx/bmpbuttn.h 
+wx/brush.h 
+wx/button.h 
+wx/checkbox.h 
+wx/checklst.h 
+wx/choicdlg.h 
+wx/choice.h 
+wx/cmndata.h 
+wx/collpane.h 
+wx/combo.h 
+wx/combobox.h 
+wx/control.h 
+wx/ctrlsub.h 
+wx/cursor.h 
+wx/dc.h 
+wx/dcclient.h 
+wx/dcgraph.h 
+wx/dcmemory.h 
+wx/dcprint.h 
+wx/dcscreen.h 
+wx/dialog.h 
+wx/dirdlg.h 
+wx/dragimag.h 
+wx/encinfo.h 
+wx/filedlg.h 
+wx/frame.h 
+wx/gauge.h 
+wx/gbsizer.h 
+wx/gdicmn.h 
+wx/generic/accel.h 
+wx/generic/buttonbar.h 
+wx/generic/choicdgg.h 
+wx/generic/clrpickerg.h 
+wx/generic/collpaneg.h 
+wx/generic/colrdlgg.h 
+wx/generic/combo.h 
+wx/generic/dcpsg.h 
+wx/generic/dirctrlg.h 
+wx/generic/dragimgg.h 
+wx/generic/filedlgg.h 
+wx/generic/filepickerg.h 
+wx/generic/fontdlgg.h 
+wx/generic/fontpickerg.h 
+wx/generic/logg.h 
+wx/generic/msgdlgg.h 
+wx/generic/numdlgg.h 
+wx/generic/notebook.h 
+wx/generic/panelg.h 
+wx/generic/prntdlgg.h 
+wx/generic/printps.h 
+wx/generic/progdlgg.h 
+wx/generic/scrolwin.h 
+wx/generic/spinctlg.h 
+wx/generic/splitter.h 
+wx/generic/srchctlg.h 
+wx/generic/textdlgg.h 
+wx/generic/timer.h 
+wx/generic/treectlg.h 
+wx/graphics.h 
+wx/helphtml.h 
+wx/icon.h 
+wx/layout.h 
+wx/listbox.h 
+wx/mdi.h 
+wx/menu.h 
+wx/msgdlg.h 
+wx/numdlg.h 
+wx/overlay.h 
+wx/palette.h 
+wx/panel.h 
+wx/pen.h 
+wx/radiobox.h 
+wx/radiobut.h 
+wx/renderer.h 
+wx/scrolbar.h 
+wx/scrolbar.h 
+wx/scrolwin.h 
+wx/selstore.h 
+wx/settings.h 
+wx/sizer.h 
+wx/slider.h 
+wx/statbmp.h 
+wx/statbox.h 
+wx/stattext.h 
+wx/statusbr.h 
+wx/textctrl.h 
+wx/textdlg.h 
+wx/toolbar.h 
+wx/validate.h 
+wx/valtext.h 
+wx/window.h 
+wx/wupdlock.h 
+wx/accel.h 
+wx/access.h 
+wx/anidecod.h 
+wx/artprov.h 
+wx/bitmap.h 
+wx/bookctrl.h 
+wx/busyinfo.h 
+wx/generic/busyinfo.h 
+wx/caret.h 
+wx/choicebk.h 
+wx/clipbrd.h 
+wx/clrpicker.h 
+wx/cmdproc.h 
+wx/colordlg.h 
+wx/colour.h 
+wx/cshelp.h 
+wx/dataobj.h 
+wx/dcmirror.h 
+wx/dcps.h 
+wx/dialup.h 
+wx/dirctrl.h 
+wx/display.h 
+wx/display_impl.h 
+wx/dnd.h 
+wx/docmdi.h 
+wx/docview.h 
+wx/effects.h 
+wx/evtloop.h 
+wx/fdrepdlg.h 
+wx/filepicker.h 
+wx/fontpicker.h 
+wx/fmappriv.h 
+wx/font.h 
+wx/fontdlg.h 
+wx/fontenum.h 
+wx/fontutil.h 
+wx/gdiobj.h 
+wx/geometry.h 
+wx/gifdecod.h 
+wx/glcanvas.h 
+wx/help.h 
+wx/helpbase.h 
+wx/helpwin.h 
+wx/iconbndl.h 
+wx/imagbmp.h 
+wx/image.h 
+wx/imaggif.h 
+wx/imagiff.h 
+wx/imagjpeg.h 
+wx/imaglist.h 
+wx/imagpcx.h 
+wx/imagpng.h 
+wx/imagpnm.h 
+wx/imagtga.h 
+wx/imagtiff.h 
+wx/imagxpm.h 
+wx/listbase.h 
+wx/listbook.h 
+wx/listctrl.h 
+wx/matrix.h 
+wx/menuitem.h 
+wx/metafile.h 
+wx/minifram.h 
+wx/notebook.h 
+wx/ownerdrw.h 
+wx/paper.h 
+wx/pickerbase.h 
+wx/popupwin.h 
+wx/print.h 
+wx/printdlg.h 
+wx/prntbase.h 
+wx/progdlg.h 
+wx/ptr_scpd.h 
+wx/quantize.h 
+wx/rawbmp.h 
+wx/region.h 
+wx/scopeguard.h 
+wx/spinbutt.h 
+wx/spinctrl.h 
+wx/splitter.h 
+wx/srchctrl.h 
+wx/statline.h 
+wx/tab.h 
+wx/tabctrl.h 
+wx/tbarbase.h 
+wx/tglbtn.h 
+wx/tipwin.h 
+wx/toolbook.h 
+wx/tooltip.h 
+wx/toplevel.h 
+wx/treebase.h 
+wx/treebook.h 
+wx/treectrl.h 
+wx/valgen.h 
+wx/vidmode.h 
+wx/vlbox.h 
+wx/vms_x_fix.h 
+wx/vscroll.h 
+wx/xpmdecod.h 
+wx/xpmhand.h
+wx/msw/popupwin.h
+wx/msw/uxtheme.h
+wx/msw/uxthemep.h
+wx/msw/htmlhelp.h
+wx/msw/helpchm.h
+wx/msw/helpwin.h
+wx/generic/clrpickerg.h
+wx/generic/fontpickerg.h
+wx/generic/filepickerg.h
+wx/msw/accel.h
+wx/msw/app.h
+wx/msw/bitmap.h
+wx/msw/bmpbuttn.h
+wx/msw/brush.h
+wx/msw/button.h
+wx/msw/caret.h
+wx/msw/checkbox.h
+wx/msw/choice.h
+wx/msw/clipbrd.h
+wx/msw/colordlg.h
+wx/msw/colour.h
+wx/msw/combo.h
+wx/msw/combobox.h
+wx/msw/control.h
+wx/msw/cursor.h
+wx/msw/dc.h
+wx/msw/dcclient.h
+wx/msw/dcmemory.h
+wx/msw/dcprint.h
+wx/msw/dcscreen.h
+wx/msw/dialog.h
+wx/msw/dib.h
+wx/msw/dirdlg.h
+wx/msw/dragimag.h
+wx/msw/enhmeta.h
+wx/msw/evtloop.h
+wx/msw/filedlg.h
+wx/msw/font.h
+wx/msw/frame.h
+wx/msw/gauge95.h
+wx/msw/gdiimage.h
+wx/msw/icon.h
+wx/msw/imaglist.h
+wx/msw/iniconf.h
+wx/msw/listbox.h
+wx/msw/listctrl.h
+wx/msw/mdi.h
+wx/msw/menu.h
+wx/msw/menuitem.h
+wx/msw/metafile.h
+wx/msw/minifram.h
+wx/msw/missing.h
+wx/msw/msgdlg.h
+wx/msw/msvcrt.h
+wx/msw/notebook.h
+wx/msw/ole/access.h
+wx/msw/ole/dataform.h
+wx/msw/ole/dataobj.h
+wx/msw/ole/dataobj2.h
+wx/msw/ole/dropsrc.h
+wx/msw/ole/droptgt.h
+wx/msw/ole/oleutils.h
+wx/msw/palette.h
+wx/msw/pen.h
+wx/msw/printdlg.h
+wx/msw/printwin.h
+wx/msw/radiobox.h
+wx/msw/radiobut.h
+wx/msw/region.h
+wx/msw/rcdefs.h
+wx/msw/scrolbar.h
+wx/msw/setup0.h
+wx/msw/slider95.h
+wx/msw/spinbutt.h
+wx/msw/spinctrl.h
+wx/msw/statbmp.h
+wx/msw/statbox.h
+wx/msw/statbr95.h
+wx/msw/statline.h
+wx/msw/stattext.h
+wx/msw/tabctrl.h
+wx/msw/tbar95.h
+wx/msw/textctrl.h
+wx/msw/tglbtn.h
+wx/msw/timer.h
+wx/msw/tooltip.h
+wx/msw/toplevel.h
+wx/msw/treectrl.h
+wx/msw/window.h
+wx/msw/wx.manifest
+wx/msw/amd64.manifest
+wx/msw/ia64.manifest
+wx/msw/wx.rc
+wx/msw/colours.bmp
+wx/msw/csquery.bmp
+wx/msw/blank.cur
+wx/msw/bullseye.cur
+wx/msw/cross.cur
+wx/msw/hand.cur
+wx/msw/magnif1.cur
+wx/msw/pbrush.cur
+wx/msw/pencil.cur
+wx/msw/pntleft.cur
+wx/msw/pntright.cur
+wx/msw/rightarr.cur
+wx/msw/roller.cur
+wx/msw/cdrom.ico
+wx/msw/child.ico
+wx/msw/computer.ico
+wx/msw/drive.ico
+wx/msw/file1.ico
+wx/msw/floppy.ico
+wx/msw/folder1.ico
+wx/msw/folder2.ico
+wx/msw/mdi.ico
+wx/msw/question.ico
+wx/msw/removble.ico
+wx/msw/std.ico
+wx/msw/checklst.h
+wx/msw/fdrepdlg.h
+wx/msw/fontdlg.h
+wx/msw/ole/automtn.h
+wx/msw/ole/uuid.h
+wx/animate.h
+wx/animdecod.h
+wx/bmpcbox.h
+wx/calctrl.h
+wx/dataview.h
+wx/datectrl.h
+wx/dateevt.h
+wx/dcbuffer.h
+wx/aboutdlg.h
+wx/generic/aboutdlgg.h
+wx/generic/animate.h
+wx/generic/bmpcbox.h
+wx/generic/calctrl.h
+wx/generic/datectrl.h
+wx/generic/dataview.h
+wx/generic/grid.h
+wx/generic/gridctrl.h
+wx/generic/gridsel.h
+wx/generic/helpext.h
+wx/generic/laywin.h
+wx/generic/propdlg.h
+wx/generic/sashwin.h
+wx/generic/splash.h
+wx/generic/wizard.h
+wx/grid.h
+wx/hyperlink.h
+wx/joystick.h
+wx/laywin.h
+wx/odcombo.h
+wx/propdlg.h
+wx/sashwin.h
+wx/sound.h
+wx/splash.h
+wx/taskbar.h
+wx/tipdlg.h
+wx/wave.h
+wx/wizard.h
+wx/msw/sound.h
+wx/msw/taskbar.h
+wx/msw/joystick.h
+wx/msw/datectrl.h
+wx/mediactrl.h
+wx/msw/ole/activex.h
+wx/html/helpctrl.h
+wx/html/helpdata.h
+wx/html/helpdlg.h
+wx/html/helpfrm.h
+wx/html/helpwnd.h
+wx/html/htmlcell.h
+wx/html/htmldefs.h
+wx/html/htmlfilt.h
+wx/html/htmlpars.h
+wx/html/htmlproc.h
+wx/html/htmltag.h
+wx/html/htmlwin.h
+wx/html/htmprint.h
+wx/html/m_templ.h
+wx/html/winpars.h
+wx/wxhtml.h
+wx/htmllbox.h
+wx/msw/helpbest.h
+wx/msw/glcanvas.h
+wx/debugrpt.h
+wx/dbgrid.h
+wx/xrc/xh_all.h
+wx/xrc/xh_animatctrl.h
+wx/xrc/xh_bmpbt.h
+wx/xrc/xh_bmp.h
+wx/xrc/xh_bmpcbox.h
+wx/xrc/xh_bttn.h
+wx/xrc/xh_cald.h
+wx/xrc/xh_chckb.h
+wx/xrc/xh_chckl.h
+wx/xrc/xh_choic.h
+wx/xrc/xh_choicbk.h
+wx/xrc/xh_clrpicker.h
+wx/xrc/xh_collpane.h
+wx/xrc/xh_combo.h
+wx/xrc/xh_datectrl.h
+wx/xrc/xh_dirpicker.h
+wx/xrc/xh_dlg.h
+wx/xrc/xh_filepicker.h
+wx/xrc/xh_fontpicker.h
+wx/xrc/xh_frame.h
+wx/xrc/xh_mdi.h
+wx/xrc/xh_gauge.h
+wx/xrc/xh_gdctl.h
+wx/xrc/xh_grid.h
+wx/xrc/xh_html.h
+wx/xrc/xh_hyperlink.h
+wx/xrc/xh_listb.h
+wx/xrc/xh_listbk.h
+wx/xrc/xh_listc.h
+wx/xrc/xh_menu.h
+wx/xrc/xh_notbk.h
+wx/xrc/xh_odcombo.h
+wx/xrc/xh_panel.h
+wx/xrc/xh_propdlg.h
+wx/xrc/xh_radbt.h
+wx/xrc/xh_radbx.h
+wx/xrc/xh_scrol.h
+wx/xrc/xh_scwin.h
+wx/xrc/xh_htmllbox.h
+wx/xrc/xh_sizer.h
+wx/xrc/xh_slidr.h
+wx/xrc/xh_spin.h
+wx/xrc/xh_split.h
+wx/xrc/xh_statbar.h
+wx/xrc/xh_stbmp.h
+wx/xrc/xh_stbox.h
+wx/xrc/xh_stlin.h
+wx/xrc/xh_sttxt.h
+wx/xrc/xh_text.h
+wx/xrc/xh_tglbtn.h
+wx/xrc/xh_toolb.h
+wx/xrc/xh_tree.h
+wx/xrc/xh_treebk.h
+wx/xrc/xh_unkwn.h
+wx/xrc/xh_wizrd.h
+wx/xrc/xmlres.h
+wx/aui/framemanager.h
+wx/aui/dockart.h
+wx/aui/floatpane.h
+wx/aui/auibook.h
+wx/aui/tabmdi.h
+wx/aui/auibar.h
+wx/aui/aui.h
+wx/richtext/richtextctrl.h
+wx/richtext/richtextbuffer.h
+wx/richtext/richtexthtml.h
+wx/richtext/richtextstyles.h
+wx/richtext/richtextxml.h
+wx/richtext/richtextformatdlg.h
+wx/richtext/richtextsymboldlg.h
+wx/richtext/richtextstyledlg.h
+wx/richtext/richtextprint.h
+"
+HEADERS2_INSTALL="
+wx/setup.h
+wx/msw/rcdefs.h
+"
+HEADERS_DIRS="aui generic html meta msw/ole msw persist propgrid protocol richtext stc xml xrc"
+
+# pkg-config .pc files to install
+PKG_CONFIG_INSTALL=""
+
+# Additional DIFF Flags for generating diff file
+DIFF_FLAGS=
+
+# load common functions
+source ../gcc44_common.sh
+
+# Directory the lib is built in (set this *after* loading gcc44_common.sh)
+BUILDDIR=".build_${BUILD_TARGET}_${FULLPKG}_gcc${GCC_VERSION}${GCC_SYSTEM}"
+
+# == override resp. specify build actions ==
+
+# wxwidgets' configrue script does not honour CXXLIBS,
+# so specify them explicitly when calling make
+MAKE_XTRA="CXXLIBS=$CXXLIBS"
+
+conf()
+{
+   conf_pre;
+   ( cd ${BUILDDIR} && ${TOPDIR}/${SRCDIR}/configure \
+     --srcdir=${TOPDIR}/${SRCDIR} \
+     CC=$CC \
+     CXX=$CXX \
+     F77=$F77 \
+     CPP=$CPP \
+     AR=$AR \
+     RANLIB=$RANLIB \
+     RC=$RC \
+     STRIP=$STRIP \
+     LD=$LD \
+     WINDRES="windres --preprocessor=$CPP" \
+     CFLAGS="$CFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CXXFLAGS="$CXXFLAGS ${GCC_ARCH_FLAGS} ${GCC_OPT_FLAGS} -Wall" \
+     CPPFLAGS="$CPPFLAGS" \
+     LDFLAGS="${LDFLAGS} -Wl,--allow-multiple-definition" \
+     CXXLIBS="${CXXLIBS}" \
+     --prefix=${PREFIX} \
+     --enable-monolithic \
+     --enable-shared \
+     --enable-unicode
+   )
+   touch ${BUILDDIR}/have_configure
+   conf_post;
+}
+
+install()
+{
+   install_pre;
+   
+   # Install library, import library and static library
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/lib/wxmsw28u_gcc_custom.dll ${SHAREDLIB_PATH}
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/lib/libwx_mswu-2.8.dll.a ${LIBRARY_PATH}
+   # ${CP} ${CP_FLAGS} ${BUILDDIR}/libglob.a ${STATICLIB_PATH}
+   
+   # Install pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/$a ${PKGCONFIGDATA_PATH}
+   done
+   
+   # Install headers
+   for a in $HEADERS_DIRS; do
+      mkdir -vp ${INCLUDE_PATH}/wx/$a
+   done
+   
+   for a in $HEADERS_INSTALL; do
+      ${CP} ${CP_FLAGS} ${SRCDIR}/include/$a ${INCLUDE_PATH}/$a
+   done
+   
+   for a in $HEADERS2_INSTALL; do
+      ${CP} ${CP_FLAGS} ${BUILDDIR}/lib/wx/include/msw-unicode-release-2.8/$a ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   mkdir ${LIBRARY_PATH}/wx
+   mkdir ${LIBRARY_PATH}/wx/config
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/lib/wx/config/msw-unicode-release-2.8 ${LIBRARY_PATH}/wx/config
+   
+   # Install various tools
+   ${CP} ${CP_FLAGS} ${BUILDDIR}/wx-config ${BINARY_PATH}
+   #${CP} ${CP_FLAGS} ${BUILDDIR}/utils/wxrc.exe ${BINARY_PATH}
+   
+   # Install license file
+   ${CP} ${CP_FLAGS} ${SRCDIR}/docs/licence.txt ${LICENSE_PATH}/${PKG}
+   ${CP} ${CP_FLAGS} ${SRCDIR}/docs/gpl.txt ${LICENSE_PATH}/${PKG}
+   ${CP} ${CP_FLAGS} ${SRCDIR}/docs/lgpl.txt ${LICENSE_PATH}/${PKG}
+   
+   install_post;
+}
+
+uninstall()
+{
+   uninstall_pre;
+   
+   # Install library, import library and static library
+   ${RM} ${RM_FLAGS} ${SHAREDLIB_PATH}/wxmsw280u_gcc_custom.dll
+   ${RM} ${RM_FLAGS} ${LIBRARY_PATH}/libwx_mswu-2.8.dll.a
+   #${RM} ${RM_FLAGS} ${STATICLIB_PATH}/libglob.a
+   
+   # Uninstall headers
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/$a
+   done
+   
+   for a in $HEADERS_INSTALL; do
+      ${RM} ${RM_FLAGS} ${INCLUDE_PATH}/`basename $a`
+   done
+   
+   for a in $HEADERS_DIRS; do
+      rmdir --ignore-fail-if-non-empty ${INCLUDE_PATH}/wx/$a
+   done
+   
+   ${RM} ${RM_FLAGS} ${BUILDDIR}/lib/wx/config/msw-unicode-release-2.9 ${LIBRARY_PATH}/wx/config
+   rmdir --ignore-fail-if-non-empty ${LIBRARY_PATH}/wx/config
+   rmdir --ignore-fail-if-non-empty ${LIBRARY_PATH}/wx
+   
+   # Uninstall pkg-config .pc files
+   for a in $PKG_CONFIG_INSTALL; do
+      ${RM} ${RM_FLAGS} ${PKGCONFIGDATA_PATH}/$a
+   done
+   
+   # uninstall tools
+   ${RM} ${RM_FLAGS} ${BINARY_PATH}/wx-config
+   #${RM} ${RM_FLAGS} ${BINARY_PATH}/wxrc.exe
+   
+   # Uninstall license file
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/licence.txt
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/gpl.txt
+   ${RM} ${RM_FLAGS} ${LICENSE_PATH}/${PKG}/lgpl.txt
+   
+   uninstall_post;
+}
+
+all() {
+  download
+  unpack
+  applypatch
+  mkdirs
+  conf
+  build
+  install
+}
+
+main $*
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/Windows/mingw32/wxwidgets/wxwidgets-2.8.10-4.patch	Mon Feb 15 21:38:47 2010 +0000
@@ -0,0 +1,12 @@
+diff -urN -x '*.exe' -x '*.dll' -x '*.o' -x '*.a' -x '*.bak' -x '~' -x .hg -x '*.orig' wxwidgets-2.8.10-orig/Makefile.in wxwidgets-2.8.10/Makefile.in
+--- wxwidgets-2.8.10-orig/Makefile.in	2009-03-06 13:11:16 +0100
++++ wxwidgets-2.8.10/Makefile.in	2009-12-14 22:15:55 +0100
+@@ -11669,7 +11669,7 @@
+ @COND_SHARED_0_wxUSE_EXPAT_builtin@	rm -f $(DESTDIR)$(libdir)/$(LIBPREFIX)wxexpat$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)-$(WX_RELEASE)$(HOST_SUFFIX)$(LIBEXT)
+ 
+ @COND_MONOLITHIC_1_SHARED_1@$(LIBDIRNAME)/$(DLLPREFIX)$(WXDLLNAMEPREFIXGUI)$(WXUNICODEFLAG)$(WXDEBUGFLAG)$(WX_LIB_FLAVOUR)$(WXCOMPILER)$(VENDORTAG)$(WXDLLVERSIONTAG)$(dll___targetsuf3): $(MONODLL_OBJECTS) $(__wxtiff___depname) $(__wxjpeg___depname) $(__wxpng___depname) $(__wxexpat___depname) $(__wxzlib___depname) $(__wxodbc___depname) $(__wxregex___depname) $(__monodll___win32rc)
+-@COND_MONOLITHIC_1_SHARED_1@	$(SHARED_LD_CXX) $@ $(MONODLL_OBJECTS)    -L$(LIBDIRNAME) $(__monodll___macinstnamecmd) $(__monodll___importlib) $(__monodll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS)  $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(EXTRALIBS_XML) $(EXTRALIBS_HTML) $(EXTRALIBS_MEDIA) $(EXTRALIBS_ODBC) $(PLUGIN_ADV_EXTRALIBS) $(LIBS)
++@COND_MONOLITHIC_1_SHARED_1@	$(SHARED_LD_CXX) $@ $(MONODLL_OBJECTS)    -L$(LIBDIRNAME) $(__monodll___macinstnamecmd) $(__monodll___importlib) $(__monodll___soname_flags) $(WXMACVERSION_CMD) $(LDFLAGS)  $(__LIB_TIFF_p) $(__LIB_JPEG_p) $(__LIB_PNG_p) $(EXTRALIBS_FOR_GUI) $(__LIB_ZLIB_p) $(__LIB_ODBC_p) $(__LIB_REGEX_p) $(__LIB_EXPAT_p) $(EXTRALIBS_FOR_BASE) $(EXTRALIBS_XML) $(EXTRALIBS_HTML) $(EXTRALIBS_MEDIA) $(EXTRALIBS_ODBC) $(PLUGIN_ADV_EXTRALIBS) $(LIBS) $(CXXLIBS)
+ @COND_MONOLITHIC_1_SHARED_1@	
+ @COND_MONOLITHIC_1_SHARED_1@	$(__monodll___so_symlinks_cmd)
+