gtk-zip.sh.in 1.17 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 9 10 11 12

rm $ZIP
zip -r $ZIP -@ <<EOF
COPYING.LIB-2
etc/gtk-2.0
13 14 15
lib/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
lib/libgdk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
lib/libgtk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
16 17
EOF

18
zip $ZIP lib/gtk-2.0/@GTK_BINARY_VERSION@/loaders/*.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/immodules/*.dll
19

20 21
zip $ZIP share/themes/*/gtk-2.0/gtkrc share/themes/*/gtk-2.0-key/gtkrc

22 23 24 25 26
zip -r $ZIP lib/locale/*/LC_MESSAGES/gtk20.mo

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
include/gtk-2.0
27
bin/gdk-pixbuf-csource.exe
28
bin/gdk-pixbuf-query-loaders.exe
29
man/man1/gdk-pixbuf-csource.1
30 31 32 33 34 35
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
36
lib/gtk-2.0/include
Tor Lillqvist's avatar
Tor Lillqvist committed
37 38
lib/pkgconfig/gdk-pixbuf-2.0.pc
lib/pkgconfig/gdk-2.0.pc
39
lib/pkgconfig/gdk-win32-2.0.pc
Tor Lillqvist's avatar
Tor Lillqvist committed
40
lib/pkgconfig/gtk+-2.0.pc
41 42
lib/pkgconfig/gtk+-win32-2.0.pc
share/aclocal/gtk-2.0.m4
Tor Lillqvist's avatar
Tor Lillqvist committed
43 44
EOF