Bug 558153 - Patch for .def files generation
[platform/upstream/glib.git] / build / ChangeLog
1 2008-11-02  Tor Lillqvist  <tml@novell.com>
2
3         Bug 558153 - Patch for .def files generation
4
5         * win32/{vs8,vs9}/*.vcproj: Add &quot; around paths, making it
6         possible to compile in a directory containing spaces. .def files
7         generation is done for every configuration not only the "Debug"
8         ones.
9
10         Patch by Guillaume Duhamel.
11
12 2008-09-16  Tor Lillqvist  <tml@novell.com>
13
14         * win32/vs9: New folder. Project files for use with MSVS9. Based
15         on the MSVS8 project files is win32/vs8. Four configurations:
16         Debug|Win32, Release|Win32, Debug|x64 and Release|x64. DLL names
17         simplified to of the style glib-2-vs9.dll.
18
19 2008-09-15  Tor Lillqvist  <tml@novell.com>
20
21         * win32/vs8/*.vcproj: Update to match the Makefile.am files. Drop
22         G*_EXPORTS from PreprocessorDefinitions, nothing looks for such
23         macros. Add G_DISABLE_DEPRECATED.
24
25         Don't use Detect64BitPortabilityProblems as those warnings are
26         misleading. They don't take into consideration ifdefs in
27         glibconfig.h and elsewhere for _WIN64.
28
29         Add PCRE_STATIC for glib to avoid exporting the pcre
30         functions. Add DLL_EXPORT to glib to export also the GLIB_VAR
31         variables that aren't mentioned in glib.symbols. Add G_LOG_DOMAIN
32         for gobject.
33
34         Drop the "win32" part from under "dependencies" so that the same
35         project files can be used also for 64-bit compilation by just
36         having a different "dependencies" folder containing 64-bit
37         packages instead. At least, I hope it will work out some way like
38         that. MSVS project files really are a pain to maintain.  Much
39         information is typically copied for four different configurations
40         "Debug|Win32", "Release|Win32", "Debug|x64" and "Release|x64"
41         instead of having common stuff listed just once and only different
42         parametrisations. Or am I missing something?
43         
44         Make the "Release" configuration work, too. Use correct character
45         set for the gspawn-win32-helper programs. Use correct subsystem
46         for the non-console one.
47
48 2008-08-27  Tor Lillqvist  <tml@novell.com>
49
50         * win32/vs8/*.vcproj: Add "win32" directory level to the
51         references to the dependencies folder (which each actual user of
52         the project file probably needs to edit anyway depending on their
53         directory structure). Add missing files, remove nonexistent files.
54
55         * win32/vs8/glib.vcproj: Don't needlessly copy localcharset.c, but
56         compile it where it is in libcharset. Drop dirent as gdir.c
57         includes dirent.h and wdirent.c directly. Handle also
58         G_GNUC_FORMAT in the custom build step for glib.symbols.
59
60 2008-08-02  Tor Lillqvist  <tml@novell.com>
61
62         Bug 545954 - 64-bit issue in dirent
63
64         * win32/dirent/dirent.h: Use __int64 for the dd_handle on 64-bit
65         Windows. (Would use intptr_t, but that is not available before
66         MSVS8, and we want to keep this compilable also with MSVS6 and 7,
67         I think.) Thanks to Richard Hult.
68
69 2008-05-19  Tor Lillqvist  <tml@novell.com>
70
71         * win32/dirent/dirent.c: Include dirent.h with doublequotes so
72         that it is searched from this same folder first.
73
74 2008-05-19  Tor Lillqvist  <tml@novell.com>
75
76         * win32/vs8/gspawn-win32-helper.vcproj
77         * win32/vs8/gspawn-win32-helper-console.vcproj: New files. Build
78         these two executables.
79
80         * win32/vs8/*.vcproj: Compile as C and not C++.
81
82         * win32/vs8/glib-genmarshal.vcproj: Use MBS and not Unicode. (What
83         this setting really means is just that we don't define the UNICODE
84         and _UNICODE macros when compiling; it has no effect on what APIs
85         the code might use.) Use the same IntermediateDirectory as the
86         other projects.
87
88         * win32/vs8/glib.sln: Add the gspawn-win32-helper and gspawn-win32-helper projects.
89
90 2008-05-17  Tor Lillqvist  <tml@novell.com>
91
92         * "build" is no longer include into GLib through
93         svn:externals. The relevant directories and files have been svn
94         add'ed to GLib (trunk) instead.
95
96 2008-05-16  Tor Lillqvist  <tml@novell.com>
97
98         * win32/vs8/glib.vcproj: Add gi18n.c.
99
100         * win32/vs8/gio.vcproj: Add gwin32directorymonitor.c.
101
102         * win32/vs8/glib-genmarshal.vcproj: Put also glib-genmarshal.exe
103         in the "bin" folder.
104
105 2008-04-23  Tor Lillqvist  <tml@novell.com>
106
107         Bug 529391 - Update of vs8 build files for Glib 2.16
108
109         * win32/vs8/*: Update from Danel Atallah.
110
111 2008-03-12  Tor Lillqvist  <tml@novell.com>
112
113         * MAINTAINERS: Add.
114
115         * win32/make.mingw: Remove this since long unused and obsolete
116         file from SVN.
117
118         * win32/make.msc: Don't mention it here either then.
119
120 2007-04-15  Tor Lillqvist  <tml@novell.com>
121
122         * .cvsignore
123         * win32/.cvsignore
124         * win32/dirent/.cvsignore
125         * win32/vs8/.cvsignore: Remove.
126
127 2006-10-14  Tor Lillqvist  <tml@novell.com>
128
129         * win32/vs8/gmodule.vcproj
130         * win32/vs8/gobject.vcproj
131         * win32/vs8/gthread.vcproj: Updates by Mike Edenfield. (#354124)
132
133 2006-09-02  Tor Lillqvist  <tml@novell.com>
134
135         * win32/vs8/glib.vcproj: Update from Mike Edenfield.
136
137 2006-02-08  Tor Lillqvist  <tml@novell.com>
138
139         * win32/vs8/glib-genmarshal.vcproj: New file: Visual Studio
140         project file for glib-genmarshal.exe, by Sergey Scobich.
141
142         * win32/vs8/Makefile.am
143         * win32/vs8/glib.sln: Add it.
144
145 2006-01-31  Tor Lillqvist  <tml@novell.com>
146
147         * win32/Makefile.am (EXTRA_DIST): Drop the obsolete shell scripts
148         and make.mingw.
149
150         * win32/vs8/*: Visual Studio 2005 project files for GLib
151         contributed by Sergey Scobich. (#328691)
152
153         * win32/Makefile.am (SUBDIRS): Add vs8.
154
155         * win32/make.msc (LINKDEBUG): Use /nodefaultlib:msvcrt.lib when
156         debugging. (#329325, Timo Linna)
157
158 2005-09-01  Tor Lillqvist  <tml@novell.com>
159
160         * win32/cl-wrapper.c: Again spent some hours hacking on this. Now
161         the compilation phase of building libglib autoconfiscated using
162         CC=cl-wrapper seems to work. But problems in the linking phase,
163         for instance -Wl,--whole-archive isn't implemented, and I don't
164         think link.exe even has a such feature to include all of a
165         library. Argh. To implement -Wl,--whole-archive, would need to
166         extract the library contents into a temp directory and link with
167         all the resulting object files. Sigh.
168
169 2005-07-09  Tor Lillqvist  <tml@novell.com>
170
171         * README: When using auto*/libtool/gcc to build GLib, Pango and
172         GTK+, the scripts to compile resource files in build/win32 are no
173         longer used. Still here in case somebody wants to have a look,
174         though.
175         
176 2005-02-06  Hans Breuer  <hans@breuer.org>
177
178         * win32/make.msc win32/module.defs : updated to include Cairo,
179         gnome-canvas, gnome-print(ui), libart, pangoft2, libxml2, libxslt
180
181 2004-12-29  Tor Lillqvist  <tml@iki.fi>
182
183         * win32/cl-wrapper.c: More hacking. Implement -idirafter
184         correctly, amending the INCLUDE environment variable. Ignore
185         -lm. Error if multiple -o options. Copy input libs called foo.a to
186         foo.temp.lib so that link knows what they are. Remove dead
187         code. Link with same default libraries as mingw's gcc. Use
188         indirect command line file if command line is too long.
189
190 2004-12-12  Tor Lillqvist  <tml@iki.fi>
191
192         * win32/cl-wrapper.c: Hack more on this. Using MSVC is necessary
193         if one wants to use tools like Purify or BoundsChecker.
194
195 2004-08-11  Tor Lillqvist  <tml@iki.fi>
196
197         * win32/dirent/dirent.[ch]: Update from mingw-runtime-3.3.
198         Implements both normal and wide-char versions.
199
200         * win32/dirent/wdirent.c: New file.
201
202         * win32/dirent/Makefile.am (EXTRA_DIST): Add wdirent.c.
203
204 2004-05-01  Hans Breuer  <hans@breuer.org>
205
206         * win32/make.msc : -DG_ENABLE_DEBUG=1 for debug builds
207         (#141335, John Ehresman)
208
209 2004-03-05  Federico Mena Quintero  <federico@ximian.com>
210
211         Fix #136082, patch by Morten Welinder.
212
213         * win32/cl-wrapper.c: #include <config.h>
214         * win32/dirent/dirent.c: Likewise.
215
216 2004-01-24  Tor Lillqvist  <tml@iki.fi>
217
218         * win32/compile-resource
219         * win32/lt-compile-resource: Use /bin/sh instead of /bin/bash, as
220         MSYS doesn't come with any /bin/bash. When compiling with
221         --enable-static and --disable-shared flag, libtool creates *.lo
222         files as scripts, but the *.o files are in "." and not in
223         ".libs". Thanks to Fridrich Strba.
224
225 2003-11-15  Tor Lillqvist  <tml@iki.fi>
226
227         * win32/dirent/makefile.msc: Improve. (#126913, John Ehresman)
228
229 2003-08-08  Tor Lillqvist  <tml@iki.fi>
230
231         * win32/cl-wrapper.c: Fix bug in environment variable
232         handling. Support --version flag. Prefix double quotes in -I and
233         -D parameters with backslash.
234
235 2003-06-06  Tor Lillqvist  <tml@iki.fi>
236
237         * win32(compile-resource (resfile): Support a WINDRES environment
238         variable. (#112387, J. Ali Harlow)
239
240 2002-09-28  Tor Lillqvist  <tml@iki.fi>
241
242         * win32/make.mingw: Add libxml2 CFLAGS and LIBS
243         (suggestion by Steffen Macke).
244
245 2002-09-17  Tor Lillqvist  <tml@iki.fi>
246
247         * win32/compile-resource: Return failure (implicitly, as the
248         return status of the last command executed) if m4 or windres
249         fails. Thanks to charlet@act-europe.fr (#93373).
250
251 2002-09-13  Tor Lillqvist  <tml@iki.fi>
252
253         * win32/lt-compile-resource: Argh. With some libtool versions, or
254         when the moon is in a certain phase, libtool creates the actual
255         object files as .lo files. Otherwise .lo files are small scripts
256         (which is what lt-compile-resource has always thought until now).
257         Add an ugly hack that tries to determine which kind of .lo files are
258         used, and act correspondingly.
259
260 2002-09-10  Tor Lillqvist  <tml@iki.fi>
261
262         * win32/module.defs: Remove GTK_VER which was misleading and
263         unused. Ditto for GTKGLAREA_VER. Add comment about taking this
264         stuff with a very big grain of salt.
265
266 2002-03-27  Tor Lillqvist  <tml@iki.fi>
267
268         * win32/module.defs
269         * win32/make.msc
270         * win32/make.mingw: Try to make up-to-date with GLib 2.0, ATK 1.0,
271         Pango 1.0 and GTK+ 2.0. This stuff is starting to feel more and
272         more quaint, though. Remove the FriBiDi references, Pango uses its
273         own mini-fribidi version. Use the names GTK2_CFLAGS and _LIBS also in
274         make.mingw, not GTKCURRENT_*.
275
276 2001-12-05  Tor Lillqvist  <tml@iki.fi>
277
278         * win32/make.mingw (LIBICONV_LIBS): Fix typo: pkg-config --libs,
279         not --cflags. Thanks to Victor Secarin.
280
281         * win32/build-dll: Don't call dirname blindly on $0 which might be
282         a Windows-style (drive letter, backslashes) pathname. Thanks to
283         Victor Secarin. Remove mention of Platform SDK, it doesn't
284         include the linker any longer.
285
286 2001-10-31  Tor Lillqvist  <tml@iki.fi>
287
288         * win32/make.mingw (TIFF_LIBS): We can use same import library for
289         non-LZW and LZW-enabled versions. Just let the user decide which
290         DLL to use.
291
292 2001-10-30  Tor Lillqvist  <tml@iki.fi>
293
294         * win32/make.mingw: Use pkg-config for more stuff. The
295         corresponding .pc files are included in the new packages on
296         www.gimp.org/win32/new-downloads.html. 
297
298         * win32/dirent/dirent-zip: New file, script to package a developer
299         package of dirent.h and dirent.lib.
300
301         * win32/dirent/Makefile.am (EXTRA_DIST): Add it.
302
303 2001-10-24  Tor Lillqvist  <tml@iki.fi>
304
305         * win32/make.mingw: Also try to include module.defs from the build
306         subdirectory of GLib.
307
308         * win32/make.msc: When DEBUG, use -Zi, otherwise -Zi. Always use
309         /machine:ix86.
310
311 2001-10-23  Tor Lillqvist  <tml@iki.fi>
312
313         * win32/cl-wrapper.c: Various changes. I don't actually use this
314         to build with libtool and MSVC, only to run configure for MSVC. At
315         least for now.
316
317         * win32/make.mingw: Use pkg-config to get CFLAGS and LIBS for GLib
318         and GTK.
319
320         * win32/make.msc: Use GDK and GTK import library names now
321         produced in gtk-1-3-win32-production.
322
323 2001-10-10  Tor Lillqvist  <tml@iki.fi>
324
325         * win32/module.defs (PNG): Use libpng 1.2.0.
326
327         * win32/lt-compile-resource: Mkdir .libs if not there already.
328
329 2001-09-30  Tor Lillqvist  <tml@iki.fi>
330
331         * win32/build-dll: Comment clarification.
332
333         * win32/Makefile.am: Add dirent subdirectory.
334
335         * win32/dirent/*: New files. The (public domain) dirent
336         implementation from the mingw runtime, for MSVC users.
337
338         * win32/make.msc (DIRENT_CFLAGS,DIRENT_LIBS): Point to
339         build/win32/dirent in the GLib sources. Hmm.
340         (CC): Remove duplicate $(OPTIMIZE), already in CFLAGS.
341         
342 2001-09-28  Tor Lillqvist  <tml@iki.fi>
343
344         * win32/make.mingw
345         * win32/make.msc: Separate the compiler program names into
346         an Make macro of its own (CCOMPILER and CXXCOMPILER).
347
348         * win32/cl-wrapper.c: New file. A program that accepts Unix-like C
349         compiler command line arguments, and runs the Microsoft C compiler
350         (cl) after transforming the arguments to cl's syntax. This program
351         can be used when using the auto*/configure mechanism to build
352         software with MSVC.
353
354 2001-09-25  Tor Lillqvist  <tml@iki.fi>
355
356         * win32/module.defs: Do define GLIB_VER after all. (Do use it in
357         (import) library names, like it is on Unix.)
358
359         * win32/make.mingw
360         * win32/make.msc: Some comments added. Use GLIB_VER in GLib
361         (import) library names.
362
363 2001-09-17  Tor Lillqvist  <tml@iki.fi>
364
365         * win32/build-dll: Invocation changed. We now expect a version
366         info like libtool's -version-info parameter. The intention is to
367         produce the same name DLL as libtool would, i.e. use "current -
368         age" as the DLL name suffix.
369
370         * win32/compile-resource: New file, containing the part of
371         build-dll that compiles the resource file, if available.
372
373         * win32/lt-compile-resource: New file, invokes compile-resource,
374         placing the resulting .o file in the .libs subdirectory, and
375         handcrafts a "libtool object" for it.
376
377         * win32/Makefile.am: Distribute new files.
378
379         * win32/make.mingw: Add COMPILE_RESOURCE.
380
381 Tue Sep  4 01:46:15 2001  Owen Taylor  <otaylor@redhat.com>
382
383         * win32/Makefile.am (EXTRA_DIST): Add build-dll, on
384         the assumption it isn't going to get distributed otherwise.
385
386 2001-09-01  Tor Lillqvist  <tml@iki.fi>
387
388         * win32/build-dll: Move here from GLib. Use gcc -shared instead of
389         the multiple pass gcc+dlltool method. Don't include the version
390         number in the import library names.
391
392         * win32/make.mingw
393         * win32/make.msc: Correspondingly, remove the version number parts
394         from (some) import library names. (Just a start, more to follow.)
395
396         * win32/module.defs: In fact, no need to know the versions at all
397         for stuff that doesn't include it as part of the directory name.
398         
399 2001-01-06  Hans Breuer  <hans@breuer.org>
400
401         * win32/module.defs : renamed GTKCURRENT to GTK2 and some
402         version number updates
403
404         * win32/make.msc : added GTK2_CFLAGS and GTK2_LIBS, now used
405         by CVS HEAD Gimp. Minor updates,
406
407 2001-05-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
408
409         * win32/make.mingw: Redid CFLAGS.
410
411         * win32/make.mingw (CXX): Removed PTHREAD defs. Added -O2 -Wall to
412         compile flags.
413
414 2001-01-06  Hans Breuer  <hans@breuer.org>
415
416         * win32/make.msc win32/module.defs : added ATK,
417         adapted Pango version
418
419 2001-03-19  Tor Lillqvist  <tml@iki.fi>
420
421         * win32/module.defs (GLIB_GENMARSHAL): Add macro for glib-genmarshal.
422
423 2001-02-17  Tor Lillqvist  <tml@iki.fi>
424
425         * win32/make.{mingw,msc} (INTL_LIBS): Call the import library just
426         libintl, not gnu-intl, for consistency with Unix conventions. (The
427         DLL is still called gnu-intl.dll, using such a generic name as
428         just "intl.dll" would be asking for trouble.)
429
430 2001-01-28  Tor Lillqvist  <tml@iki.fi>
431
432         * win32/module.defs
433         * win32/make.mingw
434         * win32/make.msc : Use libiconv 1.5.1. Use libiconv's import
435         library as built by its Makefile.msvc, without any version
436         number. Use the same convention for the GNU-style import library.
437
438 2000-12-27  Tor Lillqvist  <tml@iki.fi>
439
440         * win32/make.{mingw,msc} (TIFF_LIBS): Provide separate TIFF_LZW
441         and TIFF_NOLZW.
442
443 2000-12-21  Tor Lillqvist  <tml@iki.fi>
444
445         * win32/*: Add version number for FreeType2. We need the FT2
446         library built as a DLL, and append the vesion number to its name,
447         too.
448
449 2000-12-20  Tor Lillqvist  <tml@iki.fi>
450
451         * win32/module.defs (FRIBIDI_VER): Use FriBidi 0.1.15.
452
453 2000-12-14  Tor Lillqvist  <tml@iki.fi>
454
455         * win32/make.msc: Split C runtime flag (-MD or -MDd) to a separate
456         macro.
457
458 2000-11-15  Tor Lillqvist  <tml@iki.fi>
459
460         * win32/module.defs (PANGO_VER): Update Pango version to 0.13.
461
462 2000-10-22  Tor Lillqvist  <tml@iki.fi>
463
464         * win32/make.msc (PANGO_LIBS): Include version in Pango lib names.
465
466 2000-10-07  Tor Lillqvist  <tml@iki.fi>
467
468         * win32/make.msc: Improve to be more useable.
469
470 2000-09-12  Tor Lillqvist  <tml@iki.fi>
471
472         * win32/make.{mingw,msc}: Add PTHREAD_LIBS and PTHREAD_CFLAGS.
473
474 2000-08-24  Tor Lillqvist  <tml@iki.fi>
475
476         * win32/module.defs: Add separate version number for gdk-pixbuf.
477
478         * win32/make.mingw: Add C++ defs.
479
480 2000-08-20  Tor Lillqvist  <tml@iki.fi>
481
482         * win32/*: Remove FREETYPE2_20000624, not needed any
483         longer by gimp-freetype.
484
485         * win32/make.mingw: Add rule to produce assembler source.
486
487         * win32/make.msc: Fix syntax error. Add CFLAGS.
488
489 2000-08-05  Tor Lillqvist  <tml@iki.fi>
490
491         * win32/module.defs
492         * win32/make.{mingw,msc}: Rename the FreeType2 snapshot from 2000-06-24
493         (used by gimp-freetype). Use the name "FreeType2" for the current
494         FreeType2.
495         
496 2000-07-30  Tor Lillqvist  <tml@iki.fi>
497
498         * win32/module.defs
499         * win32/make.mingw
500         * win32/make.msc: Rename XML to LIBXML. Use version 0.14 of
501         it. Add LIBXML_CFLAGS and _LIBS. Add GTKCURRENT referring the
502         current CVS GTK+ (nonworking on Win32).
503         
504 2000-07-25  Tor Lillqvist  <tml@iki.fi>
505
506         * win32/make.mingw (PANGO_LIBS): Typo.
507
508 2000-07-21  Tor Lillqvist  <tml@iki.fi>
509
510         * win32/*: Reorder stuff to be in alphabetical order of package
511         names. Add GtkGLArea. Add path to OpenGL headers.
512
513 2000-07-18  Tor Lillqvist  <tml@iki.fi>
514
515         * win32/module.defs (FRIBIDI_VER)
516         * win32/make.{mingw,msc} (FRIBIDI_LIBS): Use correct version
517         of FriBidi.
518
519 2000-07-15  Tor Lillqvist  <tml@iki.fi>
520
521         * win32/make.mingw
522         * win32/make.msc
523         * win32/module.defs: Add Pango.
524
525 2000-07-10  Tor Lillqvist  <tml@iki.fi>
526
527         * win32/module.defs: 
528         * win32/make.msc: New files. Factor out common stuff to module.defs.
529         make.msc is for nmake and MSVC. Thanks to Hans Breuer.
530
531         * win32/Makefile.am: Add them to EXTRA_DIST.
532
533         * win32/make.mingw: Move part to module.defs. Ugly hack to find
534         module.defs.
535
536 2000-07-02  Tor Lillqvist  <tml@iki.fi>
537
538         * win32/make.mingw: Addd FriBidi and libiconv. Add USRDIR for
539         headers and libs that are "installed".
540
541 2000-06-07  Tor Lillqvist  <tml@iki.fi>
542
543         * win32/make.mingw: Clarify where this stuff should be located.
544
545         * Makefile.am
546         * win32/Makefile.am: New files. Only set SUBDIRS and EXTRA_DIST.
547
548 2000-05-29  Tor Lillqvist  <tml@iki.fi>
549
550         * win32/make.mingw: Add gmodule directory to GLib includes. Use
551         freetype2 directory called just that.
552
553 2000-05-13  Tor Lillqvist  <tml@iki.fi>
554
555         * README: Remove the original README text.
556
557         * win32/make.mingw: Define macros for CFLAGS and LIBS of GLib,
558         GTk+, intl, freetype2, zlib, libjpeg, libtiff and GIMP. Remove the
559         WIN32APIHEADERS, that is now taken care of in glib/build-dll.
560
561 2000-05-05  Tor Lillqvist  <tml@iki.fi>
562
563         * win32/make.mingw: Add GIMP_VER. Add path to GIMP and freetype2
564         sources.
565
566 2000-05-04  Tor Lillqvist  <tml@iki.fi>
567
568         * ChangeLog: Start ChangeLog.
569
570         * README: Change purpose of this directory.
571
572         * win32/make.mingw: New file.
573
574         * build.inf
575         * cvs.py
576         * write.py: Remove.