Message catalogs should always get installed into share/locale nowadays,
authorTor Lillqvist <tml@novell.com>
Mon, 28 Jul 2008 00:36:49 +0000 (00:36 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 28 Jul 2008 00:36:49 +0000 (00:36 +0000)
2008-07-28  Tor Lillqvist  <tml@novell.com>

* glib-zip.in: Message catalogs should always get installed into
share/locale nowadays, don't bother with the convoluted logic
checking if they are in lib/locale instead. Put the correct helper
programs in the zipfile.

svn path=/trunk/; revision=7262

ChangeLog
glib-zip.in

index fde833c..5774648 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2008-07-28  Tor Lillqvist  <tml@novell.com>
 
+       * glib-zip.in: Message catalogs should always get installed into
+       share/locale nowadays, don't bother with the convoluted logic
+       checking if they are in lib/locale instead. Put the correct helper
+       programs in the zipfile.
+
+2008-07-28  Tor Lillqvist  <tml@novell.com>
+
        Fix problems on 64-bit Windows. Avoid warnings, some of which
        indicated actual problems, some which were just annoyances. 
 
index dd6c660..a971c8b 100755 (executable)
@@ -14,10 +14,16 @@ cp -p @abs_srcdir@/COPYING share/doc/glib-@GLIB_VERSION@
 mkdir -p share/doc/glib-dev-@GLIB_VERSION@
 cp -p @abs_srcdir@/COPYING share/doc/glib-dev-@GLIB_VERSION@
 
+if test @LIB_EXE_MACHINE_FLAG@ = X64; then
+  helperbits=64
+else
+  helperbits=32
+fi
+
 rm $ZIP
 zip $ZIP -@ <<EOF
-bin/gspawn-win32-helper.exe
-bin/gspawn-win32-helper-console.exe
+bin/gspawn-win${helperbits}-helper.exe
+bin/gspawn-win${helperbits}-helper-console.exe
 bin/libglib-2.0-@LT_CURRENT_MINUS_AGE@.dll
 bin/libgio-2.0-@LT_CURRENT_MINUS_AGE@.dll
 bin/libgmodule-2.0-@LT_CURRENT_MINUS_AGE@.dll
@@ -25,17 +31,7 @@ bin/libgobject-2.0-@LT_CURRENT_MINUS_AGE@.dll
 bin/libgthread-2.0-@LT_CURRENT_MINUS_AGE@.dll
 EOF
 
-if [ -f lib/locale/de/LC_MESSAGES/glib20.mo -a -f share/locale/de/LC_MESSAGES/glib20.mo ]; then
-  if [ lib/locale/de/LC_MESSAGES/glib20.mo -nt share/locale/de/LC_MESSAGES/glib20.mo ]; then
-    zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
-  else
-    zip -r $ZIP share/locale/*/LC_MESSAGES/glib20.mo
-  fi
-elif [ -f lib/locale/de/LC_MESSAGES/glib20.mo ]; then
-  zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
-else
-  zip -r $ZIP share/locale/*/LC_MESSAGES/glib20.mo
-fi
+zip -r $ZIP share/locale/*/LC_MESSAGES/glib20.mo
 
 zip -r $ZIP share/doc/glib-@GLIB_VERSION@