William Pitcock
dd57ded0c8
main: add --modversion to --help output ( closes #157 )
2017-11-28 13:42:12 -06:00
William Pitcock
ef374ae61a
pkgconf 1.3.10.
2017-10-17 11:58:19 -05:00
William Pitcock
acc9e17d5c
libpkgconf: fragment: remove obsolete code in pkgconf_fragment_should_munge()
2017-10-16 13:12:29 -05:00
William Pitcock
ce30516200
libpkgconf: path: relocate the path before doing dedup checks ( closes #151 )
2017-10-16 13:11:52 -05:00
William Pitcock
95d62545d5
libpkgconf: path: ensure entire buffer is zeroed before calling realpath() on it ( closes #150 )
2017-10-16 13:11:43 -05:00
Baptiste Daroussin
54906bf903
libpkgconf: Fix issue when sysroot is '/'
...
If sysroot is /, simply do nothing.
This fixes #146
2017-10-16 13:11:38 -05:00
Baptiste Daroussin
53e255204c
tests: add a test case for #146
2017-10-16 13:11:33 -05:00
William Pitcock
81e4552be9
pkgconf 1.3.9.
2017-09-19 21:36:23 -05:00
William Pitcock
48e7664f46
tests: regress: add malformed quoting test
2017-09-19 21:36:15 -05:00
William Pitcock
58ffacccc1
libpkgconf: fragment: check pkgconf_argv_split() return value
2017-09-19 21:36:11 -05:00
William Pitcock
6e21b142e3
libpkgconf: fragment parsing: do not pass NULL to pkgconf_fragment_add()
2017-09-19 21:08:55 -05:00
William Pitcock
4fe96a8ccc
libpkgconf: path: fix logic error in path relocation case when matching against a list ( closes #129 )
2017-09-08 18:27:50 -05:00
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