Update to 0.28
[platform/upstream/pkg-config.git] / ChangeLog
1
2 *************************************************************************
3 This file is no longer kept up to date, please see git commit logs
4 instead.
5 *************************************************************************
6
7 2009-06-30  Tollef Fog Heen  <tfheen@err.no>
8
9         * pkg.m4: Add patch from Peter Rosin for somewhat nicer output if
10         you use the four-clause form of PKG_CHECK_MODULES.
11
12 2009-06-12  Tor Lillqvist  <tml@iki.fi>
13
14         * parse.c: On Win32, if the value of a a variable other than the
15         "prefix" one starts with the non-overridden value of "prefix",
16         then replace that prefix, too, with the run-time one.
17
18         To avoid shadowing warnings, rename a 'p' variable to 'q'.
19
20         * pkg-config.1: Corresponding update.
21
22         * main.c
23         * pkg.h: Move the Win32 redefinition of PKG_CONFIG_PC_PATH from
24         main.c to pkg.h as it now is needed in pkg.c, too.
25
26 2009-03-30  Tollef Fog Heen  <tfheen@err.no>
27
28         * autogen.sh: Allow not running configure, wanted by cygwin.
29
30         * check/check-missing, check/check-libs,
31         check/check-requires-private: Handle the case of indirect being
32         enabled correctly in checks.
33
34         * check/common, check/config.sh.in, check/Makefile.am,
35         configure.in: Make it possible to check for configure variables in
36         the check scripts.  So far, only direct/indirect is exposed.
37
38         * pkg.c (add_virtual_pkgconfig_package): Add pc_path as a variable
39         which you can use to get at the compiled-in PKG_CONFIG_PC_PATH.
40
41         * pkg.h: Fix up path to glib.h
42
43         * pkg.c (add_virtual_pkgconfig_package): Fix URL to pkg-config.
44
45         * partial-glib.[ch]: Get rid of those, they are no longer in use.
46
47         * poptparse.c, popthelp.c, poptconfig.c, popt.c, pkg.c, findme.c,
48         configure.in: Check for malloc.h and use that if it exists.
49         Apparently this makes Win32 happier.  Thanks to Carlo Bramini for
50         the patch.
51
52         * pkg-config.1: Verbosify the text about Libs.private a bit. Patch
53         from Loïc Minier.
54
55         * pkg-config.1: Add documentation for --cflags-only-I, patch from
56         Loïc Minier.
57
58         * pkg.[ch], main.c, check/check-missing: Don't recurse Requires at
59         all unless we need to.  Add check.  Again, thanks to Loïc Minier
60         for most of the idea and the implementation.
61
62         * pkg.[ch], parse.[ch], main.c, check/Makefile.am,
63         check/check-missing, check/missing-requires-private.pc:
64         Skip Requires.private unless we need to look at them for cflags.
65         Add test case.  Thanks to Loïc Minier for most of the idea and the
66         implementation.  Debian #475031
67
68         * check/common: Run all tests in the C locale
69
70         * check/common: Add support for non-zero return codes to test
71         framework.  Thanks to Loïc Minier for the idea.
72
73         * pkg.m4: Add PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR to the list of
74         precious directories.  (AC_ARG_VAR)
75
76         * popthelp.c (poptPrintUsage,poptPrintHelp): Add [LIBRARIES] to
77         help output.  Debian #389066
78
79 2008-04-28  Tollef Fog Heen  <tfheen@err.no>
80
81         * parse.c Add my name to the copyright header, mainly to prevent
82         emacs from being stupid and updating RH's copyright year.
83
84         * parse.c (_do_parse_libs): Special-case "-lib:" in the Libs
85         field; it's not an -l.  Yes, this breaks if your library is called
86         libib:$something, in which case you lose.  Gnome #142952
87
88         * main.c (main): Make sure log is initialized to prevent
89         segfaults.
90
91 2008-03-23  Tollef Fog Heen  <tfheen@err.no>
92
93         * check/check-conflicts, check/conflicts-test.pc: New test,
94         testing that conflicts work as they should.
95
96         * pkg.c (verify_package): Make the conflicts check not only check
97         package versions, but also package names.  This makes conflicts
98         functional, something they were not before.
99
100         * check/check-requires-private: Remove unnecessary set -x
101
102         * check/check-cflags, check/check-define-variable,
103         check/check-includedir, check/check-libs,
104         check/check-libs-private, check/check-requires-private: Replace
105         the crazy -d ~root check with a more proper way to just make sure
106         we are running under a POSIX shell.  Thanks to Kjetil Torgrim
107         Homme for the tip about using getconf PATH.
108
109         * main.c (main): Add logging support from NetBSD.  Thanks to Julio
110         M. Merino Vidal for forwarding the patch from ages ago.
111
112 2008-03-23  Stepan Kasal  <skasal@redhat.com>
113
114         * pkg-config.1: Document "Requires.private" and recommend it
115         for libraries.  Freedesktop #13188
116
117         * pkg-config.1: Fix a few typos--add two omitted .TP tags and two
118         omitted full stops; and empty lines do influence the formatting in
119         nroff.
120
121 2008-03-23  Tollef Fog Heen  <tfheen@err.no>
122
123         * main.c (main): Fix small portability problem by defining all the
124         variables in main that are used in the static initialiser as
125         static variables.  This makes the IRIX/mipseb compiler happier.
126         Thanks to Roland Illig of NetBSD for the patch.  This doesn't
127         apply to some of the Win32 variables, but I don't believe that is
128         a problem with the existing compilers there.
129
130 2008-02-19  Tor Lillqvist  <tml@novell.com>
131
132         * main.c: Remove the possibility to have a default PKG_CONFIG_PATH
133         in the Registry. It is much more flexible to just use environment
134         variables. In general the Registry is not used in the ports of
135         GTK+ or GNOME libraries and software to Windows.
136
137         * parse.c (parse_line): On Windows, handle also .pc files found in
138         a share/pkgconfig folder when automatically redefining a prefix
139         variable for the package.
140
141         * pkg-config.1: Corresponding changes.
142
143 2008-02-18  Tor Lillqvist  <tml@novell.com>
144
145         * main.c: Fix some bitrot: On Windows, don't use the compile-time
146         PKG_CONFIG_PC_PATH, but deduce a default one at run-time based on
147         the location of the executable. This was originally what
148         pkg-config did on Windows, but it had bit-rotted.
149
150 2008-01-31  Tollef Fog Heen  <tfheen@err.no>
151
152         * configure.in: If prefix is unset, add /usr/lib/pkgconfig and
153         /usr/share/pkgconfig to default search path.  Based on patch by
154         Damjan Jovanovic.
155
156         Also, make configure always print the path it is defaulting to.
157
158         * pkg.c (string_list_to_string): Patch from Paul Bender so flags
159         other than -I and -L are passed through (with mangling) when
160         PKG_CONFIG_SYSROOT_DIR is set.
161
162 2008-01-16  Tollef Fog Heen  <tfheen@err.no>
163
164         * NEWS, configure.in: Release 0.23
165
166         * check/check-requires-private: Fix up test case.  We want to get
167         the private -I option in all cases.
168
169         * pkg.h, pkg.c (string_list_to_string), pkg-config.1, main.c
170         (main): Add sysroot support and document same.  Triggered by
171         setting PKG_CONFIG_SYSROOT_DIR in the environment.
172
173 2007-12-29  Tollef Fog Heen  <tfheen@err.no>
174
175         * pkg.c (internal_get_package): Don't add the internal-only
176         pkg-config package twice.
177
178         * pkg.c (verify_package): Apply patch from Matthias Clasen of
179         RedHat to prevent segfaults if a Conflicts line is encountered.
180
181         * popthelp.c: Apply patch from Tom Tromey <tromey@redhat.com> to
182         make pkg-config --help print to stdout, not stderr.  Gnome
183         #127314.
184
185         * pkg.m4: Don't use --errors-to-stdout in pkg.m4, but rather
186         redirect stderr to stdout.  This makes pkg.m4 with old (pre 0.15)
187         pkg-config look good, and it makes newer pkg-config with ancient
188         pkg.m4 work well.  Gnome #111054
189
190         * Update to glib 1.2.10, adjust lots of the glib patches.  Gnome
191         #81847.
192
193 2007-06-19  Tollef Fog Heen  <tfheen@err.no>
194
195         * pkg.m4: Fix bug so it's possible to override variables in case
196         pkg-config is not installed.  Thanks to Thomas Klausner for the
197         patch. 
198
199 2007-06-18  Tollef Fog Heen  <tfheen@err.no>
200
201         * configure.in: Release 0.22
202
203         * NEWS: Update for 0.22
204
205         * configure.in: Fix expansion of default pc_path as per GNU coding
206         standards.  Thanks to Andreas Hanke for the fix.
207         Freedesktop #10326
208
209         * pkg.c (recursive_fill_list): Make sure to act recursively with
210         Requires.private, making them much more useful.  Special thanks to
211         Matthias Clasen for lots and lots of nagging.  Freedesktop #8788
212
213         * glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCE
214         there to get strsignal prototype, addresses the rest of
215         Freedesktop 10652.
216
217         * popt.c: Remove code calling setresuid and setreuid, pkg-config
218         should not ever be suid.  Partially addresses Freedesktop #10652
219
220         * glib-patches/autoconf-warning.diff,
221         glib-patches/automake-warning.diff Fix path prefix so it applies.
222
223         Also fix automake-warning.diff to not patch on top of another
224         patch from glib-patches.
225
226         * glib-patches/no-dist-distclean-files.diff: Fix prefix.
227
228 2007-05-30  Tor Lillqvist  <tml@novell.com>
229
230         * parse.c: Fix problem on Win32 where the automagic prefix
231         replacement logic didn't work. I don't know what change had 
232         broken it.
233         (pathnamecmp): New Win32-only function. Compares two file
234         paths case insensitively and treating backslashes as equal to
235         slashes.
236         (parse_line): Use it instead of g_ascii_strcasecmp().   
237
238 2007-05-29  Tollef Fog Heen  <tfheen@err.no>
239
240         * pkg.m4: Update URL to pkg-config website.  Thanks to Peter
241         Eisentraut.
242
243 2007-02-25  Tollef Fog Heen  <tfheen@err.no>
244
245         * pkg.c (scan_dir): Use g_malloc, not malloc for pkgname.
246
247         * Makefile.am: Add support for using the system glib.  Thanks to
248         Peter Breitenlohner for the bug and the patch.  Freedesktop #9708
249
250         * configure.in: Add support for using the system glib.
251
252         * glib-patches/no-dist-distclean-files.diff,
253         glib-patches/automake-warning.diff,
254         glib-patches/autoconf-warning.diff:  Get rid of some warnings when
255         configuring glib.
256
257 2007-02-21  Tollef Fog Heen  <tfheen@err.no>
258
259         * parse.c (parse_package_file and others): Move the reversal of
260         the _libs lists to the end to avoid double-reversing either.
261         Thanks to J. Scott Berg for both the bug and the fix.  Freedesktop
262         #9132
263
264         * configure.in: remove AC_CONFIG_AUX_DIR as it makes newer
265         automakes unhappy.  Freedesktop #10028.
266
267 2006-08-16  Tollef Fog Heen  <tfheen@err.no>
268
269         * configure.in: Release 0.21 
270
271         * NEWS: Update for 0.21
272
273         * pkg.c: Add internal pkg-config package which can be queried for
274         version number, name and URL for now.  More information will be
275         added later.  Debian #254289, #287339
276
277         * parse.c (trim_and_sub): Since %{...} has not been used for a
278         long time, there is no point in being able to escape %.  However,
279         make the code able to escape $ by doubling the $ to $$.  
280         Debian #378570
281
282         * pkg.c (packages_get_other_cflags, package_get_other_cflags)
283         (packages_get_I_cflags): Always add all cflags.  Debian #340904
284
285         * main.c (main): Always add the elements from PKG_CONFIG_PATH.
286         Freedesktop #4795.
287
288         * pkg-config.1: Apply patch from Ed Catmur to document
289         PKG_PROG_PKG_CONFIG and that it should be used if the first call
290         to PKG_CHECK_MODULES might not happen.  Freedesktop #7742
291
292         * pkg-config.1: Apply patch from Ed Catmur to document
293         PKG_CHECK_EXIST.  Thanks a lot for both patches.  Freedesktop
294         #7741
295
296 2005-12-28  Tollef Fog Heen  <tfheen@err.no>
297
298         * configure.in, Makefile.am: Only use -Wall and other gcc-only
299         flags when we don't have a set of CFLAGS already set and we're
300         using gcc.  Freedesktop #4888.
301
302 2005-10-17  Tollef Fog Heen  <tfheen@err.no>
303
304         * pkg.m4: Do AC_MSG_RESULT([no]) even if $4 is set (so we don't
305         fail).  Gnome #166537.
306
307         * NEWS: Add missing news and really release 0.20, since I didn't
308         get around to actually uploading last night.
309
310 2005-10-16  Tollef Fog Heen  <tfheen@err.no>
311
312         * configure.in: Release 0.20
313
314         * pkg.m4: use m4_define to avoid duplication of text.
315         
316         * pkg.m4: Minor cleanups, use m4_default rather than m4_ifval and
317         echo 1>&FD is silly, just use echo >&FD
318
319         * main.c (main): Try to print out all the errors and not just the
320         first.
321
322         * pkg.m4: Use --short-errors if it's available.
323
324         * pkg.c (get_package_quiet): Add get_package_quiet which is just
325         the same as get_package except it sets warn to false.
326
327         * pkg.h: Add prototype for get_package_quiet.
328
329         * main.c (main): Add --short-errors flag to suppress most of the
330         output when a module is not found.
331
332 2005-10-01  Tollef Fog Heen  <tfheen@err.no>
333
334         * pkg.c (packages_get_var): Don't try to chop if string length is
335         zero.  Freedesktop #4034.
336         (scan_dir): Turn backslashes into slashes or poptParseArgvString()
337         will eat them when ${prefix} has been expanded in parse_libs().
338         Thanks to j^ for the patch.  Freedesktop #4267
339
340 2005-09-21  Tollef Fog Heen  <tfheen@err.no>
341
342         * pkg.m4: Apply patch from Roberto Huelga to look at XXX_CFLAGS
343         and XXX_LIBS which got lost somewhere.
344
345 2005-08-27  Tollef Fog Heen  <tfheen@err.no>
346
347         * Makefile.am (AM_CFLAGS): Add default CFLAGS
348
349         * pkg.h: Add missing prototype for enable_private_libs and
350         disable_private_libs.
351
352 2005-08-23  Tollef Fog Heen  <tfheen@err.no>
353
354         * popthelp.c: char format[10] overflowed always with gcc4, so use
355         positional parameters instead.  Thanks to Scott James Remnant for
356         pointing me to that solution.  Debian #321961, Ubuntu #13950,
357         Freedesktop #2661
358
359 2005-08-22  Tollef Fog Heen  <tfheen@err.no>
360
361         * check/check-cflags, check/check-define-variable,
362         check/check-libs, check/check-libs-private,
363         check/check-requires-private: Exec POSIX compatible shell on
364         Solaris
365
366 2005-07-16  Tollef Fog Heen  <tfheen@err.no>
367
368         * configure.in: Release 0.19
369
370 2005-07-15  Tollef Fog Heen  <tfheen@err.no>
371
372         * pkg.c (package_get_var): Make sure to g_strdup all the return
373         values and not return some values which should not be freed and
374         some which should.  Yay valgrind.  Freedesktop #3682
375
376         * configure.in: Fix default search path to be pkgconfig rather
377         than pkg-config again.  Freedesktop #3662
378
379         * pkg.m4: Add a missing AC_MSG_RESULT.  Thanks to Gary Kramlich
380         for noticing this and harassing me to fix it.
381
382 2005-06-29  Tollef Fog Heen  <tfheen@err.no>
383
384         * configure.in: Release 0.18.1
385
386         * pkg.m4: Brown bag fix.  pkg_failed was always set to “untried”.
387         Debian #316181.
388
389 2005-06-27  Tollef Fog Heen  <tfheen@err.no>
390
391         * configure.in: Rename to pkg-config.
392
393         * configure.in: Release 0.18
394
395         All those Requires.private changes are thanks to James
396         Henstridge.  Thanks!  Freedesktop #3097
397         
398         * check/private-dep.pc, check/public-dep.pc,
399           check/requires-test.pc: New files, data for the
400         check-requires-private test.
401
402         * check/check-requires-private: New test to check for
403         Requires.private support.
404
405         * check/Makefile.am (EXTRA_DIST, TESTS): Add Requires.private
406         test.
407
408         * pkg.h (struct _Package): Add requires_private
409
410         * pkg.c (get_requires_private, fill_list_single_package) 
411         (fill_list, verify_package, verify_package, get_merged) 
412         (get_merged_from_back, get_multi_merged) 
413         (get_multi_merged_from_back, package_get_l_libs) 
414         (packages_get_l_libs, package_get_L_libs, packages_get_L_libs) 
415         (package_get_other_libs, packages_get_other_libs) 
416         (package_get_I_cflags, packages_get_I_cflags) 
417         (package_get_other_cflags, packages_get_other_cflags): Handle
418         private requires and cascading changes.
419
420         * parse.c (parse_requires_private, parse_conflicts) 
421         (parse_package_file): Handle Requires.private
422
423         * pkg.m4: Add PKG_CHECK_EXISTS to check if a module exists.
424         Thanks to James Henstridge for the patch.  Freedesktop #3530
425
426 2005-06-26  Tollef Fog Heen  <tfheen@err.no>
427
428         * pkg.m4: Get rid of caching again.  This breaks too much stuff,
429         and pkg-config doesn't take much time to run.  Freedesktop #3550
430
431         * glib-patches/configure.in-fd_set.diff: Patch to grep for fd_set
432         rather than fd_mask.  Thanks to David Wolfe for the fix.  This
433         should make pkg-config happier on QNX.  Gnome #129687
434
435 2005-06-03  Tollef Fog Heen  <tfheen@err.no>
436
437         * pkg.m4, README, pkg-config.1: s/configure.in/configure.ac/,
438         thanks to Morten Brix Pedersen <morten@wtf.dk>
439
440 2005-05-21  Tollef Fog Heen  <tfheen@err.no>
441
442         * check/check-libs-private: New test to check for support for
443         private libraries.
444
445         * check/simple.pc (prefix): Add Libs.private header.
446
447         * check/Makefile.am (TESTS): Add check-libs-private test
448
449         * pkg.h: Adjust function prototypes.
450
451         * pkg.c: Add global ignore_private_libs variable.
452         (scan_dir): Use the correct free function.  Stop leaking file
453         descriptors.
454         (package_get_l_libs, packages_get_l_libs, package_get_L_libs,
455         packages_get_L_libs): Stop the recursive silliness and go back to
456         old behaviour.
457         (packages_get_all_libs): Adjust parameters to packages_get_*_libs
458         (enable_private_libs, disable_private_libs): Trivial helper
459         functions.
460
461         * pkg-config.1: Update documentation wrt search path (Debian
462         #308942), update docs for Libs.private and add the problematic
463         handling of mixing = and non-= arguments to the bugs section.
464
465         * parse.h: Adjust parameters for parse_package_file to get private
466         libs or not.
467
468         * parse.c (trim_and_sub): Fix memory leak.
469         (_do_parse_libs): New function including what's common between
470         parse_libs and parse_private_libs.
471         (parse_libs_private): New function.  Handle private libraries.
472         (parse_line): Add . to the list of valid characters in headers (so
473         Libs.private works correctly.
474         (parse_line): Fix memory leaks.
475         (parse_line): Handle Libs.private.
476         (parse_package_file): Fix memory leak.
477
478         * main.c (main): Fix memory leak.
479
480         * NEWS: Document changes to inter-library handling.
481
482         * main.c (main): Handle inter-library dependencies old-style, but
483         do private libraries too.  Adjust parameters to
484         packages_get_*_libs.
485
486         * configure.in: Change comment wrt inter-library handling to talk
487         about private libraries instead.
488
489 2005-04-22  Tollef Fog Heen  <tfheen@err.no>
490
491         * main.c (main): Re-add PKG_CONFIG_LIBDIR support which was
492         removed by mistake.
493
494 2005-04-14  Tollef Fog Heen  <tfheen@err.no>
495
496         * configure.in: Bump to 0.17.2
497         
498         * NEWS: Update for 0.17.2
499
500 2005-04-13  Tollef Fog Heen  <tfheen@err.no>
501
502         * pkg.c (packages_get_l_libs, packages_get_L_libs): Duplicate
503         singly linked list before putting it on list passed to
504         string_list_strip_duplicates_from_back to avoid infinite loop when
505         g_slist_copy tries to copy self-linked list.  This happens if the
506         user specifies the same name on the command line twice.
507         (Freedesktop #3006)
508
509 2005-04-12  Tollef Fog Heen  <tfheen@err.no>
510
511         * configure.in: 0.17.1
512
513         * NEWS: document changes for 0.17.1
514
515         * configure.in: Fix up AC_MSG_RESULT for indirect deps.  Also fix
516         so the test no longer is inverted and auto works properly.
517         
518         * configure.in: capitalisation-typo
519
520         * pkg.m4: Apply patch from James Henstridge to have AC_RUN_LOG in
521         the right place.  (Freedesktop #2992)
522         
523         * pkg.m4: Add note that PKG_PROG_PKG_CONFIG must be called
524         explicitly if the first call to PKG_CHECK_MODULES might not
525         happen.  (Debian #303211)
526         
527 2005-04-12  Tollef Fog Heen  <tfheen@err.no>
528
529         * configure.in: Bump to 0.17
530
531         * NEWS: Update for 0.17
532         
533         * NEWS: Add note saying that we've now grabbed _PKG_* and PKG_*.
534         (Freedesktop #2962)
535
536         * pkg.m4: wrap running pkg-config in AC_RUN_LOG per James
537         Henstridge's suggestion.
538
539         * pkg.m4: Patch from James Henstridge to evaluate second argument
540         again.  (Freedesktop #2987, Gnome #300232, Debian #303878,
541         #303969)
542
543 2005-04-02  Tollef Fog Heen  <tfheen@err.no>
544
545         * glib-patches/remove-strsignal-prototype.diff: Remove strsignal
546         prototype from gstrfuncs.c, it is included in string.h.  This
547         fixes a compilation issue on cygwin. (Freedesktop #2598)
548
549         * glib-patches/distcheckfix.diff: Move glibconfig.h.win32 and
550         config.h.win32 too.
551         
552         * glib-patches/distcheckfix.diff: Move glibconfig-sysdefs.h and
553         glibconfig.h to DISTCLEANFILES since they're made by configure.
554                 
555         * parse.c (parse_libs): Handle -framework as a single argument.
556         (Freedesktop #1278)
557
558         * configure.in: Remove extraneous " from --with-pc-path's help
559
560         * glib-patches/mkinstalldirs.update.diff: cvs admin -ko to avoid
561         having the Id CVS keyword being expanded, which broke the
562         application of the patch.
563
564 2005-04-01  Tollef Fog Heen  <tfheen@err.no>
565
566         Patches provided by Steve Langasek <vorlon@debian.org>
567
568         * configure.in: Try to detect whether this architecture supports
569         inter-library dependencies.  If so, we default to assuming that
570         this support is used and link to the minimal set of libraries
571         rather than traversing the full depends set.
572
573         * main.c (main): Only recurse if we want a static library list or
574         if this architecture doesn't support inter-library dependencies.
575         This will probably expose bugs for libraries which declare
576         dependencies in their .pc files but don't actually link against
577         each other.
578
579         * pkg.c (packages_get_all_libs): Add recurse option
580         (packages_get_L_libs): Add recurse option
581         (package_get_L_libs): Add recurse option
582         (packages_get_l_libs): Add recurse option
583         (package_get_l_libs): Add recurse option
584
585         * pkg.h: Update prototypes to handle the recurse option.
586
587 2005-03-29  Tollef Fog Heen  <tfheen@err.no>
588
589         * check/check-cflags, check/check-define-variable,
590         check/check-libs, check/common, check/Makefile.am,
591         check/simple.pc:  Add simple test framework and begin writing
592         tests.
593
594         * Makefile.am, configure.in: Make in check/ as well.
595
596 2005-03-28  Tollef Fog Heen  <tfheen@err.no>
597
598         * glib-patches/distcheckfix.diff: Add some files to CLEANFILES so
599         make distcheck now works.
600
601 2005-03-28  Tollef Fog Heen  <tfheen@err.no>
602
603         * autogen.sh: Extra paranoia -- fail if running auto* fails or if
604         patching fails.
605
606         * glib-patches/mkinstalldirs.update.diff: Update patch so it
607         applies cleanly
608
609         * glib-patches/pthread-config-fix.diff: adjust offsets so patch is
610         quiet again
611
612 2005-03-26  Tollef Fog Heen  <tfheen@err.no>
613
614         * configure.in: Bump to 0.16
615
616         * NEWS: update for 0.16
617
618 2005-03-26  Tollef Fog Heen  <tfheen@err.no>
619
620         * configure.in: Fix default search path for .pc files.  (This was
621         done after the change above but before tagging.  Put here to avoid
622         confusion whether this went into the release).
623
624 2005-03-26  Tollef Fog Heen  <tfheen@err.no>
625
626         * AUTHORS: Add myself.
627
628 2005-03-18  Tollef Fog Heen  <tfheen@err.no>
629
630         * pkg.c (print_package_list): Ignore requires when just listing
631         the available packages.
632         (internal_get_package): Pass ignore_requires on.
633
634         * parse.h: update prototype for parse_package_file.
635
636         * parse.c (parse_line): Ignore Requires when told so.
637         (parse_package_file): Pass ingore_requires on to parse_line.
638
639         (Freedesktop #191, Debian #232719)
640
641 2005-03-18  Tollef Fog Heen  <tfheen@err.no>
642
643         * main.c (main): Use add_search_dirs for both the compile-time
644         defined pc_path and the run-time defined PKG_CONFIG_PATH.
645
646         * pkg.h: Add prototype for add_search_dirs.
647
648         * pkg.c (add_search_dirs): Add new function which takes a
649         delimiter-separated list as input and add_search_dir's it.
650         (package_init): Remove knowledge about which dirs should be
651         initially added.  Moved this to main.c(main)
652
653         * ChangeLog: Add emacs variables to set the date to this
654         ChangeLog's standard format
655
656         * Makefile.am (INCLUDES): Pass PKG_CONFIG_PCPATH on to main.c
657
658         * configure.in: Add --with-pc-path to define the default search
659         path for .pc files.  (Freedesktop #119, #648)
660
661 2005-03-18  Tollef Fog Heen  <tfheen@err.no>
662
663         * glib-patches/pthread-config-fix.diff: Add patch to detect
664         pthreads properly on some architectures.  Thanks to Michael
665         Haubenwallner for reporting this bug and providing a patch.
666         (Freedesktop #1617)
667
668 2005-02-21  Tollef Fog Heen  <tfheen@err.no>
669
670         * parse.c (parse_package_file): Stop leaking file descriptors.
671         (Freedesktop #1006)
672
673 2005-02-21  Tollef Fog Heen  <tfheen@err.no>
674
675         * pkg-config.1: Get rid of groff warnings when formatting
676         pkg-config(1) on an 80-column terminal.  Thanks to Colin Watson
677         and Ubuntu for the fix.  (Freedesktop #148)
678
679 2005-02-21  Tollef Fog Heen  <tfheen@err.no>
680
681         * glib-patches/*: Add patches for compiling with modern autotools.
682         * autogen.sh: Use said patches.  (Freedesktop #134)
683
684 2005-02-20  Tollef Fog Heen  <tfheen@err.no>
685
686         * main.c (main): Unstaticify variables.  (Freedesktop #2459)
687
688 2004-07-18  Scott James Remnant  <scott@netsplit.com>
689
690         * pkg.m4: Fix a bad patch causing duplication in one of the error
691         messages.
692
693 2004-07-06  Scott James Remnant  <scott@netsplit.com>
694
695         * pkg.m4: Correct quoting brackets to correctly split the words.
696
697 2004-06-08  Scott James Remnant  <scott@netsplit.com>
698
699         * README: Change gnome.org reference to freedesktop.org
700         * AUTHORS: Add myself here, I guess.
701         * pkg.m4: Mine! (fix copyright)
702
703 2004-05-08  Scott James Remnant  <scott@netsplit.com>
704
705         Improve pkg-config's configure instructure and bring it bang
706         up to date.
707
708         * pkg.m4: Complete rewrite.
709         (PKG_PROG_PKG_CONFIG): if PKG_CONFIG not defined, find the
710         pkg-config in the path or $host-pkg-config if cross-compiling,
711         check that is of at least version 0.9.0 or one given.
712         (_PKG_CONFIG): internal macro to call pkg-config.
713         (PKG_CHECK_MODULES): same semantics as the previous incarnation
714         except you can prevent pkg-config from being called by defining
715         xxx_CFLAGS and xxx_LIBS yourself, additionally all results are
716         cached.
717         * README, pkg-config.1: Adjust documentation to match.
718
719 2003-05-09  Havoc Pennington  <hp@redhat.com>
720
721         * pkg.m4: improve error message a bit, from Tim Janik
722
723 2003-04-30  James Henstridge  <james@daa.com.au>
724
725         * pkg.c (verify_package): fix up error messages.
726
727         * parse.c (parse_line): don't error out on unknown keywords, as
728         they may represent future extensions to the file format.
729
730 2003-02-22  James Henstridge  <james@daa.com.au>
731
732         * pkg.c (add_virtual_pkgconfig_package): function to add a virtual
733         "pkg-config" package to the packages hash table.
734         (package_init): add the "pkg-config" package while initing the
735         hash table.
736
737         * pkg.h: add missing prototype.
738
739         * main.c (main): print the url if the package is too old, to match
740         the output of verify_package().
741
742         * popthelp.c, poptint.h, poptconfig.c, findme.h, popt.h:
743         * poptparse.c: expand licensing header to the version found in the
744         Popt distribution's COPYING file.  See discussion in bug 84804 for
745         details.
746
747 2003-02-21  James Henstridge  <james@daa.com.au>
748
749         * pkg.m4: split macro into two parts.  The check for presence of
750         pkg-config is now in a helper macro.  The main PKG_CHECK_MODULES
751         macro now AC_REQUIRES() it, so that the pkg-config check is only
752         performed once.
753         Also update quoting to match current practices.
754
755 2003-02-19  Tor Lillqvist  <tml@iki.fi>
756
757         * pkg.c (add_env_variable_to_list): Use G_SEARCHPATH_SEPARATOR_S
758         instead of hardcoded ":".
759         (verify_package): Don't use /usr/include on Win32.
760
761 2003-02-15  Havoc Pennington  <hp@pobox.com>
762
763         * pkg.c (verify_package): patch from Nalin to use /usr/lib64 as
764         the system libdir on systems where that's appropriate
765
766 2003-02-15  Havoc Pennington  <hp@pobox.com>
767
768         Fixes suggested by Werner Trobin
769         
770         * main.c (verbose_error): honor --errors-to-stdout and flush 
771         the same stream we write to
772
773         * parse.c (parse_url): support an "url" field so if someone 
774         has a .pc file they can figure out where to go for newer 
775         versions and such
776
777 2003-01-16  Havoc Pennington  <hp@redhat.com>
778
779         * configure.in: 0.15
780
781 2003-01-15  Havoc Pennington  <hp@pobox.com>
782
783         * pkg.c (package_init): honor a PKG_CONFIG_LIBDIR to move default 
784         search dir, useful in cross-compilation for example, bug 
785         #103545 fix from David Schleef
786         
787 2003-01-01  Zack Rusin  <zack@kde.org>
788
789         * main.c (main): added --libs-only-other and --cflags-only-other
790         arguments, thanks to which a more obscure dependencies can be
791         retrieved, e.g. -pthread
792
793 2002-11-19  Havoc Pennington  <hp@redhat.com>
794
795         * pkg-config.1: apply formatting fixes from  Peter Breitenlohner
796
797 2002-10-24  Tor Lillqvist  <tml@iki.fi>
798
799         * configure.in: Move the check for Win32 (which tests the $host
800         variable) and dependent code later, as it turns out that $host
801         isn't normally yet set at that point... (I hadn't noticed as I by
802         habit always pass --host=i386-pc-mingw32 to the configure script,
803         which sets $host.)
804
805 2002-10-11  Havoc Pennington  <hp@redhat.com>
806
807         * pkg.c (verify_package): fix to properly cast iter->data to char*
808         before doing pointer arithmetic, from David Robins
809
810 2002-10-10  Havoc Pennington  <hp@redhat.com>
811
812         * configure.in: 0.14
813
814 2002-10-02  Anders Carlsson  <andersca@gnu.org>
815
816         * pkg.c (add_env_variable_to_list): Don't return NULL, return
817         the new list.
818         (verify_package): break if we've removed the variable.
819
820 2002-09-26  Tor Lillqvist  <tml@iki.fi>
821
822         * parse.c (get_compat_package): Return NULL right away on
823         Windows. There has never been any of these legacy *-config scripts
824         distributed for Windows as far as I know.
825
826 2002-09-26  Anders Carlsson  <andersca@gnu.org>
827
828         * pkg.c (verify_package): Use strncmp when checking for
829         the -I prefix.
830
831 2002-09-19  Havoc Pennington  <hp@pobox.com>
832
833         * configure.in: 0.13
834
835 2002-09-19  Anders Carlsson  <andersca@gnu.org>
836
837         * pkg.c: (verify_package):
838         Don't call g_free on strings returned from g_getenv.
839         
840 Tue Sep 17 14:11:51 2002  Jonathan Blandford  <jrb@redhat.com>
841
842         * pkg.c: strip out C_INCLUDE_PATH and CPLUS_INCLUDE_PATH if they
843         exist, as this can break -Werror on some newer gcc versions.
844
845 2002-09-13  Tor Lillqvist  <tml@iki.fi>
846
847         * Makefile.am (USE_INSTALLED_GLIB): Seems that the automake
848         version used by Havoc doesn't recognize pkg_config_CFLAGS and
849         pkg_config_LDFLAGS, thus failing builds on Win32 directly from the
850         tarball. Set included_glib_includes and pkg_config_LDADD instead,
851         then, like in the !USE_INSTALLED_GLIB branch.
852
853         * findme.c (X_OK): If X_OK undefined, define as 1, always, not
854         only if G_OS_WIN32, which is never defined here. Fixes a corner
855         case on Win32 with MSYS and mingw where configure as included in
856         the release tarball for some reason doesn't find unistd.h.
857
858 2002-09-09  Havoc Pennington  <hp@pobox.com>
859
860         * pkg.c (fill_list_single_package): fix uninitialized variable,
861         patch from Andrea Suatoni
862
863 2002-09-06  Havoc Pennington  <hp@redhat.com>
864
865         * parse.c, pkg.c: handle other_libs other_cflags same 
866         as -l/-L/-I flags, so we pull in from dependent packages. 
867         Closes #85244, #90706, #89851
868
869 2002-03-27  Havoc Pennington  <hp@redhat.com>
870
871         * pkg.c (verify_package): fix a typo
872
873 2002-03-07  Havoc Pennington  <hp@redhat.com>
874
875         * configure.in: 0.12.0
876
877 2002-03-06  Tor Lillqvist  <tml@iki.fi>
878
879         * configure.in: Use GLib 2.x on Win32.
880
881 2002-02-28  Havoc Pennington  <hp@redhat.com>
882
883         * pkg-config.1: add a note about the need for AC_SUBST with
884         PKG_CHECK_MODULES. Stefan Kost pointed this out.
885
886 2002-02-28  Havoc Pennington  <hp@redhat.com>
887
888         Fix for static linking, -l flag order for libs in multiple prefixes
889         
890         * pkg.c: only sort -L/-I by PKG_CONFIG_PATH order, don't sort 
891         -l flags.
892         (fill_list_single_package): make whether to path sort
893         controlled by a boolean arg
894         (fill_list): ditto
895
896 2002-02-13  Havoc Pennington  <hp@redhat.com>
897
898         * pkg.c (internal_get_package): look up path position by package
899         key, not package name
900
901 2002-02-12  Havoc Pennington  <hp@redhat.com>
902
903         * pkg.c (scan_dir): use g_strdup, and fix the location where 
904         we assign the nul byte, so we don't mangle things for directories
905         that end in '/' - reported by Enrico Scholz
906
907 2002-02-07  Havoc Pennington  <hp@redhat.com>
908
909         * configure.in: 0.11.0
910
911 2002-02-07  Havoc Pennington  <hp@redhat.com>
912
913         * autogen.sh: patch gslist.c so that it has a stable sort
914         function, so we don't utterly mangle the order of the libraries on
915         the link line.
916
917 2002-02-03  Havoc Pennington  <hp@pobox.com>
918
919         * configure.in: 0.10.0
920
921         Redo distribution with autoconf 2.13
922         
923 2002-02-03  Havoc Pennington  <hp@pobox.com>
924
925         * pkg.m4: require 0.9.0
926
927         * configure.in: increment version to 0.9.0
928
929 2002-02-01  Havoc Pennington  <hp@redhat.com>
930
931         * pkg.c (verify_package): don't warn about /usr/include /usr/lib
932         in cflags/libs, too annoying to fix
933
934 2002-02-01  Havoc Pennington  <hp@redhat.com>
935
936         Throughout: cast chars to guchar before passing to isspace, etc., 
937         noted by Morten Welinder
938         
939         * pkg.c (verify_package): actually strip system -I/-L out of the
940         cflags/libs, unless you set an environment variable asking to
941         leave them in.
942
943 2002-02-01  Havoc Pennington  <hp@redhat.com>
944
945         * pkg.m4: fix shell portability issue, reported by Morten Welinder
946
947 2002-01-24  Havoc Pennington  <hp@redhat.com>
948
949         * pkg.c (print_package_list): make the output halfway attractive
950
951         * autogen.sh: use automake-1.4 aclocal-1.4 if found
952
953         * pkg.c (verify_package): add a warning about -I/usr/include in cflags
954
955 2001-10-28  Havoc Pennington  <hp@pobox.com>
956
957         * pkg.c: track position of package in the path search order, 
958         and sort packages accordingly before assembling flags lists, 
959         reported by Jacob Berkman
960
961         * parse.c (get_compat_package): set path position to maxint,
962         always at end of path
963
964 2001-10-28  Havoc Pennington  <hp@pobox.com>    
965
966         * pkg.c (add_search_dir): put the search path in the right order
967
968 2001-10-28  Havoc Pennington  <hp@pobox.com>    
969
970         * configure.in: reorder things so they work on unix
971
972 2001-10-27  Tor Lillqvist  <tml@iki.fi>
973
974         New Win32 feature to make pkg-config useful for users of MSVC:
975         with the flag --msvc-syntax, munge -L and -l flags appropriately
976         for the MSVC command-line compiler. (-I flags are the same.)
977
978         * README.win32: Update.
979
980         * main.c (main): Add --msvc-syntax flag.
981
982         * pkg-config.1: Document it.
983
984         * pkg.h: Declare msvc_syntax.
985
986         * parse.c (parse_libs): Obey msvc_syntax.
987
988 2001-10-25  Tor Lillqvist  <tml@iki.fi>
989
990         Improve Windows behaviour: Make it even easier to install
991         developer packages in random locations, without having to modify
992         the .pc files. Don't set "prefix" globally, instead override it
993         for each .pc file parsed, if the path where the .pc file is seems
994         to be the standard .../lib/pkgconfig.
995
996         * main.c (main): Add search directories also from two Registry
997         keys, in addition to the PKG_CONFIG_PATH environment
998         variable. Don't define prefix globally.
999
1000         * parse.c (parse_line): Instead, if a .pc file is in
1001         /foo/bar/lib/pkgconfig, define prefix as /foo/bar for that package
1002         only.
1003
1004         * pkg.c: Case-fold file names on Windows, in case they have been
1005         uppercasified by some tool.
1006
1007         * pkg-config.1: Document Windows behaviour.
1008
1009 2001-10-21  Tor Lillqvist  <tml@iki.fi>
1010
1011         * Makefile.am (EXTRA_DIST): Distribute README.win32.
1012
1013         * main.c (main): (Win32): Add option --prefix-variable in case the
1014         variable used in a .pc file as "prefix" isn't called
1015         "prefix".
1016
1017         * pkg-config.1: Document it.
1018
1019         * README.win32: Describe the behaviour in more detail.
1020
1021 2001-10-19  Tor Lillqvist  <tml@iki.fi>
1022
1023         * main.c: (Win32): Add option --dont-define-prefix on Windows. The
1024         option prevents pkg-config from automatically defining an
1025         overriding value for the "prefix" variable.
1026
1027         Unless this option is used, set "prefix" to pkg-config's
1028         installation directory, i.e. assume that the packages whose
1029         configuration files are found in the same tree where
1030         pkg-config.exe itself is, also have been configured to use the
1031         same prefix. This means that a typical "developer package"
1032         containg a subtree of headers, libraries, etc, including .pc
1033         files, can be installed in any random location. As long as
1034         pkg-config.exe is installed the same tree, things just should
1035         work.
1036
1037         * pkg-config.1: Document it.
1038
1039 2001-09-30  Tor Lillqvist  <tml@iki.fi>
1040
1041         Changes for "pure" Win32 (without Cygwin or similar) support. The
1042         most important differences compared to pkg-config on Unix are:
1043
1044         We don't use hardcoded PKGLIBDIR paths but deduce the
1045         installation prefix at runtime.
1046
1047         Use the normal GLib DLL, not a private copy. Yes, this does
1048         introduce a circular dependency, but that can be worked around.
1049                 
1050         * README.win32: New file.
1051
1052         * configure.in: Check for Win32. If so, define USE_INSTALLED_GLIB,
1053         and don't configure in the included glib-1.2.8. Set GLIB_CFLAGS
1054         and GLIB_LIBS assuming that GLib is installed in the same location
1055         pkgconfig will be. Check for dirent.h, unistd.h and sys/wait.h
1056         headers.
1057
1058         * Makefile.am: If USE_INSTALLED_GLIB, use the GLIB_* values set
1059         above, and don't make in the glib-1.2.8 subdir.
1060
1061         * autogen.sh: Use perl -p -i.bak, works better on Win32 (and Cygwin).
1062
1063         * *.c: Conditionalize inclusions of unistd.h and sys/wait.h. 
1064         
1065         * findme.c: Define X_OK on Win32 if necessary.
1066
1067         * parse.c
1068         * popthelp.c: Minor Win32 portability ifdefs.
1069
1070         * parse.c: No need to include <windows.h>. 
1071
1072         * pkg.c: Don't hardcode PKGLIBDIR, but use
1073         g_win32_get_package_installation_directory() to deduce it.
1074         (scan_dir): Make a temp copy of dirname with potential superfluous
1075         trailing slash removed. The Win32 opendir implementation doesn't
1076         always like those.
1077
1078         * pkg.h: If USE_INSTALLED_GLIB, include <glib.h> instead of
1079         partial-glib.h.
1080
1081         * popt.c (execCommand): Don't compile on Win32.
1082
1083         * poptconfig.c (configLine): Don't bother with the "exec" stuff on
1084         Win32, too complex to port, at least for now.
1085         (poptReadDefaultConfig) Don't bother compiling on Win32, this
1086         function isn't even called.
1087         
1088 2001-07-11  Havoc Pennington  <hp@redhat.com>
1089
1090         * pkg.c: include sys/types.h to avoid warnings about dirent on
1091         some systems.
1092
1093 2001-07-11  Havoc Pennington  <hp@pobox.com>
1094
1095         * parse.c (parse_cflags): fix failure to put space between cflags,
1096         reported by Chema
1097         (parse_line): allow spelling Cflags as CFlags, pointed out by Tim
1098         (get_compat_package): support legacy script gnome-vfs-config for
1099         package name "libgnomevfs"
1100         (read_one_line): just blow away all the stupid getc_unlocked crap
1101
1102 2001-06-18  Havoc Pennington  <hp@pobox.com>
1103
1104         * pkg.m4: print the error, not the name of the variable containing
1105         it, doh
1106
1107 Sun Jun 17 17:48:45 2001  Tim Janik  <timj@gtk.org>
1108
1109         * pkg.c (internal_get_package): fix check before parsing a file at
1110         "location" to read (location==NULL) instead of (pkg==NULL).
1111
1112 2001-06-14  Havoc Pennington  <hp@redhat.com>
1113
1114         * pkg.c (internal_get_package): don't fall back to legacy -config
1115         scripts for the -uninstalled case.
1116
1117 2001-06-07  Havoc Pennington  <hp@redhat.com>
1118
1119         * pkg.m4: add URL to no-pkg-config error message
1120
1121 2001-06-06  Havoc Pennington  <hp@redhat.com>
1122
1123         * pkg.m4: Fix mismatched backtick
1124
1125 2001-06-05  Havoc Pennington  <hp@redhat.com>
1126
1127         * main.c: add --errors-to-stdout so you can capture them with backticks
1128
1129         * pkg.m4: set FOO_PKG_ERRORS after a failed check, so people can
1130         print the errors. 
1131
1132 2001-06-05  Havoc Pennington  <hp@redhat.com>
1133
1134         * parse.c: never use flockfile, getc_unlocked
1135
1136 2001-06-05  Havoc Pennington  <hp@redhat.com>
1137
1138         * pkg.m4: remove unrelated macros
1139
1140         * README, AUTHORS: updates
1141         
1142 2001-05-20  Havoc Pennington  <hp@pobox.com>
1143
1144         * configure.in: revert package name change, just screwing things up.
1145
1146 2001-05-18  Havoc Pennington  <hp@redhat.com>
1147
1148         * main.c (main): Change default to print errors on --cflags,
1149         --libs, etc., just not on the predicate-style args
1150
1151 2001-05-18  Havoc Pennington  <hp@pobox.com>
1152
1153         * pkg.m4: always AC_SUBST the cflags/libs
1154
1155         * pkg-config.1: updates
1156
1157         * configure.in: call the package 'pkg-config' instead of
1158         pkgconfig, for consistency      
1159
1160         * popt.c: conditionalize on HAVE_SETRESUID, HAVE_SETREUID 
1161         maybe this will help with windows, and improves the #ifdef __hpux
1162         test in any case.
1163
1164         * parse.c: use HAVE_FLOCKFILE to try for windows portability
1165
1166         * configure.in: check for flockfile
1167
1168 2001-05-17  Havoc Pennington  <hp@pobox.com>
1169
1170         * pkg.m4: change to print errors only if no custom not-found
1171         action is specified
1172
1173         * main.c (main): add PKG_CONFIG_DEBUG_SPEW environment variable
1174         (main): implement --print-errors where errors are printed, and
1175         otherwise don't print errors related to packages, just usage
1176         errors; pointed out by Raja
1177         (main): rename pcbuilddir to pc_top_builddir
1178
1179 2001-05-17  Havoc Pennington  <hp@redhat.com>
1180
1181         Changes to support building against uninstalled packages.
1182
1183         * ${pcfiledir} variable used to locate builddir by locating
1184         the .pc file
1185
1186         * ${pcbuilddir} variable set by the PKG_CONFIG_BUILD_DIR variable,
1187         used for the name of the build directory where the cflags/libs
1188         will be used, defaults to '$(top_builddir)'
1189
1190         * "uninstalled" feature looks for foo-uninstalled.pc before
1191         foo.pc, unless PKG_CONFIG_DISABLE_UNINSTALLED is set
1192
1193         * --uninstalled option used to see if foo-uninstalled.pc is in use
1194
1195         * --define-variable option added, but turned out to be unused for
1196         this
1197         
1198 2001-05-09  Havoc Pennington  <hp@redhat.com>
1199
1200         * main.c, findme.c, parse.c, pkg.c, poptconfig.c, popthelp.c,
1201         poptparse.c: portability fixes from Tomas Ogren
1202
1203 2001-05-09  Havoc Pennington  <hp@redhat.com>
1204
1205         * Makefile.am (EXTRA_DIST): put the m4 files in the distribution
1206
1207 2001-05-09  Havoc Pennington  <hp@redhat.com>
1208
1209         * pkg.m4: switch to double quotes for module list, so you can use 
1210         a variable there.
1211
1212 2001-05-09  Havoc Pennington  <hp@redhat.com>
1213
1214         * pkg.c (verify_package): fix error message on missing Name field, 
1215         so that it doesn't try to use the name field to report which
1216         package was broken
1217
1218         * parse.c (parse_package_file): change a debug spew to an actual
1219         error message
1220
1221 2001-04-13  Havoc Pennington  <hp@redhat.com>
1222
1223         * pkg.m4: fixed this up
1224
1225         * main.c (main): remove --check-requires, instead allow version
1226         predicates in the module list.
1227
1228 2001-04-12  Havoc Pennington  <hp@pobox.com>
1229
1230         * main.c (main): Implement --check-requires='gtk+-2.0 = 1.3.4' 
1231         option
1232
1233 2001-01-24  Havoc Pennington  <hp@redhat.com>
1234
1235         Implement --debug spew option.
1236         
1237         * main.c: add debug_spew function and an option --debug 
1238
1239 2001-01-06  Havoc Pennington  <hp@pobox.com>
1240
1241         * pkg.c (scan_dir): fail silently if we can't open a directory in
1242         the PKG_CONFIG_PATH
1243
1244 2001-01-02  Havoc Pennington  <hp@redhat.com>
1245
1246         * configure.in: bump version
1247
1248 2001-01-02  Havoc Pennington  <hp@redhat.com>
1249
1250         * parse.c (parse_package_file): return NULL instead of exiting
1251         if we can't open the file.
1252
1253         * main.c (main): Add options to check the version of pkg-config
1254         itself, and to list all known packages
1255
1256         * parse.c (split_module_list): fix to work properly
1257         (parse_module_list): pass variable-substituted string to
1258         split_module_list(), silly typo
1259
1260         * pkg.c (get_package): Add ability to pass a filename instead of a
1261         package name, if you want to use a specific pkg-config file (used
1262         for configure.in in GTK+ for example, where you can build against
1263         an uninstalled copy of GLib).
1264
1265 2000-11-29  Havoc Pennington  <hp@redhat.com>
1266
1267         * parse.c (parse_module_list): Allow commas before/after the
1268         module list, and allow spaces instead of commas to be used as
1269         separators. This leniency makes it a lot easier to conditionally
1270         build the module list according to configure.in checks.
1271
1272 2000-11-29  Havoc Pennington  <hp@pobox.com>
1273
1274         * pkg.c (packages_get_other_libs): put a space after the
1275         other_libs
1276         (packages_get_other_cflags): put a space after the other_cflags
1277
1278 2000-11-27  Havoc Pennington  <hp@redhat.com>
1279
1280         * main.c (main): don't print space after variable values
1281
1282         * pkg.c (packages_get_var): don't add space after last variable
1283
1284 2000-11-22  Martijn van Beers  <martijn@earthling.net>
1285
1286         * main.c: added a --version option for martin
1287         * parse.c: added jamesh's patch
1288
1289         release 0.4.1
1290
1291 2000-10-17  Martijn van Beers  <martijn@earthling.net>
1292
1293         * configure.in:
1294         * Makefile.am: Change to use C version only.
1295
1296         release 0.4.0
1297
1298 2000-09-15  Havoc Pennington  <hp@redhat.com>
1299
1300         * configure.in: AM_PROG_LIBTOOL
1301
1302         * Makefile.am (experimental_pkg_config_LDADD): Link with .la, not
1303         .a
1304
1305 2000-08-10  Havoc Pennington  <hp@redhat.com>
1306
1307         * pkg.c (verify_package): Bugfix from Anders
1308
1309 2000-07-24  Havoc Pennington  <hp@redhat.com>
1310
1311         * parse.c (get_compat_package): Add support 
1312         for imlib-config and orbit-config
1313
1314 2000-07-22  Havoc Pennington  <hp@pobox.com>
1315
1316         * parse.c (get_compat_package): Make it work with any 
1317         gnome-config package name.
1318
1319 2000-07-22  Havoc Pennington  <hp@pobox.com>
1320
1321         * parse.c, pkg.c, pkg.h: Add Conflicts: keyword, and do 
1322         version-checking for Requires: line. Untested.
1323
1324 2000-07-21  Havoc Pennington  <hp@redhat.com>
1325
1326         * parse.c (get_compat_package): Add some compat stuff (execs
1327         gnome-config, gtk-config, etc.). We don't yet support all 
1328         the modules we might want to support.
1329
1330 2000-07-20  Havoc Pennington  <hp@redhat.com>
1331
1332         * pkg.c (get_package): fix error message formatting
1333
1334 2000-07-20  Havoc Pennington  <hp@redhat.com>
1335
1336         * pkg.c (recursive_fill_list): append rather than prepend the 
1337         current libs to the required libs.
1338
1339         * parse.c (trim_and_sub): Make variables use ${} instead of %{} so
1340         we can accept "shell variables" subbed by configure
1341
1342 2000-07-20  Havoc Pennington  <hp@redhat.com>
1343
1344         * autogen.sh: Run perl on the Makefile.am in the glib tarball to
1345         keep it from doing anything in 'make install'
1346
1347         * pkg.c (scan_dir): Revert to .pc extension
1348
1349 2000-07-20  Havoc Pennington  <hp@redhat.com>
1350
1351         * glib-1.2.8.tar.gz: Decided it was easier to just stick 
1352         in a copy of the tarball instead of hacking up glib;
1353         this way we get bugfixes. If distribution size is a problem, 
1354         we can hack on it later. Rerun autogen.sh to get the 
1355         tarball unpacked and configured.
1356         
1357         * configure.in: AC_CONFIG_SUBDIRS(glib-1.2.8)
1358
1359         * main.c: Add version-comparison 
1360
1361         * Makefile.am: use new glib tarball
1362         
1363 2000-07-18  Havoc Pennington  <hp@redhat.com>
1364
1365         * pkg.c: When removing -l duplicates, keep the last not the first
1366         -l
1367
1368         * main.c (main): Added --variable and --module-exists options.
1369
1370         * Wrote an experimental version of pkg-config in C. For 
1371         now, glib is required, until I get a cut-and-pasted subset
1372         of glib up and running.
1373
1374         C version is not finished, don't release a tarball yet. ;-)
1375         
1376         * configure.in, Makefile.am: stuff to build the C version 
1377         of pkg-config
1378
1379 2000-07-10  Martijn van Beers  <martijn@earthling.net>
1380
1381         * pkg-config.in: remove -I/usr/include and -L/usr/lib from
1382           the flags we output
1383         * pkg.m4: add a PKG_ACLOCALFLAGS macro
1384                   add a _DEPENDS output variable
1385
1386 2000-07-01  Martijn van Beers  <martijn@earthling.net>
1387
1388         * data/gnomeconfig.pce: make output of --modversion be like
1389           the output of .pc files
1390
1391 2000-07-01  Martijn van Beers  <martijn@earthling.net>
1392
1393         * pkg.m4: clean up PKG_CHECK_CFLAG
1394    
1395 2000-06-27  Martijn van Beers  <martijn@earthling.net>
1396
1397         * data/gnomeconfig.pce: check for existance with --cflags
1398                                 instead of --libs
1399         * pkg.m4: remove stray debug echo command
1400                   add PKG_CHECK_CFLAGS macro
1401
1402 2000-06-23  Martijn van Beers  <martijn@earthling.net>
1403
1404         * data/gnomeconfig.pce,
1405         * pkg-config.in:
1406           - add checks to see if we're properly installed
1407           - bug fixes for sh on Tru64
1408
1409 Wed Jun 21 2000  Martijn van Beers  <martijn@earthling.net>
1410
1411         * added support for extension modules that will be called
1412           if a module doesn't have a .pc file
1413         * added a gnomeconfig.pce extension module to allow for
1414           old gnome-libs stuff to be used (at the request of hp)
1415         * made CFLAGS be like the LIBS_* variables in that you
1416           need to do the adding in the .pc file
1417
1418 Thu Jun 15 2000  Martijn van Beers  <martijn@earthling.net>
1419
1420         * add a --print-pc-dir that prints the default search dir
1421         * only use the default search dir when nothing else is
1422           specified
1423
1424 Sat Jun 10 2000  Martijn van Beers  <martijn@earthling.net>
1425
1426         * made the duplication removing code in a function
1427         * fix the duplication code so that it checks $* correctly
1428           while we have IFS=":$IFS"
1429         * splitted up --libs into --libs-only-L, --libs-only-l-self
1430           and --libs-only-l-system, as suggested by Tim Janik
1431
1432 Thu Jun  8 2000  Martijn van Beers  <martijn@earthling.net>
1433
1434         * made it use autoconf/automake
1435         * pkg-config: removed in favour of a .in equivalent which generates
1436                       pkg-config from configure
1437         * pkg-config.in: new file, mostly a copy from pkg-config
1438         * pkg-config.in: get the prefix for the default pc_path from configure
1439
1440 Wed Jun  7 2000  Martijn van Beers  <martijn@earthling.net>
1441
1442         * pkg.m4: new file, contains a macro that checks for packages and
1443                   whether they're the right version
1444         * pkg-config: added a --modversion flag to get the version of the
1445                       module (needs a VERSION var in the .pc files)
1446
1447 Tue Jun  6 2000  Martijn van Beers  <martijn@earthling.net>
1448
1449         * pkg-config: removed the pc_name_pkg functionality
1450         * pkg-config: show help and error out when there are no arguments
1451         * pkg-config: get the version from configure
1452
1453 ;;
1454 ;; Local variables:
1455 ;; add-log-time-format: add-log-iso8601-time-string
1456 ;; End: