gtk-zip.sh.in 1.53 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 7
ZIP=/tmp/gtk+-@GTK_VERSION@-`date +%Y%m%d`.zip
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@-`date +%Y%m%d`.zip
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 29 30 31
zip -r $ZIP lib/locale/*/LC_MESSAGES/gtk20.mo

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