mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
c51f965782
Bring the various 'run uninstalled' hacks in line with the new way of doing things, and fix make install for module cache files. Patch by Tadej Borovsak.
70 lines
2.3 KiB
Bash
Executable File
70 lines
2.3 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
# Build zipfiles for GTK on Win32
|
|
|
|
ZIP=/tmp/gtk+-@GTK_VERSION@.zip
|
|
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@.zip
|
|
|
|
SHORTAPIVERSION=`echo @GTK_API_VERSION@ | tr -d '.'`
|
|
APIVERSIONMAJOR=`echo @GTK_API_VERSION@ | sed -e 's/\..*//'`
|
|
|
|
cd @prefix@
|
|
|
|
mkdir -p share/doc/gtk+-@GTK_VERSION@
|
|
cp -p @abs_srcdir@/COPYING share/doc/gtk+-@GTK_VERSION@
|
|
|
|
mkdir -p share/doc/gtk+-dev-@GTK_VERSION@
|
|
cp -p @abs_srcdir@/COPYING share/doc/gtk+-dev-@GTK_VERSION@
|
|
|
|
rm $ZIP
|
|
zip $ZIP -@ <<EOF
|
|
etc/gtk-@GTK_API_VERSION@/gtkrc
|
|
etc/gtk-@GTK_API_VERSION@/im-multipress.conf
|
|
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
|
|
bin/libgailutil-@GTK_API_VERSION@-@GAIL_LT_CURRENT_MINUS_AGE@.dll
|
|
bin/gdk-pixbuf-query-loaders-@GTK_API_VERSION@.exe
|
|
bin/gtk-query-immodules-@GTK_API_VERSION@.exe
|
|
lib/gtk-@GTK_API_VERSION@/3.0.0/loaders.cache
|
|
lib/gtk-@GTK_API_VERSION@/3.0.0/immodules.cache
|
|
EOF
|
|
|
|
zip $ZIP lib/gtk-@GTK_API_VERSION@/modules/libgail.dll lib/gtk-@GTK_API_VERSION@/@GTK_BINARY_VERSION@/loaders/*.dll lib/gtk-@GTK_API_VERSION@/@GTK_BINARY_VERSION@/immodules/*.dll lib/gtk-@GTK_API_VERSION@/@GTK_BINARY_VERSION@/engines/*.dll
|
|
|
|
zip $ZIP share/themes/Raleigh/gtk-@GTK_API_VERSION@/gtkrc
|
|
zip $ZIP share/themes/Default/gtk-@GTK_API_VERSION@-key/gtkrc
|
|
zip $ZIP share/themes/Emacs/gtk-@GTK_API_VERSION@-key/gtkrc
|
|
zip $ZIP share/themes/MS-Windows/gtk-@GTK_API_VERSION@/gtkrc
|
|
|
|
zip $ZIP share/locale/*/LC_MESSAGES/gtk${SHORTAPIVERSION}.mo
|
|
zip $ZIP share/locale/*/LC_MESSAGES/gtk${SHORTAPIVERSION}-properties.mo
|
|
|
|
zip -r -D $ZIP share/doc/gtk+-@GTK_VERSION@
|
|
|
|
rm $DEVZIP
|
|
zip -r -D $DEVZIP -@ <<EOF
|
|
include/gtk-@GTK_API_VERSION@
|
|
include/gail-1.0
|
|
bin/gdk-pixbuf-csource-@GTK_API_VERSION@.exe
|
|
bin/gtk-builder-convert
|
|
bin/gtk${APIVERSIONMAJOR}-demo.exe
|
|
bin/gtk-update-icon-cache.exe
|
|
share/man
|
|
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
|
|
lib/libgailutil.dll.a
|
|
lib/gailutil.lib
|
|
lib/gtk-@GTK_API_VERSION@/include
|
|
lib/pkgconfig
|
|
share/aclocal
|
|
share/gtk-@GTK_API_VERSION@
|
|
share/gtk-doc
|
|
EOF
|
|
|
|
zip -r $DEVZIP share/doc/gtk+-dev-@GTK_VERSION@
|