Minor edits.
authorTor Lillqvist <tml@iki.fi>
Mon, 5 Nov 2001 20:40:14 +0000 (20:40 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Mon, 5 Nov 2001 20:40:14 +0000 (20:40 +0000)
2001-11-05  Tor Lillqvist  <tml@iki.fi>

* README.win32: Minor edits.

* glib-zip.in: Build separate runtime and developer packages.

* glib/libcharset/config.charset (os): Don't need to match mingw
after all, the charset.alias file isn't even used on Win32... (see
localcharset.c).

* glib/makefile.mingw.in: Add gdir.

* glib/glib.def: Add g_dir_* entry points.

13 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
README.win32
glib-zip.in
glib/glib.def
glib/libcharset/config.charset
glib/makefile.mingw.in

index ec3d3b3deb7cbfe748f9dd2016381db0245fcc7f..36d64539e68e1846450bcddb42a546f66cddb439 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2001-11-05  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Minor edits.
+
+       * glib-zip.in: Build separate runtime and developer packages.
+
+       * glib/libcharset/config.charset (os): Don't need to match mingw
+       after all, the charset.alias file isn't even used on Win32... (see
+       localcharset.c).
+
+       * glib/makefile.mingw.in: Add gdir.
+
+       * glib/glib.def: Add g_dir_* entry points.
+
 Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in (CFLAGS): Add check for dirent.h
index ec3d3b3deb7cbfe748f9dd2016381db0245fcc7f..36d64539e68e1846450bcddb42a546f66cddb439 100644 (file)
@@ -1,3 +1,17 @@
+2001-11-05  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Minor edits.
+
+       * glib-zip.in: Build separate runtime and developer packages.
+
+       * glib/libcharset/config.charset (os): Don't need to match mingw
+       after all, the charset.alias file isn't even used on Win32... (see
+       localcharset.c).
+
+       * glib/makefile.mingw.in: Add gdir.
+
+       * glib/glib.def: Add g_dir_* entry points.
+
 Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in (CFLAGS): Add check for dirent.h
index ec3d3b3deb7cbfe748f9dd2016381db0245fcc7f..36d64539e68e1846450bcddb42a546f66cddb439 100644 (file)
@@ -1,3 +1,17 @@
+2001-11-05  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Minor edits.
+
+       * glib-zip.in: Build separate runtime and developer packages.
+
+       * glib/libcharset/config.charset (os): Don't need to match mingw
+       after all, the charset.alias file isn't even used on Win32... (see
+       localcharset.c).
+
+       * glib/makefile.mingw.in: Add gdir.
+
+       * glib/glib.def: Add g_dir_* entry points.
+
 Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in (CFLAGS): Add check for dirent.h
index ec3d3b3deb7cbfe748f9dd2016381db0245fcc7f..36d64539e68e1846450bcddb42a546f66cddb439 100644 (file)
@@ -1,3 +1,17 @@
+2001-11-05  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Minor edits.
+
+       * glib-zip.in: Build separate runtime and developer packages.
+
+       * glib/libcharset/config.charset (os): Don't need to match mingw
+       after all, the charset.alias file isn't even used on Win32... (see
+       localcharset.c).
+
+       * glib/makefile.mingw.in: Add gdir.
+
+       * glib/glib.def: Add g_dir_* entry points.
+
 Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in (CFLAGS): Add check for dirent.h
index ec3d3b3deb7cbfe748f9dd2016381db0245fcc7f..36d64539e68e1846450bcddb42a546f66cddb439 100644 (file)
@@ -1,3 +1,17 @@
+2001-11-05  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Minor edits.
+
+       * glib-zip.in: Build separate runtime and developer packages.
+
+       * glib/libcharset/config.charset (os): Don't need to match mingw
+       after all, the charset.alias file isn't even used on Win32... (see
+       localcharset.c).
+
+       * glib/makefile.mingw.in: Add gdir.
+
+       * glib/glib.def: Add g_dir_* entry points.
+
 Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in (CFLAGS): Add check for dirent.h
index ec3d3b3deb7cbfe748f9dd2016381db0245fcc7f..36d64539e68e1846450bcddb42a546f66cddb439 100644 (file)
@@ -1,3 +1,17 @@
+2001-11-05  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Minor edits.
+
+       * glib-zip.in: Build separate runtime and developer packages.
+
+       * glib/libcharset/config.charset (os): Don't need to match mingw
+       after all, the charset.alias file isn't even used on Win32... (see
+       localcharset.c).
+
+       * glib/makefile.mingw.in: Add gdir.
+
+       * glib/glib.def: Add g_dir_* entry points.
+
 Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in (CFLAGS): Add check for dirent.h
index ec3d3b3deb7cbfe748f9dd2016381db0245fcc7f..36d64539e68e1846450bcddb42a546f66cddb439 100644 (file)
@@ -1,3 +1,17 @@
+2001-11-05  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Minor edits.
+
+       * glib-zip.in: Build separate runtime and developer packages.
+
+       * glib/libcharset/config.charset (os): Don't need to match mingw
+       after all, the charset.alias file isn't even used on Win32... (see
+       localcharset.c).
+
+       * glib/makefile.mingw.in: Add gdir.
+
+       * glib/glib.def: Add g_dir_* entry points.
+
 Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in (CFLAGS): Add check for dirent.h
index ec3d3b3deb7cbfe748f9dd2016381db0245fcc7f..36d64539e68e1846450bcddb42a546f66cddb439 100644 (file)
@@ -1,3 +1,17 @@
+2001-11-05  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Minor edits.
+
+       * glib-zip.in: Build separate runtime and developer packages.
+
+       * glib/libcharset/config.charset (os): Don't need to match mingw
+       after all, the charset.alias file isn't even used on Win32... (see
+       localcharset.c).
+
+       * glib/makefile.mingw.in: Add gdir.
+
+       * glib/glib.def: Add g_dir_* entry points.
+
 Sun Nov  4 20:45:21 2001  Owen Taylor  <otaylor@redhat.com>
 
        * configure.in (CFLAGS): Add check for dirent.h
index c6f6da0ac5ac4e6c37b1ae9b3c0557fedf9b8f04..ffd6f4220db9d4a2dbed7b1f8183a0f12019183b 100644 (file)
@@ -1,7 +1,7 @@
 General
 =======
 
-For more information about the port or GLib, GTk+ and the GIMP to
+For more information about the port or GLib, GTK+ and the GIMP to
 native Windows, and pre-built binaries (DLLs), surf to
 http://www.gimp.org/win32/ . "Native" means that we use the Win32 API
 only, and no POSIX (Unix) emulation layer except that provided by the
@@ -19,8 +19,7 @@ related to Win32:
 
 - G_OS_WIN32 is defined when compiling for Win32, *and* without
   any POSIX emulation, other that to the extent provided by the
-  bundled Microsoft C library (msvcrt.dll) and the pthreads-win32
-  library. For instance, pathnames are in the native Windows syntax.
+  bundled Microsoft C library (msvcrt.dll).
 
 - G_WITH_CYGWIN is defined if compiling for the Cygwin
   environment. Note that G_OS_WIN32 is *not* defined in that case, as
@@ -32,7 +31,7 @@ related to Win32:
 
 The Win32 port of GLib and related software uses only G_OS_WIN32. As
 G_OS_WIN32 is defined in glibconfig.h, it is available to all source
-files that use GLib (or GTk+, which uses GLib).
+files that use GLib (or GTK+, which uses GLib).
 
 Additionally, there are the compiler-specific macros:
 - __GNUC__ is defined when using GCC
@@ -40,12 +39,12 @@ Additionally, there are the compiler-specific macros:
 
 G_OS_WIN32 implies using the Microsoft C runtime MSVCRT.DLL. GLib is
 not known to work with the older CRTDLL.DLL runtime, or the static
-Microsoft C runtime libraries.
+Microsoft C runtime libraries LIBC.LIB and LIBCMT.LIB. 
 
-Building software that use GLib or GTk+
+Building software that use GLib or GTK+
 =======================================
 
-Even building software that just *use* GLib or GTk+ also require to
+Even building software that just *use* GLib or GTK+ also require to
 have the right compiler set up the right way, so if you intend to use
 gcc, follow the relevant instructions below in that case, too.
 
index 1faca690d73c2377e59cfa64ea14f0250f4c0e38..4e01e860ccd5f4261a66c9e1ad86fa6669ab4d10 100755 (executable)
@@ -1,31 +1,38 @@
 #!/bin/sh
 
-# Build zipfile for GLib on Win32: both runtime and developer stuff
+# Build zipfiles for GLib on Win32: Separate runtime and developer ones.
 # After running make install, run this.
 
-# These paths obviously are system-dependent:
-ZIP=/g/tmp/glib-@GLIB_VERSION@.zip
-cd /target
+ZIP=/tmp/glib-@GLIB_VERSION@.zip
+DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
+
+cd @prefix@
 
 rm $ZIP
 zip -r $ZIP -@ <<EOF
 COPYING.LIB-2
+bin/gspawn-win32-helper.exe
+lib/libglib-1.3-@LT_CURRENT_MINUS_AGE@.dll
+lib/libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll
+lib/libgobject-1.3-@LT_CURRENT_MINUS_AGE@.dll
+lib/libgthread-1.3-@LT_CURRENT_MINUS_AGE@.dll
+EOF
+
+zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
+
+rm $DEVZIP
+zip -r $DEVZIP -@ <<EOF
 bin/glib-genmarshal.exe
 bin/glib-gettextize
 bin/glib-mkenums
 bin/gobject-query.exe
-bin/gspawn-win32-helper.exe
 include/glib-2.0
-lib/libglib-1.3-@LT_CURRENT_MINUS_AGE@.dll
 lib/libglib-1.3.dll.a
 lib/glib-1.3.lib
-lib/libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll
 lib/libgmodule-1.3.dll.a
 lib/gmodule-1.3.lib
-lib/libgobject-1.3-@LT_CURRENT_MINUS_AGE@.dll
 lib/libgobject-1.3.dll.a
 lib/gobject-1.3.lib
-lib/libgthread-1.3-@LT_CURRENT_MINUS_AGE@.dll
 lib/libgthread-1.3.dll.a
 lib/gthread-1.3.lib
 lib/glib-2.0
@@ -39,4 +46,3 @@ man/man1/glib-mkenums.1
 man/man1/glib-genmarshal.1
 EOF
 
-zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
index cab33c0c4e2fb14ae1b3480a9e37e36c12740416..dd03f15bf2421e186f41e200c69012a6d15a1192 100644 (file)
@@ -141,6 +141,10 @@ EXPORTS
        g_date_valid_month
        g_date_valid_weekday
        g_date_valid_year
+       g_dir_close
+       g_dir_open
+       g_dir_read_name
+       g_dir_rewind
        g_direct_equal
        g_direct_hash
        g_error_copy
index 0b1f2db172be5b74da6f80dc3ba43d02a0ebf7c5..f4f2611c5ecbd837f86df20638b117e577e3a969 100755 (executable)
@@ -274,7 +274,7 @@ case "$os" in
        # BeOS has a single locale, and it has UTF-8 encoding.
        echo "* UTF-8"
        ;;
-    msdosdjgpp*|mingw*)
+    msdosdjgpp*)
        # DJGPP 2.03 doesn't have nl_langinfo(CODESET); therefore
        # localcharset.c falls back to using the full locale name
        # from the environment variables.
index 4da9506b5810dd59a40d070ae4976d9974e9dd93..c48dd3b6b2b479a09750ddffb9e95e37f8c34aaf 100644 (file)
@@ -31,6 +31,7 @@ glib_OBJECTS =                        \
        gconvert.o              \
        gdataset.o              \
        gdate.o                 \
+       gdir.o                  \
        gerror.o                \
        gfileutils.o            \
        ghash.o                 \