summaryrefslogtreecommitdiffstats
path: root/gimp-zip.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:30:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:30:19 +0000
commit5c1676dfe6d2f3c837a5e074117b45613fd29a72 (patch)
treecbffb45144febf451e54061db2b21395faf94bfe /gimp-zip.in
parentInitial commit. (diff)
downloadgimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.tar.xz
gimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.zip
Adding upstream version 2.10.34.upstream/2.10.34upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xgimp-zip.in67
1 files changed, 67 insertions, 0 deletions
diff --git a/gimp-zip.in b/gimp-zip.in
new file mode 100755
index 0000000..44dc0b6
--- /dev/null
+++ b/gimp-zip.in
@@ -0,0 +1,67 @@
+#!/bin/sh
+
+# Build zipfiles for GIMP on Win32: separate runtime and developer
+# packages.
+
+ZIP=/tmp/gimp-@GIMP_VERSION@.zip
+DEVZIP=/tmp/gimp-dev-@GIMP_VERSION@.zip
+
+cd @prefix@
+
+rm $ZIP
+zip -r $ZIP -@ <<EOF
+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
+bin/libgimpconfig-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
+bin/libgimpmath-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
+bin/libgimpmodule-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
+bin/libgimpthumb-@GIMP_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
+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
+EOF
+
+zip $ZIP lib/gimp/@GIMP_PLUGIN_VERSION@/modules/*.dll
+zip $ZIP lib/locale/*/LC_MESSAGES/gimp20*.mo
+
+rm $DEVZIP
+zip -r $DEVZIP -@ <<EOF
+bin/gimptool-@GIMP_TOOL_VERSION@.exe
+lib/libgimp-@GIMP_API_VERSION@.dll.a
+lib/gimp-@GIMP_API_VERSION@.lib
+lib/gimp.def
+lib/libgimpbase-@GIMP_API_VERSION@.dll.a
+lib/gimpbase-@GIMP_API_VERSION@.lib
+lib/gimpbase.def
+lib/libgimpcolor-@GIMP_API_VERSION@.dll.a
+lib/gimpcolor-@GIMP_API_VERSION@.lib
+lib/gimpcolor.def
+lib/libgimpconfig-@GIMP_API_VERSION@.dll.a
+lib/gimpconfig-@GIMP_API_VERSION@.lib
+lib/gimpconfig.def
+lib/libgimpmath-@GIMP_API_VERSION@.dll.a
+lib/gimpmath-@GIMP_API_VERSION@.lib
+lib/gimpmath.def
+lib/libgimpmodule-@GIMP_API_VERSION@.dll.a
+lib/gimpmodule-@GIMP_API_VERSION@.lib
+lib/gimpmodule.def
+lib/gimpthumb-@GIMP_API_VERSION@.lib
+lib/gimpthumb.def
+lib/libgimpui-@GIMP_API_VERSION@.dll.a
+lib/gimpui-@GIMP_API_VERSION@.lib
+lib/gimpui.def
+lib/libgimpwidgets-@GIMP_API_VERSION@.dll.a
+lib/gimpwidgets-@GIMP_API_VERSION@.lib
+lib/gimpwidgets.def
+include/gimp-@GIMP_API_VERSION@
+man/man1/gimptool-@GIMP_TOOL_VERSION@.1
+EOF
+
+zip $DEVZIP lib/pkgconfig/gimp*.pc