From b9cf431b95e7d9633f7867094a3fad4d6a23a8a6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 17 May 2008 01:36:40 +0000 Subject: [PATCH] externals. The relevant directories and files have been svn add'ed to GLib 2008-05-17 Tor Lillqvist * "build" is no longer include into GLib through svn:externals. The relevant directories and files have been svn add'ed to GLib (trunk) instead. svn path=/trunk/; revision=6895 --- ChangeLog | 6 + build/ChangeLog | 487 ++++++++++++++++++++ build/Makefile.am | 7 + build/README | 2 + build/win32/Makefile.am | 7 + build/win32/dirent/Makefile.am | 9 + build/win32/dirent/README | 2 + build/win32/dirent/dirent-zip | 19 + build/win32/dirent/dirent.c | 340 ++++++++++++++ build/win32/dirent/dirent.h | 121 +++++ build/win32/dirent/makefile.msc | 16 + build/win32/dirent/wdirent.c | 3 + build/win32/make.msc | 181 ++++++++ build/win32/module.defs | 113 +++++ build/win32/vs8/Makefile.am | 8 + build/win32/vs8/gio.vcproj | 444 ++++++++++++++++++ build/win32/vs8/glib-genmarshal.vcproj | 199 +++++++++ build/win32/vs8/glib.sln | 67 +++ build/win32/vs8/glib.vcproj | 595 +++++++++++++++++++++++++ build/win32/vs8/gmodule.vcproj | 217 +++++++++ build/win32/vs8/gobject.vcproj | 287 ++++++++++++ build/win32/vs8/gthread.vcproj | 215 +++++++++ 22 files changed, 3345 insertions(+) create mode 100644 build/ChangeLog create mode 100644 build/Makefile.am create mode 100644 build/README create mode 100644 build/win32/Makefile.am create mode 100644 build/win32/dirent/Makefile.am create mode 100644 build/win32/dirent/README create mode 100644 build/win32/dirent/dirent-zip create mode 100644 build/win32/dirent/dirent.c create mode 100644 build/win32/dirent/dirent.h create mode 100644 build/win32/dirent/makefile.msc create mode 100644 build/win32/dirent/wdirent.c create mode 100644 build/win32/make.msc create mode 100644 build/win32/module.defs create mode 100644 build/win32/vs8/Makefile.am create mode 100644 build/win32/vs8/gio.vcproj create mode 100644 build/win32/vs8/glib-genmarshal.vcproj create mode 100644 build/win32/vs8/glib.sln create mode 100644 build/win32/vs8/glib.vcproj create mode 100644 build/win32/vs8/gmodule.vcproj create mode 100644 build/win32/vs8/gobject.vcproj create mode 100644 build/win32/vs8/gthread.vcproj diff --git a/ChangeLog b/ChangeLog index 07c4d50d..52b2c8fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-05-17 Tor Lillqvist + + * build: Don't include the "build" module with svn:externals any + longer. Instead add the still relevant directories and files from + it for real here in GLib. + 2008-05-17 Yair Hershkovitz * glib/glib.symbols: diff --git a/build/ChangeLog b/build/ChangeLog new file mode 100644 index 00000000..b852aac0 --- /dev/null +++ b/build/ChangeLog @@ -0,0 +1,487 @@ +2008-05-17 Tor Lillqvist + + * "build" is no longer include into GLib through + svn:externals. The relevant directories and files have been svn + add'ed to GLib (trunk) instead. + +2008-05-16 Tor Lillqvist + + * win32/vs8/glib.vcproj: Add gi18n.c. + + * win32/vs8/gio.vcproj: Add gwin32directorymonitor.c. + + * win32/vs8/glib-genmarshal.vcproj: Put also glib-genmarshal.exe + in the "bin" folder. + +2008-04-23 Tor Lillqvist + + Bug 529391 - Update of vs8 build files for Glib 2.16 + + * win32/vs8/*: Update from Danel Atallah. + +2008-03-12 Tor Lillqvist + + * MAINTAINERS: Add. + + * win32/make.mingw: Remove this since long unused and obsolete + file from SVN. + + * win32/make.msc: Don't mention it here either then. + +2007-04-15 Tor Lillqvist + + * .cvsignore + * win32/.cvsignore + * win32/dirent/.cvsignore + * win32/vs8/.cvsignore: Remove. + +2006-10-14 Tor Lillqvist + + * win32/vs8/gmodule.vcproj + * win32/vs8/gobject.vcproj + * win32/vs8/gthread.vcproj: Updates by Mike Edenfield. (#354124) + +2006-09-02 Tor Lillqvist + + * win32/vs8/glib.vcproj: Update from Mike Edenfield. + +2006-02-08 Tor Lillqvist + + * win32/vs8/glib-genmarshal.vcproj: New file: Visual Studio + project file for glib-genmarshal.exe, by Sergey Scobich. + + * win32/vs8/Makefile.am + * win32/vs8/glib.sln: Add it. + +2006-01-31 Tor Lillqvist + + * win32/Makefile.am (EXTRA_DIST): Drop the obsolete shell scripts + and make.mingw. + + * win32/vs8/*: Visual Studio 2005 project files for GLib + contributed by Sergey Scobich. (#328691) + + * win32/Makefile.am (SUBDIRS): Add vs8. + + * win32/make.msc (LINKDEBUG): Use /nodefaultlib:msvcrt.lib when + debugging. (#329325, Timo Linna) + +2005-09-01 Tor Lillqvist + + * win32/cl-wrapper.c: Again spent some hours hacking on this. Now + the compilation phase of building libglib autoconfiscated using + CC=cl-wrapper seems to work. But problems in the linking phase, + for instance -Wl,--whole-archive isn't implemented, and I don't + think link.exe even has a such feature to include all of a + library. Argh. To implement -Wl,--whole-archive, would need to + extract the library contents into a temp directory and link with + all the resulting object files. Sigh. + +2005-07-09 Tor Lillqvist + + * README: When using auto*/libtool/gcc to build GLib, Pango and + GTK+, the scripts to compile resource files in build/win32 are no + longer used. Still here in case somebody wants to have a look, + though. + +2005-02-06 Hans Breuer + + * win32/make.msc win32/module.defs : updated to include Cairo, + gnome-canvas, gnome-print(ui), libart, pangoft2, libxml2, libxslt + +2004-12-29 Tor Lillqvist + + * win32/cl-wrapper.c: More hacking. Implement -idirafter + correctly, amending the INCLUDE environment variable. Ignore + -lm. Error if multiple -o options. Copy input libs called foo.a to + foo.temp.lib so that link knows what they are. Remove dead + code. Link with same default libraries as mingw's gcc. Use + indirect command line file if command line is too long. + +2004-12-12 Tor Lillqvist + + * win32/cl-wrapper.c: Hack more on this. Using MSVC is necessary + if one wants to use tools like Purify or BoundsChecker. + +2004-08-11 Tor Lillqvist + + * win32/dirent/dirent.[ch]: Update from mingw-runtime-3.3. + Implements both normal and wide-char versions. + + * win32/dirent/wdirent.c: New file. + + * win32/dirent/Makefile.am (EXTRA_DIST): Add wdirent.c. + +2004-05-01 Hans Breuer + + * win32/make.msc : -DG_ENABLE_DEBUG=1 for debug builds + (#141335, John Ehresman) + +2004-03-05 Federico Mena Quintero + + Fix #136082, patch by Morten Welinder. + + * win32/cl-wrapper.c: #include + * win32/dirent/dirent.c: Likewise. + +2004-01-24 Tor Lillqvist + + * win32/compile-resource + * win32/lt-compile-resource: Use /bin/sh instead of /bin/bash, as + MSYS doesn't come with any /bin/bash. When compiling with + --enable-static and --disable-shared flag, libtool creates *.lo + files as scripts, but the *.o files are in "." and not in + ".libs". Thanks to Fridrich Strba. + +2003-11-15 Tor Lillqvist + + * win32/dirent/makefile.msc: Improve. (#126913, John Ehresman) + +2003-08-08 Tor Lillqvist + + * win32/cl-wrapper.c: Fix bug in environment variable + handling. Support --version flag. Prefix double quotes in -I and + -D parameters with backslash. + +2003-06-06 Tor Lillqvist + + * win32(compile-resource (resfile): Support a WINDRES environment + variable. (#112387, J. Ali Harlow) + +2002-09-28 Tor Lillqvist + + * win32/make.mingw: Add libxml2 CFLAGS and LIBS + (suggestion by Steffen Macke). + +2002-09-17 Tor Lillqvist + + * win32/compile-resource: Return failure (implicitly, as the + return status of the last command executed) if m4 or windres + fails. Thanks to charlet@act-europe.fr (#93373). + +2002-09-13 Tor Lillqvist + + * win32/lt-compile-resource: Argh. With some libtool versions, or + when the moon is in a certain phase, libtool creates the actual + object files as .lo files. Otherwise .lo files are small scripts + (which is what lt-compile-resource has always thought until now). + Add an ugly hack that tries to determine which kind of .lo files are + used, and act correspondingly. + +2002-09-10 Tor Lillqvist + + * win32/module.defs: Remove GTK_VER which was misleading and + unused. Ditto for GTKGLAREA_VER. Add comment about taking this + stuff with a very big grain of salt. + +2002-03-27 Tor Lillqvist + + * win32/module.defs + * win32/make.msc + * win32/make.mingw: Try to make up-to-date with GLib 2.0, ATK 1.0, + Pango 1.0 and GTK+ 2.0. This stuff is starting to feel more and + more quaint, though. Remove the FriBiDi references, Pango uses its + own mini-fribidi version. Use the names GTK2_CFLAGS and _LIBS also in + make.mingw, not GTKCURRENT_*. + +2001-12-05 Tor Lillqvist + + * win32/make.mingw (LIBICONV_LIBS): Fix typo: pkg-config --libs, + not --cflags. Thanks to Victor Secarin. + + * win32/build-dll: Don't call dirname blindly on $0 which might be + a Windows-style (drive letter, backslashes) pathname. Thanks to + Victor Secarin. Remove mention of Platform SDK, it doesn't + include the linker any longer. + +2001-10-31 Tor Lillqvist + + * win32/make.mingw (TIFF_LIBS): We can use same import library for + non-LZW and LZW-enabled versions. Just let the user decide which + DLL to use. + +2001-10-30 Tor Lillqvist + + * win32/make.mingw: Use pkg-config for more stuff. The + corresponding .pc files are included in the new packages on + www.gimp.org/win32/new-downloads.html. + + * win32/dirent/dirent-zip: New file, script to package a developer + package of dirent.h and dirent.lib. + + * win32/dirent/Makefile.am (EXTRA_DIST): Add it. + +2001-10-24 Tor Lillqvist + + * win32/make.mingw: Also try to include module.defs from the build + subdirectory of GLib. + + * win32/make.msc: When DEBUG, use -Zi, otherwise -Zi. Always use + /machine:ix86. + +2001-10-23 Tor Lillqvist + + * win32/cl-wrapper.c: Various changes. I don't actually use this + to build with libtool and MSVC, only to run configure for MSVC. At + least for now. + + * win32/make.mingw: Use pkg-config to get CFLAGS and LIBS for GLib + and GTK. + + * win32/make.msc: Use GDK and GTK import library names now + produced in gtk-1-3-win32-production. + +2001-10-10 Tor Lillqvist + + * win32/module.defs (PNG): Use libpng 1.2.0. + + * win32/lt-compile-resource: Mkdir .libs if not there already. + +2001-09-30 Tor Lillqvist + + * win32/build-dll: Comment clarification. + + * win32/Makefile.am: Add dirent subdirectory. + + * win32/dirent/*: New files. The (public domain) dirent + implementation from the mingw runtime, for MSVC users. + + * win32/make.msc (DIRENT_CFLAGS,DIRENT_LIBS): Point to + build/win32/dirent in the GLib sources. Hmm. + (CC): Remove duplicate $(OPTIMIZE), already in CFLAGS. + +2001-09-28 Tor Lillqvist + + * win32/make.mingw + * win32/make.msc: Separate the compiler program names into + an Make macro of its own (CCOMPILER and CXXCOMPILER). + + * win32/cl-wrapper.c: New file. A program that accepts Unix-like C + compiler command line arguments, and runs the Microsoft C compiler + (cl) after transforming the arguments to cl's syntax. This program + can be used when using the auto*/configure mechanism to build + software with MSVC. + +2001-09-25 Tor Lillqvist + + * win32/module.defs: Do define GLIB_VER after all. (Do use it in + (import) library names, like it is on Unix.) + + * win32/make.mingw + * win32/make.msc: Some comments added. Use GLIB_VER in GLib + (import) library names. + +2001-09-17 Tor Lillqvist + + * win32/build-dll: Invocation changed. We now expect a version + info like libtool's -version-info parameter. The intention is to + produce the same name DLL as libtool would, i.e. use "current - + age" as the DLL name suffix. + + * win32/compile-resource: New file, containing the part of + build-dll that compiles the resource file, if available. + + * win32/lt-compile-resource: New file, invokes compile-resource, + placing the resulting .o file in the .libs subdirectory, and + handcrafts a "libtool object" for it. + + * win32/Makefile.am: Distribute new files. + + * win32/make.mingw: Add COMPILE_RESOURCE. + +Tue Sep 4 01:46:15 2001 Owen Taylor + + * win32/Makefile.am (EXTRA_DIST): Add build-dll, on + the assumption it isn't going to get distributed otherwise. + +2001-09-01 Tor Lillqvist + + * win32/build-dll: Move here from GLib. Use gcc -shared instead of + the multiple pass gcc+dlltool method. Don't include the version + number in the import library names. + + * win32/make.mingw + * win32/make.msc: Correspondingly, remove the version number parts + from (some) import library names. (Just a start, more to follow.) + + * win32/module.defs: In fact, no need to know the versions at all + for stuff that doesn't include it as part of the directory name. + +2001-01-06 Hans Breuer + + * win32/module.defs : renamed GTKCURRENT to GTK2 and some + version number updates + + * win32/make.msc : added GTK2_CFLAGS and GTK2_LIBS, now used + by CVS HEAD Gimp. Minor updates, + +2001-05-22 Sebastian Wilhelmi + + * win32/make.mingw: Redid CFLAGS. + + * win32/make.mingw (CXX): Removed PTHREAD defs. Added -O2 -Wall to + compile flags. + +2001-01-06 Hans Breuer + + * win32/make.msc win32/module.defs : added ATK, + adapted Pango version + +2001-03-19 Tor Lillqvist + + * win32/module.defs (GLIB_GENMARSHAL): Add macro for glib-genmarshal. + +2001-02-17 Tor Lillqvist + + * win32/make.{mingw,msc} (INTL_LIBS): Call the import library just + libintl, not gnu-intl, for consistency with Unix conventions. (The + DLL is still called gnu-intl.dll, using such a generic name as + just "intl.dll" would be asking for trouble.) + +2001-01-28 Tor Lillqvist + + * win32/module.defs + * win32/make.mingw + * win32/make.msc : Use libiconv 1.5.1. Use libiconv's import + library as built by its Makefile.msvc, without any version + number. Use the same convention for the GNU-style import library. + +2000-12-27 Tor Lillqvist + + * win32/make.{mingw,msc} (TIFF_LIBS): Provide separate TIFF_LZW + and TIFF_NOLZW. + +2000-12-21 Tor Lillqvist + + * win32/*: Add version number for FreeType2. We need the FT2 + library built as a DLL, and append the vesion number to its name, + too. + +2000-12-20 Tor Lillqvist + + * win32/module.defs (FRIBIDI_VER): Use FriBidi 0.1.15. + +2000-12-14 Tor Lillqvist + + * win32/make.msc: Split C runtime flag (-MD or -MDd) to a separate + macro. + +2000-11-15 Tor Lillqvist + + * win32/module.defs (PANGO_VER): Update Pango version to 0.13. + +2000-10-22 Tor Lillqvist + + * win32/make.msc (PANGO_LIBS): Include version in Pango lib names. + +2000-10-07 Tor Lillqvist + + * win32/make.msc: Improve to be more useable. + +2000-09-12 Tor Lillqvist + + * win32/make.{mingw,msc}: Add PTHREAD_LIBS and PTHREAD_CFLAGS. + +2000-08-24 Tor Lillqvist + + * win32/module.defs: Add separate version number for gdk-pixbuf. + + * win32/make.mingw: Add C++ defs. + +2000-08-20 Tor Lillqvist + + * win32/*: Remove FREETYPE2_20000624, not needed any + longer by gimp-freetype. + + * win32/make.mingw: Add rule to produce assembler source. + + * win32/make.msc: Fix syntax error. Add CFLAGS. + +2000-08-05 Tor Lillqvist + + * win32/module.defs + * win32/make.{mingw,msc}: Rename the FreeType2 snapshot from 2000-06-24 + (used by gimp-freetype). Use the name "FreeType2" for the current + FreeType2. + +2000-07-30 Tor Lillqvist + + * win32/module.defs + * win32/make.mingw + * win32/make.msc: Rename XML to LIBXML. Use version 0.14 of + it. Add LIBXML_CFLAGS and _LIBS. Add GTKCURRENT referring the + current CVS GTK+ (nonworking on Win32). + +2000-07-25 Tor Lillqvist + + * win32/make.mingw (PANGO_LIBS): Typo. + +2000-07-21 Tor Lillqvist + + * win32/*: Reorder stuff to be in alphabetical order of package + names. Add GtkGLArea. Add path to OpenGL headers. + +2000-07-18 Tor Lillqvist + + * win32/module.defs (FRIBIDI_VER) + * win32/make.{mingw,msc} (FRIBIDI_LIBS): Use correct version + of FriBidi. + +2000-07-15 Tor Lillqvist + + * win32/make.mingw + * win32/make.msc + * win32/module.defs: Add Pango. + +2000-07-10 Tor Lillqvist + + * win32/module.defs: + * win32/make.msc: New files. Factor out common stuff to module.defs. + make.msc is for nmake and MSVC. Thanks to Hans Breuer. + + * win32/Makefile.am: Add them to EXTRA_DIST. + + * win32/make.mingw: Move part to module.defs. Ugly hack to find + module.defs. + +2000-07-02 Tor Lillqvist + + * win32/make.mingw: Addd FriBidi and libiconv. Add USRDIR for + headers and libs that are "installed". + +2000-06-07 Tor Lillqvist + + * win32/make.mingw: Clarify where this stuff should be located. + + * Makefile.am + * win32/Makefile.am: New files. Only set SUBDIRS and EXTRA_DIST. + +2000-05-29 Tor Lillqvist + + * win32/make.mingw: Add gmodule directory to GLib includes. Use + freetype2 directory called just that. + +2000-05-13 Tor Lillqvist + + * README: Remove the original README text. + + * win32/make.mingw: Define macros for CFLAGS and LIBS of GLib, + GTk+, intl, freetype2, zlib, libjpeg, libtiff and GIMP. Remove the + WIN32APIHEADERS, that is now taken care of in glib/build-dll. + +2000-05-05 Tor Lillqvist + + * win32/make.mingw: Add GIMP_VER. Add path to GIMP and freetype2 + sources. + +2000-05-04 Tor Lillqvist + + * ChangeLog: Start ChangeLog. + + * README: Change purpose of this directory. + + * win32/make.mingw: New file. + + * build.inf + * cvs.py + * write.py: Remove. diff --git a/build/Makefile.am b/build/Makefile.am new file mode 100644 index 00000000..8a834e73 --- /dev/null +++ b/build/Makefile.am @@ -0,0 +1,7 @@ +SUBDIRS = \ + win32 + +EXTRA_DIST = \ + README \ + ChangeLog + diff --git a/build/README b/build/README new file mode 100644 index 00000000..8b95fd53 --- /dev/null +++ b/build/README @@ -0,0 +1,2 @@ +Now this directory is private to GLib. Only the files relevant to GLib +are left. See the separate "build" module in GNOME SVN for history. diff --git a/build/win32/Makefile.am b/build/win32/Makefile.am new file mode 100644 index 00000000..3e31e724 --- /dev/null +++ b/build/win32/Makefile.am @@ -0,0 +1,7 @@ +SUBDIRS = \ + dirent \ + vs8 + +EXTRA_DIST = \ + make.msc \ + module.defs diff --git a/build/win32/dirent/Makefile.am b/build/win32/dirent/Makefile.am new file mode 100644 index 00000000..87b5216a --- /dev/null +++ b/build/win32/dirent/Makefile.am @@ -0,0 +1,9 @@ +EXTRA_DIST = \ + README \ + dirent.c \ + dirent.h \ + wdirent.c \ + makefile.msc \ + dirent-zip + + diff --git a/build/win32/dirent/README b/build/win32/dirent/README new file mode 100644 index 00000000..e31ac1f9 --- /dev/null +++ b/build/win32/dirent/README @@ -0,0 +1,2 @@ +This is dirent from mingw-runtime-3.3, separated for MSVC user's +benefit. diff --git a/build/win32/dirent/dirent-zip b/build/win32/dirent/dirent-zip new file mode 100644 index 00000000..7301987e --- /dev/null +++ b/build/win32/dirent/dirent-zip @@ -0,0 +1,19 @@ +#!/bin/sh + +# Build developer package for the dirent library. + +ZIP=/tmp/dirent.zip + +mkdir -p dist/include dist/lib +cp dirent.h dist/include +cp dirent.lib dist/lib + +(cd dist +rm $ZIP +zip $ZIP -@ < + * Significantly revised and rewinddir, seekdir and telldir added by Colin + * Peters + * + */ + +#include +#include +#include +#include +#include +#include + +#define WIN32_LEAN_AND_MEAN +#include /* for GetFileAttributes */ + +#include + +#ifdef _UNICODE +#define _tdirent _wdirent +#define _TDIR _WDIR +#define _topendir _wopendir +#define _tclosedir _wclosedir +#define _treaddir _wreaddir +#define _trewinddir _wrewinddir +#define _ttelldir _wtelldir +#define _tseekdir _wseekdir +#else +#define _tdirent dirent +#define _TDIR DIR +#define _topendir opendir +#define _tclosedir closedir +#define _treaddir readdir +#define _trewinddir rewinddir +#define _ttelldir telldir +#define _tseekdir seekdir +#endif + +#define SUFFIX _T("*") +#define SLASH _T("\\") + + +/* + * opendir + * + * Returns a pointer to a DIR structure appropriately filled in to begin + * searching a directory. + */ +_TDIR * +_topendir (const _TCHAR *szPath) +{ + _TDIR *nd; + unsigned int rc; + _TCHAR szFullPath[MAX_PATH]; + + errno = 0; + + if (!szPath) + { + errno = EFAULT; + return (_TDIR *) 0; + } + + if (szPath[0] == _T('\0')) + { + errno = ENOTDIR; + return (_TDIR *) 0; + } + + /* Attempt to determine if the given path really is a directory. */ + rc = GetFileAttributes (szPath); + if (rc == (unsigned int)-1) + { + /* call GetLastError for more error info */ + errno = ENOENT; + return (_TDIR *) 0; + } + if (!(rc & FILE_ATTRIBUTE_DIRECTORY)) + { + /* Error, entry exists but not a directory. */ + errno = ENOTDIR; + return (_TDIR *) 0; + } + + /* Make an absolute pathname. */ + _tfullpath (szFullPath, szPath, MAX_PATH); + + /* Allocate enough space to store DIR structure and the complete + * directory path given. */ + nd = (_TDIR *) malloc (sizeof (_TDIR) + (_tcslen(szFullPath) + _tcslen (SLASH) + + _tcslen(SUFFIX) + 1) * sizeof(_TCHAR)); + + if (!nd) + { + /* Error, out of memory. */ + errno = ENOMEM; + return (_TDIR *) 0; + } + + /* Create the search expression. */ + _tcscpy (nd->dd_name, szFullPath); + + /* Add on a slash if the path does not end with one. */ + if (nd->dd_name[0] != _T('\0') && + nd->dd_name[_tcslen (nd->dd_name) - 1] != _T('/') && + nd->dd_name[_tcslen (nd->dd_name) - 1] != _T('\\')) + { + _tcscat (nd->dd_name, SLASH); + } + + /* Add on the search pattern */ + _tcscat (nd->dd_name, SUFFIX); + + /* Initialize handle to -1 so that a premature closedir doesn't try + * to call _findclose on it. */ + nd->dd_handle = -1; + + /* Initialize the status. */ + nd->dd_stat = 0; + + /* Initialize the dirent structure. ino and reclen are invalid under + * Win32, and name simply points at the appropriate part of the + * findfirst_t structure. */ + nd->dd_dir.d_ino = 0; + nd->dd_dir.d_reclen = 0; + nd->dd_dir.d_namlen = 0; + memset (nd->dd_dir.d_name, 0, FILENAME_MAX); + + return nd; +} + + +/* + * readdir + * + * Return a pointer to a dirent structure filled with the information on the + * next entry in the directory. + */ +struct _tdirent * +_treaddir (_TDIR * dirp) +{ + errno = 0; + + /* Check for valid DIR struct. */ + if (!dirp) + { + errno = EFAULT; + return (struct _tdirent *) 0; + } + + if (dirp->dd_stat < 0) + { + /* We have already returned all files in the directory + * (or the structure has an invalid dd_stat). */ + return (struct _tdirent *) 0; + } + else if (dirp->dd_stat == 0) + { + /* We haven't started the search yet. */ + /* Start the search */ + dirp->dd_handle = _tfindfirst (dirp->dd_name, &(dirp->dd_dta)); + + if (dirp->dd_handle == -1) + { + /* Whoops! Seems there are no files in that + * directory. */ + dirp->dd_stat = -1; + } + else + { + dirp->dd_stat = 1; + } + } + else + { + /* Get the next search entry. */ + if (_tfindnext (dirp->dd_handle, &(dirp->dd_dta))) + { + /* We are off the end or otherwise error. + _findnext sets errno to ENOENT if no more file + Undo this. */ + DWORD winerr = GetLastError(); + if (winerr == ERROR_NO_MORE_FILES) + errno = 0; + _findclose (dirp->dd_handle); + dirp->dd_handle = -1; + dirp->dd_stat = -1; + } + else + { + /* Update the status to indicate the correct + * number. */ + dirp->dd_stat++; + } + } + + if (dirp->dd_stat > 0) + { + /* Successfully got an entry. Everything about the file is + * already appropriately filled in except the length of the + * file name. */ + dirp->dd_dir.d_namlen = _tcslen (dirp->dd_dta.name); + _tcscpy (dirp->dd_dir.d_name, dirp->dd_dta.name); + return &dirp->dd_dir; + } + + return (struct _tdirent *) 0; +} + + +/* + * closedir + * + * Frees up resources allocated by opendir. + */ +int +_tclosedir (_TDIR * dirp) +{ + int rc; + + errno = 0; + rc = 0; + + if (!dirp) + { + errno = EFAULT; + return -1; + } + + if (dirp->dd_handle != -1) + { + rc = _findclose (dirp->dd_handle); + } + + /* Delete the dir structure. */ + free (dirp); + + return rc; +} + +/* + * rewinddir + * + * Return to the beginning of the directory "stream". We simply call findclose + * and then reset things like an opendir. + */ +void +_trewinddir (_TDIR * dirp) +{ + errno = 0; + + if (!dirp) + { + errno = EFAULT; + return; + } + + if (dirp->dd_handle != -1) + { + _findclose (dirp->dd_handle); + } + + dirp->dd_handle = -1; + dirp->dd_stat = 0; +} + +/* + * telldir + * + * Returns the "position" in the "directory stream" which can be used with + * seekdir to go back to an old entry. We simply return the value in stat. + */ +long +_ttelldir (_TDIR * dirp) +{ + errno = 0; + + if (!dirp) + { + errno = EFAULT; + return -1; + } + return dirp->dd_stat; +} + +/* + * seekdir + * + * Seek to an entry previously returned by telldir. We rewind the directory + * and call readdir repeatedly until either dd_stat is the position number + * or -1 (off the end). This is not perfect, in that the directory may + * have changed while we weren't looking. But that is probably the case with + * any such system. + */ +void +_tseekdir (_TDIR * dirp, long lPos) +{ + errno = 0; + + if (!dirp) + { + errno = EFAULT; + return; + } + + if (lPos < -1) + { + /* Seeking to an invalid position. */ + errno = EINVAL; + return; + } + else if (lPos == -1) + { + /* Seek past end. */ + if (dirp->dd_handle != -1) + { + _findclose (dirp->dd_handle); + } + dirp->dd_handle = -1; + dirp->dd_stat = -1; + } + else + { + /* Rewind and read forward to the appropriate index. */ + _trewinddir (dirp); + + while ((dirp->dd_stat < lPos) && _treaddir (dirp)) + ; + } +} diff --git a/build/win32/dirent/dirent.h b/build/win32/dirent/dirent.h new file mode 100644 index 00000000..e8ec7e0b --- /dev/null +++ b/build/win32/dirent/dirent.h @@ -0,0 +1,121 @@ +/* + * DIRENT.H (formerly DIRLIB.H) + * This file has no copyright assigned and is placed in the Public Domain. + * This file is a part of the mingw-runtime package. + * No warranty is given; refer to the file DISCLAIMER within the package. + * + */ +#ifndef _DIRENT_H_ +#define _DIRENT_H_ + +#include +#include + +#ifndef RC_INVOKED + +#ifdef __cplusplus +extern "C" { +#endif + +struct dirent +{ + long d_ino; /* Always zero. */ + unsigned short d_reclen; /* Always zero. */ + unsigned short d_namlen; /* Length of name in d_name. */ + char d_name[FILENAME_MAX]; /* File name. */ +}; + +/* + * This is an internal data structure. Good programmers will not use it + * except as an argument to one of the functions below. + * dd_stat field is now int (was short in older versions). + */ +typedef struct +{ + /* disk transfer area for this dir */ + struct _finddata_t dd_dta; + + /* dirent struct to return from dir (NOTE: this makes this thread + * safe as long as only one thread uses a particular DIR struct at + * a time) */ + struct dirent dd_dir; + + /* _findnext handle */ + long dd_handle; + + /* + * Status of search: + * 0 = not started yet (next entry to read is first entry) + * -1 = off the end + * positive = 0 based index of next entry + */ + int dd_stat; + + /* given path for dir with search pattern (struct is extended) */ + char dd_name[1]; +} DIR; + +DIR* __cdecl opendir (const char*); +struct dirent* __cdecl readdir (DIR*); +int __cdecl closedir (DIR*); +void __cdecl rewinddir (DIR*); +long __cdecl telldir (DIR*); +void __cdecl seekdir (DIR*, long); + + +/* wide char versions */ + +struct _wdirent +{ + long d_ino; /* Always zero. */ + unsigned short d_reclen; /* Always zero. */ + unsigned short d_namlen; /* Length of name in d_name. */ + wchar_t d_name[FILENAME_MAX]; /* File name. */ +}; + +/* + * This is an internal data structure. Good programmers will not use it + * except as an argument to one of the functions below. + */ +typedef struct +{ + /* disk transfer area for this dir */ + struct _wfinddata_t dd_dta; + + /* dirent struct to return from dir (NOTE: this makes this thread + * safe as long as only one thread uses a particular DIR struct at + * a time) */ + struct _wdirent dd_dir; + + /* _findnext handle */ + long dd_handle; + + /* + * Status of search: + * 0 = not started yet (next entry to read is first entry) + * -1 = off the end + * positive = 0 based index of next entry + */ + int dd_stat; + + /* given path for dir with search pattern (struct is extended) */ + wchar_t dd_name[1]; +} _WDIR; + + + +_WDIR* __cdecl _wopendir (const wchar_t*); +struct _wdirent* __cdecl _wreaddir (_WDIR*); +int __cdecl _wclosedir (_WDIR*); +void __cdecl _wrewinddir (_WDIR*); +long __cdecl _wtelldir (_WDIR*); +void __cdecl _wseekdir (_WDIR*, long); + + +#ifdef __cplusplus +} +#endif + +#endif /* Not RC_INVOKED */ + +#endif /* Not _DIRENT_H_ */ diff --git a/build/win32/dirent/makefile.msc b/build/win32/dirent/makefile.msc new file mode 100644 index 00000000..00f2e34a --- /dev/null +++ b/build/win32/dirent/makefile.msc @@ -0,0 +1,16 @@ +TOP = ..\..\..\.. + +!INCLUDE $(TOP)\glib\build\win32\make.msc + +dirent_OBJECTS = dirent.obj wdirent.obj + +INCLUDES = -I. + +all : dirent.lib + +dirent.lib : $(dirent_OBJECTS) + lib /out:dirent.lib /nodefaultlib $(dirent_OBJECTS) + +clean:: + del /f $(dirent_OBJECTS) + del /f dirent.lib diff --git a/build/win32/dirent/wdirent.c b/build/win32/dirent/wdirent.c new file mode 100644 index 00000000..098d8542 --- /dev/null +++ b/build/win32/dirent/wdirent.c @@ -0,0 +1,3 @@ +#define _UNICODE 1 +#define UNICODE 1 +#include "dirent.c" diff --git a/build/win32/make.msc b/build/win32/make.msc new file mode 100644 index 00000000..91835a9e --- /dev/null +++ b/build/win32/make.msc @@ -0,0 +1,181 @@ +# Note that this file is hardly maintained, hardly usable without +# manual editing, and not really part of a recommended way to build +# GLib and related software with Microsoft's compilers. Only a few +# persons use a build setup that involves this file. + +# Common makefile definitions for building GLib, GTk+, and various +# software that use these libraries with msvc on Win32 + +# Debug builds shoud link with msvcrtd release build with msvcrt. +!IFNDEF DEBUG +# Full optimization: +OPTIMIZE = -Ox +CRUNTIME = -MD +# Line number debug info only +DEBUGINFO = -Zd +LINKDEBUG = +!ELSE +# Debugging: +OPTIMIZE = +CRUNTIME = -MDd +DEBUGINFO = -Zi -DG_ENABLE_DEBUG=1 +LINKDEBUG = /debug /nodefaultlib:msvcrt.lib +!ENDIF + +LDFLAGS = /link /machine:ix86 $(LINKDEBUG) + +!IFNDEF TOP +TOP = .. +!ENDIF + +# paths and version numbers +!INCLUDE module.defs + +################ +# CFLAGS and LIBS for the packages in module.defs. +# In alphabetical order. + +# Note that these CFLAGS and LIBS refer to stuff in "source" +# directories. This is for historical reasons, and only useable if you +# have the GLib, Pango, etc sources. If you use the prebuilt developer +# packages, you should fix these to instead refer to the place where +# you unzipped the developer packages. Easiest of all, run pkg-config +# --cflags gtk+-2.0 (for instance), and paste its output as the +# definition of GTK2_CFLAGS. Etc. + +ATK_CFLAGS = -I $(ATK) +ATK_LIBS = $(ATK)\atk\atk-$(ATK_VER).lib + +CAIRO_CFLAGS = -I $(CAIRO)\cairo\src -I $(CAIRO)\libpixman\src -I $(CAIRO) $(FONTCONFIG_CFLAGS) $(FREETYPE2_CFLAGS) +CAIRO_LIBS = $(CAIRO)\cairo\src\libcairo-$(CAIRO_VER).lib + +DIRENT_CFLAGS = -I $(GLIB)\build\win32\dirent +DIRENT_LIBS = $(GLIB)\build\win32\dirent\dirent.lib + +# Don't know if Freetype2, FriBiDi and some others actually can be +# built with MSVC, but one can produce an import library even if the +# DLL was built with gcc. + +FREETYPE2_CFLAGS = -I $(FREETYPE2)\include +FREETYPE2_LIBS = $(FREETYPE2)\obj\freetype-$(FREETYPE2_VER).lib + +GDK_PIXBUF_CFLAGS = -I $(GDK_PIXBUF) +GDK_PIXBUF_LIBS = $(GTK2)\gdk-pixbuf\gdk_pixbuf-$(GDK_PIXBUF_VER).lib + +GIMP_CFLAGS = -I $(GIMP) +GIMP_PLUGIN_LIBS = $(GIMP)\libgimp\gimp-$(GIMP_VER).lib $(GIMP)\libgimp\gimpui-$(GIMP_VER).lib + +# overide definition to use it as callable path +GLIB = $(TOP)\glib + +GLIB_CFLAGS = -I $(GLIB) -I $(GLIB)\glib -I $(GLIB)\gmodule $(INTL_CFLAGS) +GLIB_LIBS = $(GLIB)\glib\glib-$(GLIB_VER).lib $(GLIB)\gmodule\gmodule-$(GLIB_VER).lib $(GLIB)\gobject\gobject-$(GLIB_VER).lib +GTHREAD_LIBS = $(GLIB)\gthread\gthread-$(GLIB_VER).lib + +GNOMECANVAS_CFLAGS = -I $(GNOMECANVAS) +GNOMECANVAS_LIBS = $(GNOMECANVAS)\libgnomecanvas\libgnomecanvas-$(GNOMECANVAS_VER).lib + +GNOMEPRINT_CFLAGS = -I $(GNOMEPRINT) +GNOMEPRINT_LIBS = $(GNOMEPRINT)\libgnomeprint\gnome-print-$(GNOMEPRINT_VER).lib + +GNOMEPRINTUI_CFLAGS = -I $(GNOMEPRINTUI) +GNOMEPRINTUI_LIBS = $(GNOMEPRINTUI)\libgnomeprintui\gnome-printui-$(GNOMEPRINTUI_VER).lib + +GTK_CFLAGS = -I$(GTK)\gdk -I$(GTK)\gdk -I$(GTK) +GTK_LIBS = $(GTK)\gtk\gtk.lib $(GTK)\gdk\gdk.lib + +GTK2_CFLAGS = $(GLIB_CFLAGS) $(ATK_CFLAGS) -I$(GTK2)\gdk -I$(GTK2)\gdk -I$(GTK2) -I$(PANGO) -I$(ATK) +GTK2_LIBS = $(GTK2)\gtk\gtk-win32-$(GTK2_VER).lib $(GTK2)\gdk\gdk-win32-$(GTK2_VER).lib $(GTK2)\gdk-pixbuf\gdk_pixbuf-$(GTK2_VER).lib $(PANGO_LIBS) + +GTKGLAREA_CFLAGS = -I $(GTKGLAREA) +GTKGLAREA_CFLAGS = -I $(GTKGLAREA) +GTKGLAREA_LIBS = $(GTKGLAREA)\gtkgl\gtkgl-$(GTKGLAREA_VER).lib + +LIBART_CFLAGS = -I$(LIBART)\.. -FIlibart_lgpl/art_config.h +LIBART_LIBS = $(LIBART)\libart.lib + +INTL_CFLAGS = -I $(INTL) +INTL_LIBS = $(INTL)\intl.lib + +LIBICONV_CFLAGS = -I $(LIBICONV)\include +LIBICONV_LIBS = $(LIBICONV)\lib\iconv.lib + +LIBXML_CFLAGS = -I $(LIBXML) +LIBXML_LIBS = $(LIBXML)\xml-$(LIBXML_VER).lib + +LIBXML2_CFLAGS = $(LIBICONV_CFLAGS) -I $(LIBXML2)\include +LIBXML2_LIBS = $(LIBXML2)\libxml2.lib + +LIBXSLT_CFLAGS = -I $(LIBXSLT) +LIBXSLT_LIBS = $(LIBXSLT)\libxslt\libxslt.lib + +JPEG_CFLAGS = -I $(JPEG) +JPEG_LIBS = $(JPEG)\libjpeg.lib + +OPENGL_CFLAGS = # None needed, headers bundled with the compiler +OPENGL_LIBS = opengl32.lib lglu32.lib + +PANGO_CFLAGS = -I $(PANGO) +PANGO_LIBS = $(PANGO)\pango\pango-$(PANGO_VER).lib +PANGOWIN32_LIBS = $(PANGO_LIBS) $(PANGO)\pango\pangowin32-$(PANGO_VER).lib +PANGOFT2_LIBS = $(PANGO_LIBS) $(PANGO)\pango\pangoft2-$(PANGO_VER).lib + +PNG_CFLAGS = -I $(PNG) $(ZLIB_CFLAGS) +PNG_LIBS = $(PNG)\png.lib $(ZLIB_LIBS) + +RSVG_CFLAGS = -I $(RSVG)\.. +RSVG_LIBS = $(RSVG)\librsvg-$(RSVG_VER).lib + +SVG_CFLAGS = -I $(SVG)\src +SVG_LIBS = $(SVG)\src\libsvg-$(SVG_VER).lib + +TIFF_CFLAGS = -I $(TIFF)\libtiff +# Use single import library for both libtiff DLL versions (with or +# without LZW code). The user selects which DLL to use. +TIFF_NOLZW_LIBS = $(TIFF)\libtiff\tiff.lib $(JPEG_LIBS) $(ZLIB_LIBS) user32.lib +TIFF_LZW_LIBS = $(TIFF_NOLZW_LIBS) +TIFF_LIBS = $(TIFF_NOLZW_LIBS) + +ZLIB_CFLAGS = -I $(ZLIB) +ZLIB_LIBS = $(ZLIB)\zlib.lib + +################ +# Compiler to use. + +CCOMPILER = cl +CC = $(CCOMPILER) -G5 -GF $(CRUNTIME) -W3 -nologo + +################ +# The including makefile should define INCLUDES, DEFINES and +# DEPCFLAGS. INCLUDES are the includes related to the module being +# built. DEFINES similarly. DEPCFLAGS should be set to a set of +# GLIB_CFLAGS, GTK_CFLAGS etc corresponding to what other modules we +# depend on. + +CFLAGS = $(OPTIMIZE) $(DEBUGINFO) $(INCLUDES) $(DEFINES) $(DEPCFLAGS) + +.c.i : + $(CC) $(CFLAGS) -E $< >$@ + +# The default target should be "all" + +default: all + +clean:: + -del *.obj + -del *.res + -del *.i + -del *.exe + -del *.dll + -del *.lib + -del *.err + -del *.map + -del *.sym + -del *.exp + -del *.lk1 + -del *.mk1 + -del *.pdb + -del *.ilk + +# Needed by hacker rule to make makefile.msc from makefile.msc.in: +SED = e:\cygwin\bin\sed diff --git a/build/win32/module.defs b/build/win32/module.defs new file mode 100644 index 00000000..dfebcddc --- /dev/null +++ b/build/win32/module.defs @@ -0,0 +1,113 @@ +# Note that this file is hardly maintained, hardly usable without +# manual editing, and not really part of a recommended way to build +# GLib and related software with Microsoft's compilers. Only a few +# persons use a build setup that involves this file. + +# This file is included by makefiles for both GNU Make (for gcc +# (mingw) builds, and NMAKE (for MSVC builds). + +MODULE_DEFS_INCLUDED=1 + +################ +# The version macros define what versions of libraries to use. + +# The version numbers are defined unconditionally. If you want to +# produce a newer version of one of these libraries, the new number +# should be defined in the specific project makefile _after_ including +# this file (or make.{mingw,msc}). These version numbers are used in +# the names of some import libraries. + +# Please note that there are two (or three) ways to build the GLib +# (and GTK+ etc) libraries on Win32: Either using the same +# auto*/configure mechanism to generate makefiles as on Unix, and +# libtool to handle DLL creation. This currently only works for gcc, +# and even then it is hellish to set up to work 100% correctly. For +# people using that, this file is totally irrelevant. + +# Or, use hand-written makefiles, either for MSVC (these are called +# makefile.msc and maintained by Hans Breuer), or for gcc +# (makefile.mingw, by Tor Lillqvist). Only for GLib are the +# makefile.mingw files believed to be up-to-date, for other modules +# they have been left to rot after Tor started using the +# autoconfiscated way of building. + +# The stuff here uses the same name for (import) libraries as on Unix, +# as libtool uses those, and the semi-official developer packages are +# built using libtool. + +ATK_VER = 1.0 +CAIRO_VER = 0.3 +FREETYPE2_VER = 2.0 +GIMP_VER = 1.2 +GDK_PIXBUF_VER = 2.0 +GLIB_VER = 2.0 +GTKGLAREA_VER = 1.2.2 +GTK2_VER = 2.0 +LIBGLADE_VER = 0.14 +LIBICONV_VER = 1.7 +LIBXML_VER = 1.8.7 +LIBXML2_VER = 2.4.2 +PANGO_VER = 1.0 +POPT_VER = 1.4 +SVG_VER = 0.1 +RSVG_VER = 2.4 + +################ +# Locations of various source directories. TOP is defined in make.{mingw,msc} + +# First stuff that is in the GNOME CVS repository. +# In alphabetical order. + +ATK = $(TOP)/atk +CAIRO = $(TOP)\cairo +GIMP = $(TOP)/gimp +GLIB = $(TOP)/glib +GNOMECANVAS = $(TOP)\libgnomecanvas +GNOMECANVAS_VER = 2.9 + +# GTK+ 1.3.0, gtk-1-3-win32-production branch. Rename directory +# to gtk+p after initial checkout from CVS. +GTK = $(TOP)/gtk+p +# GTK+ 2.0 +GTK2 = $(TOP)/gtk+ +GNOMEPRINT = $(TOP)\libgnomeprint +GNOMEPRINT_VER = 2.8 +GDK_PIXBUF = $(GTK) +LIBGLADE = $(TOP)/libglade +LIBXML = $(TOP)/libxml-$(LIBXML_VER) +PANGO = $(TOP)/pango + +GNOMEPRINTUI = $(TOP)\libgnomeprintui +GNOMEPRINTUI_VER = 2.2 + +# Aux programs +GLIB_GENMARSHAL = $(GLIB)/gobject/glib-genmarshal + +# Stuff from other places. + +# Note this was is specific to what tml happened to have on his disk +# at some time in history. To really be able to recompile something +# that uses for instance libjpeg, you should download a suitable +# binary "developer" distribution of it, unpack it into some location, +# and edit this file correspondingly. You should not take the versions +# mentioned here too literally, use the latest version you can find, +# or the ones the current GTK+ 2.0 for Windows uses. + +FREETYPE2 = $(TOP)/freetype2 +GTKEXTRA = $(TOP)/gtk+extra +GTKGLAREA = $(TOP)/gtkglarea +INTL = $(TOP)/gettext-0.10.40/intl +JPEG = $(TOP)/jpeg-6b +LIBART = $(TOP)/libart_lgpl +LIBICONV = $(TOP)/libiconv-$(LIBICONV_VER) +LIBXSLT = $(TOP)/libxslt +PNG = $(TOP)/libpng-1.2.0 +RSVG = $(TOP)\librsvg +SVG = $(TOP)\libsvg +TIFF = $(TOP)/tiff-v3.4 +ZLIB = $(TOP)/zlib-1.1.3 + +# Headers from Microsoft's PlatformSDK (that aren't present in +# mingw) are needed by a just a few packages when compiling with gcc. +# This is just where tml has it installed. +PLATFORMSDK = i:/src/psdk diff --git a/build/win32/vs8/Makefile.am b/build/win32/vs8/Makefile.am new file mode 100644 index 00000000..45b4ea7f --- /dev/null +++ b/build/win32/vs8/Makefile.am @@ -0,0 +1,8 @@ +EXTRA_DIST = \ + gio.vcproj \ + glib-genmarshal.vcproj \ + glib.sln \ + glib.vcproj \ + gmodule.vcproj \ + gobject.vcproj \ + gthread.vcproj diff --git a/build/win32/vs8/gio.vcproj b/build/win32/vs8/gio.vcproj new file mode 100644 index 00000000..8c8e2446 --- /dev/null +++ b/build/win32/vs8/gio.vcproj @@ -0,0 +1,444 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/win32/vs8/glib-genmarshal.vcproj b/build/win32/vs8/glib-genmarshal.vcproj new file mode 100644 index 00000000..4d4e9213 --- /dev/null +++ b/build/win32/vs8/glib-genmarshal.vcproj @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/win32/vs8/glib.sln b/build/win32/vs8/glib.sln new file mode 100644 index 00000000..56f97dc6 --- /dev/null +++ b/build/win32/vs8/glib.sln @@ -0,0 +1,67 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glib", "glib.vcproj", "{12BCA020-EABF-429E-876A-A476BC9C10C0}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gmodule", "gmodule.vcproj", "{4214047C-F5C1-40B3-8369-5DCED8C32770}" + ProjectSection(ProjectDependencies) = postProject + {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gobject", "gobject.vcproj", "{F172EFFC-E30F-4593-809E-DB2024B1E753}" + ProjectSection(ProjectDependencies) = postProject + {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gthread", "gthread.vcproj", "{C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}" + ProjectSection(ProjectDependencies) = postProject + {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glib-genmarshal", "glib-genmarshal.vcproj", "{BD12E835-5C52-4E5D-8234-1C579F33E27A}" + ProjectSection(ProjectDependencies) = postProject + {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0} + EndProjectSection +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gio", "gio.vcproj", "{F3D1583C-5613-4809-BD98-7CC1C1276F92}" + ProjectSection(ProjectDependencies) = postProject + {12BCA020-EABF-429E-876A-A476BC9C10C0} = {12BCA020-EABF-429E-876A-A476BC9C10C0} + {F172EFFC-E30F-4593-809E-DB2024B1E753} = {F172EFFC-E30F-4593-809E-DB2024B1E753} + {4214047C-F5C1-40B3-8369-5DCED8C32770} = {4214047C-F5C1-40B3-8369-5DCED8C32770} + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Release|Win32 = Release|Win32 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {12BCA020-EABF-429E-876A-A476BC9C10C0}.Debug|Win32.ActiveCfg = Debug|Win32 + {12BCA020-EABF-429E-876A-A476BC9C10C0}.Debug|Win32.Build.0 = Debug|Win32 + {12BCA020-EABF-429E-876A-A476BC9C10C0}.Release|Win32.ActiveCfg = Release|Win32 + {12BCA020-EABF-429E-876A-A476BC9C10C0}.Release|Win32.Build.0 = Release|Win32 + {4214047C-F5C1-40B3-8369-5DCED8C32770}.Debug|Win32.ActiveCfg = Debug|Win32 + {4214047C-F5C1-40B3-8369-5DCED8C32770}.Debug|Win32.Build.0 = Debug|Win32 + {4214047C-F5C1-40B3-8369-5DCED8C32770}.Release|Win32.ActiveCfg = Release|Win32 + {4214047C-F5C1-40B3-8369-5DCED8C32770}.Release|Win32.Build.0 = Release|Win32 + {F172EFFC-E30F-4593-809E-DB2024B1E753}.Debug|Win32.ActiveCfg = Debug|Win32 + {F172EFFC-E30F-4593-809E-DB2024B1E753}.Debug|Win32.Build.0 = Debug|Win32 + {F172EFFC-E30F-4593-809E-DB2024B1E753}.Release|Win32.ActiveCfg = Release|Win32 + {F172EFFC-E30F-4593-809E-DB2024B1E753}.Release|Win32.Build.0 = Release|Win32 + {C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}.Debug|Win32.ActiveCfg = Debug|Win32 + {C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}.Debug|Win32.Build.0 = Debug|Win32 + {C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}.Release|Win32.ActiveCfg = Release|Win32 + {C8AFB8C3-FFFD-460F-BC13-9AC25D7B117C}.Release|Win32.Build.0 = Release|Win32 + {BD12E835-5C52-4E5D-8234-1C579F33E27A}.Debug|Win32.ActiveCfg = Debug|Win32 + {BD12E835-5C52-4E5D-8234-1C579F33E27A}.Debug|Win32.Build.0 = Debug|Win32 + {BD12E835-5C52-4E5D-8234-1C579F33E27A}.Release|Win32.ActiveCfg = Release|Win32 + {BD12E835-5C52-4E5D-8234-1C579F33E27A}.Release|Win32.Build.0 = Release|Win32 + {F3D1583C-5613-4809-BD98-7CC1C1276F92}.Debug|Win32.ActiveCfg = Debug|Win32 + {F3D1583C-5613-4809-BD98-7CC1C1276F92}.Debug|Win32.Build.0 = Debug|Win32 + {F3D1583C-5613-4809-BD98-7CC1C1276F92}.Release|Win32.ActiveCfg = Release|Win32 + {F3D1583C-5613-4809-BD98-7CC1C1276F92}.Release|Win32.Build.0 = Release|Win32 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/build/win32/vs8/glib.vcproj b/build/win32/vs8/glib.vcproj new file mode 100644 index 00000000..bc1690be --- /dev/null +++ b/build/win32/vs8/glib.vcproj @@ -0,0 +1,595 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/win32/vs8/gmodule.vcproj b/build/win32/vs8/gmodule.vcproj new file mode 100644 index 00000000..008fc98b --- /dev/null +++ b/build/win32/vs8/gmodule.vcproj @@ -0,0 +1,217 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/win32/vs8/gobject.vcproj b/build/win32/vs8/gobject.vcproj new file mode 100644 index 00000000..fbe7181c --- /dev/null +++ b/build/win32/vs8/gobject.vcproj @@ -0,0 +1,287 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/build/win32/vs8/gthread.vcproj b/build/win32/vs8/gthread.vcproj new file mode 100644 index 00000000..ff9956ea --- /dev/null +++ b/build/win32/vs8/gthread.vcproj @@ -0,0 +1,215 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.34.1