forked from esy-ocaml/yarn-pkg-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
1456 lines (949 loc) · 46.2 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
*************************************************************************
This file is no longer kept up to date, please see git commit logs
instead.
*************************************************************************
2009-06-30 Tollef Fog Heen <[email protected]>
* pkg.m4: Add patch from Peter Rosin for somewhat nicer output if
you use the four-clause form of PKG_CHECK_MODULES.
2009-06-12 Tor Lillqvist <[email protected]>
* parse.c: On Win32, if the value of a a variable other than the
"prefix" one starts with the non-overridden value of "prefix",
then replace that prefix, too, with the run-time one.
To avoid shadowing warnings, rename a 'p' variable to 'q'.
* pkg-config.1: Corresponding update.
* main.c
* pkg.h: Move the Win32 redefinition of PKG_CONFIG_PC_PATH from
main.c to pkg.h as it now is needed in pkg.c, too.
2009-03-30 Tollef Fog Heen <[email protected]>
* autogen.sh: Allow not running configure, wanted by cygwin.
* check/check-missing, check/check-libs,
check/check-requires-private: Handle the case of indirect being
enabled correctly in checks.
* check/common, check/config.sh.in, check/Makefile.am,
configure.in: Make it possible to check for configure variables in
the check scripts. So far, only direct/indirect is exposed.
* pkg.c (add_virtual_pkgconfig_package): Add pc_path as a variable
which you can use to get at the compiled-in PKG_CONFIG_PC_PATH.
* pkg.h: Fix up path to glib.h
* pkg.c (add_virtual_pkgconfig_package): Fix URL to pkg-config.
* partial-glib.[ch]: Get rid of those, they are no longer in use.
* poptparse.c, popthelp.c, poptconfig.c, popt.c, pkg.c, findme.c,
configure.in: Check for malloc.h and use that if it exists.
Apparently this makes Win32 happier. Thanks to Carlo Bramini for
the patch.
* pkg-config.1: Verbosify the text about Libs.private a bit. Patch
from Loïc Minier.
* pkg-config.1: Add documentation for --cflags-only-I, patch from
Loïc Minier.
* pkg.[ch], main.c, check/check-missing: Don't recurse Requires at
all unless we need to. Add check. Again, thanks to Loïc Minier
for most of the idea and the implementation.
* pkg.[ch], parse.[ch], main.c, check/Makefile.am,
check/check-missing, check/missing-requires-private.pc:
Skip Requires.private unless we need to look at them for cflags.
Add test case. Thanks to Loïc Minier for most of the idea and the
implementation. Debian #475031
* check/common: Run all tests in the C locale
* check/common: Add support for non-zero return codes to test
framework. Thanks to Loïc Minier for the idea.
* pkg.m4: Add PKG_CONFIG_PATH and PKG_CONFIG_LIBDIR to the list of
precious directories. (AC_ARG_VAR)
* popthelp.c (poptPrintUsage,poptPrintHelp): Add [LIBRARIES] to
help output. Debian #389066
2008-04-28 Tollef Fog Heen <[email protected]>
* parse.c Add my name to the copyright header, mainly to prevent
emacs from being stupid and updating RH's copyright year.
* parse.c (_do_parse_libs): Special-case "-lib:" in the Libs
field; it's not an -l. Yes, this breaks if your library is called
libib:$something, in which case you lose. Gnome #142952
* main.c (main): Make sure log is initialized to prevent
segfaults.
2008-03-23 Tollef Fog Heen <[email protected]>
* check/check-conflicts, check/conflicts-test.pc: New test,
testing that conflicts work as they should.
* pkg.c (verify_package): Make the conflicts check not only check
package versions, but also package names. This makes conflicts
functional, something they were not before.
* check/check-requires-private: Remove unnecessary set -x
* check/check-cflags, check/check-define-variable,
check/check-includedir, check/check-libs,
check/check-libs-private, check/check-requires-private: Replace
the crazy -d ~root check with a more proper way to just make sure
we are running under a POSIX shell. Thanks to Kjetil Torgrim
Homme for the tip about using getconf PATH.
* main.c (main): Add logging support from NetBSD. Thanks to Julio
M. Merino Vidal for forwarding the patch from ages ago.
2008-03-23 Stepan Kasal <[email protected]>
* pkg-config.1: Document "Requires.private" and recommend it
for libraries. Freedesktop #13188
* pkg-config.1: Fix a few typos--add two omitted .TP tags and two
omitted full stops; and empty lines do influence the formatting in
nroff.
2008-03-23 Tollef Fog Heen <[email protected]>
* main.c (main): Fix small portability problem by defining all the
variables in main that are used in the static initialiser as
static variables. This makes the IRIX/mipseb compiler happier.
Thanks to Roland Illig of NetBSD for the patch. This doesn't
apply to some of the Win32 variables, but I don't believe that is
a problem with the existing compilers there.
2008-02-19 Tor Lillqvist <[email protected]>
* main.c: Remove the possibility to have a default PKG_CONFIG_PATH
in the Registry. It is much more flexible to just use environment
variables. In general the Registry is not used in the ports of
GTK+ or GNOME libraries and software to Windows.
* parse.c (parse_line): On Windows, handle also .pc files found in
a share/pkgconfig folder when automatically redefining a prefix
variable for the package.
* pkg-config.1: Corresponding changes.
2008-02-18 Tor Lillqvist <[email protected]>
* main.c: Fix some bitrot: On Windows, don't use the compile-time
PKG_CONFIG_PC_PATH, but deduce a default one at run-time based on
the location of the executable. This was originally what
pkg-config did on Windows, but it had bit-rotted.
2008-01-31 Tollef Fog Heen <[email protected]>
* configure.in: If prefix is unset, add /usr/lib/pkgconfig and
/usr/share/pkgconfig to default search path. Based on patch by
Damjan Jovanovic.
Also, make configure always print the path it is defaulting to.
* pkg.c (string_list_to_string): Patch from Paul Bender so flags
other than -I and -L are passed through (with mangling) when
PKG_CONFIG_SYSROOT_DIR is set.
2008-01-16 Tollef Fog Heen <[email protected]>
* NEWS, configure.in: Release 0.23
* check/check-requires-private: Fix up test case. We want to get
the private -I option in all cases.
* pkg.h, pkg.c (string_list_to_string), pkg-config.1, main.c
(main): Add sysroot support and document same. Triggered by
setting PKG_CONFIG_SYSROOT_DIR in the environment.
2007-12-29 Tollef Fog Heen <[email protected]>
* pkg.c (internal_get_package): Don't add the internal-only
pkg-config package twice.
* pkg.c (verify_package): Apply patch from Matthias Clasen of
RedHat to prevent segfaults if a Conflicts line is encountered.
* popthelp.c: Apply patch from Tom Tromey <[email protected]> to
make pkg-config --help print to stdout, not stderr. Gnome
#127314.
* pkg.m4: Don't use --errors-to-stdout in pkg.m4, but rather
redirect stderr to stdout. This makes pkg.m4 with old (pre 0.15)
pkg-config look good, and it makes newer pkg-config with ancient
pkg.m4 work well. Gnome #111054
* Update to glib 1.2.10, adjust lots of the glib patches. Gnome
#81847.
2007-06-19 Tollef Fog Heen <[email protected]>
* pkg.m4: Fix bug so it's possible to override variables in case
pkg-config is not installed. Thanks to Thomas Klausner for the
patch.
2007-06-18 Tollef Fog Heen <[email protected]>
* configure.in: Release 0.22
* NEWS: Update for 0.22
* configure.in: Fix expansion of default pc_path as per GNU coding
standards. Thanks to Andreas Hanke for the fix.
Freedesktop #10326
* pkg.c (recursive_fill_list): Make sure to act recursively with
Requires.private, making them much more useful. Special thanks to
Matthias Clasen for lots and lots of nagging. Freedesktop #8788
* glib-patches/remove-strsignal-prototype.diff: define _GNU_SOURCE
there to get strsignal prototype, addresses the rest of
Freedesktop 10652.
* popt.c: Remove code calling setresuid and setreuid, pkg-config
should not ever be suid. Partially addresses Freedesktop #10652
* glib-patches/autoconf-warning.diff,
glib-patches/automake-warning.diff Fix path prefix so it applies.
Also fix automake-warning.diff to not patch on top of another
patch from glib-patches.
* glib-patches/no-dist-distclean-files.diff: Fix prefix.
2007-05-30 Tor Lillqvist <[email protected]>
* parse.c: Fix problem on Win32 where the automagic prefix
replacement logic didn't work. I don't know what change had
broken it.
(pathnamecmp): New Win32-only function. Compares two file
paths case insensitively and treating backslashes as equal to
slashes.
(parse_line): Use it instead of g_ascii_strcasecmp().
2007-05-29 Tollef Fog Heen <[email protected]>
* pkg.m4: Update URL to pkg-config website. Thanks to Peter
Eisentraut.
2007-02-25 Tollef Fog Heen <[email protected]>
* pkg.c (scan_dir): Use g_malloc, not malloc for pkgname.
* Makefile.am: Add support for using the system glib. Thanks to
Peter Breitenlohner for the bug and the patch. Freedesktop #9708
* configure.in: Add support for using the system glib.
* glib-patches/no-dist-distclean-files.diff,
glib-patches/automake-warning.diff,
glib-patches/autoconf-warning.diff: Get rid of some warnings when
configuring glib.
2007-02-21 Tollef Fog Heen <[email protected]>
* parse.c (parse_package_file and others): Move the reversal of
the _libs lists to the end to avoid double-reversing either.
Thanks to J. Scott Berg for both the bug and the fix. Freedesktop
#9132
* configure.in: remove AC_CONFIG_AUX_DIR as it makes newer
automakes unhappy. Freedesktop #10028.
2006-08-16 Tollef Fog Heen <[email protected]>
* configure.in: Release 0.21
* NEWS: Update for 0.21
* pkg.c: Add internal pkg-config package which can be queried for
version number, name and URL for now. More information will be
added later. Debian #254289, #287339
* parse.c (trim_and_sub): Since %{...} has not been used for a
long time, there is no point in being able to escape %. However,
make the code able to escape $ by doubling the $ to $$.
Debian #378570
* pkg.c (packages_get_other_cflags, package_get_other_cflags)
(packages_get_I_cflags): Always add all cflags. Debian #340904
* main.c (main): Always add the elements from PKG_CONFIG_PATH.
Freedesktop #4795.
* pkg-config.1: Apply patch from Ed Catmur to document
PKG_PROG_PKG_CONFIG and that it should be used if the first call
to PKG_CHECK_MODULES might not happen. Freedesktop #7742
* pkg-config.1: Apply patch from Ed Catmur to document
PKG_CHECK_EXIST. Thanks a lot for both patches. Freedesktop
#7741
2005-12-28 Tollef Fog Heen <[email protected]>
* configure.in, Makefile.am: Only use -Wall and other gcc-only
flags when we don't have a set of CFLAGS already set and we're
using gcc. Freedesktop #4888.
2005-10-17 Tollef Fog Heen <[email protected]>
* pkg.m4: Do AC_MSG_RESULT([no]) even if $4 is set (so we don't
fail). Gnome #166537.
* NEWS: Add missing news and really release 0.20, since I didn't
get around to actually uploading last night.
2005-10-16 Tollef Fog Heen <[email protected]>
* configure.in: Release 0.20
* pkg.m4: use m4_define to avoid duplication of text.
* pkg.m4: Minor cleanups, use m4_default rather than m4_ifval and
echo 1>&FD is silly, just use echo >&FD
* main.c (main): Try to print out all the errors and not just the
first.
* pkg.m4: Use --short-errors if it's available.
* pkg.c (get_package_quiet): Add get_package_quiet which is just
the same as get_package except it sets warn to false.
* pkg.h: Add prototype for get_package_quiet.
* main.c (main): Add --short-errors flag to suppress most of the
output when a module is not found.
2005-10-01 Tollef Fog Heen <[email protected]>
* pkg.c (packages_get_var): Don't try to chop if string length is
zero. Freedesktop #4034.
(scan_dir): Turn backslashes into slashes or poptParseArgvString()
will eat them when ${prefix} has been expanded in parse_libs().
Thanks to j^ for the patch. Freedesktop #4267
2005-09-21 Tollef Fog Heen <[email protected]>
* pkg.m4: Apply patch from Roberto Huelga to look at XXX_CFLAGS
and XXX_LIBS which got lost somewhere.
2005-08-27 Tollef Fog Heen <[email protected]>
* Makefile.am (AM_CFLAGS): Add default CFLAGS
* pkg.h: Add missing prototype for enable_private_libs and
disable_private_libs.
2005-08-23 Tollef Fog Heen <[email protected]>
* popthelp.c: char format[10] overflowed always with gcc4, so use
positional parameters instead. Thanks to Scott James Remnant for
pointing me to that solution. Debian #321961, Ubuntu #13950,
Freedesktop #2661
2005-08-22 Tollef Fog Heen <[email protected]>
* check/check-cflags, check/check-define-variable,
check/check-libs, check/check-libs-private,
check/check-requires-private: Exec POSIX compatible shell on
Solaris
2005-07-16 Tollef Fog Heen <[email protected]>
* configure.in: Release 0.19
2005-07-15 Tollef Fog Heen <[email protected]>
* pkg.c (package_get_var): Make sure to g_strdup all the return
values and not return some values which should not be freed and
some which should. Yay valgrind. Freedesktop #3682
* configure.in: Fix default search path to be pkgconfig rather
than pkg-config again. Freedesktop #3662
* pkg.m4: Add a missing AC_MSG_RESULT. Thanks to Gary Kramlich
for noticing this and harassing me to fix it.
2005-06-29 Tollef Fog Heen <[email protected]>
* configure.in: Release 0.18.1
* pkg.m4: Brown bag fix. pkg_failed was always set to “untried”.
Debian #316181.
2005-06-27 Tollef Fog Heen <[email protected]>
* configure.in: Rename to pkg-config.
* configure.in: Release 0.18
All those Requires.private changes are thanks to James
Henstridge. Thanks! Freedesktop #3097
* check/private-dep.pc, check/public-dep.pc,
check/requires-test.pc: New files, data for the
check-requires-private test.
* check/check-requires-private: New test to check for
Requires.private support.
* check/Makefile.am (EXTRA_DIST, TESTS): Add Requires.private
test.
* pkg.h (struct _Package): Add requires_private
* pkg.c (get_requires_private, fill_list_single_package)
(fill_list, verify_package, verify_package, get_merged)
(get_merged_from_back, get_multi_merged)
(get_multi_merged_from_back, package_get_l_libs)
(packages_get_l_libs, package_get_L_libs, packages_get_L_libs)
(package_get_other_libs, packages_get_other_libs)
(package_get_I_cflags, packages_get_I_cflags)
(package_get_other_cflags, packages_get_other_cflags): Handle
private requires and cascading changes.
* parse.c (parse_requires_private, parse_conflicts)
(parse_package_file): Handle Requires.private
* pkg.m4: Add PKG_CHECK_EXISTS to check if a module exists.
Thanks to James Henstridge for the patch. Freedesktop #3530
2005-06-26 Tollef Fog Heen <[email protected]>
* pkg.m4: Get rid of caching again. This breaks too much stuff,
and pkg-config doesn't take much time to run. Freedesktop #3550
* glib-patches/configure.in-fd_set.diff: Patch to grep for fd_set
rather than fd_mask. Thanks to David Wolfe for the fix. This
should make pkg-config happier on QNX. Gnome #129687
2005-06-03 Tollef Fog Heen <[email protected]>
* pkg.m4, README, pkg-config.1: s/configure.in/configure.ac/,
thanks to Morten Brix Pedersen <[email protected]>
2005-05-21 Tollef Fog Heen <[email protected]>
* check/check-libs-private: New test to check for support for
private libraries.
* check/simple.pc (prefix): Add Libs.private header.
* check/Makefile.am (TESTS): Add check-libs-private test
* pkg.h: Adjust function prototypes.
* pkg.c: Add global ignore_private_libs variable.
(scan_dir): Use the correct free function. Stop leaking file
descriptors.
(package_get_l_libs, packages_get_l_libs, package_get_L_libs,
packages_get_L_libs): Stop the recursive silliness and go back to
old behaviour.
(packages_get_all_libs): Adjust parameters to packages_get_*_libs
(enable_private_libs, disable_private_libs): Trivial helper
functions.
* pkg-config.1: Update documentation wrt search path (Debian
#308942), update docs for Libs.private and add the problematic
handling of mixing = and non-= arguments to the bugs section.
* parse.h: Adjust parameters for parse_package_file to get private
libs or not.
* parse.c (trim_and_sub): Fix memory leak.
(_do_parse_libs): New function including what's common between
parse_libs and parse_private_libs.
(parse_libs_private): New function. Handle private libraries.
(parse_line): Add . to the list of valid characters in headers (so
Libs.private works correctly.
(parse_line): Fix memory leaks.
(parse_line): Handle Libs.private.
(parse_package_file): Fix memory leak.
* main.c (main): Fix memory leak.
* NEWS: Document changes to inter-library handling.
* main.c (main): Handle inter-library dependencies old-style, but
do private libraries too. Adjust parameters to
packages_get_*_libs.
* configure.in: Change comment wrt inter-library handling to talk
about private libraries instead.
2005-04-22 Tollef Fog Heen <[email protected]>
* main.c (main): Re-add PKG_CONFIG_LIBDIR support which was
removed by mistake.
2005-04-14 Tollef Fog Heen <[email protected]>
* configure.in: Bump to 0.17.2
* NEWS: Update for 0.17.2
2005-04-13 Tollef Fog Heen <[email protected]>
* pkg.c (packages_get_l_libs, packages_get_L_libs): Duplicate
singly linked list before putting it on list passed to
string_list_strip_duplicates_from_back to avoid infinite loop when
g_slist_copy tries to copy self-linked list. This happens if the
user specifies the same name on the command line twice.
(Freedesktop #3006)
2005-04-12 Tollef Fog Heen <[email protected]>
* configure.in: 0.17.1
* NEWS: document changes for 0.17.1
* configure.in: Fix up AC_MSG_RESULT for indirect deps. Also fix
so the test no longer is inverted and auto works properly.
* configure.in: capitalisation-typo
* pkg.m4: Apply patch from James Henstridge to have AC_RUN_LOG in
the right place. (Freedesktop #2992)
* pkg.m4: Add note that PKG_PROG_PKG_CONFIG must be called
explicitly if the first call to PKG_CHECK_MODULES might not
happen. (Debian #303211)
2005-04-12 Tollef Fog Heen <[email protected]>
* configure.in: Bump to 0.17
* NEWS: Update for 0.17
* NEWS: Add note saying that we've now grabbed _PKG_* and PKG_*.
(Freedesktop #2962)
* pkg.m4: wrap running pkg-config in AC_RUN_LOG per James
Henstridge's suggestion.
* pkg.m4: Patch from James Henstridge to evaluate second argument
again. (Freedesktop #2987, Gnome #300232, Debian #303878,
#303969)
2005-04-02 Tollef Fog Heen <[email protected]>
* glib-patches/remove-strsignal-prototype.diff: Remove strsignal
prototype from gstrfuncs.c, it is included in string.h. This
fixes a compilation issue on cygwin. (Freedesktop #2598)
* glib-patches/distcheckfix.diff: Move glibconfig.h.win32 and
config.h.win32 too.
* glib-patches/distcheckfix.diff: Move glibconfig-sysdefs.h and
glibconfig.h to DISTCLEANFILES since they're made by configure.
* parse.c (parse_libs): Handle -framework as a single argument.
(Freedesktop #1278)
* configure.in: Remove extraneous " from --with-pc-path's help
* glib-patches/mkinstalldirs.update.diff: cvs admin -ko to avoid
having the Id CVS keyword being expanded, which broke the
application of the patch.
2005-04-01 Tollef Fog Heen <[email protected]>
Patches provided by Steve Langasek <[email protected]>
* configure.in: Try to detect whether this architecture supports
inter-library dependencies. If so, we default to assuming that
this support is used and link to the minimal set of libraries
rather than traversing the full depends set.
* main.c (main): Only recurse if we want a static library list or
if this architecture doesn't support inter-library dependencies.
This will probably expose bugs for libraries which declare
dependencies in their .pc files but don't actually link against
each other.
* pkg.c (packages_get_all_libs): Add recurse option
(packages_get_L_libs): Add recurse option
(package_get_L_libs): Add recurse option
(packages_get_l_libs): Add recurse option
(package_get_l_libs): Add recurse option
* pkg.h: Update prototypes to handle the recurse option.
2005-03-29 Tollef Fog Heen <[email protected]>
* check/check-cflags, check/check-define-variable,
check/check-libs, check/common, check/Makefile.am,
check/simple.pc: Add simple test framework and begin writing
tests.
* Makefile.am, configure.in: Make in check/ as well.
2005-03-28 Tollef Fog Heen <[email protected]>
* glib-patches/distcheckfix.diff: Add some files to CLEANFILES so
make distcheck now works.
2005-03-28 Tollef Fog Heen <[email protected]>
* autogen.sh: Extra paranoia -- fail if running auto* fails or if
patching fails.
* glib-patches/mkinstalldirs.update.diff: Update patch so it
applies cleanly
* glib-patches/pthread-config-fix.diff: adjust offsets so patch is
quiet again
2005-03-26 Tollef Fog Heen <[email protected]>
* configure.in: Bump to 0.16
* NEWS: update for 0.16
2005-03-26 Tollef Fog Heen <[email protected]>
* configure.in: Fix default search path for .pc files. (This was
done after the change above but before tagging. Put here to avoid
confusion whether this went into the release).
2005-03-26 Tollef Fog Heen <[email protected]>
* AUTHORS: Add myself.
2005-03-18 Tollef Fog Heen <[email protected]>
* pkg.c (print_package_list): Ignore requires when just listing
the available packages.
(internal_get_package): Pass ignore_requires on.
* parse.h: update prototype for parse_package_file.
* parse.c (parse_line): Ignore Requires when told so.
(parse_package_file): Pass ingore_requires on to parse_line.
(Freedesktop #191, Debian #232719)
2005-03-18 Tollef Fog Heen <[email protected]>
* main.c (main): Use add_search_dirs for both the compile-time
defined pc_path and the run-time defined PKG_CONFIG_PATH.
* pkg.h: Add prototype for add_search_dirs.
* pkg.c (add_search_dirs): Add new function which takes a
delimiter-separated list as input and add_search_dir's it.
(package_init): Remove knowledge about which dirs should be
initially added. Moved this to main.c(main)
* ChangeLog: Add emacs variables to set the date to this
ChangeLog's standard format
* Makefile.am (INCLUDES): Pass PKG_CONFIG_PCPATH on to main.c
* configure.in: Add --with-pc-path to define the default search
path for .pc files. (Freedesktop #119, #648)
2005-03-18 Tollef Fog Heen <[email protected]>
* glib-patches/pthread-config-fix.diff: Add patch to detect
pthreads properly on some architectures. Thanks to Michael
Haubenwallner for reporting this bug and providing a patch.
(Freedesktop #1617)
2005-02-21 Tollef Fog Heen <[email protected]>
* parse.c (parse_package_file): Stop leaking file descriptors.
(Freedesktop #1006)
2005-02-21 Tollef Fog Heen <[email protected]>
* pkg-config.1: Get rid of groff warnings when formatting
pkg-config(1) on an 80-column terminal. Thanks to Colin Watson
and Ubuntu for the fix. (Freedesktop #148)
2005-02-21 Tollef Fog Heen <[email protected]>
* glib-patches/*: Add patches for compiling with modern autotools.
* autogen.sh: Use said patches. (Freedesktop #134)
2005-02-20 Tollef Fog Heen <[email protected]>
* main.c (main): Unstaticify variables. (Freedesktop #2459)
2004-07-18 Scott James Remnant <[email protected]>
* pkg.m4: Fix a bad patch causing duplication in one of the error
messages.
2004-07-06 Scott James Remnant <[email protected]>
* pkg.m4: Correct quoting brackets to correctly split the words.
2004-06-08 Scott James Remnant <[email protected]>
* README: Change gnome.org reference to freedesktop.org
* AUTHORS: Add myself here, I guess.
* pkg.m4: Mine! (fix copyright)
2004-05-08 Scott James Remnant <[email protected]>
Improve pkg-config's configure instructure and bring it bang
up to date.
* pkg.m4: Complete rewrite.
(PKG_PROG_PKG_CONFIG): if PKG_CONFIG not defined, find the
pkg-config in the path or $host-pkg-config if cross-compiling,
check that is of at least version 0.9.0 or one given.
(_PKG_CONFIG): internal macro to call pkg-config.
(PKG_CHECK_MODULES): same semantics as the previous incarnation
except you can prevent pkg-config from being called by defining
xxx_CFLAGS and xxx_LIBS yourself, additionally all results are
cached.
* README, pkg-config.1: Adjust documentation to match.
2003-05-09 Havoc Pennington <[email protected]>
* pkg.m4: improve error message a bit, from Tim Janik
2003-04-30 James Henstridge <[email protected]>
* pkg.c (verify_package): fix up error messages.
* parse.c (parse_line): don't error out on unknown keywords, as
they may represent future extensions to the file format.
2003-02-22 James Henstridge <[email protected]>
* pkg.c (add_virtual_pkgconfig_package): function to add a virtual
"pkg-config" package to the packages hash table.
(package_init): add the "pkg-config" package while initing the
hash table.
* pkg.h: add missing prototype.
* main.c (main): print the url if the package is too old, to match
the output of verify_package().
* popthelp.c, poptint.h, poptconfig.c, findme.h, popt.h:
* poptparse.c: expand licensing header to the version found in the
Popt distribution's COPYING file. See discussion in bug 84804 for
details.
2003-02-21 James Henstridge <[email protected]>
* pkg.m4: split macro into two parts. The check for presence of
pkg-config is now in a helper macro. The main PKG_CHECK_MODULES
macro now AC_REQUIRES() it, so that the pkg-config check is only
performed once.
Also update quoting to match current practices.
2003-02-19 Tor Lillqvist <[email protected]>
* pkg.c (add_env_variable_to_list): Use G_SEARCHPATH_SEPARATOR_S
instead of hardcoded ":".
(verify_package): Don't use /usr/include on Win32.
2003-02-15 Havoc Pennington <[email protected]>
* pkg.c (verify_package): patch from Nalin to use /usr/lib64 as
the system libdir on systems where that's appropriate
2003-02-15 Havoc Pennington <[email protected]>
Fixes suggested by Werner Trobin
* main.c (verbose_error): honor --errors-to-stdout and flush
the same stream we write to
* parse.c (parse_url): support an "url" field so if someone
has a .pc file they can figure out where to go for newer
versions and such
2003-01-16 Havoc Pennington <[email protected]>
* configure.in: 0.15
2003-01-15 Havoc Pennington <[email protected]>
* pkg.c (package_init): honor a PKG_CONFIG_LIBDIR to move default
search dir, useful in cross-compilation for example, bug
#103545 fix from David Schleef
2003-01-01 Zack Rusin <[email protected]>
* main.c (main): added --libs-only-other and --cflags-only-other
arguments, thanks to which a more obscure dependencies can be
retrieved, e.g. -pthread
2002-11-19 Havoc Pennington <[email protected]>
* pkg-config.1: apply formatting fixes from Peter Breitenlohner
2002-10-24 Tor Lillqvist <[email protected]>
* configure.in: Move the check for Win32 (which tests the $host
variable) and dependent code later, as it turns out that $host
isn't normally yet set at that point... (I hadn't noticed as I by
habit always pass --host=i386-pc-mingw32 to the configure script,
which sets $host.)
2002-10-11 Havoc Pennington <[email protected]>
* pkg.c (verify_package): fix to properly cast iter->data to char*
before doing pointer arithmetic, from David Robins
2002-10-10 Havoc Pennington <[email protected]>
* configure.in: 0.14
2002-10-02 Anders Carlsson <[email protected]>
* pkg.c (add_env_variable_to_list): Don't return NULL, return
the new list.
(verify_package): break if we've removed the variable.
2002-09-26 Tor Lillqvist <[email protected]>
* parse.c (get_compat_package): Return NULL right away on
Windows. There has never been any of these legacy *-config scripts
distributed for Windows as far as I know.
2002-09-26 Anders Carlsson <[email protected]>
* pkg.c (verify_package): Use strncmp when checking for
the -I prefix.
2002-09-19 Havoc Pennington <[email protected]>
* configure.in: 0.13
2002-09-19 Anders Carlsson <[email protected]>
* pkg.c: (verify_package):
Don't call g_free on strings returned from g_getenv.
Tue Sep 17 14:11:51 2002 Jonathan Blandford <[email protected]>
* pkg.c: strip out C_INCLUDE_PATH and CPLUS_INCLUDE_PATH if they
exist, as this can break -Werror on some newer gcc versions.
2002-09-13 Tor Lillqvist <[email protected]>
* Makefile.am (USE_INSTALLED_GLIB): Seems that the automake
version used by Havoc doesn't recognize pkg_config_CFLAGS and
pkg_config_LDFLAGS, thus failing builds on Win32 directly from the
tarball. Set included_glib_includes and pkg_config_LDADD instead,
then, like in the !USE_INSTALLED_GLIB branch.
* findme.c (X_OK): If X_OK undefined, define as 1, always, not
only if G_OS_WIN32, which is never defined here. Fixes a corner
case on Win32 with MSYS and mingw where configure as included in
the release tarball for some reason doesn't find unistd.h.
2002-09-09 Havoc Pennington <[email protected]>
* pkg.c (fill_list_single_package): fix uninitialized variable,
patch from Andrea Suatoni
2002-09-06 Havoc Pennington <[email protected]>
* parse.c, pkg.c: handle other_libs other_cflags same
as -l/-L/-I flags, so we pull in from dependent packages.
Closes #85244, #90706, #89851
2002-03-27 Havoc Pennington <[email protected]>
* pkg.c (verify_package): fix a typo
2002-03-07 Havoc Pennington <[email protected]>
* configure.in: 0.12.0
2002-03-06 Tor Lillqvist <[email protected]>
* configure.in: Use GLib 2.x on Win32.
2002-02-28 Havoc Pennington <[email protected]>
* pkg-config.1: add a note about the need for AC_SUBST with
PKG_CHECK_MODULES. Stefan Kost pointed this out.
2002-02-28 Havoc Pennington <[email protected]>
Fix for static linking, -l flag order for libs in multiple prefixes
* pkg.c: only sort -L/-I by PKG_CONFIG_PATH order, don't sort
-l flags.
(fill_list_single_package): make whether to path sort
controlled by a boolean arg
(fill_list): ditto
2002-02-13 Havoc Pennington <[email protected]>
* pkg.c (internal_get_package): look up path position by package
key, not package name
2002-02-12 Havoc Pennington <[email protected]>
* pkg.c (scan_dir): use g_strdup, and fix the location where
we assign the nul byte, so we don't mangle things for directories
that end in '/' - reported by Enrico Scholz
2002-02-07 Havoc Pennington <[email protected]>
* configure.in: 0.11.0
2002-02-07 Havoc Pennington <[email protected]>
* autogen.sh: patch gslist.c so that it has a stable sort
function, so we don't utterly mangle the order of the libraries on
the link line.
2002-02-03 Havoc Pennington <[email protected]>
* configure.in: 0.10.0
Redo distribution with autoconf 2.13
2002-02-03 Havoc Pennington <[email protected]>
* pkg.m4: require 0.9.0
* configure.in: increment version to 0.9.0
2002-02-01 Havoc Pennington <[email protected]>
* pkg.c (verify_package): don't warn about /usr/include /usr/lib
in cflags/libs, too annoying to fix
2002-02-01 Havoc Pennington <[email protected]>
Throughout: cast chars to guchar before passing to isspace, etc.,
noted by Morten Welinder
* pkg.c (verify_package): actually strip system -I/-L out of the
cflags/libs, unless you set an environment variable asking to
leave them in.
2002-02-01 Havoc Pennington <[email protected]>
* pkg.m4: fix shell portability issue, reported by Morten Welinder
2002-01-24 Havoc Pennington <[email protected]>
* pkg.c (print_package_list): make the output halfway attractive
* autogen.sh: use automake-1.4 aclocal-1.4 if found
* pkg.c (verify_package): add a warning about -I/usr/include in cflags
2001-10-28 Havoc Pennington <[email protected]>
* pkg.c: track position of package in the path search order,
and sort packages accordingly before assembling flags lists,
reported by Jacob Berkman
* parse.c (get_compat_package): set path position to maxint,
always at end of path
2001-10-28 Havoc Pennington <[email protected]>
* pkg.c (add_search_dir): put the search path in the right order
2001-10-28 Havoc Pennington <[email protected]>
* configure.in: reorder things so they work on unix
2001-10-27 Tor Lillqvist <[email protected]>
New Win32 feature to make pkg-config useful for users of MSVC:
with the flag --msvc-syntax, munge -L and -l flags appropriately
for the MSVC command-line compiler. (-I flags are the same.)
* README.win32: Update.
* main.c (main): Add --msvc-syntax flag.
* pkg-config.1: Document it.
* pkg.h: Declare msvc_syntax.
* parse.c (parse_libs): Obey msvc_syntax.
2001-10-25 Tor Lillqvist <[email protected]>
Improve Windows behaviour: Make it even easier to install
developer packages in random locations, without having to modify
the .pc files. Don't set "prefix" globally, instead override it
for each .pc file parsed, if the path where the .pc file is seems
to be the standard .../lib/pkgconfig.
* main.c (main): Add search directories also from two Registry
keys, in addition to the PKG_CONFIG_PATH environment
variable. Don't define prefix globally.
* parse.c (parse_line): Instead, if a .pc file is in