source: trunk/third/pkgconfig/ChangeLog @ 18224

Revision 18224, 19.4 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18223, which included commits to RCS files with non-trunk default branches.
Line 
12002-10-10  Havoc Pennington  <hp@redhat.com>
2
3        * configure.in: 0.14
4
52002-10-02  Anders Carlsson  <andersca@gnu.org>
6
7        * pkg.c (add_env_variable_to_list): Don't return NULL, return
8        the new list.
9        (verify_package): break if we've removed the variable.
10
112002-09-26  Tor Lillqvist  <tml@iki.fi>
12
13        * parse.c (get_compat_package): Return NULL right away on
14        Windows. There has never been any of these legacy *-config scripts
15        distributed for Windows as far as I know.
16
172002-09-26  Anders Carlsson  <andersca@gnu.org>
18
19        * pkg.c (verify_package): Use strncmp when checking for
20        the -I prefix.
21
222002-09-19  Havoc Pennington  <hp@pobox.com>
23
24        * configure.in: 0.13
25
262002-09-19  Anders Carlsson  <andersca@gnu.org>
27
28        * pkg.c: (verify_package):
29        Don't call g_free on strings returned from g_getenv.
30       
31Tue Sep 17 14:11:51 2002  Jonathan Blandford  <jrb@redhat.com>
32
33        * pkg.c: strip out C_INCLUDE_PATH and CPLUS_INCLUDE_PATH if they
34        exist, as this can break -Werror on some newer gcc versions.
35
362002-09-13  Tor Lillqvist  <tml@iki.fi>
37
38        * Makefile.am (USE_INSTALLED_GLIB): Seems that the automake
39        version used by Havoc doesn't recognize pkg_config_CFLAGS and
40        pkg_config_LDFLAGS, thus failing builds on Win32 directly from the
41        tarball. Set included_glib_includes and pkg_config_LDADD instead,
42        then, like in the !USE_INSTALLED_GLIB branch.
43
44        * findme.c (X_OK): If X_OK undefined, define as 1, always, not
45        only if G_OS_WIN32, which is never defined here. Fixes a corner
46        case on Win32 with MSYS and mingw where configure as included in
47        the release tarball for some reason doesn't find unistd.h.
48
492002-09-09  Havoc Pennington  <hp@pobox.com>
50
51        * pkg.c (fill_list_single_package): fix uninitialized variable,
52        patch from Andrea Suatoni
53
542002-09-06  Havoc Pennington  <hp@redhat.com>
55
56        * parse.c, pkg.c: handle other_libs other_cflags same
57        as -l/-L/-I flags, so we pull in from dependent packages.
58        Closes #85244, #90706, #89851
59
602002-03-27  Havoc Pennington  <hp@redhat.com>
61
62        * pkg.c (verify_package): fix a typo
63
642002-03-07  Havoc Pennington  <hp@redhat.com>
65
66        * configure.in: 0.12.0
67
682002-03-06  Tor Lillqvist  <tml@iki.fi>
69
70        * configure.in: Use GLib 2.x on Win32.
71
722002-02-28  Havoc Pennington  <hp@redhat.com>
73
74        * pkg-config.1: add a note about the need for AC_SUBST with
75        PKG_CHECK_MODULES. Stefan Kost pointed this out.
76
772002-02-28  Havoc Pennington  <hp@redhat.com>
78
79        Fix for static linking, -l flag order for libs in multiple prefixes
80       
81        * pkg.c: only sort -L/-I by PKG_CONFIG_PATH order, don't sort
82        -l flags.
83        (fill_list_single_package): make whether to path sort
84        controlled by a boolean arg
85        (fill_list): ditto
86
872002-02-13  Havoc Pennington  <hp@redhat.com>
88
89        * pkg.c (internal_get_package): look up path position by package
90        key, not package name
91
922002-02-12  Havoc Pennington  <hp@redhat.com>
93
94        * pkg.c (scan_dir): use g_strdup, and fix the location where
95        we assign the nul byte, so we don't mangle things for directories
96        that end in '/' - reported by Enrico Scholz
97
982002-02-07  Havoc Pennington  <hp@redhat.com>
99
100        * configure.in: 0.11.0
101
1022002-02-07  Havoc Pennington  <hp@redhat.com>
103
104        * autogen.sh: patch gslist.c so that it has a stable sort
105        function, so we don't utterly mangle the order of the libraries on
106        the link line.
107
1082002-02-03  Havoc Pennington  <hp@pobox.com>
109
110        * configure.in: 0.10.0
111
112        Redo distribution with autoconf 2.13
113       
1142002-02-03  Havoc Pennington  <hp@pobox.com>
115
116        * pkg.m4: require 0.9.0
117
118        * configure.in: increment version to 0.9.0
119
1202002-02-01  Havoc Pennington  <hp@redhat.com>
121
122        * pkg.c (verify_package): don't warn about /usr/include /usr/lib
123        in cflags/libs, too annoying to fix
124
1252002-02-01  Havoc Pennington  <hp@redhat.com>
126
127        Throughout: cast chars to guchar before passing to isspace, etc.,
128        noted by Morten Welinder
129       
130        * pkg.c (verify_package): actually strip system -I/-L out of the
131        cflags/libs, unless you set an environment variable asking to
132        leave them in.
133
1342002-02-01  Havoc Pennington  <hp@redhat.com>
135
136        * pkg.m4: fix shell portability issue, reported by Morten Welinder
137
1382002-01-24  Havoc Pennington  <hp@redhat.com>
139
140        * pkg.c (print_package_list): make the output halfway attractive
141
142        * autogen.sh: use automake-1.4 aclocal-1.4 if found
143
144        * pkg.c (verify_package): add a warning about -I/usr/include in cflags
145
1462001-10-28  Havoc Pennington  <hp@pobox.com>
147
148        * pkg.c: track position of package in the path search order,
149        and sort packages accordingly before assembling flags lists,
150        reported by Jacob Berkman
151
152        * parse.c (get_compat_package): set path position to maxint,
153        always at end of path
154
1552001-10-28  Havoc Pennington  <hp@pobox.com>   
156
157        * pkg.c (add_search_dir): put the search path in the right order
158
1592001-10-28  Havoc Pennington  <hp@pobox.com>   
160
161        * configure.in: reorder things so they work on unix
162
1632001-10-27  Tor Lillqvist  <tml@iki.fi>
164
165        New Win32 feature to make pkg-config useful for users of MSVC:
166        with the flag --msvc-syntax, munge -L and -l flags appropriately
167        for the MSVC command-line compiler. (-I flags are the same.)
168
169        * README.win32: Update.
170
171        * main.c (main): Add --msvc-syntax flag.
172
173        * pkg-config.1: Document it.
174
175        * pkg.h: Declare msvc_syntax.
176
177        * parse.c (parse_libs): Obey msvc_syntax.
178
1792001-10-25  Tor Lillqvist  <tml@iki.fi>
180
181        Improve Windows behaviour: Make it even easier to install
182        developer packages in random locations, without having to modify
183        the .pc files. Don't set "prefix" globally, instead override it
184        for each .pc file parsed, if the path where the .pc file is seems
185        to be the standard .../lib/pkgconfig.
186
187        * main.c (main): Add search directories also from two Registry
188        keys, in addition to the PKG_CONFIG_PATH environment
189        variable. Don't define prefix globally.
190
191        * parse.c (parse_line): Instead, if a .pc file is in
192        /foo/bar/lib/pkgconfig, define prefix as /foo/bar for that package
193        only.
194
195        * pkg.c: Case-fold file names on Windows, in case they have been
196        uppercasified by some tool.
197
198        * pkg-config.1: Document Windows behaviour.
199
2002001-10-21  Tor Lillqvist  <tml@iki.fi>
201
202        * Makefile.am (EXTRA_DIST): Distribute README.win32.
203
204        * main.c (main): (Win32): Add option --prefix-variable in case the
205        variable used in a .pc file as "prefix" isn't called
206        "prefix".
207
208        * pkg-config.1: Document it.
209
210        * README.win32: Describe the behaviour in more detail.
211
2122001-10-19  Tor Lillqvist  <tml@iki.fi>
213
214        * main.c: (Win32): Add option --dont-define-prefix on Windows. The
215        option prevents pkg-config from automatically defining an
216        overriding value for the "prefix" variable.
217
218        Unless this option is used, set "prefix" to pkg-config's
219        installation directory, i.e. assume that the packages whose
220        configuration files are found in the same tree where
221        pkg-config.exe itself is, also have been configured to use the
222        same prefix. This means that a typical "developer package"
223        containg a subtree of headers, libraries, etc, including .pc
224        files, can be installed in any random location. As long as
225        pkg-config.exe is installed the same tree, things just should
226        work.
227
228        * pkg-config.1: Document it.
229
2302001-09-30  Tor Lillqvist  <tml@iki.fi>
231
232        Changes for "pure" Win32 (without Cygwin or similar) support. The
233        most important differences compared to pkg-config on Unix are:
234
235        We don't use hardcoded PKGLIBDIR paths but deduce the
236        installation prefix at runtime.
237
238        Use the normal GLib DLL, not a private copy. Yes, this does
239        introduce a circular dependency, but that can be worked around.
240               
241        * README.win32: New file.
242
243        * configure.in: Check for Win32. If so, define USE_INSTALLED_GLIB,
244        and don't configure in the included glib-1.2.8. Set GLIB_CFLAGS
245        and GLIB_LIBS assuming that GLib is installed in the same location
246        pkgconfig will be. Check for dirent.h, unistd.h and sys/wait.h
247        headers.
248
249        * Makefile.am: If USE_INSTALLED_GLIB, use the GLIB_* values set
250        above, and don't make in the glib-1.2.8 subdir.
251
252        * autogen.sh: Use perl -p -i.bak, works better on Win32 (and Cygwin).
253
254        * *.c: Conditionalize inclusions of unistd.h and sys/wait.h.
255       
256        * findme.c: Define X_OK on Win32 if necessary.
257
258        * parse.c
259        * popthelp.c: Minor Win32 portability ifdefs.
260
261        * parse.c: No need to include <windows.h>.
262
263        * pkg.c: Don't hardcode PKGLIBDIR, but use
264        g_win32_get_package_installation_directory() to deduce it.
265        (scan_dir): Make a temp copy of dirname with potential superfluous
266        trailing slash removed. The Win32 opendir implementation doesn't
267        always like those.
268
269        * pkg.h: If USE_INSTALLED_GLIB, include <glib.h> instead of
270        partial-glib.h.
271
272        * popt.c (execCommand): Don't compile on Win32.
273
274        * poptconfig.c (configLine): Don't bother with the "exec" stuff on
275        Win32, too complex to port, at least for now.
276        (poptReadDefaultConfig) Don't bother compiling on Win32, this
277        function isn't even called.
278       
2792001-07-11  Havoc Pennington  <hp@redhat.com>
280
281        * pkg.c: include sys/types.h to avoid warnings about dirent on
282        some systems.
283
2842001-07-11  Havoc Pennington  <hp@pobox.com>
285
286        * parse.c (parse_cflags): fix failure to put space between cflags,
287        reported by Chema
288        (parse_line): allow spelling Cflags as CFlags, pointed out by Tim
289        (get_compat_package): support legacy script gnome-vfs-config for
290        package name "libgnomevfs"
291        (read_one_line): just blow away all the stupid getc_unlocked crap
292
2932001-06-18  Havoc Pennington  <hp@pobox.com>
294
295        * pkg.m4: print the error, not the name of the variable containing
296        it, doh
297
298Sun Jun 17 17:48:45 2001  Tim Janik  <timj@gtk.org>
299
300        * pkg.c (internal_get_package): fix check before parsing a file at
301        "location" to read (location==NULL) instead of (pkg==NULL).
302
3032001-06-14  Havoc Pennington  <hp@redhat.com>
304
305        * pkg.c (internal_get_package): don't fall back to legacy -config
306        scripts for the -uninstalled case.
307
3082001-06-07  Havoc Pennington  <hp@redhat.com>
309
310        * pkg.m4: add URL to no-pkg-config error message
311
3122001-06-06  Havoc Pennington  <hp@redhat.com>
313
314        * pkg.m4: Fix mismatched backtick
315
3162001-06-05  Havoc Pennington  <hp@redhat.com>
317
318        * main.c: add --errors-to-stdout so you can capture them with backticks
319
320        * pkg.m4: set FOO_PKG_ERRORS after a failed check, so people can
321        print the errors.
322
3232001-06-05  Havoc Pennington  <hp@redhat.com>
324
325        * parse.c: never use flockfile, getc_unlocked
326
3272001-06-05  Havoc Pennington  <hp@redhat.com>
328
329        * pkg.m4: remove unrelated macros
330
331        * README, AUTHORS: updates
332       
3332001-05-20  Havoc Pennington  <hp@pobox.com>
334
335        * configure.in: revert package name change, just screwing things up.
336
3372001-05-18  Havoc Pennington  <hp@redhat.com>
338
339        * main.c (main): Change default to print errors on --cflags,
340        --libs, etc., just not on the predicate-style args
341
3422001-05-18  Havoc Pennington  <hp@pobox.com>
343
344        * pkg.m4: always AC_SUBST the cflags/libs
345
346        * pkg-config.1: updates
347
348        * configure.in: call the package 'pkg-config' instead of
349        pkgconfig, for consistency     
350
351        * popt.c: conditionalize on HAVE_SETRESUID, HAVE_SETREUID
352        maybe this will help with windows, and improves the #ifdef __hpux
353        test in any case.
354
355        * parse.c: use HAVE_FLOCKFILE to try for windows portability
356
357        * configure.in: check for flockfile
358
3592001-05-17  Havoc Pennington  <hp@pobox.com>
360
361        * pkg.m4: change to print errors only if no custom not-found
362        action is specified
363
364        * main.c (main): add PKG_CONFIG_DEBUG_SPEW environment variable
365        (main): implement --print-errors where errors are printed, and
366        otherwise don't print errors related to packages, just usage
367        errors; pointed out by Raja
368        (main): rename pcbuilddir to pc_top_builddir
369
3702001-05-17  Havoc Pennington  <hp@redhat.com>
371
372        Changes to support building against uninstalled packages.
373
374        * ${pcfiledir} variable used to locate builddir by locating
375        the .pc file
376
377        * ${pcbuilddir} variable set by the PKG_CONFIG_BUILD_DIR variable,
378        used for the name of the build directory where the cflags/libs
379        will be used, defaults to '$(top_builddir)'
380
381        * "uninstalled" feature looks for foo-uninstalled.pc before
382        foo.pc, unless PKG_CONFIG_DISABLE_UNINSTALLED is set
383
384        * --uninstalled option used to see if foo-uninstalled.pc is in use
385
386        * --define-variable option added, but turned out to be unused for
387        this
388       
3892001-05-09  Havoc Pennington  <hp@redhat.com>
390
391        * main.c, findme.c, parse.c, pkg.c, poptconfig.c, popthelp.c,
392        poptparse.c: portability fixes from Tomas Ogren
393
3942001-05-09  Havoc Pennington  <hp@redhat.com>
395
396        * Makefile.am (EXTRA_DIST): put the m4 files in the distribution
397
3982001-05-09  Havoc Pennington  <hp@redhat.com>
399
400        * pkg.m4: switch to double quotes for module list, so you can use
401        a variable there.
402
4032001-05-09  Havoc Pennington  <hp@redhat.com>
404
405        * pkg.c (verify_package): fix error message on missing Name field,
406        so that it doesn't try to use the name field to report which
407        package was broken
408
409        * parse.c (parse_package_file): change a debug spew to an actual
410        error message
411
4122001-04-13  Havoc Pennington  <hp@redhat.com>
413
414        * pkg.m4: fixed this up
415
416        * main.c (main): remove --check-requires, instead allow version
417        predicates in the module list.
418
4192001-04-12  Havoc Pennington  <hp@pobox.com>
420
421        * main.c (main): Implement --check-requires='gtk+-2.0 = 1.3.4'
422        option
423
4242001-01-24  Havoc Pennington  <hp@redhat.com>
425
426        Implement --debug spew option.
427       
428        * main.c: add debug_spew function and an option --debug
429
4302001-01-06  Havoc Pennington  <hp@pobox.com>
431
432        * pkg.c (scan_dir): fail silently if we can't open a directory in
433        the PKG_CONFIG_PATH
434
4352001-01-02  Havoc Pennington  <hp@redhat.com>
436
437        * configure.in: bump version
438
4392001-01-02  Havoc Pennington  <hp@redhat.com>
440
441        * parse.c (parse_package_file): return NULL instead of exiting
442        if we can't open the file.
443
444        * main.c (main): Add options to check the version of pkg-config
445        itself, and to list all known packages
446
447        * parse.c (split_module_list): fix to work properly
448        (parse_module_list): pass variable-substituted string to
449        split_module_list(), silly typo
450
451        * pkg.c (get_package): Add ability to pass a filename instead of a
452        package name, if you want to use a specific pkg-config file (used
453        for configure.in in GTK+ for example, where you can build against
454        an uninstalled copy of GLib).
455
4562000-11-29  Havoc Pennington  <hp@redhat.com>
457
458        * parse.c (parse_module_list): Allow commas before/after the
459        module list, and allow spaces instead of commas to be used as
460        separators. This leniency makes it a lot easier to conditionally
461        build the module list according to configure.in checks.
462
4632000-11-29  Havoc Pennington  <hp@pobox.com>
464
465        * pkg.c (packages_get_other_libs): put a space after the
466        other_libs
467        (packages_get_other_cflags): put a space after the other_cflags
468
4692000-11-27  Havoc Pennington  <hp@redhat.com>
470
471        * main.c (main): don't print space after variable values
472
473        * pkg.c (packages_get_var): don't add space after last variable
474
4752000-11-22  Martijn van Beers  <martijn@earthling.net>
476
477        * main.c: added a --version option for martin
478        * parse.c: added jamesh's patch
479
480        release 0.4.1
481
4822000-10-17  Martijn van Beers  <martijn@earthling.net>
483
484        * configure.in:
485        * Makefile.am: Change to use C version only.
486
487        release 0.4.0
488
4892000-09-15  Havoc Pennington  <hp@redhat.com>
490
491        * configure.in: AM_PROG_LIBTOOL
492
493        * Makefile.am (experimental_pkg_config_LDADD): Link with .la, not
494        .a
495
4962000-08-10  Havoc Pennington  <hp@redhat.com>
497
498        * pkg.c (verify_package): Bugfix from Anders
499
5002000-07-24  Havoc Pennington  <hp@redhat.com>
501
502        * parse.c (get_compat_package): Add support
503        for imlib-config and orbit-config
504
5052000-07-22  Havoc Pennington  <hp@pobox.com>
506
507        * parse.c (get_compat_package): Make it work with any
508        gnome-config package name.
509
5102000-07-22  Havoc Pennington  <hp@pobox.com>
511
512        * parse.c, pkg.c, pkg.h: Add Conflicts: keyword, and do
513        version-checking for Requires: line. Untested.
514
5152000-07-21  Havoc Pennington  <hp@redhat.com>
516
517        * parse.c (get_compat_package): Add some compat stuff (execs
518        gnome-config, gtk-config, etc.). We don't yet support all
519        the modules we might want to support.
520
5212000-07-20  Havoc Pennington  <hp@redhat.com>
522
523        * pkg.c (get_package): fix error message formatting
524
5252000-07-20  Havoc Pennington  <hp@redhat.com>
526
527        * pkg.c (recursive_fill_list): append rather than prepend the
528        current libs to the required libs.
529
530        * parse.c (trim_and_sub): Make variables use ${} instead of %{} so
531        we can accept "shell variables" subbed by configure
532
5332000-07-20  Havoc Pennington  <hp@redhat.com>
534
535        * autogen.sh: Run perl on the Makefile.am in the glib tarball to
536        keep it from doing anything in 'make install'
537
538        * pkg.c (scan_dir): Revert to .pc extension
539
5402000-07-20  Havoc Pennington  <hp@redhat.com>
541
542        * glib-1.2.8.tar.gz: Decided it was easier to just stick
543        in a copy of the tarball instead of hacking up glib;
544        this way we get bugfixes. If distribution size is a problem,
545        we can hack on it later. Rerun autogen.sh to get the
546        tarball unpacked and configured.
547       
548        * configure.in: AC_CONFIG_SUBDIRS(glib-1.2.8)
549
550        * main.c: Add version-comparison
551
552        * Makefile.am: use new glib tarball
553       
5542000-07-18  Havoc Pennington  <hp@redhat.com>
555
556        * pkg.c: When removing -l duplicates, keep the last not the first
557        -l
558
559        * main.c (main): Added --variable and --module-exists options.
560
561        * Wrote an experimental version of pkg-config in C. For
562        now, glib is required, until I get a cut-and-pasted subset
563        of glib up and running.
564
565        C version is not finished, don't release a tarball yet. ;-)
566       
567        * configure.in, Makefile.am: stuff to build the C version
568        of pkg-config
569
5702000-07-10  Martijn van Beers  <martijn@earthling.net>
571
572        * pkg-config.in: remove -I/usr/include and -L/usr/lib from
573          the flags we output
574        * pkg.m4: add a PKG_ACLOCALFLAGS macro
575                  add a _DEPENDS output variable
576
5772000-07-01  Martijn van Beers  <martijn@earthling.net>
578
579        * data/gnomeconfig.pce: make output of --modversion be like
580          the output of .pc files
581
5822000-07-01  Martijn van Beers  <martijn@earthling.net>
583
584        * pkg.m4: clean up PKG_CHECK_CFLAG
585   
5862000-06-27  Martijn van Beers  <martijn@earthling.net>
587
588        * data/gnomeconfig.pce: check for existance with --cflags
589                                instead of --libs
590        * pkg.m4: remove stray debug echo command
591                  add PKG_CHECK_CFLAGS macro
592
5932000-06-23  Martijn van Beers  <martijn@earthling.net>
594
595        * data/gnomeconfig.pce,
596        * pkg-config.in:
597          - add checks to see if we're properly installed
598          - bug fixes for sh on Tru64
599
600Wed Jun 21 2000  Martijn van Beers  <martijn@earthling.net>
601
602        * added support for extension modules that will be called
603          if a module doesn't have a .pc file
604        * added a gnomeconfig.pce extension module to allow for
605          old gnome-libs stuff to be used (at the request of hp)
606        * made CFLAGS be like the LIBS_* variables in that you
607          need to do the adding in the .pc file
608
609Thu Jun 15 2000  Martijn van Beers  <martijn@earthling.net>
610
611        * add a --print-pc-dir that prints the default search dir
612        * only use the default search dir when nothing else is
613          specified
614
615Sat Jun 10 2000  Martijn van Beers  <martijn@earthling.net>
616
617        * made the duplication removing code in a function
618        * fix the duplication code so that it checks $* correctly
619          while we have IFS=":$IFS"
620        * splitted up --libs into --libs-only-L, --libs-only-l-self
621          and --libs-only-l-system, as suggested by Tim Janik
622
623Thu Jun  8 2000  Martijn van Beers  <martijn@earthling.net>
624
625        * made it use autoconf/automake
626        * pkg-config: removed in favour of a .in equivalent which generates
627                      pkg-config from configure
628        * pkg-config.in: new file, mostly a copy from pkg-config
629        * pkg-config.in: get the prefix for the default pc_path from configure
630
631Wed Jun  7 2000  Martijn van Beers  <martijn@earthling.net>
632
633        * pkg.m4: new file, contains a macro that checks for packages and
634                  whether they're the right version
635        * pkg-config: added a --modversion flag to get the version of the
636                      module (needs a VERSION var in the .pc files)
637
638Tue Jun  6 2000  Martijn van Beers  <martijn@earthling.net>
639
640        * pkg-config: removed the pc_name_pkg functionality
641        * pkg-config: show help and error out when there are no arguments
642        * pkg-config: get the version from configure
Note: See TracBrowser for help on using the repository browser.