mingw-get install msys-wget && \ mkdir comp && \ cd comp && \ wget http://zlib.net/zlib-1.2.5.tar.bz2 && \ tar xvjf zlib-1.2.5.tar.bz2 && \ cd zlib-1.2.5 && \ make -j3 -f win32/Makefile.gcc && \ make -f win32/Makefile.gcc install BINARY_PATH="c:/MinGW/bin" LIBRARY_PATH="c:/MinGW/lib" INCLUDE_PATH="c:/MinGW/include" && \ cp zlib1.dll c:/MinGW/bin/libz.dll && \ cd .. && \ wget ftp://sourceware.org/pub/libffi/libffi-3.0.9.tar.gz && \ tar xvzf libffi-3.0.9.tar.gz && \ cd libffi-3.0.9 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" ./configure --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://ftp.acc.umu.se/pub/gnome/sources/glib/2.30/glib-2.30.1.tar.xz && \ tar xvaf glib-2.30.1.tar.xz && \ cd glib-2.30.1 && \ sed -i 's/tests//g' gio/Makefile.am glib/Makefile.am gobject/Makefile.am && \ sed -i 's/tests$//g' gio/Makefile.in glib/Makefile.in gobject/Makefile.in && \ sed -i 's~gdbus-2.0/codegen~~g' gio/Makefile.am gio/Makefile.in && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" LIBFFI_CFLAGS="-Ic:/MinGW/lib/libffi-3.0.9/include" LIBFFI_LIBS="-lffi" ./configure --disable-static --enable-shared --with-threads=win32 --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.26.tar.gz && \ tar xvzf pkg-config-0.26.tar.gz &&\ cd pkg-config-0.26 &&\ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" GLIB_LIBS="-lglib-2.0" GLIB_CFLAGS="-Ic:/MinGW/include/glib-2.0 -Ic:/MinGW/lib/glib-2.0/include" ./configure --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget ftp://xmlsoft.org/libxml2/libxml2-2.7.8.tar.gz && \ tar xvzf libxml2-2.7.8.tar.gz && \ cd libxml2-2.7.8 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" ./configure --disable-static --enable-shared --without-icu --without-python --disable-ipv6 --without-threads --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://www.ijg.org/files/jpegsrc.v8c.tar.gz && \ tar xvzf jpegsrc.v8c.tar.gz && \ cd jpeg-8c && \ sed -i 's/long INT32/int INT32/g' jmorecfg.h && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" ./configure --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://download.osgeo.org/libtiff/tiff-4.0.0beta7.tar.gz && \ tar xvzf tiff-4.0.0beta7.tar.gz && \ cd tiff-4.0.0beta7 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" ./configure --disable-static --enable-shared --enable-zlib --enable-jpeg --without-x --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget ftp://ftp.simplesystems.org/pub/png/src/libpng-1.5.6.tar.xz && \ tar xvaf libpng-1.5.6.tar.xz && \ cd libpng-1.5.6 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" ./configure --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.24/gdk-pixbuf-2.24.0.tar.xz && \ tar xvaf gdk-pixbuf-2.24.0.tar.xz && \ cd gdk-pixbuf-2.24.0 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" PKG_CONFIG_PATH="c:/MinGW/lib/pkgconfig" ./configure --disable-static --enable-shared --with-libjpeg --with-libtiff --with-libpng --disable-introspection --prefix=c:/MinGW/ && \ sed -i 's/docs tests//g' Makefile && \ make -j3 && make install && cd .. && \ wget http://cairographics.org/releases/pixman-0.24.0.tar.gz && \ tar xvzf pixman-0.24.0.tar.gz && \ cd pixman-0.24.0 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" ./configure --disable-static --enable-shared --enable-mmx --enable-sse2 --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://downloads.sourceforge.net/project/freetype/freetype2/2.4.7/freetype-2.4.7.tar.bz2 && \ tar xvjf freetype-2.4.7.tar.bz2 && \ cd freetype-2.4.7 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" ./configure --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://freedesktop.org/software/fontconfig/release/fontconfig-2.8.0.tar.gz && \ tar xvzf fontconfig-2.8.0.tar.gz && \ cd fontconfig-2.8.0 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" PKG_CONFIg_PATH="c:/MinGW/lib/pkgconfig" ./configure --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://downloads.sourceforge.net/project/glew/glew/1.7.0/glew-1.7.0.tgz && \ tar xvzf glew-1.7.0.tgz && \ cd glew-1.7.0 && \ make -j3 && make GLEW_DEST="c:/MinGW/" install.all && cd .. && \ wget http://cairographics.org/releases/cairo-1.10.2.tar.gz && \ tar xvzf cairo-1.10.2.tar.gz && \ cd cairo-1.10.2 && \ sed -i 's/\"-lGL\"/\"-lopengl32\"/g' configure && \ CFLAGS="-O0 -g3 -ggdb3 -pipe" PKG_CONFIG_PATH="c:/MinGW/lib/pkgconfig" ./configure --disable-static --enable-shared --enable-svg --enable-pdf --enable-ps --enable-png --enable-xml --enable-pthread --enable-gobject --enable-gl --prefix=c:/MinGW/ && \ sed -i 's/cairo gl/cairo/g' src/cairo-gl.pc && \ sed -i 's/gl libpng/libpng/g' src/cairo.pc && \ make -j3 && make install && cd .. && \ wget http://ftp.gnome.org/pub/gnome/sources/pango/1.29/pango-1.29.4.tar.xz && \ tar xvaf pango-1.29.4.tar.xz && \ cd pango-1.29.4 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" CFLAGS="-march=i486" PKG_CONFIG_PATH="c:/MinGW/lib/pkgconfig" ./configure --with-included-modules=basic-win32 --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://ftp.gnome.org/pub/gnome/sources/libcroco/0.6/libcroco-0.6.2.tar.bz2 && \ tar xvjf libcroco-0.6.2.tar.bz2 && \ cd libcroco-0.6.2 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" PKG_CONFIG_PATH="c:/MinGW/lib/pkgconfig" ./configure --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://ftp.gnome.org/pub/gnome/sources/librsvg/2.34/librsvg-2.34.1.tar.bz2 && \ tar xvjf librsvg-2.34.1.tar.bz2 && \ cd librsvg-2.34.1 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" PKG_CONFIG_PATH="c:/MinGW/lib/pkgconfig" ./configure --disable-static --enable-shared --with-croco --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://poppler.freedesktop.org/poppler-0.18.1.tar.gz && \ tar xvzf poppler-0.18.1.tar.gz && \ cd poppler-0.18.1 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" PKG_CONFIG_PATH="c:/MinGW/lib/pkgconfig" ./configure --without-x --disable-static --enable-shared --enable-zlib --enable-libjpeg --enable-libpng --enable-cairo-output --disable-introspection --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://ftp.gnome.org/pub/gnome/sources/atk/2.2/atk-2.2.0.tar.bz2 && \ tar xvjf atk-2.2.0.tar.bz2 && \ cd atk-2.2.0 && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" PKG_CONFIG_PATH="c:/MinGW/lib/pkgconfig" ./configure --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && make install && cd .. && \ wget http://ftp.gnome.org/pub/gnome/sources/gtk+/3.2/gtk+-3.2.1.tar.xz && \ tar xvaf gtk+-3.2.1.tar.xz && \ cd gtk+-3.2.1 && \ sed -i 's/modules demos tests perf examples//g' Makefile.in Makefile.am && \ sed -i 's/\. tests/\./g' gtk/Makefile.in gtk/Makefile.am gdk/Makefile.in gdk/Makefile.am && \ sed -i 's/quartz tests/quartz/g' gdk/Makefile.in gdk/Makefile.am && \ sed -i 's/ -luuid/ /g' gtk/Makefile.am gtk/Makefile.in && \ CFLAGS="-march=i686 -O0 -g3 -ggdb3 -pipe" PKG_CONFIG_PATH="c:/MinGW/lib/pkgconfig" ./configure --disable-modules --disable-packagekit --disable-papi --disable-introspection --disable-static --enable-shared --prefix=c:/MinGW/ && \ make -j3 && \ make install