mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
f8ef369e78
2004-09-03 Tor Lillqvist <tml@iki.fi> * gtk-zip.sh.in: List the three theme gtkrc files separately, zip doesn't do anything if one of the files on its command line doesn't exist. Handle changes of screen resolution on Win32. (#151581, reported by Arjohn Kampman) * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_init, _gdk_root_window_size_init): Factor out setting the root window's size (as the size of the union of all monitors) to a new function. * gdk/win32/gdkdisplay-win32.c (gdk_display_open, _gdk_monitor_init): Factor out the monitor query to a new function. * gdk/win32/gdkprivate-win32.h: Declare above new functions. * gdk/win32/gdkevents-win32.c (gdk_event_translate, handle_display_change): Handle WM_DISPLAYCHANGE by calling the above two functions, and emitting the "size_changed" signal on our (only) GdkScreen.
58 lines
1.5 KiB
Bash
Executable File
58 lines
1.5 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
# Build zipfiles for GTK on Win32
|
|
|
|
ZIP=/tmp/gtk+-@GTK_VERSION@-`date +%Y%m%d`.zip
|
|
DEVZIP=/tmp/gtk+-dev-@GTK_VERSION@-`date +%Y%m%d`.zip
|
|
cd @prefix@
|
|
rm $ZIP
|
|
|
|
DLLDIR=lib
|
|
[ -f bin/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
|
|
|
|
zip $ZIP -@ <<EOF
|
|
COPYING.LIB-2
|
|
etc/gtk-2.0/gdk-pixbuf.loaders
|
|
etc/gtk-2.0/gtkrc
|
|
etc/gtk-2.0/gtk.immodules
|
|
$DLLDIR/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
$DLLDIR/libgdk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
$DLLDIR/libgtk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
|
|
EOF
|
|
|
|
zip $ZIP lib/gtk-2.0/@GTK_BINARY_VERSION@/loaders/*.dll lib/gtk-2.0/@GTK_BINARY_VERSION@/immodules/*.dll
|
|
|
|
zip $ZIP share/themes/Default/gtk-2.0/gtkrc
|
|
zip $ZIP share/themes/Default/gtk-2.0-key/gtkrc
|
|
zip $ZIP share/themes/Emacs/gtk-2.0-key/gtkrc
|
|
|
|
zip -r $ZIP lib/locale/*/LC_MESSAGES/gtk20.mo
|
|
|
|
rm $DEVZIP
|
|
zip -r $DEVZIP -@ <<EOF
|
|
include/gtk-2.0
|
|
bin/gdk-pixbuf-csource.exe
|
|
bin/gdk-pixbuf-query-loaders.exe
|
|
bin/gtk-query-immodules-2.0.exe
|
|
bin/gtk-demo.exe
|
|
man/man1/gdk-pixbuf-csource.1
|
|
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/gtk-2.0/include
|
|
lib/pkgconfig/gdk-pixbuf-2.0.pc
|
|
lib/pkgconfig/gdk-2.0.pc
|
|
lib/pkgconfig/gdk-win32-2.0.pc
|
|
lib/pkgconfig/gtk+-2.0.pc
|
|
lib/pkgconfig/gtk+-win32-2.0.pc
|
|
share/aclocal/gtk-2.0.m4
|
|
share/gtk-2.0
|
|
share/gtk-doc/html/gdk-pixbuf
|
|
share/gtk-doc/html/gdk
|
|
share/gtk-doc/html/gtk
|
|
EOF
|
|
|