]>
Commit | Line | Data |
---|---|---|
b1a8def8 RN |
1 | #!/bin/bash |
2 | # NB Annoyingly pushd/popd are bashisms! | |
3 | # | |
ba3695b5 RN |
4 | # License: CC0 |
5 | # | |
b1a8def8 RN |
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... | |
8 | # | |
9 | ||
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 | |
14 | mkdir cache | |
15 | fi | |
16 | pushd cache | |
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 | |
20 | fi | |
21 | wine $WGET_EXE \/silent | |
22 | popd | |
23 | fi | |
24 | ||
25 | wine ~/.wine/drive_c/windows/system32/cmd.exe /c prepare.bat | |
bdc7a436 RN |
26 | |
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/ |