Commit Graph

1235 Commits (2b82a4f63e886b9157a1863f1d09b717e07494c9)

Author SHA1 Message Date
William Pitcock 4172dc545f pkg: don't free builtin (virtual) packages 2012-05-06 20:38:48 -05:00
William Pitcock 0d2a507bcd pkg: fix foreach_list_entry_safe() macro 2012-05-06 20:36:59 -05:00
William Pitcock 3eb16dca0f pkg: add pkg_free() 2012-05-06 20:30:50 -05:00
William Pitcock 9b540397f0 parse: add pkg_dependency_free(). 2012-05-06 20:26:24 -05:00
William Pitcock 81fd865a49 fragment: add pkg_fragment_free(). 2012-05-06 20:26:09 -05:00
William Pitcock ba1c41eb14 pkg: add pkg_tuple_free() 2012-05-06 20:18:21 -05:00
William Pitcock e50faff9aa pkg: add safe version of foreach_list_entry() macro 2012-05-06 20:15:45 -05:00
William Pitcock ded3ce7aff main: clean up variable printer now that we have pkg_tuple_parse 2012-05-06 20:13:54 -05:00
William Pitcock 30fe1fae39 parse: replace strdup_parse with pkg_tuple_parse(). 2012-05-06 20:12:11 -05:00
William Pitcock 4ea25d56f4 parse: split out tuple API and make public 2012-05-06 20:06:48 -05:00
William Pitcock 1752b75ac9 main: fix typo 2012-05-06 19:57:56 -05:00
William Pitcock 69c5925ba2 main: add --keep-system-cflags and --keep-system-libs (and also pkg-config env vars for this) 2012-05-06 19:56:19 -05:00
William Pitcock 857d36b642 main: add --no-uninstalled program option and PKG_CONFIG_DISABLE_UNINSTALLED env variable support 2012-05-06 19:49:50 -05:00
William Pitcock 24265bb18e pkg: add PKGF_NO_UNINSTALLED resolver flag 2012-05-06 19:49:15 -05:00
William Pitcock ed126f5b5b pkg: add support for PKG_CONFIG_LIBDIR env variable 2012-05-06 19:44:22 -05:00
William Pitcock 52602d336f pkgconf 0.6 2012-05-06 02:13:36 -05:00
William Pitcock 44ef839175 pkg: reset iter to 0 when checking system compiled-in paths 2012-05-06 01:02:57 -05:00
William Pitcock a078249a60 pkg: add support for treating package names as files 2012-05-06 00:12:27 -05:00
William Pitcock c0245f54a9 tests: add test for pkg-config /path/to/pc.file --flags syntax 2012-05-06 00:12:00 -05:00
William Pitcock 498debd85a main: implement --uninstalled 2012-05-05 23:10:05 -05:00
William Pitcock f70555e7ab tests: add tests for --uninstalled option 2012-05-05 23:09:34 -05:00
William Pitcock 65d4b88dbc pkg: add support for foo-uninstalled.pc file 2012-05-05 23:00:20 -05:00
William Pitcock 1bf5da3ba4 pkg: implement pkg-config.pc as a builtin 2012-05-05 22:00:47 -05:00
William Pitcock 7352f14025 main: can't iterate backwards up deptree so need other hack for this 2012-05-05 22:00:32 -05:00
William Pitcock 0f92df0a09 tests: add test for pkg-config builtin virtual package 2012-05-05 21:59:24 -05:00
William Pitcock b17771d3f1 main: use our mergemaster 'world' package as a virtual 'pkg-config' package too 2012-05-05 21:53:47 -05:00
William Pitcock 58b525d2f8 main: move PKGCONFIG_VERSION_EQUIV to pkg.h 2012-05-05 21:51:25 -05:00
William Pitcock 2ba296dc96 main: default to unlimited traversal now that we do mergemaster 2012-05-05 21:46:20 -05:00
William Pitcock 793de6a06c main: handle pkg-config 'package' '>=' 'version' in 3 fields. 2012-05-05 21:39:37 -05:00
William Pitcock 433d697351 parse: move OPERATOR_CHAR() and friends to pkg.h 2012-05-05 21:26:15 -05:00
William Pitcock 4692277660 tests: add quoting-regression test 2012-05-05 21:18:40 -05:00
William Pitcock 4adb0b5dc6 pkg: clean up pkg_traverse() logic 2012-05-05 20:52:17 -05:00
William Pitcock faba0d8074 main: fix --modversion call for pkg_traverse(). 2012-05-05 20:47:13 -05:00
William Pitcock 83ba295077 pkg: add support for compiling in more than one default pkg-config search path
Some packages install to /usr/share/pkgconfig instead of /usr/lib/pkgconfig.
2012-05-05 20:24:45 -05:00
William Pitcock 7f7ad67bb2 pkg: fix off-by-one when parsing PKG_CONFIG_PATH data 2012-05-05 20:21:47 -05:00
William Pitcock 1ac3cbd4f9 tests/dos-lineendings: fix committed version 2012-05-05 20:21:16 -05:00
William Pitcock 1de9c5d341 pkgconf 0.5.3 2012-05-05 22:14:06 +00:00
William Pitcock 18e051e760 main: pkg-config only allows printing variables from the first package, so exit once we've done that 2012-05-05 22:09:33 +00:00
William Pitcock a9a2ba3da4 main: don't put any trailing space after printed variables 2012-05-05 22:08:06 +00:00
William Pitcock db5d98297c tests: add tests for --variable 2012-05-05 21:55:27 +00:00
William Pitcock 542e4e6f89 main: print_variable(): use strdup_parse(). 2012-05-05 21:52:18 +00:00
William Pitcock 8ff4ae5b16 main: traverse up to 3 levels for variable search 2012-05-05 21:51:59 +00:00
William Pitcock 0737a72070 parse: make strdup_parse() public 2012-05-05 21:51:38 +00:00
William Pitcock 0b244237b1 pkgconf 0.5.2 2012-05-05 17:54:35 +00:00
William Pitcock 5460704d12 argvsplit: slightly change strategy for splitting arguments 2012-05-05 17:44:24 +00:00
William Pitcock 4e95401318 tests: add test for argv-parse bug causing audacious build failure 2012-05-05 17:43:53 +00:00
William Pitcock e93b4a6c65 pkgconf 0.5.1. 2012-05-04 03:30:50 +00:00
William Pitcock 14901943cd parse: use pkg_fgetline(). 2012-05-04 03:23:03 +00:00
William Pitcock 130907d506 fileio: add routine for portably yanking lines out of a FILE stream 2012-05-04 03:21:51 +00:00
William Pitcock a1bbaa8eab Add .gitattributes file to force dos-lineendings.pc to match CRLF style always 2012-05-04 03:15:07 +00:00