]> Pileus Git - ~andy/gtk/commitdiff
Look for DLLs also in the bin subdirectory, where libtool 1.5 installs
authorTor Lillqvist <tml@iki.fi>
Tue, 17 Jun 2003 23:49:40 +0000 (23:49 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Tue, 17 Jun 2003 23:49:40 +0000 (23:49 +0000)
2003-06-17  Tor Lillqvist  <tml@iki.fi>

* gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
subdirectory, where libtool 1.5 installs them.

* README.win32: Point to FSF's binary Win32 distribution of
gettext-runtime.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
README.win32
gtk-zip.sh.in

index dad0e8e98f11dcb443526be9001236c1b8d621c0..a4fe42f5040008ee104fe642db3f59ef8f0b8156 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2003-06-17  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
+       subdirectory, where libtool 1.5 installs them.
+
+       * README.win32: Point to FSF's binary Win32 distribution of
+       gettext-runtime.
+
 2003-06-17  Matthias Clasen  <maclas@gmx.de>
 
        * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
index dad0e8e98f11dcb443526be9001236c1b8d621c0..a4fe42f5040008ee104fe642db3f59ef8f0b8156 100644 (file)
@@ -1,3 +1,11 @@
+2003-06-17  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
+       subdirectory, where libtool 1.5 installs them.
+
+       * README.win32: Point to FSF's binary Win32 distribution of
+       gettext-runtime.
+
 2003-06-17  Matthias Clasen  <maclas@gmx.de>
 
        * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
index dad0e8e98f11dcb443526be9001236c1b8d621c0..a4fe42f5040008ee104fe642db3f59ef8f0b8156 100644 (file)
@@ -1,3 +1,11 @@
+2003-06-17  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
+       subdirectory, where libtool 1.5 installs them.
+
+       * README.win32: Point to FSF's binary Win32 distribution of
+       gettext-runtime.
+
 2003-06-17  Matthias Clasen  <maclas@gmx.de>
 
        * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
index dad0e8e98f11dcb443526be9001236c1b8d621c0..a4fe42f5040008ee104fe642db3f59ef8f0b8156 100644 (file)
@@ -1,3 +1,11 @@
+2003-06-17  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
+       subdirectory, where libtool 1.5 installs them.
+
+       * README.win32: Point to FSF's binary Win32 distribution of
+       gettext-runtime.
+
 2003-06-17  Matthias Clasen  <maclas@gmx.de>
 
        * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
index dad0e8e98f11dcb443526be9001236c1b8d621c0..a4fe42f5040008ee104fe642db3f59ef8f0b8156 100644 (file)
@@ -1,3 +1,11 @@
+2003-06-17  Tor Lillqvist  <tml@iki.fi>
+
+       * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
+       subdirectory, where libtool 1.5 installs them.
+
+       * README.win32: Point to FSF's binary Win32 distribution of
+       gettext-runtime.
+
 2003-06-17  Matthias Clasen  <maclas@gmx.de>
 
        * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
index 1a0d46fa2594bc027da96060a191faacd967988e..9ff6d13798503b47feddfde154f58baa86dacb94 100644 (file)
@@ -67,13 +67,22 @@ references to the wntab32x library from the makefile before building.
 Libintl
 =======
 
-GTK wants to be built with the GNU "intl" library for
-internationalisation (i18n). Get the version ported to Win32 (not a
-very big deal) from the web site mentioned above. The "intl" library
-as gets built as a DLL called libintl-1.dll. If you don't want any
-i18n stuff, undefine ENABLE_NLS, HAVE_GETTEXT and HAVE_LIBINTL in the
-config.h.win32 file, and remove references to the intl library from
-the makefiles.
+Before building GTK+ you must also have GNU gettext. Get prebuilt
+binaries of gettext-runtime (0.12.1 or newer) from your nearest GNU
+ftp mirror. If you use gcc, you will also have to edit the libintl.h
+file from gettext a tiny bit: Change the
+
+# if __GNUC__ >= 2 && !defined __APPLE_CC__ && (defined __STDC__ || defined __cplusplus)
+
+line to
+
+# if __GNUC__ >= 2 && !defined __APPLE_CC__ && !defined __MINGW32__ && (defined __STDC__ || defined __cplusplus)
+
+around line 102.
+
+If you use libtool, you will also have to copy intl.lib to libintl.a
+so that libtool will find them. Alternatively, use pexports and
+dlltool to generate a gcc import library.
 
 ActiveIMM
 =========
index a60c5ef7cdc7f7cff73aab6ee73e13c2ee77f9ab..cee5bac8c2e48b7ef37a679afa6dcf222f0d2d4d 100755 (executable)
@@ -5,14 +5,17 @@
 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 -r $ZIP -@ <<EOF
 COPYING.LIB-2
 etc/gtk-2.0
-lib/libgdk_pixbuf-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
-lib/libgdk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
-lib/libgtk-win32-@GTK_API_VERSION@-@LT_CURRENT_MINUS_AGE@.dll
+$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