Igor Gnatenko
5db87c9685
remove dead assignments ( #109 )
...
* remove dead assignments
None of them are used.
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
* The address of an object "&pkgconf_pkg_provides_vermatch_rules[pkgdep->compare]" is never null
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
* Overrunning array pkgconf_pkg_comparator_names at element index 7
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-22 11:31:34 -08:00
Baptiste Daroussin
5e5c418837
Actually fix the regression introduced in 7b39c38
2017-01-22 11:26:43 +01:00
Baptiste Daroussin
17be554a21
Revert "Fix regression introduced in 7b39c38"
...
This reverts commit 7d89f659ff
.
2017-01-22 11:23:24 +01:00
Baptiste Daroussin
7d89f659ff
Fix regression introduced in 7b39c38
...
now pkgconf --variable=pc_path pkg-config works
2017-01-22 10:44:09 +01:00
William Pitcock
f540ece217
pkgconf 1.2.0.
2017-01-20 18:45:41 -06:00
William Pitcock
81b4b9ce87
pkgconf manpage: document --define-prefix, --dont-define-prefix, --prefix-variable and --relocate switches
2017-01-20 18:20:41 -06:00
William Pitcock
18a58836c9
main: add --dont-define-prefix for feature parity with pkg-config
2017-01-20 18:09:56 -06:00
William Pitcock
e5dda3301c
update NEWS
2017-01-20 18:07:00 -06:00
William Pitcock
7237b811e7
add support for making paths relocatable ( closes #103 )
2017-01-20 00:58:48 -06:00
William Pitcock
bd6be71115
main: add support for --prefix-variable (ref #103 )
2017-01-19 19:21:46 -06:00
William Pitcock
ced4f00363
libpkgconf: client: add pkgconf_client_[get|set]_prefix_varname()
2017-01-19 19:16:00 -06:00
William Pitcock
13cf74c7a3
libpkgconf: kill flags from top-level fragment API (ref #105 )
2017-01-19 18:23:25 -06:00
William Pitcock
7b39c38408
libpkgconf: pkg: clean up use of flags variable (ref #105 )
2017-01-19 18:17:29 -06:00
William Pitcock
127fd037d4
libpkgconf: pkg: uncouple resolver flags from pkgconf_pkg_dir_list_build(). (ref #105 )
2017-01-19 17:35:57 -06:00
William Pitcock
0ca6a16ce5
libpkgconf: queue: nuke flags parameters (ref #105 )
2017-01-19 17:32:38 -06:00
William Pitcock
597c3c7faf
libpkgconf: client: add pkgconf_client_t.flags and a get/set interface for it
2017-01-19 17:22:20 -06:00
William Pitcock
3c628084c5
main: kill global_traverse_flags (ref #105 )
2017-01-19 17:16:20 -06:00
William Pitcock
1ee3c12f53
libpkgconf: path: use pkgconf_path_relocate() when matching paths
2017-01-19 10:43:23 -06:00
William Pitcock
fa927fd379
libpkgconf: path: pkgconf_path_relocate(): implement realpath backend
2017-01-19 10:36:07 -06:00
William Pitcock
0315832285
doc: document pkgconf_path_relocate()
2017-01-19 10:31:40 -06:00
William Pitcock
4a3d3745e0
configure: check for realpath
2017-01-19 10:24:03 -06:00
William Pitcock
492d220d73
main: properly honour --keep-system-libs and --keep-system-cflags
2017-01-18 20:34:06 -06:00
William Pitcock
6c2bc94cc3
tests: regress: fix --keep-system-libs test, seems to have been broken for some years
2017-01-18 20:33:18 -06:00
William Pitcock
4f94090fe4
libpkgconf: fragment: make pkgconf_fragment_filter() accept userdata ( closes #106 )
2017-01-18 20:25:19 -06:00
William Pitcock
bd386d20ac
configure: start preparing for the tree to report as 1.2.x
2017-01-18 20:04:06 -06:00
William Pitcock
d7bf55a194
main: add --with-path CLI option ( closes #104 )
2017-01-18 11:36:52 -06:00
William Pitcock
b428eeaacf
libpkgconf: remove legacy check to ensure pkgconf_pkg_dir_list_build() is only called once.
...
this is not necessary anymore because:
- we do path entry deduplication
- it is possible that we want to prime the dir list with some user-specified paths prior to building it
2017-01-18 11:29:24 -06:00
William Pitcock
147fd80750
path: relocate system libdir/includedir if appropriate
2017-01-13 20:12:38 -06:00
William Pitcock
cb1dc71e23
fragment: simplify pkgconf_fragment_copy_munged()
2017-01-13 20:10:02 -06:00
William Pitcock
87a5a1f0cc
path: when stubbing pkgconf_path_relocate(), suppress unused variables warnings
2017-01-13 20:08:22 -06:00
William Pitcock
27c3710521
fragment: when munging, do a path relocation too
2017-01-13 20:06:48 -06:00
William Pitcock
1369f558c6
path: add new pkgconf_path_relocate() API which is a stub when path
...
relocation is not needed
2017-01-13 20:05:21 -06:00
William Pitcock
7f6a185977
fragment: only munge if sysroot_dir is actually set
...
on cygwin/msys2, it is possible for munging to be enabled for other types of munging (instead of sysroot)
2017-01-13 19:55:54 -06:00
William Pitcock
5b8e59f036
configure: check for cygwin_conv_path
2017-01-13 19:24:56 -06:00
William Pitcock
45819eaa6d
windows: allow building libpkgconf as DLL
2017-01-13 19:09:15 -06:00
William Pitcock
4ba414f74a
fragment: handle oddball fragments like -framework more accurately
2017-01-07 15:04:34 -06:00
Baptiste Daroussin
3b3f1dc76e
Fix gcc warnings
2017-01-07 17:57:37 +01:00
Baptiste Daroussin
2e855972dc
inode cache: ensure we never use an unitilized struct stat
2017-01-07 17:52:44 +01:00
William Pitcock
e9b4c2c789
manpage: document --path option
2017-01-07 03:02:10 -06:00
William Pitcock
02fcc31e00
main: add --path option to show the exact filename of each .pc file used
2017-01-07 02:58:39 -06:00
Graham Ollis
9c426b6f2c
do not filter non-existent directories if filter is off
2016-12-31 14:10:59 -06:00
William Pitcock
866873da15
pkgconf 1.1.0.
2016-12-30 22:56:27 -06:00
William Pitcock
52b58ce5f5
tests: regress: add another test case for -idirafter ordering (noticed on pkg-config bugzilla)
2016-12-30 20:25:02 -06:00
William Pitcock
e6df379f32
tests: add a test for --static ordering bug reported to freedesktop pkg-config that was actually in pkgconf
...
This was fixed a long time ago, but for completeness sake.
(https://bugs.freedesktop.org/show_bug.cgi?id=85085 )
2016-12-30 19:44:50 -06:00
William Pitcock
951a844c94
tests: add tests for the fragment mergeback changes
2016-12-30 12:45:29 -06:00
William Pitcock
0c690dc891
libpkgconf: fragment: fix over-optimization of cflags/linker flags in edge cases involving non-standard options
2016-12-30 12:39:10 -06:00
William Pitcock
92f566ff38
libpkgconf: path: check both device node and inode for dedup. pointed out by @plicease
2016-12-30 11:39:45 -06:00
William Pitcock
92f2b4a2e0
NEWS: add entry about path list deduplication
2016-12-30 11:14:05 -06:00
William Pitcock
2305031573
libpkgconf: path: make the duplicate filtering opt-in. some path lists should not be deduped (compiler path lists, for example)
2016-12-30 11:13:04 -06:00
William Pitcock
bad0da0c03
libpkgconf: path: filter out duplicate path entries by inode if possible ( closes #102 )
2016-12-30 11:01:15 -06:00