deluxe: always use a MINIMUM light contribution from ambient
[divverent/netradiant.git] / install-dlls.sh
1 #!/bin/sh
2
3 set -ex
4
5 : ${WHICHDLL:=which}
6 : ${GTKDIR:=/gtk}
7 : ${CP:=cp}
8 : ${CAT:=cat}
9 : ${MKDIR:=mkdir -p}
10
11 for DLL in \
12         intl.dll \
13         libatk-1.0-0.dll \
14         libcairo-2.dll \
15         libgdk-win32-2.0-0.dll \
16         libgdk_pixbuf-2.0-0.dll \
17         libgdkglext-win32-1.0-0.dll \
18         libglib-2.0-0.dll \
19         libgmodule-2.0-0.dll \
20         libgobject-2.0-0.dll \
21         libgtk-win32-2.0-0.dll \
22         libgtkglext-win32-1.0-0.dll \
23         libpango-1.0-0.dll \
24         libpangocairo-1.0-0.dll \
25         libpangowin32-1.0-0.dll \
26         libpng12-0.dll \
27         libxml2-2.dll \
28         zlib1.dll \
29 ; do
30         $CP "`$WHICHDLL $DLL`" install/
31 done
32
33 $CP "$GTKDIR/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.dll" install/libgdk-win32-2.0-0-pixbufloader-bmp.dll
34 $MKDIR install/etc/gtk-2.0
35 $CAT > install/etc/gtk-2.0/gdk-pixbuf.loaders <<'EOF'
36 # GdkPixbuf Image Loader Modules file
37 #
38 #
39
40 "libgdk-win32-2.0-0-pixbufloader-bmp.dll"
41 "bmp" 5 "gtk20" "The BMP image format"
42 "image/bmp" "image/x-bmp" "image/x-MS-bmp" ""
43 "bmp" ""
44 "BM" "" 100
45
46 EOF