summaryrefslogtreecommitdiff
path: root/parse.h
AgeCommit message (Collapse)AuthorFilesLines
2010-09-01Drop support for legacy -config scriptsTollef Fog Heen1-2/+0
We used to call gnome-config, gtk-config, glib-config and so on, which was useful in the beginning of pkg-config. This hasn't served any practical purpose in recent years, so drop the support.
2009-03-302009-03-30 Tollef Fog Heen <tfheen@err.no>Tollef Fog Heen1-1/+2
* 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
2005-07-142005-05-21 Tollef Fog Heen <tfheen@err.no>Arch Librarian1-1/+2
Author: tfheen Date: 2005-05-21 09:14:47 GMT 2005-05-21 Tollef Fog Heen <tfheen@err.no> * 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-07-142005-03-18 Tollef Fog Heen <tfheen@debian.org>Arch Librarian1-1/+1
Author: tfheen Date: 2005-03-22 08:54:08 GMT 2005-03-18 Tollef Fog Heen <tfheen@debian.org> * 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-07-14add copyright notices to filesArch Librarian1-0/+19
Author: hp Date: 2002-09-06 19:32:18 GMT add copyright notices to files
2005-07-14importArch Librarian1-0/+15
Author: hp Date: 2001-06-05 16:39:09 GMT import