2003-10-10 05:33:27 +08:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Build zipfiles for GIMP on Win32: separate runtime and developer
|
2007-04-29 16:27:19 +08:00
|
|
|
# packages.
|
2003-10-10 05:33:27 +08:00
|
|
|
|
2007-11-13 17:54:59 +08:00
|
|
|
ZIP=/tmp/gimp-@GIMP_VERSION@.zip
|
|
|
|
DEVZIP=/tmp/gimp-dev-@GIMP_VERSION@.zip
|
2003-10-10 05:33:27 +08:00
|
|
|
|
|
|
|
cd @prefix@
|
|
|
|
|
|
|
|
rm $ZIP
|
|
|
|
zip -r $ZIP -@ <<EOF
|
2004-01-27 11:58:39 +08:00
|
|
|
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
|
2007-04-29 16:27:19 +08:00
|
|
|
bin/libgimpconfig-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
2004-01-27 11:58:39 +08:00
|
|
|
bin/libgimpmath-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
2007-04-29 16:27:19 +08:00
|
|
|
bin/libgimpmodule-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
|
|
bin/libgimpthumb-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
2004-01-27 11:58:39 +08:00
|
|
|
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
|
2003-10-10 05:33:27 +08:00
|
|
|
EOF
|
|
|
|
|
2004-01-27 11:58:39 +08:00
|
|
|
zip $ZIP lib/gimp/@GIMP_PLUGIN_VERSION@/modules/*.dll
|
2003-10-10 05:33:27 +08:00
|
|
|
zip $ZIP lib/locale/*/LC_MESSAGES/gimp20*.mo
|
|
|
|
|
|
|
|
rm $DEVZIP
|
|
|
|
zip -r $DEVZIP -@ <<EOF
|
2004-01-27 11:58:39 +08:00
|
|
|
bin/gimptool-@GIMP_TOOL_VERSION@.exe
|
|
|
|
lib/libgimp-@GIMP_API_VERSION@.dll.a
|
|
|
|
lib/gimp-@GIMP_API_VERSION@.lib
|
2003-10-10 05:33:27 +08:00
|
|
|
lib/gimp.def
|
2004-01-27 11:58:39 +08:00
|
|
|
lib/libgimpbase-@GIMP_API_VERSION@.dll.a
|
|
|
|
lib/gimpbase-@GIMP_API_VERSION@.lib
|
2003-10-10 05:33:27 +08:00
|
|
|
lib/gimpbase.def
|
2004-01-27 11:58:39 +08:00
|
|
|
lib/libgimpcolor-@GIMP_API_VERSION@.dll.a
|
|
|
|
lib/gimpcolor-@GIMP_API_VERSION@.lib
|
2003-10-10 05:33:27 +08:00
|
|
|
lib/gimpcolor.def
|
2007-04-29 16:27:19 +08:00
|
|
|
lib/libgimpconfig-@GIMP_API_VERSION@.dll.a
|
|
|
|
lib/gimpconfig-@GIMP_API_VERSION@.lib
|
|
|
|
lib/gimpconfig.def
|
2004-01-27 11:58:39 +08:00
|
|
|
lib/libgimpmath-@GIMP_API_VERSION@.dll.a
|
|
|
|
lib/gimpmath-@GIMP_API_VERSION@.lib
|
2003-10-10 05:33:27 +08:00
|
|
|
lib/gimpmath.def
|
2004-01-27 11:58:39 +08:00
|
|
|
lib/libgimpmodule-@GIMP_API_VERSION@.dll.a
|
|
|
|
lib/gimpmodule-@GIMP_API_VERSION@.lib
|
2003-10-10 05:33:27 +08:00
|
|
|
lib/gimpmodule.def
|
2004-04-16 05:09:23 +08:00
|
|
|
lib/gimpthumb-@GIMP_API_VERSION@.lib
|
|
|
|
lib/gimpthumb.def
|
2004-01-27 11:58:39 +08:00
|
|
|
lib/libgimpui-@GIMP_API_VERSION@.dll.a
|
|
|
|
lib/gimpui-@GIMP_API_VERSION@.lib
|
2003-10-10 05:33:27 +08:00
|
|
|
lib/gimpui.def
|
2004-01-27 11:58:39 +08:00
|
|
|
lib/libgimpwidgets-@GIMP_API_VERSION@.dll.a
|
|
|
|
lib/gimpwidgets-@GIMP_API_VERSION@.lib
|
2003-10-10 05:33:27 +08:00
|
|
|
lib/gimpwidgets.def
|
2004-01-27 11:58:39 +08:00
|
|
|
include/gimp-@GIMP_API_VERSION@
|
|
|
|
man/man1/gimptool-@GIMP_TOOL_VERSION@.1
|
2003-10-10 05:33:27 +08:00
|
|
|
EOF
|
2007-11-13 17:54:59 +08:00
|
|
|
|
|
|
|
zip $DEVZIP lib/pkgconfig/gimp*.pc
|