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
William Pitcock
aa041b415e
libpkgconf: path: add naive path list filtering function
2016-12-30 10:44:01 -06:00
William Pitcock
54c3ca86a2
configure: check for sys/stat.h explicitly
2016-12-30 10:26:45 -06:00
William Pitcock
135da1440c
libpkgconf: iter: track list lengths
2016-12-30 09:57:01 -06:00
William Pitcock
b0f8eab754
NEWS: document -idirafter and GCC env vars late changes
2016-12-30 03:06:10 -06:00
William Pitcock
ad1e414dee
libpkgconf: fragment: handle -idirafter in the same way as -isystem
...
(https://bugs.freedesktop.org/show_bug.cgi?id=97337 )
2016-12-30 02:47:42 -06:00
William Pitcock
c916e3a437
libpkgconf: client: filter all of the path-related GCC environment variables listed in the GCC manual (not just the ones in pkg-config)
2016-12-30 02:39:18 -06:00
William Pitcock
1ece862e87
libpkgconf: client: some toolchains have C_INCLUDE_PATH and CPLUS_INCLUDE_PATH, treat them as PKG_CONFIG_SYSTEM_INCLUDE_PATH.
2016-12-30 02:35:36 -06:00
William Pitcock
5a006aac24
Update copyrights to 2017.
2016-12-28 14:00:23 -06:00
William Pitcock
e674facee8
update NEWS for pending 1.1.0 release
2016-12-25 00:03:08 -06:00
William Pitcock
fd8927f032
update README wrt fd.o pkg-config commit c53385b5
2016-12-24 23:07:59 -06:00
William Pitcock
6ef4a853b5
libpkgconf: migrate pkgconf client fragment_is_system_dir() to a libpkgconf API
2016-12-21 20:06:17 -06:00
William Pitcock
b26e3cf6c7
main: fragment_has_system_dir(): remove want_flags checks as they are redundant
2016-12-21 19:59:47 -06:00
William Pitcock
cd0160a4a2
libpkgconf: handle PKG_CONFIG_SYSTEM_INCLUDE_PATH and PKG_CONFIG_SYSTEM_LIBRARY_PATH environment variables at client init time
2016-12-21 19:55:01 -06:00
William Pitcock
76754216a4
main: use pkgconf_client_t.filter_libdirs and friends instead of an internal set of lists
2016-12-21 19:52:36 -06:00
William Pitcock
f6b074f267
libpkgconf: path: make pkgconf_path_match_list() take a const list argument
2016-12-21 19:50:05 -06:00
William Pitcock
ef27db944a
build: include docs link in README and build system
2016-12-16 11:32:15 -06:00
William Pitcock
6aa25068b2
doc: delete client.rst for now
2016-12-16 11:28:41 -06:00
William Pitcock
a833e33122
build: start preparing for pkgconf 1.1.0
2016-12-16 11:27:02 -06:00
William Pitcock
61c750fde3
libpkgconf: pkg: cleanup and document pkg module
2016-12-15 23:36:59 -06:00
William Pitcock
32c8c73d8b
libpkgconf: pkg: pkgconf_pkg_find_in_registry_key() should actually be private
2016-12-15 22:57:15 -06:00
William Pitcock
21a6d6cd59
libpkgconf: client: set the error handler to default error handler if NULL was provided for the error handler
2016-12-15 22:33:22 -06:00
William Pitcock
568e5bfd1b
libpkgconf: client: move pkgconf_error() and pkgconf_default_error_handler() here
2016-12-15 22:33:01 -06:00
William Pitcock
c7e505fe44
libpkgconf: fragment: split out per-fragment length calculation and use it for all render functions (buffer overrun hardening)
2016-12-15 18:32:43 -06:00