gtk-zip.sh.in 1.55 KB
Newer Older
Tor Lillqvist's avatar
Tor Lillqvist committed
1 2
#!/bin/sh

3
# Build zipfiles for GTK on Win32
Tor Lillqvist's avatar
Tor Lillqvist committed
4

5 6
ZIP=/tmp/gtk+-@GTK_VERSION@.zip
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@.zip
7
cd @prefix@
Tor Lillqvist's avatar
Tor Lillqvist committed
8
rm $ZIP
9

10
zip $ZIP -@ <<EOF
Tor Lillqvist's avatar
Tor Lillqvist committed
11
COPYING.LIB-2
12 13
etc/gtk-2.0/gdk-pixbuf.loaders
etc/gtk-2.0/gtkrc
14
etc/gtk-2.0/gtk.immodules
15 16 17
bin/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
bin/libgdk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
bin/libgtk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
18 19
EOF

20
zip $ZIP lib/gtk-2.0/@GTK_BINARY_VERSION@/loaders/*.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/immodules/*.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/engines/*.dll
21

22
zip $ZIP share/themes/Raleigh/gtk-2.0/gtkrc
23 24
zip $ZIP share/themes/Default/gtk-2.0-key/gtkrc
zip $ZIP share/themes/Emacs/gtk-2.0-key/gtkrc
25
zip $ZIP share/themes/MS-Windows/gtk-2.0/gtkrc
26

27 28
zip $ZIP lib/locale/*/LC_MESSAGES/gtk20.mo
zip $ZIP lib/locale/*/LC_MESSAGES/gtk20-properties.mo
29 30 31 32

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/gtk-2.0
33
bin/gdk-pixbuf-csource.exe
34
bin/gdk-pixbuf-query-loaders.exe
Tor Lillqvist's avatar
Tor Lillqvist committed
35 36
bin/gtk-query-immodules-2.0.exe
bin/gtk-demo.exe
37
man/man1/gdk-pixbuf-csource.1
38 39 40 41 42 43
lib/libgdk_pixbuf-@GTK_API_VERSION@.dll.a
lib/gdk_pixbuf-@GTK_API_VERSION@.lib
lib/libgdk-win32-@GTK_API_VERSION@.dll.a
lib/gdk-win32-@GTK_API_VERSION@.lib
lib/libgtk-win32-@GTK_API_VERSION@.dll.a
lib/gtk-win32-@GTK_API_VERSION@.lib
44
lib/gtk-2.0/include
Tor Lillqvist's avatar
Tor Lillqvist committed
45 46
lib/pkgconfig/gdk-pixbuf-2.0.pc
lib/pkgconfig/gdk-2.0.pc
47
lib/pkgconfig/gdk-win32-2.0.pc
Tor Lillqvist's avatar
Tor Lillqvist committed
48
lib/pkgconfig/gtk+-2.0.pc
49 50
lib/pkgconfig/gtk+-win32-2.0.pc
share/aclocal/gtk-2.0.m4
Tor Lillqvist's avatar
Tor Lillqvist committed
51
share/gtk-2.0
52 53 54
share/gtk-doc/html/gdk-pixbuf
share/gtk-doc/html/gdk
share/gtk-doc/html/gtk
Tor Lillqvist's avatar
Tor Lillqvist committed
55 56
EOF