summaryrefslogtreecommitdiff
path: root/gtk-zip.sh.in
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2003-09-20 23:52:16 +0000
committerTor Lillqvist <tml@src.gnome.org>2003-09-20 23:52:16 +0000
commit71e847d11c4a94291b8068eeae924a3978cc91c5 (patch)
tree86bfedba20cc2c25fb4c34f0f83e9f9be6ce91b4 /gtk-zip.sh.in
parente95ad99afe722788319dd0fcb9f4e7ed9ab6e2e6 (diff)
downloadgtk+-71e847d11c4a94291b8068eeae924a3978cc91c5.tar.gz
Don't use zip -r on the etc directory, to avoid including editor backup
2003-09-20 Tor Lillqvist <tml@iki.fi> * gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid including editor backup files. List files we want explicitly. * gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just calls setlocale (LC_CTYPE, NULL). On Windows, looks for the LC_ALL, LC_CTYPE and LANG environment variables, than calls g_win32_getlocale(). (gtk_get_default_language): Code snippet moved to above function, call it. * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave) * gtk/gtkrc.c (gtk_rc_context_parse_file): Call _gtk_get_lc_ctype() instead of setlocale().
Diffstat (limited to 'gtk-zip.sh.in')
-rwxr-xr-xgtk-zip.sh.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk-zip.sh.in b/gtk-zip.sh.in
index cee5bac8c2..16ed3cb71e 100755
--- a/gtk-zip.sh.in
+++ b/gtk-zip.sh.in
@@ -10,9 +10,11 @@ rm $ZIP
DLLDIR=lib
[ -f bin/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll ] && DLLDIR=bin
-zip -r $ZIP -@ <<EOF
+zip $ZIP -@ <<EOF
COPYING.LIB-2
-etc/gtk-2.0
+etc/gtk-2.0/gdk-pixbuf.loaders
+etc/gtk-2.0/gtkrc
+etc/gtk-2.0/gtk.immodues
$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