2 # NB Annoyingly pushd/popd are bashisms!
6 # You don't want to do this on a previously configured/built Linux source tree
7 # as the build system will get confused so make clean and start again...
10 # Ensure a basic Windows compatible system is set up
11 # Use wget to get wget!
12 if [ ! -e ~/.wine/drive_c/Program\ Files/GnuWin32/bin/wget.exe ]; then
13 if [ ! -e cache ]; then
17 WGET_EXE=wget-1.11.4-1-setup.exe
18 if [ ! -e $WGET_EXE ]; then
19 wget http://downloads.sourceforge.net/gnuwin32/$WGET_EXE
21 wine $WGET_EXE \/silent
25 wine ~/.wine/drive_c/windows/system32/cmd.exe /c prepare.bat
27 # Fix broken Mapnik 2.2.0 shipped unicode headers
28 cp -f /usr/include/x86_64-linux-gnu/unicode/*.h ~/.wine/drive_c/MinGW/include/unicode/