Commit Graph

626 Commits (105f47f32b697fd294f34089b58a92d33dc78a1e)

Author SHA1 Message Date
William Pitcock 105f47f32b pkgconf 1.0.2. 2016-10-25 14:17:58 -05:00
William Pitcock 6a0947421d buildsystem: add new testsuite files 2016-10-25 14:15:38 -05:00
William Pitcock f648431aef fragment: skip empty tokens (closes #99)
Due to the way that tokens are merged together for arguments which require explicit whitespace, an
empty token could result in a fragment like:

    {.type = 'I', .data = '/usr/include '}

Such a fragment would be treated differently than:

    {.type = 'I', .data = '/usr/include'}

This difference causes the compiler to include a system include path as part of the additional includes, thus
breaking things like include path shadowing, resulting in random build failures.  As such, we skip empty tokens
from the tokenizer as they do not have any relevance anyway.
2016-10-25 14:15:14 -05:00
William Pitcock 52c454694b testsuite: add a test for #99 2016-10-25 14:15:05 -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
William Pitcock abbd6b06d4 Revert "Merge pull request #81 from dankegel/quotefest"
This reverts commit 42551f6364, reversing
changes made to 938bb9e694.
2015-09-27 16:10:33 -05:00
Baptiste Daroussin 6a66b52190 Really install the pkgconf man page 2015-09-12 21:32:06 +02:00
Baptiste Daroussin 7af5a0fff2 Install the m4 file 2015-09-12 21:28:03 +02:00
William Pitcock 42551f6364 Merge pull request #81 from dankegel/quotefest
Preserve double and single quotes in library / framework names
2015-09-11 14:22:04 -05:00
Dan Kegel 001cd31c08 Now passes 'make distcheck', too 2015-09-11 09:01:44 -07:00
Dan Kegel d0bbc686bf Add tests for libraries quoted with double quotes, make them pass 2015-09-10 16:49:52 -07:00
Dan Kegel b88808f708 Test escaped space in a library name 2015-09-10 16:36:07 -07:00