|
b0ef708e
|
2017-09-08T19:23:04
|
|
libpkgconf: pkg: pkg_get_parent_dir(): use caller-supplied buffer instead of a static buffer to make reentrant
|
|
b9dac13e
|
2017-09-08T19:17:38
|
|
libpkgconf: tuple: pkgconf_tuple_parse(): remove unnecessary static buffer declaration
|
|
47ce9765
|
2017-09-08T18:44:28
|
|
libpkgconf: define SIZE_FMT_SPECIFIER on POSIX and Windows platforms and use it in place of %zu
The MSVCRT runtime as used on Windows does not support %zu, but instead recommends %Iu. As we want
to remain portable to other runtimes, even on Windows, we do not use %Iu, but instead expand it logically
to either %lu or %llu depending on if it's _WIN32 or _WIN64 headers.
On POSIX, we assume C99 support is available and always use %zu, as pkgconf has never supported anything
earlier than C99 officially.
Closes #125.
|
|
a6d6b88d
|
2017-09-08T18:27:04
|
|
libpkgconf: path: fix logic error in path relocation case when matching against a list (closes #129)
|
|
9505213c
|
2017-07-16T17:35:28
|
|
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.
|
|
74666bff
|
2017-07-16T21:21:45
|
|
stdinc.h: fix build with mingw (#122)
Fixes this build error with mingw:
...
| compilation terminated.
| In file included from ../pkgconf-1.3.7/libpkgconf/libpkgconf.h:19:0,
| from ../pkgconf-1.3.7/libpkgconf/audit.c:16:
| ../pkgconf-1.3.7/libpkgconf/stdinc.h:36:12: fatal error: BaseTsd.h: No
such file or directory
| # include <BaseTsd.h>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
|
|
40fd9950
|
2017-06-19T20:03:00
|
|
Experiment to build with Meson (#119)
* Initial Meson build definitions.
* Install man page and headers.
|
|
864b14e5
|
2017-06-16T21:06:01
|
|
Merge branch 'cmakeify' of github.com:dankegel/pkgconf
|
|
03f78410
|
2017-06-16T15:27:23
|
|
libpkgconf: pkg: windows can use either \ or / as directory separators
ref #118
|
|
d45e8501
|
2017-06-16T13:03:51
|
|
Revert "pkg: use pkgconf_pkg_t.realname instead of pkgconf_pkg_t.id for injecting the default provides entry"
This reverts commit 0c22b4d8a1596e1d5b261041c36b474d05783373.
|
|
0c22b4d8
|
2017-06-16T11:49:26
|
|
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
|
|
794aa501
|
2017-06-05T20:54:57
|
|
Tidy up a bit.
|
|
ededaa64
|
2017-06-05T17:40:10
|
|
cmake: add missing configure variables, install headers and .pc file, use simpler line to invoke kyua, tweak build location of dll for ease of testing
|
|
4ba2bac5
|
2017-06-05T14:00:02
|
|
Don't depend on libtool magic to control which symbols are exported from shared libraries
|
|
9258874e
|
2017-06-05T10:23:56
|
|
cmake: use right soversion for libpkgconf
|
|
8b4a4b83
|
2017-06-04T19:32:08
|
|
First draft of cmake install rules
|
|
4d7b4d7c
|
2017-06-04T19:19:55
|
|
Minimal tweaks to compile with Visual C 2015
|
|
35d0f63d
|
2017-06-04T19:19:01
|
|
win-dirent.h: MIT-licensed port of dirent to win32 from https://github.com/tronkko/dirent
|
|
251f7473
|
2017-06-04T15:17:51
|
|
First draft of cmake port
|
|
d280060e
|
2017-05-19T23:37:57
|
|
libpkgconf: pkg: add additional validation rules in post-parse phase
|
|
0262b825
|
2017-05-19T23:33:49
|
|
libpkgconf: pkgconf_pkg_find(): correctly handle failure from pkgconf_pkg_new_from_file()
|
|
cf3c50ca
|
2017-05-19T23:21:58
|
|
libpkgconf: pkg: pkgconf_try_specific_path() and pkgconf_pkg_new_from_file() require a mutable client to release resources when encountering invalid packages
|
|
3c7f82a7
|
2017-05-09T19:38:57
|
|
fragment: also protect -nostdinc, -nostdlibinc, -nobuiltininc
|
|
74eb74a3
|
2017-05-09T19:37:23
|
|
fragment: handle -include similarly to -isystem and -idirafter
|
|
9fde4be1
|
2017-05-09T19:34:01
|
|
fragment: also protect -ansi, -std=, -stdlib=, -pedantic, -trigraphs, -Wa, and -Wp fragments
|
|
c7a8e1e3
|
2017-05-09T19:30:02
|
|
fragment: give -Wl fragments the same protection as -pthread
|
|
90d52e6c
|
2017-05-05T01:40:57
|
|
fragment: add -pthread as a special fragment
|
|
6e643aa4
|
2017-03-29T18:00:57
|
|
libpkgconf: hopefully the last necessary tweak to quoting...
|
|
acac1f8e
|
2017-03-24T00:59:53
|
|
libpkgconf: pkg: show iteration depth when traversing
|
|
81011ba5
|
2017-02-27T09:54:02
|
|
main: implement --short-errors (#115)
|
|
794443a9
|
2017-02-25T16:04:55
|
|
dependency: break API to add tracepoints to dependency list building
|
|
e0c9569f
|
2017-02-25T15:53:50
|
|
fragment: add tracepoints
|
|
01fe5743
|
2017-02-25T15:32:49
|
|
fragment: add new option to control escaping shell arguments
|
|
ae42261c
|
2017-02-25T15:04:08
|
|
argvsplit: refactor splitting state machine
|
|
9b255d46
|
2017-01-26T15:27:48
|
|
If PKG_CONFIG_PATH element is a sym link, use the link destination instead of the link for inode caching checks.
See issue 112 & issue 110 (https://github.com/pkgconf/pkgconf/issues)
|
|
76b8e0a2
|
2017-01-24T23:30:58
|
|
Normalize the path to remove duplicate / separators rather than possibly altering the path with realpath(3). Leave sym links as is in path components. This is also cheaper than realpath(3), and works on platforms that don't have realpath(3).
Note: if this is accepted, the check for realpath in configure.ac
can be removed, and some docs that mention realpath will be adjusted.
|
|
d558e30a
|
2017-02-07T10:24:54
|
|
libpkgconf: argvsplit: quoting logic was simplified too much
|
|
b0c36cd1
|
2017-02-04T20:35:49
|
|
libpkgconf: pkg: add some trace points
|
|
16ecf82f
|
2017-02-04T20:09:21
|
|
libpkgconf: client: bring up the default trace handler as early as possible
|
|
f7f0bfc4
|
2017-02-04T20:01:41
|
|
libpkgconf: cache: add trace points
|
|
2b6bb5a2
|
2017-02-04T19:50:58
|
|
libpkgconf: client: add trace points
|
|
d20efff4
|
2017-02-04T19:49:59
|
|
libpkgconf: overhaul pkgconf_trace() a little
|
|
820ad83e
|
2017-02-04T19:03:33
|
|
libpkgconf: pkg: add variable whitespace warnings back, using pkgconf_warn().
|
|
bef29308
|
2017-02-04T18:57:21
|
|
libpkgconf: client: add trace logging too
|
|
a6755cd7
|
2017-02-04T18:46:53
|
|
libpkgconf: client: add pkgconf_warn()
|
|
eb98a1e6
|
2017-02-04T18:46:33
|
|
libpkgconf: client: clean up various aspects of error/warn handlers
|
|
d884dc46
|
2017-02-04T18:41:16
|
|
libpkgconf: client: ensure error/warn handlers always have a sane default instead of actually NULL
|
|
c0b6a62c
|
2017-02-04T18:37:58
|
|
libpkgconf: client: add warn handler and getter/setter for both warn handler and error handler
|
|
647c0255
|
2017-02-03T13:17:21
|
|
libpkgconf: add PKGCONF_PKG_PKGF_DONT_RELOCATE_PATHS (#110)
main: add PKG_CONFIG_DONT_RELOCATE_PATHS environment variable and --dont-relocate-paths option to disable path relocation
|
|
fe40bc33
|
2017-02-03T12:53:50
|
|
libpkgconf: argvsplit: do not consider ' or " to be equivalent to \ (#111)
|
|
42d65b14
|
2017-02-01T13:03:06
|
|
libpkgconf: client: add INCLUDE environment to the cflags path filter list on windows
|
|
1aa1a433
|
2017-01-26T13:38:57
|
|
Revert "libpkgconf: pkg: warn when encountering trailing whitespace"
This reverts commit 2fa4fd09d02905e07397c2617bb1be735f6cd96b.
|
|
2fa4fd09
|
2017-01-26T13:32:07
|
|
libpkgconf: pkg: warn when encountering trailing whitespace
|
|
ef1503b7
|
2017-01-26T13:10:52
|
|
libpkgconf: strip trailing whitespace
|
|
b06bbe75
|
2017-01-23T23:17:26
|
|
libpkgconf: path: only enable cygwin path relocation backend for msys (ref #72)
|
|
e87595b3
|
2017-01-23T12:42:13
|
|
libpkgconf: use a better check instead of stat() for pkg-config file iteration, avoiding a TOCTOU race condition identified by coverity
|
|
db65f935
|
2017-01-23T00:24:13
|
|
libpkgconf: iter: check list->tail for null, not list->head
|
|
0927ecf1
|
2017-01-22T23:29:59
|
|
Revert "Actually fix the regression introduced in 7b39c38"
This reverts commit 5e5c418837b569196cc17eb999b3c11a9cc0099d.
|
|
5554be49
|
2017-01-22T23:28:51
|
|
libpkgconf: queue: chase API change (mark static root virtual packages as static)
|
|
0c01a812
|
2017-01-22T23:26:01
|
|
libpkgconf: split virtual/static package state (this is API/ABI safe, static packages are always treated as virtual when it comes to mutation)
|
|
9ece7cd4
|
2017-01-22T23:09:38
|
|
libpkgconf: move sys/stat.h inclusion out of stdinc.h to the only other consumer of sys/stat.h
|
|
e5f3dac6
|
2017-01-22T23:07:39
|
|
libpkgconf: pkg: handle error value from stat(2).
|
|
67796a1d
|
2017-01-22T23:04:01
|
|
libpkgconf: argvsplit: make escape handling more explicit
|
|
5db87c96
|
2017-01-22T20:31:34
|
|
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>
|
|
5e5c4188
|
2017-01-22T11:25:05
|
|
Actually fix the regression introduced in 7b39c38
|
|
17be554a
|
2017-01-22T11:23:24
|
|
Revert "Fix regression introduced in 7b39c38"
This reverts commit 7d89f659ffa45d381c3c4ee03c55f74635042829.
|
|
7d89f659
|
2017-01-22T10:44:09
|
|
Fix regression introduced in 7b39c38
now pkgconf --variable=pc_path pkg-config works
|
|
7237b811
|
2017-01-20T00:58:48
|
|
add support for making paths relocatable (closes #103)
|
|
ced4f003
|
2017-01-19T19:16:00
|
|
libpkgconf: client: add pkgconf_client_[get|set]_prefix_varname()
|
|
13cf74c7
|
2017-01-19T18:23:25
|
|
libpkgconf: kill flags from top-level fragment API (ref #105)
|
|
7b39c384
|
2017-01-19T18:17:29
|
|
libpkgconf: pkg: clean up use of flags variable (ref #105)
|
|
127fd037
|
2017-01-19T17:35:35
|
|
libpkgconf: pkg: uncouple resolver flags from pkgconf_pkg_dir_list_build(). (ref #105)
|
|
0ca6a16c
|
2017-01-19T17:32:38
|
|
libpkgconf: queue: nuke flags parameters (ref #105)
|
|
597c3c7f
|
2017-01-19T17:22:20
|
|
libpkgconf: client: add pkgconf_client_t.flags and a get/set interface for it
|
|
1ee3c12f
|
2017-01-19T10:43:23
|
|
libpkgconf: path: use pkgconf_path_relocate() when matching paths
|
|
fa927fd3
|
2017-01-19T10:36:07
|
|
libpkgconf: path: pkgconf_path_relocate(): implement realpath backend
|
|
03158322
|
2017-01-19T10:31:40
|
|
doc: document pkgconf_path_relocate()
|
|
4f94090f
|
2017-01-18T20:25:19
|
|
libpkgconf: fragment: make pkgconf_fragment_filter() accept userdata (closes #106)
|
|
b428eeaa
|
2017-01-18T11:29:24
|
|
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
|
|
147fd807
|
2017-01-13T20:12:38
|
|
path: relocate system libdir/includedir if appropriate
|
|
cb1dc71e
|
2017-01-13T20:10:02
|
|
fragment: simplify pkgconf_fragment_copy_munged()
|
|
87a5a1f0
|
2017-01-13T20:08:22
|
|
path: when stubbing pkgconf_path_relocate(), suppress unused variables warnings
|
|
27c37105
|
2017-01-13T20:06:48
|
|
fragment: when munging, do a path relocation too
|
|
1369f558
|
2017-01-13T20:04:38
|
|
path: add new pkgconf_path_relocate() API which is a stub when path
relocation is not needed
|
|
7f6a1859
|
2017-01-13T19:55:54
|
|
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)
|
|
4ba414f7
|
2017-01-07T15:04:34
|
|
fragment: handle oddball fragments like -framework more accurately
|
|
3b3f1dc7
|
2017-01-07T17:57:37
|
|
Fix gcc warnings
|
|
2e855972
|
2017-01-07T17:52:44
|
|
inode cache: ensure we never use an unitilized struct stat
|
|
9c426b6f
|
2016-12-31T13:11:08
|
|
do not filter non-existent directories if filter is off
|
|
0c690dc8
|
2016-12-30T12:39:10
|
|
libpkgconf: fragment: fix over-optimization of cflags/linker flags in edge cases involving non-standard options
|
|
92f566ff
|
2016-12-30T11:39:45
|
|
libpkgconf: path: check both device node and inode for dedup. pointed out by @plicease
|
|
23050315
|
2016-12-30T11:13:04
|
|
libpkgconf: path: make the duplicate filtering opt-in. some path lists should not be deduped (compiler path lists, for example)
|
|
bad0da0c
|
2016-12-30T11:01:15
|
|
libpkgconf: path: filter out duplicate path entries by inode if possible (closes #102)
|
|
aa041b41
|
2016-12-30T10:44:01
|
|
libpkgconf: path: add naive path list filtering function
|
|
135da144
|
2016-12-30T09:57:01
|
|
libpkgconf: iter: track list lengths
|
|
ad1e414d
|
2016-12-30T02:47:42
|
|
libpkgconf: fragment: handle -idirafter in the same way as -isystem
(https://bugs.freedesktop.org/show_bug.cgi?id=97337)
|
|
c916e3a4
|
2016-12-30T02:39:18
|
|
libpkgconf: client: filter all of the path-related GCC environment variables listed in the GCC manual (not just the ones in pkg-config)
|
|
1ece862e
|
2016-12-30T02:35:36
|
|
libpkgconf: client: some toolchains have C_INCLUDE_PATH and CPLUS_INCLUDE_PATH, treat them as PKG_CONFIG_SYSTEM_INCLUDE_PATH.
|
|
6ef4a853
|
2016-12-21T20:06:17
|
|
libpkgconf: migrate pkgconf client fragment_is_system_dir() to a libpkgconf API
|
|
cd0160a4
|
2016-12-21T19:54:32
|
|
libpkgconf: handle PKG_CONFIG_SYSTEM_INCLUDE_PATH and PKG_CONFIG_SYSTEM_LIBRARY_PATH environment variables at client init time
|