Commit Graph

633 Commits (bbe6dcc0886d21dcd3aa4f75fff22b1009ec5a79)

Author SHA1 Message Date
William Pitcock bbe6dcc088 pkg: make pkgconf_scan_all() API more flexible to allow it to scan until it finds a qualifying pkgconf_pkg_t 2016-08-27 09:48:53 -05:00
William Pitcock 5ba46130d2 pkg: add anchor Provides entry once the .pc file is parsed, instead of faking it in the tool 2016-08-26 23:43:36 -05:00
William Pitcock d72ece6a5f dependency: add pkgconf_dependency_add for programmatically adding a dependency object 2016-08-26 23:40:15 -05:00
William Pitcock 21c7355ca8 testsuite: improve --print-provides test by adding a provides.pc file 2016-08-26 21:36:18 -05:00
William Pitcock da2f49f7b0 main: since --print-provides is implemented fully now, document it 2016-08-26 12:22:11 -05:00
William Pitcock f9101659bc pkg: add support for parsing Provides: entries 2016-08-26 12:14:32 -05:00
William Pitcock d5d194f1db pkg: clean up dependency comparison code 2016-08-26 10:54:37 -05:00
William Pitcock 4960242acb pkg: make some compile-time defined tables const 2016-08-26 10:35:22 -05:00
William Pitcock be4a002f1c pkg: use bsearch(3) instead of a hardcoded tree of strcmp logic 2016-08-26 01:11:50 -05:00
William Pitcock 9e415ea151 libpkgconf: improve API to support any number of builtin packages 2016-08-26 00:26:30 -05:00
William Pitcock 12a0eb124c main: assume --modversion insted of --version if other flags or module names are provided 2016-08-25 23:45:33 -05:00
William Pitcock 53fc91332a pkgconf 1.0.1. 2016-08-24 19:05:17 -05:00
William Pitcock 834e21d37e testsuite: add tests for normal fragments and whitespace munging, too (closes #94) 2016-08-24 19:00:10 -05:00
William Pitcock b835d74d80 fragment: try to apply munging to all path-only fragments (#94) 2016-08-24 18:51:02 -05:00
William Pitcock f6c96fc3d1 fragment: add pkgconf_fragment_should_munge() to simplify the munging logic a bit (#94) 2016-08-24 18:39:42 -05:00
William Pitcock 0a592689b6 testsuite: add a testcase for -isystem munging (#94) 2016-08-24 18:12:26 -05:00
William Pitcock 226f8616de tests: add a test for --print-provides (#95) 2016-08-24 11:21:40 -05:00
William Pitcock 4a1b88fcc4 main: implement --print-provides, but not actual Provides support.
It turns out pkg-config's provides support is incomplete (only --print-provides is implemented),
so we are going to hold off on implementing support for Provides until 1.1.
2016-08-24 11:04:12 -05:00
William Pitcock 01921543bf README updates (closes #80) 2016-07-10 15:34:49 -05:00
William Pitcock 45d422c484 libpkgconf: implement PKG_CONFIG_LOG style auditing (closes #88) 2016-07-10 15:20:31 -05:00
William Pitcock 41e0a65870 audit: add actual audit log I/O functions (ref #88) 2016-07-10 15:03:58 -05:00
William Pitcock 8ccc10863c main: add a stub for PKG_CONFIG_LOG (ref #88) 2016-07-10 14:53:33 -05:00
Jason Dusek eb91ba560d verses -> versus (#92) 2016-07-04 01:21:15 -05:00
William Pitcock 58d0136990 testsuite: add a couple of other cornercases identified by looking at openbsd pkg-config changes 2016-05-28 03:42:41 -05:00
William Pitcock 97e1ffe7b3 testsuite: add a test for comma as package separator (some openbsd pkg-config versions did not support this) 2016-05-28 03:35:11 -05:00
William Pitcock f44f83998c queue: namespace the virtual 'world' package as something that could never actually exist 2016-05-20 02:06:46 -05:00
William Pitcock 2516f7c185 buildsystem: go back to using the makefile to expand the defaults (closes #89) 2016-05-19 21:12:24 -05:00
William Pitcock a7893e7572 update copyright to 2016 2016-05-19 18:21:49 -05:00
William Pitcock 25b730fbf6 testsuite: add a test for explicit depgraph breakage 2016-05-19 17:37:27 -05:00
William Pitcock 7eec25e90c build: add isystem.pc to build system 2016-05-19 17:20:40 -05:00
William Pitcock f72e1c6def fragment: genericize the fragment merge determination and add support for -isystem (closes #87) 2016-05-19 17:05:04 -05:00
William Pitcock d2860af277 tests: change fragment tests to match pkg-config even though it's suboptimal 2016-05-19 17:04:47 -05:00
William Pitcock 20d448abb8 libpkgconf: add PKGCONF_ARRAY_SIZE() macro 2016-05-19 16:51:47 -05:00
William Pitcock c6676e9de4 testsuite: add a test for #87 2016-05-19 16:47:11 -05:00
William Pitcock 7e6fa325eb main: support undocumented PKG_CONFIG_SYSTEM_INCLUDE_PATH and PKG_CONFIG_SYSTEM_LIBRARY_PATH environment variables. (closes #86) 2016-01-21 11:16:39 -05:00
William Pitcock a892af7464 pkg: tolerate NULL in pkgconf_compare_version() (closes #85) 2016-01-21 11:09:17 -05:00
Baptiste Daroussin ceb7232190 Let the CFLAGS being user settable
Submitted by:	Thomas Klausner <wiz@NetBSD.org>
2015-12-08 10:45:32 +01:00
Baptiste Daroussin 554ab175fd Add a NEWS entry for --define-variable fix 2015-12-08 00:17:34 +01:00
Baptiste Daroussin f2eda66e41 Fix make distcheck 2015-12-08 00:11:22 +01:00
Baptiste Daroussin 1fe91b914c Do not parse the global variables
This fixes an incompatibility with pkg-confing 0.29
Found by Thomas Klausner <wiz@NetBSD.org> when building gupnp-igd-0.2.3
with introspection support
2015-12-08 00:02:14 +01:00
Baptiste Daroussin 32bd6bd700 Add a regression tests about define-variable 2015-12-07 23:36:45 +01:00
Baptiste Daroussin b46d2f96fa Document the whole 0.9.x history in NEWS 2015-12-07 14:20:51 +01:00
Baptiste Daroussin ee64774982 Be consistent in the NEWS format 2015-12-07 12:10:19 +01:00
Baptiste Daroussin 7258a86721 Add a NEWS file 2015-12-07 12:06:45 +01:00
Baptiste Daroussin 46b772afe4 More casting is needed
Found on NetBSD by Thomas Klausner <wiz@NetBSD.org>
2015-12-07 11:04:31 +01:00
Baptiste Daroussin cb83dab4ad More casting for ctype 2015-12-02 14:59:51 +01:00
Baptiste Daroussin 7898b8297e Correctly cast ctypes function input to unsigned int
This fixes issues found by building on NetBSD which is more pedantic
about thoses cases.

Reported by: Thomas Klausner (wiz at NetBSD)
2015-12-02 13:19:01 +01:00
William Pitcock b3737a713b Merge pull request #84 from alonbl/tests
tests: minor cleanups
2015-11-01 11:58:05 -05:00
Alon Bar-Lev 9cb8f261c4 tests: cleanup: support abs_srcdir with spaces
although there is a problem in pkgconf as well.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2015-11-01 18:48:22 +02:00
Alon Bar-Lev 9207efcbed tests: cleanup: remove bashism
Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
2015-11-01 18:31:52 +02:00