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