mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-16 07:17:14 +01:00
Minor edits.
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.
This commit is contained in:
parent
ca8f047a45
commit
89fa66b5fd
14
ChangeLog
14
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>
|
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in (CFLAGS): Add check for dirent.h
|
* configure.in (CFLAGS): Add check for dirent.h
|
||||||
|
@ -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>
|
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in (CFLAGS): Add check for dirent.h
|
* configure.in (CFLAGS): Add check for dirent.h
|
||||||
|
@ -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>
|
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in (CFLAGS): Add check for dirent.h
|
* configure.in (CFLAGS): Add check for dirent.h
|
||||||
|
@ -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>
|
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in (CFLAGS): Add check for dirent.h
|
* configure.in (CFLAGS): Add check for dirent.h
|
||||||
|
@ -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>
|
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in (CFLAGS): Add check for dirent.h
|
* configure.in (CFLAGS): Add check for dirent.h
|
||||||
|
@ -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>
|
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in (CFLAGS): Add check for dirent.h
|
* configure.in (CFLAGS): Add check for dirent.h
|
||||||
|
@ -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>
|
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in (CFLAGS): Add check for dirent.h
|
* configure.in (CFLAGS): Add check for dirent.h
|
||||||
|
@ -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>
|
Sun Nov 4 20:45:21 2001 Owen Taylor <otaylor@redhat.com>
|
||||||
|
|
||||||
* configure.in (CFLAGS): Add check for dirent.h
|
* configure.in (CFLAGS): Add check for dirent.h
|
||||||
|
13
README.win32
13
README.win32
@ -1,7 +1,7 @@
|
|||||||
General
|
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
|
native Windows, and pre-built binaries (DLLs), surf to
|
||||||
http://www.gimp.org/win32/ . "Native" means that we use the Win32 API
|
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
|
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
|
- G_OS_WIN32 is defined when compiling for Win32, *and* without
|
||||||
any POSIX emulation, other that to the extent provided by the
|
any POSIX emulation, other that to the extent provided by the
|
||||||
bundled Microsoft C library (msvcrt.dll) and the pthreads-win32
|
bundled Microsoft C library (msvcrt.dll).
|
||||||
library. For instance, pathnames are in the native Windows syntax.
|
|
||||||
|
|
||||||
- G_WITH_CYGWIN is defined if compiling for the Cygwin
|
- G_WITH_CYGWIN is defined if compiling for the Cygwin
|
||||||
environment. Note that G_OS_WIN32 is *not* defined in that case, as
|
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
|
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
|
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:
|
Additionally, there are the compiler-specific macros:
|
||||||
- __GNUC__ is defined when using GCC
|
- __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
|
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
|
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
|
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.
|
gcc, follow the relevant instructions below in that case, too.
|
||||||
|
|
||||||
|
26
glib-zip.in
26
glib-zip.in
@ -1,31 +1,38 @@
|
|||||||
#!/bin/sh
|
#!/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.
|
# After running make install, run this.
|
||||||
|
|
||||||
# These paths obviously are system-dependent:
|
ZIP=/tmp/glib-@GLIB_VERSION@.zip
|
||||||
ZIP=/g/tmp/glib-@GLIB_VERSION@.zip
|
DEVZIP=/tmp/glib-dev-@GLIB_VERSION@.zip
|
||||||
cd /target
|
|
||||||
|
cd @prefix@
|
||||||
|
|
||||||
rm $ZIP
|
rm $ZIP
|
||||||
zip -r $ZIP -@ <<EOF
|
zip -r $ZIP -@ <<EOF
|
||||||
COPYING.LIB-2
|
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-genmarshal.exe
|
||||||
bin/glib-gettextize
|
bin/glib-gettextize
|
||||||
bin/glib-mkenums
|
bin/glib-mkenums
|
||||||
bin/gobject-query.exe
|
bin/gobject-query.exe
|
||||||
bin/gspawn-win32-helper.exe
|
|
||||||
include/glib-2.0
|
include/glib-2.0
|
||||||
lib/libglib-1.3-@LT_CURRENT_MINUS_AGE@.dll
|
|
||||||
lib/libglib-1.3.dll.a
|
lib/libglib-1.3.dll.a
|
||||||
lib/glib-1.3.lib
|
lib/glib-1.3.lib
|
||||||
lib/libgmodule-1.3-@LT_CURRENT_MINUS_AGE@.dll
|
|
||||||
lib/libgmodule-1.3.dll.a
|
lib/libgmodule-1.3.dll.a
|
||||||
lib/gmodule-1.3.lib
|
lib/gmodule-1.3.lib
|
||||||
lib/libgobject-1.3-@LT_CURRENT_MINUS_AGE@.dll
|
|
||||||
lib/libgobject-1.3.dll.a
|
lib/libgobject-1.3.dll.a
|
||||||
lib/gobject-1.3.lib
|
lib/gobject-1.3.lib
|
||||||
lib/libgthread-1.3-@LT_CURRENT_MINUS_AGE@.dll
|
|
||||||
lib/libgthread-1.3.dll.a
|
lib/libgthread-1.3.dll.a
|
||||||
lib/gthread-1.3.lib
|
lib/gthread-1.3.lib
|
||||||
lib/glib-2.0
|
lib/glib-2.0
|
||||||
@ -39,4 +46,3 @@ man/man1/glib-mkenums.1
|
|||||||
man/man1/glib-genmarshal.1
|
man/man1/glib-genmarshal.1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
zip -r $ZIP lib/locale/*/LC_MESSAGES/glib20.mo
|
|
||||||
|
@ -141,6 +141,10 @@ EXPORTS
|
|||||||
g_date_valid_month
|
g_date_valid_month
|
||||||
g_date_valid_weekday
|
g_date_valid_weekday
|
||||||
g_date_valid_year
|
g_date_valid_year
|
||||||
|
g_dir_close
|
||||||
|
g_dir_open
|
||||||
|
g_dir_read_name
|
||||||
|
g_dir_rewind
|
||||||
g_direct_equal
|
g_direct_equal
|
||||||
g_direct_hash
|
g_direct_hash
|
||||||
g_error_copy
|
g_error_copy
|
||||||
|
@ -274,7 +274,7 @@ case "$os" in
|
|||||||
# BeOS has a single locale, and it has UTF-8 encoding.
|
# BeOS has a single locale, and it has UTF-8 encoding.
|
||||||
echo "* UTF-8"
|
echo "* UTF-8"
|
||||||
;;
|
;;
|
||||||
msdosdjgpp*|mingw*)
|
msdosdjgpp*)
|
||||||
# DJGPP 2.03 doesn't have nl_langinfo(CODESET); therefore
|
# DJGPP 2.03 doesn't have nl_langinfo(CODESET); therefore
|
||||||
# localcharset.c falls back to using the full locale name
|
# localcharset.c falls back to using the full locale name
|
||||||
# from the environment variables.
|
# from the environment variables.
|
||||||
|
@ -31,6 +31,7 @@ glib_OBJECTS = \
|
|||||||
gconvert.o \
|
gconvert.o \
|
||||||
gdataset.o \
|
gdataset.o \
|
||||||
gdate.o \
|
gdate.o \
|
||||||
|
gdir.o \
|
||||||
gerror.o \
|
gerror.o \
|
||||||
gfileutils.o \
|
gfileutils.o \
|
||||||
ghash.o \
|
ghash.o \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user