gimp-zip.in 2.07 KB
Newer Older
1 2 3
#!/bin/sh

# Build zipfiles for GIMP on Win32: separate runtime and developer
4
# packages.
5

6 7
ZIP=/tmp/gimp-@GIMP_VERSION@.zip
DEVZIP=/tmp/gimp-dev-@GIMP_VERSION@.zip
8 9 10 11 12

cd @prefix@

rm $ZIP
zip -r $ZIP -@ <<EOF
13 14 15 16 17
etc/gimp/@GIMP_SYSCONF_VERSION@
bin/gimp-@GIMP_APP_VERSION@.exe
bin/libgimp-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
bin/libgimpbase-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
bin/libgimpcolor-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
18
bin/libgimpconfig-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
19
bin/libgimpmath-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
20 21
bin/libgimpmodule-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
bin/libgimpthumb-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
22 23 24 25 26 27 28
bin/libgimpui-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
bin/libgimpwidgets-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
lib/gimp/@GIMP_PLUGIN_VERSION@/environ
lib/gimp/@GIMP_PLUGIN_VERSION@/plug-ins
share/gimp/@GIMP_DATA_VERSION@
man/man1/gimp-@GIMP_APP_VERSION@.1
man/man5/gimprc-@GIMP_APP_VERSION@.5
29 30
EOF

31
zip $ZIP lib/gimp/@GIMP_PLUGIN_VERSION@/modules/*.dll
32 33 34 35
zip $ZIP lib/locale/*/LC_MESSAGES/gimp20*.mo

rm $DEVZIP
zip -r $DEVZIP -@ <<EOF
36 37 38
bin/gimptool-@GIMP_TOOL_VERSION@.exe
lib/libgimp-@GIMP_API_VERSION@.dll.a
lib/gimp-@GIMP_API_VERSION@.lib
39
lib/gimp.def
40 41
lib/libgimpbase-@GIMP_API_VERSION@.dll.a
lib/gimpbase-@GIMP_API_VERSION@.lib
42
lib/gimpbase.def
43 44
lib/libgimpcolor-@GIMP_API_VERSION@.dll.a
lib/gimpcolor-@GIMP_API_VERSION@.lib
45
lib/gimpcolor.def
46 47 48
lib/libgimpconfig-@GIMP_API_VERSION@.dll.a
lib/gimpconfig-@GIMP_API_VERSION@.lib
lib/gimpconfig.def
49 50
lib/libgimpmath-@GIMP_API_VERSION@.dll.a
lib/gimpmath-@GIMP_API_VERSION@.lib
51
lib/gimpmath.def
52 53
lib/libgimpmodule-@GIMP_API_VERSION@.dll.a
lib/gimpmodule-@GIMP_API_VERSION@.lib
54
lib/gimpmodule.def
55 56
lib/gimpthumb-@GIMP_API_VERSION@.lib
lib/gimpthumb.def
57 58
lib/libgimpui-@GIMP_API_VERSION@.dll.a
lib/gimpui-@GIMP_API_VERSION@.lib
59
lib/gimpui.def
60 61
lib/libgimpwidgets-@GIMP_API_VERSION@.dll.a
lib/gimpwidgets-@GIMP_API_VERSION@.lib
62
lib/gimpwidgets.def
63 64
include/gimp-@GIMP_API_VERSION@
man/man1/gimptool-@GIMP_TOOL_VERSION@.1
65
EOF
66 67

zip $DEVZIP lib/pkgconfig/gimp*.pc