Commit Graph

893 Commits (pkgconf-1.3.8)

Author SHA1 Message Date
William Pitcock 62a53765a6 pkgconf 1.3.8. 2017-07-16 17:56:12 -05:00
William Pitcock 623a67a916 tuple: check expanded variables to see if a sysroot has been duplicated, and if so, remove the prepended sysroot.
This allows compatibility between legacy pkg-config's broken sysroot implementation and pkgconf's sysroot
implementation, by removing any prepended sysroot paths and preferencing the variable expansion sysroot path
we typically do instead.

Closes github #123.
2017-07-16 17:55:05 -05:00
William Pitcock 24e0462c3e tests: add test for github #123 2017-07-16 17:55:00 -05:00
William Pitcock 03f7841065 libpkgconf: pkg: windows can use either \ or / as directory separators
ref #118
2017-06-16 15:27:23 -05:00
William Pitcock d45e850130 Revert "pkg: use pkgconf_pkg_t.realname instead of pkgconf_pkg_t.id for injecting the default provides entry"
This reverts commit 0c22b4d8a1.
2017-06-16 13:03:51 -05:00
William Pitcock 0c22b4d8a1 pkg: use pkgconf_pkg_t.realname instead of pkgconf_pkg_t.id for injecting the default provides entry
This issue was noticed while porting pkgconf to Windows.

ref #118
2017-06-16 11:49:54 -05:00
William Pitcock f7e9d61f4d pkgconf 1.3.7. 2017-05-19 23:47:51 -05:00
William Pitcock 4a508b4fd9 tests: regress: add regression test for malformed package testcase 2017-05-19 23:43:47 -05:00
William Pitcock d280060ed7 libpkgconf: pkg: add additional validation rules in post-parse phase 2017-05-19 23:37:57 -05:00
William Pitcock 0262b8251d libpkgconf: pkgconf_pkg_find(): correctly handle failure from pkgconf_pkg_new_from_file() 2017-05-19 23:33:49 -05:00
William Pitcock cf3c50ca78 libpkgconf: pkg: pkgconf_try_specific_path() and pkgconf_pkg_new_from_file() require a mutable client to release resources when encountering invalid packages 2017-05-19 23:21:58 -05:00
William Pitcock 4b104d49df pkgconf 1.3.6. 2017-05-09 19:43:08 -05:00
William Pitcock f55e989f0a update NEWS for 1.3.6 2017-05-09 19:42:48 -05:00
William Pitcock 3c7f82a7fb fragment: also protect -nostdinc, -nostdlibinc, -nobuiltininc 2017-05-09 19:38:57 -05:00
William Pitcock 74eb74a3ef fragment: handle -include similarly to -isystem and -idirafter 2017-05-09 19:37:23 -05:00
William Pitcock 9fde4be1f3 fragment: also protect -ansi, -std=, -stdlib=, -pedantic, -trigraphs, -Wa, and -Wp fragments 2017-05-09 19:34:39 -05:00
William Pitcock c7a8e1e3b8 fragment: give -Wl fragments the same protection as -pthread 2017-05-09 19:30:02 -05:00
William Pitcock 90d52e6c2a fragment: add -pthread as a special fragment 2017-05-05 01:40:57 -05:00
William Pitcock ce47fa8d89 tests: add reduced version of freebsd gtk+-3.0 crappy output situation as a testcase 2017-05-05 01:40:09 -05:00
William Pitcock 5940ad6412 pkgconf 1.3.5. 2017-04-04 16:20:57 -05:00
William Pitcock a504e67097 update NEWS for 1.3.5. 2017-04-04 16:20:44 -05:00
William Pitcock 30c35b7096 main: re-enable --variable pkg-config bug emulation because downstreams take advantage of it 2017-04-01 18:34:59 -05:00
William Pitcock a7f8a809c1 pkgconf 1.3.4. 2017-03-29 18:02:59 -05:00
William Pitcock 1da1b83ba5 update NEWS for 1.3.4 2017-03-29 18:02:43 -05:00
William Pitcock 6e643aa432 libpkgconf: hopefully the last necessary tweak to quoting... 2017-03-29 18:00:57 -05:00
William Pitcock 77ca17b6ff tests: back out go-style test, just verify the output because shells are terrible 2017-03-29 18:00:10 -05:00
William Pitcock f5ce5fd755 testsuite: add a parser test from Go (redhat #1437101) 2017-03-29 16:58:04 -05:00
William Pitcock 849261cf58 pkgconf 1.3.3. 2017-03-27 12:12:27 -05:00
William Pitcock fbbf5316fb update NEWS for 1.3.3. 2017-03-27 11:01:41 -05:00
William Pitcock 6fcb5ba5c0 testsuite: update test with PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH=1 env var 2017-03-27 01:03:24 -05:00
William Pitcock 2f4a1eb4e0 main: implement a different solution for dependency generators, too many broken configure scripts still :/ 2017-03-27 00:56:23 -05:00
William Pitcock 92ce179d23 pkgconf 1.3.2. 2017-03-24 01:03:11 -05:00
William Pitcock 7a121725be update NEWS for 1.3.2 2017-03-24 01:03:11 -05:00
William Pitcock acac1f8ed3 libpkgconf: pkg: show iteration depth when traversing 2017-03-24 00:59:53 -05:00
William Pitcock be184cba1d main: further fix up handling of single-package query flags 2017-03-24 00:59:26 -05:00
William Pitcock 05e257e678 pkgconf 1.3.1. 2017-03-24 00:19:55 -05:00
William Pitcock 85375d9fda update NEWS for 1.3.1 2017-03-24 00:19:27 -05:00
William Pitcock 541de8bd59 main: handle query selectors that are only usable for single packages correctly
--print-requires, --print-requires-private, --print-provides, --modversion, --print-variable and --print-variables
are inquiring information about a package, not about a dependency graph.

in such cases, we should not try to solve the problem set to determine if it is satisfiable, as any invocation
of these commands are trying to inquire about a specific package.  instead, just solve the problem set for a single
level (so we can load the package itself) which is far more useful behaviour when scanning .pc files for their
dependency metadata.

as an aside, this allows us to successfully scan .pc files which are otherwise unsatisfiable.
2017-03-24 00:13:30 -05:00
William Pitcock 9d05871d32 testsuite: check to see if --print-requires incorrectly invokes the dependency resolver 2017-03-24 00:13:14 -05:00
Dag-Erling Smørgrav 95b683c864 Update pkg.m4 to latest upstream version (0.29.1) (#116)
* Update comments to reduce diffs against latest upstream (0.29.1).

* Clean up our comments to match the new upstream style.

* Update pkg.m4 to latest upstream version (0.29.1).
2017-03-07 11:11:01 -06:00
William Pitcock ced4ec00c8 main: add some very primitive --print-errors support for --atleast-version and friends (closes #115) 2017-02-27 10:09:16 -06:00
William Pitcock 81011ba522 main: implement --short-errors (#115) 2017-02-27 09:54:02 -06:00
William Pitcock ec42e4f8d2 add NEWS for 1.3.0 2017-02-25 16:17:42 -06:00
William Pitcock d40aac3626 pkgconf 1.3.0. 2017-02-25 16:09:00 -06:00
William Pitcock 40fe6c5f53 configure: stop checking for realpath(3) 2017-02-25 16:08:13 -06:00
William Pitcock 7a5da837f2 docs: we no longer use realpath(3) 2017-02-25 16:07:51 -06:00
William Pitcock 794443a92a dependency: break API to add tracepoints to dependency list building 2017-02-25 16:04:55 -06:00
William Pitcock e0c9569f14 fragment: add tracepoints 2017-02-25 15:53:50 -06:00
William Pitcock 3744a84380 testsuite: parser testcase output changes a little because we escape when running as pkgconf CLI now 2017-02-25 15:33:41 -06:00
William Pitcock 44b676b782 main: chase API changes 2017-02-25 15:33:34 -06:00