|
8754bdfe
|
2022-08-16T19:50:26
|
|
pkgconf 1.9.3.
|
|
6a66b312
|
2022-08-16T19:49:42
|
|
libpkgconf: increase API level to 10903
|
|
4c38d3f6
|
2022-08-16T19:49:02
|
|
update NEWS for pkgconf 1.9.3
|
|
b7593aea
|
2022-08-16T19:48:44
|
|
build: automake: use top_srcdir as needed
|
|
dbd78db6
|
2022-08-16T19:42:13
|
|
tests: add regression test for github #259
|
|
80bc5ac3
|
2022-08-16T19:38:40
|
|
tuple: if a global tuple is explicitly defined with --define-variable, prefer it
fixes github #259
|
|
5044491f
|
2022-08-16T19:27:35
|
|
queue: add function to free a compiled solution
|
|
c6d14e6f
|
2022-08-16T18:53:29
|
|
cli: renderer-msvc: remove pointless buf_remaining store
|
|
ced9bee6
|
2022-08-16T18:51:11
|
|
pkg: remove dead store in pkgconf_compare_version
|
|
2c895411
|
2022-08-16T18:50:35
|
|
bomtool: return EXIT_FAILURE if solver fails to solve
|
|
5500a151
|
2022-08-16T18:46:43
|
|
fragment: avoid trying to merge fragments where data == NULL
|
|
74faf8d0
|
2022-08-16T18:38:46
|
|
queue: do not enqueue unsolved nodes as part of a solution
|
|
c918b6e2
|
2022-08-13T06:44:40
|
|
bomtool: enable PKGCONF_PKG_PKGF_SEARCH_PRIVATE to collect dev dependencies
|
|
12f3a309
|
2022-08-13T06:44:19
|
|
bomtool: write dependency relationships in both directions
|
|
01c1d9f4
|
2022-08-12T13:07:58
|
|
bomtool: remove empty creation date field
|
|
9e8052b6
|
2022-08-12T12:57:53
|
|
bomtool: add enough to generate a basic SBOM
|
|
696124b6
|
2022-08-12T12:36:21
|
|
pkg: add support for parsing the URL from pc files
|
|
79327b89
|
2022-08-12T12:07:56
|
|
add bomtool skeleton
|
|
f3021a82
|
2022-08-12T11:59:11
|
|
libpkgconf.pc: add license
|
|
194ad3e6
|
2022-08-11T16:01:30
|
|
man: pc.5: document copyright/maintainer fields
|
|
aa99ddf7
|
2022-08-11T15:52:33
|
|
pkg: add Copyright and Maintainer fields
These are helpful pieces of information for BOM documents
generated by pkgconf.
|
|
68b5cab7
|
2022-08-11T15:06:08
|
|
cli: remove redundant SEARCH_PRIVATE block
It turns out there was already a check for PKG_CFLAGS being requested,
but the check was busted because PKG_CFLAGS is a combined-or of all of
the various --cflags flags.
Check that PKG_CFLAGS bits are set at all on want_flags instead.
|
|
78f00da1
|
2022-08-11T13:49:44
|
|
Merge pull request 'cli: use Requires.private when cflags are requested' (#243) from psykose/pkgconf:cflags-i into master
Reviewed-on: https://gitea.treehouse.systems/ariadne/pkgconf/pulls/243
|
|
74600558
|
2022-08-11T13:47:32
|
|
cli: use Requires.private when cflags are requested
|
|
28b5d57b
|
2022-08-08T10:25:24
|
|
pkg: free SPDX license tags when a package is destroyed
|
|
af9b26c1
|
2022-08-08T10:03:15
|
|
pkgconf 1.9.2.
|
|
c0d2d653
|
2022-08-08T10:01:57
|
|
NEWS for pkgconf 1.9.2.
|
|
69a3d458
|
2022-08-08T09:59:50
|
|
libpkgconf: revise API revision to 10902
|
|
7e9aa7e1
|
2022-08-08T09:56:28
|
|
pkg: do not break cycles across dependency lists
|
|
4e449bd4
|
2022-08-08T09:42:01
|
|
cli: do not search requires.private for --libs unless --static
|
|
69f630aa
|
2022-08-08T09:34:45
|
|
pkg: only advance serial if we are actually traversing from a root
|
|
760d1eea
|
2022-08-08T09:27:39
|
|
cli: use pkgconf_queue_solve instead of pkgconf_queue_apply
|
|
87645787
|
2022-08-08T09:26:22
|
|
tests: ignore stdout on regress:missing test
|
|
5b10a85a
|
2022-08-08T09:08:27
|
|
queue: add pkgconf_queue_solve API
|
|
884a8858
|
2022-08-08T08:56:53
|
|
tests: add testcase for requires.private debounce
|
|
4e8f376c
|
2022-08-08T05:26:00
|
|
tests: add fixtures for github #258
|
|
79d25f97
|
2022-08-08T00:58:39
|
|
queue: ensure private deps get flattened when --static is requested
|
|
03ba00d3
|
2022-08-08T00:51:32
|
|
Merge pull request 'bsdstubs: include errno.h' (#242) from dcbaker/pkgconf:bsdstubs-errno into master
Reviewed-on: https://gitea.treehouse.systems/ariadne/pkgconf/pulls/242
|
|
1a66d963
|
2022-08-08T00:44:23
|
|
pkgconf 1.9.1.
|
|
8271ea19
|
2022-08-08T00:43:20
|
|
NEWS: update for pkgconf 1.9.1.
|
|
b29f9d87
|
2022-08-08T00:40:52
|
|
cli: do not flatten or traverse the graph when asking for module-specific values
|
|
94b3f118
|
2022-08-08T00:37:07
|
|
tests: add regression test to catch --modversion regression introduced by new solver
|
|
7976daab
|
2022-08-06T22:30:25
|
|
bsdstubs: include errno.h
Needed for ENOMEM, and fixes the build on MacOS.
|
|
d8d669f6
|
2022-08-07T04:47:04
|
|
pkgconf 1.9.0.
|
|
23556ff8
|
2022-08-07T04:46:35
|
|
Bump libpkgconf SOVERSION for 1.9.0 changes.
|
|
da9b2cfb
|
2022-08-07T04:45:33
|
|
NEWS: note the SPDX license branch has been merged
|
|
b2579a66
|
2022-08-07T04:42:55
|
|
man: pc(5): document the License field
|
|
666b5202
|
2022-08-07T04:40:31
|
|
tests: add tests for SPDX license assertions
|
|
d5f9bdae
|
2022-08-07T04:36:45
|
|
cli: add support for dumping SPDX expressions from modules
|
|
0e05308f
|
2022-08-07T04:35:29
|
|
pkg: add SPDX license assertion to pkgconf builtin
|
|
1389aa05
|
2022-08-07T04:21:22
|
|
pkg: add pkgconf_pkg_t.license field
The pkgconf_pkg_t.license field maps to the new License keyword, and
should be an SPDX license expression.
|
|
dce34e9a
|
2022-08-07T04:13:43
|
|
Update NEWS for pending 1.9.0 release
|
|
9aa0006c
|
2022-08-07T01:35:12
|
|
tests: improve circular reference tests to make use of the circular reference diagnostic
|
|
7edfdbff
|
2022-08-07T01:29:21
|
|
pkg: upgrade circular reference trace to a warning
|
|
662668d0
|
2022-08-07T01:09:07
|
|
pkg: add trace log when breaking a circular reference
|
|
59a56dfa
|
2022-07-03T11:13:33
|
|
trivial sync of pkg.m4 from freedesktop
This contains 3 changes, mostly inconsequential:
- fix some spelling issues in the comments
https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/eb866ade77d933c3237a5c9e2114ca65c3baa537
- bump the serial number; upstream rationale is very :shrug: but it is
what it is:
> There aren't any significant changes here, but this will cause aclocal
> to get the latest version.
https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/677e9248753d31c4b7ceed7805ccdc3fc508e980
- make the status log for PKG_CHECK_MODULES say "checking for <mod>..."
instead of "checking for <VAR>..."
https://gitlab.freedesktop.org/pkg-config/pkg-config/-/commit/3b96e7434c6d3b86443782efde053fb2ae2f7fba
There are additional whitespace-only changes that could be synced, and
were explicitly synced in commit 95b683c864f89ba5d2f02b0bbf8b07e0ffcecbce
but then undone in commit 360a818f2f2741a276f3acae6022b3d045e62f1f so
rather than fighting over it, are simply ignored. Diffing against the
freedesktop version of pkg.m4 will therefore show additional
inconsistencies.
|
|
56881f64
|
2022-08-07T00:38:38
|
|
cli: resolve uninitialized pointer warnings reported by GCC 12
|
|
b3107281
|
2022-08-04T23:36:15
|
|
Merge pull request 'Do a better job cleaning up memory' (#239) from dcbaker/pkgconf:free-memory into master
Reviewed-on: https://gitea.treehouse.systems/ariadne/pkgconf/pulls/239
|
|
49342057
|
2022-08-04T11:50:50
|
|
pkg: add name of pkg being refed/unrefed to debug outpu
|
|
a46ce367
|
2022-08-03T16:40:04
|
|
queue: when collecting dependents don't iterate private twice
Currently, the private field is iterated collecting private deps and
normal deps. It should only be iterated when collecting private deps.
|
|
4493a322
|
2022-08-03T16:37:04
|
|
main: do cleanup when checking required version
|
|
a391f9b6
|
2022-08-03T16:32:35
|
|
pkg: use goto cleanup idiom
|
|
38103134
|
2022-08-03T16:30:59
|
|
main: goto cleanup in validate case too
This fixes leaks in two tests
|
|
17173802
|
2022-08-03T16:27:42
|
|
cache: clear the cache with pkgconf_cache_remove
Which results in more code re-use.
|
|
e4d1c8ff
|
2022-08-03T16:22:14
|
|
queue: when flattening do nothing if the flattened deps are empty
|
|
66090011
|
2022-08-03T16:08:00
|
|
queue: unref dependency in all cases
|
|
e275594b
|
2022-08-03T15:56:54
|
|
queue: ensure cleanup happens when applying
|
|
4a1119aa
|
2022-08-03T15:43:04
|
|
dependency: Fix reference counting of dependency_addraw
We only want a reference to be added for the value inserted into the
list, not the one returned. The returned one is unowned until it reaches
the public dependency_add function, which returns an owned pointer
instead. This makes things semantically more correct.
Unfortunately, this means in a few cases we have to write some ugly
code like:
```c
pkgconf_dependency_t *dep = pkgcond_dependency_add("args");
pkgconf_dependency_unref(dep->owner, dep);
```
|
|
a4de6235
|
2022-08-03T15:29:57
|
|
cache: when removing a package from the cache unset the cached flag
|
|
ebe74fd2
|
2022-08-03T15:24:05
|
|
cache: free the cache table when it is empty and set to NULL
We do the latter for the benefit of libpkgconf. This cleans up a
significant number of memory leaks in the cache handling.
|
|
179a0560
|
2022-07-27T14:22:54
|
|
ci: run meson test with the address sanitizer enabled
Set the ASAN_OPTION so that the exitcode is not 1, this avoids asan
returning the exitcode that the tests already expect from a normal
pkgconf error
|
|
1cfa2d1e
|
2022-08-04T15:16:44
|
|
pkg: prevent circular ownership
Otherwise in a case where A references B, and B references A, A and B
will have mutual ownership of each other and prevent each other from
being free'd.
|
|
301d8fa0
|
2022-08-04T12:22:49
|
|
queue: free unused dependencies when flattening
|
|
34b11020
|
2022-08-04T11:53:02
|
|
dependency: zero list after freeing
|
|
e71a5a33
|
2022-08-04T11:52:26
|
|
dependency: add debug information for dependency refcounting
|
|
d240afe7
|
2022-08-04T04:33:11
|
|
Merge pull request 'Fix macro definition interfering with -Wmisleading-indentation' (#241) from dcbaker/pkgconf:submit/misleading-indentation into master
Reviewed-on: https://gitea.treehouse.systems/ariadne/pkgconf/pulls/241
|
|
125a13d3
|
2022-08-03T12:01:47
|
|
meson: add -Wmisleading-indentation
A useful warning when loop and conditional statements are allowed
without braces.
|
|
96c61cba
|
2022-08-03T12:00:21
|
|
libpkgconf: remove trailing ; from macro definition
GCC has a lovely bug (which I will report as soon as I have an account),
which causes -Wmisleading-indentation to miss cases of misleading
indentation after a `;;`, since the macro adds `;`, and in call cases
the caller also adds `;`, we end up with a double macro and gcc fails to
warn.
|
|
a0428279
|
2022-08-02T23:09:24
|
|
Merge pull request 'meson cleanups and fixes' (#240) from dcbaker/pkgconf:submit/meson-cleanups into master
Reviewed-on: https://gitea.treehouse.systems/ariadne/pkgconf/pulls/240
|
|
dd779ad9
|
2022-07-29T10:53:32
|
|
meson: add check to run_command
Because we really should be checking that it succeeds, and because not
setting it is deprecated.
|
|
c04097e4
|
2022-07-29T10:48:05
|
|
meson: pass configured files idiomatically
Instead of attempting to figure out what the paths will be, take the
returned file object and pass that around, meson will then automatically
figure out the correct paths.
|
|
06fe2e23
|
2022-07-29T10:40:54
|
|
meson: use current_source_dir and current_build_dir instead of *_root
The latter doesn't work correctly when being used as a subproject, as it
returns the *absolute* root. So if pkgconf is being built as part of
muon, then it will return muon's source root. current_source_dir, on the
other hand returns the directory correctly whether being built as a
subproject or superproject.
|
|
1f993bc0
|
2022-07-29T10:38:35
|
|
meson: use string methods to avoid repeating data
Instead of writing `['HAVE_FOO_H', 'foo.h']`, use meson's string methods
to just write `['foo.h']`, and let meson create `HAVE_FOO_H` for us.
|
|
f947af05
|
2022-07-29T10:31:49
|
|
meson: use str.format for improved readability
|
|
5ba74dec
|
2022-07-29T10:28:27
|
|
meson: use straight indexing instead of array.get()
It's more terse, and we don't need the support of a fallback value.
|
|
bf307c1d
|
2022-07-29T10:26:26
|
|
ci: set meson to build with -Werror
This will help catch any new warnings added in CI.
|
|
4a2c9c28
|
2022-07-28T16:01:52
|
|
meson: use C99 as the standard
autoconf uses either C99 or Gnu99. Meson does not provide a graceful way
to select gnu99 if possible or c99 (though there are several proposals
currently happening to get there), so I've selected c99 as the
conservative default. Without this, the compiler uses whatever it's
default happens to be, which may or may not work out correctly, and
hides bugs from CI that are present with c99 as the default.
|
|
40ec0859
|
2022-07-29T10:20:29
|
|
meson: add warning for implicit-function-declarations
This would be triggered without the previous addition of -D_BSD_SOURCE
for strdup, among others
|
|
71974d8c
|
2022-07-29T10:18:59
|
|
meson: Add _BSD_SOURCE and _DEFAULT_SOURCE
To avoid warnings about string functions like strdup which are otherwise
undefined, but succeed at linking anyway when the C standard is c99.
|
|
918b6609
|
2022-07-26T18:15:50
|
|
woodpecker: track debian testing for autoconf 2.71
|
|
f93870ef
|
2022-07-26T18:05:31
|
|
tests: add testcase for legacy FDO rules plus pc_sysrootdir
|
|
18e24060
|
2022-07-26T18:03:15
|
|
tests: add omg-sysroot-uninstalled fixture
|
|
6c70781a
|
2022-07-26T18:00:22
|
|
introduce PKG_CONFIG_PKGCONF1_SYSROOT_RULES for legacy pkgconf behavior
|
|
f8aefea7
|
2022-07-26T17:13:15
|
|
pkg: add flags argument to pkgconf_pkg_new_from_file
|
|
297e18f2
|
2022-07-26T17:08:48
|
|
tuple: add flags parameter to pkgconf_tuple_parse
|
|
d9ec3ee6
|
2022-07-26T16:45:30
|
|
tests: add testcases for confirming desired sysroot behavior regarding -uninstalled packages
|
|
b0802cb3
|
2022-06-26T19:41:31
|
|
Revert "pkgconf_pkg_parser_value_set(): fix code-path ordering bug."
This reverts commit 13fe4c8c589be99b12db62b053c38124afecf2d7.
|
|
b602e331
|
2022-06-26T19:39:09
|
|
github actions: use debian testing
|
|
72e429ae
|
2022-06-26T19:35:19
|
|
tuple: use ${pc_sysrootdir} instead of client->sysroot_dir where relevant
|
|
7fa632a6
|
2022-06-26T19:34:54
|
|
tests: sysroot: add additional tests
|