|
6b682318
|
2025-10-22T13:55:07
|
|
bomtool: add PackageDownloadLocation for packages with source tags
|
|
4e5fcd81
|
2025-10-22T13:41:19
|
|
autogen: run libtoolize first
Fixes #428
|
|
15650665
|
2025-10-22T13:38:31
|
|
libpkgconf: ensure source-tag is freed when package is freed
|
|
fe35ffd5
|
2025-09-05T12:37:56
|
|
libpkgconf.pc.in: Add Source-tag
Add Source tag to libpkgconf.pc.in.
|
|
e21de9c6
|
2025-09-05T12:31:10
|
|
cli: Add Source-tag to cli
Add Source tag printing to cli.
|
|
a04e2695
|
2025-09-05T12:28:56
|
|
libpkgconf: Add Source-tag
Add Source-tag for determining where to find
correct source code for the package. Source tag
should be URI.
|
|
115ce623
|
2025-09-05T12:35:58
|
|
tests: Add testing for Source-tag
Add some simple testing for Source tag reading
in test cases
|
|
7ba494a0
|
2025-09-05T12:33:55
|
|
man/pc.5: Add documentation for Source-tag to pc.5 man page
Add more documentation to pc.5 man page to make sure that
there is clear description how to use Source-tag
|
|
790ac897
|
2025-09-05T12:32:09
|
|
man/pkgconf.1: Small mention of Source-tag to pkgconf.1 man page
Add similar mentioning of Source-tag than License-tag has to
pkgconf.1 man page.
|
|
2c9a0d2d
|
2025-10-12T13:08:50
|
|
cli: unveil only after building the client dir list
This fixes an issue where pkgconf can't access directories in the
PKG_CONFIG_PATH environment variable.
|
|
706b3cbd
|
2025-10-12T00:29:38
|
|
cli: ignore unveil ENOENT errors on defaults path
|
|
88ef76a6
|
2025-08-22T23:28:10
|
|
build: add buffer.c to SRCS in Makefile.lite
|
|
e6e94583
|
2025-08-18T10:27:21
|
|
cli: use append for PKG_CONFIG_LOG
This was an oversight when originally implementing PKG_CONFIG_LOG
functionality. In original pkg-config, it is opened as an append
log.
Fixes: 8ccc108 ("main: add a stub for PKG_CONFIG_LOG (ref #88)")
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
1c0ad34c
|
2025-08-13T22:12:33
|
|
github: add some extra jobs to publish tarball/msi on github
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
499083eb
|
2025-08-13T22:20:11
|
|
build: fix -Werror=unused-variable
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
de3ffe21
|
2025-07-30T12:06:29
|
|
libpkgconf: downgrade to readlink(3) if readlinkat(3) is unavailable
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Fixes: https://github.com/pkgconf/pkgconf/issues/420
|
|
c060c5af
|
2025-07-30T11:58:45
|
|
build: check for readlinkat presence
Related: https://github.com/pkgconf/pkgconf/issues/420
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
1550bf53
|
2025-06-25T22:23:13
|
|
build: add -D_DARWIN_C_SOURCE
|
|
aa6b5c4c
|
2025-06-24T16:31:21
|
|
libpkgconf: dependency: make sure buf_sz is at least 1 byte
|
|
4fc570f9
|
2025-06-24T15:49:00
|
|
pkgconf 2.5.1.
|
|
46059c36
|
2025-06-24T15:29:56
|
|
libpkgconf: dependency: skip parsing of empty strings
Closes: https://github.com/pkgconf/pkgconf/issues/413
Closes: https://github.com/pkgconf/pkgconf/issues/414
Co-authored-by: Jonas Kvinge <jonas@jkvinge.net>
|
|
c52f7785
|
2025-06-24T08:00:42
|
|
pkgconf_trace: fix error return handling
In both cases the return value was incremented before checking
for the error case.
|
|
204ad5e4
|
2025-06-18T21:56:01
|
|
pkgconf 2.5.0.
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
b4547a01
|
2025-06-18T21:24:46
|
|
github: add actions workflow for pkgconf releases
Ref: https://github.com/pkgconf/pkgconf/issues/404
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
70748388
|
2025-06-18T20:33:18
|
|
chore: delete obsolete woodpecker CI configuration
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
a0fc46a8
|
2025-06-18T14:51:31
|
|
libpkgconf: clean up PRINTFLIKE and DEPRECATED macros
On MingW, the wrong format string checker would be used. So prefer gnu_printf
where it is known to be available.
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
fea9592a
|
2025-06-12T08:34:29
|
|
personality.c: _WIN32 does not want_default_static
|
|
d3e94155
|
2025-06-03T19:44:28
|
|
man/pkgconf.1: mention that --list-all exits early
|
|
f0be161c
|
2025-06-03T19:27:38
|
|
man/pkgconf.1: mention that --atleast-pkgconfig-version exits early
|
|
509c34fa
|
2025-06-03T19:05:06
|
|
man/pkgconf.1: mention that PKG_CONFIG_SYSROOT_DIR sets pc_sysrootdir
|
|
8886d839
|
2025-06-03T19:03:27
|
|
man/pkgconf.1: describe DESTDIR more precisely
|
|
54019358
|
2025-06-03T16:56:50
|
|
man/pkgconf.1: document PKG_CONFIG_ALLOW_SYSTEM_{CFLAGS,LIBS}
|
|
efdeb71d
|
2025-06-04T21:09:13
|
|
man/pkgconf.1: improve the beginning of the DESCRIPTION
Replace the first paragraph with an adequate description of what the
program actually does, mention the main use case, and avoid vague
wordings like "helps to" and "allow" and misleading wordings like
"development libraries" (this is perfectly adequate for production
builds, too) and "detect" (nothing is automatically detected,
everything has to be specified explicitly in pc(5) configuration
files).
Add a second paragraph introducing the module search path
because that concept is really crucial for the program.
After that, add three paragraphs explaining the classification of
options, in particular how they behave with respect to early exit
and dependency resolution. Admittedly, this requires rather lengthy
text, which is clearly undesirable at this place in a manual page.
But the atrocious user interface design only leaves the choice of
either bothering the reader with a long, complicated description,
or not describing how the program behaves at all.
Postponing the description of these interactions until after the
option list would not be better. Understanding the classification
up front helps to understand the descriptions and purposes of the
individual options.
What is still sorely missing is a precise definition of what the
three different versions of the crucial term "dependency" mean,
and how resolution actually works.
|
|
5729e1dd
|
2025-06-04T20:54:54
|
|
man/pkgconf.1: document --dump-personality --help --solution
|
|
11ea807f
|
2025-06-03T20:33:48
|
|
man/pkgconf.1: correctly describe the module version check options
The options --atleast-version, --exact-version, and --max-version
short-circuit to both success and failure, which implies that the
result depends on the the order of the arguments and that a simple
description is not possible. In particular, it is not possible
to describe the behaviour with any sentence of the form
"(succeed|fail) if (any|each) argument satisfies (condition)".
|
|
5c3b5b1d
|
2025-06-03T20:03:45
|
|
man/pkgconf.1: --log-file does not print to stdout
|
|
505f3102
|
2025-06-04T12:50:56
|
|
meson: add bomtool to build targets
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
ac8cc800
|
2025-06-04T12:43:54
|
|
man: add bomtool manpage
Closes: https://github.com/pkgconf/pkgconf/issues/408
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
5b02ec37
|
2025-06-04T11:59:05
|
|
man/pkgconf.1: document PKG_CONFIG_PRELOADED_FILES
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
d6be0d38
|
2025-06-04T11:53:20
|
|
libpkgconf: client: unref the preloaded list on client deinit
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
f748308b
|
2025-06-04T11:29:11
|
|
cli: add support for PKG_CONFIG_PRELOADED_FILES
This allows for preloading external files outside PKG_CONFIG_PATH, which will
be prioritized over the files located inside PKG_CONFIG_PATH.
For example:
~/pkgconf $ PKG_CONFIG_PRELOADED_FILES=tests/lib1/foo.pc ./pkgconf --list-all
foo foo - A testing pkg-config file
Fixes: https://github.com/pkgconf/pkgconf/issues/391
|
|
1a28204a
|
2025-06-04T11:20:39
|
|
libpkgconf: client: avoid environ keyword which is macro on Win32
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
a3af684d
|
2025-06-04T11:18:41
|
|
libpkgconf: pkg: ensure pkgconf_pkg_new_from_path only loads .pc files
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
9665d214
|
2025-06-04T11:15:52
|
|
libpkgconf: client: add pkgconf_client_preload_from_environ()
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
0a932483
|
2025-06-04T10:58:27
|
|
libpkgconf: pkg: add functionality for searching and scanning the preloaded package list
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
d4770169
|
2025-06-04T10:42:11
|
|
libpkgconf: pkg: remove freed packages from the preload list
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
01eb0cf1
|
2025-06-04T10:39:09
|
|
libpkgconf: client: add pkgconf_client_preload_path() for preloading packages
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
3be7f2ce
|
2025-06-04T10:34:23
|
|
libpkgconf: pkg: add tracking infrastructure for preloaded packages
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
aa5813ac
|
2025-05-31T00:06:57
|
|
libpkgconf: path: refactor windows registry PKG_CONFIG_PATH support
Now we add to the search list rather than falling back to the registry
after the search list fails to find a package.
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
c6f973bd
|
2025-05-30T23:25:38
|
|
build: add pkgconf.wxs.in and txt2rtf.py to source files list
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
6fe94588
|
2025-05-30T17:53:15
|
|
ci: enable back MSI build
Drop mingw32 arch build, see:
https://github.com/msys2/MINGW-packages/issues/24419
|
|
4dad43ad
|
2025-05-29T16:04:04
|
|
github: disable msi build for now, broken
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
a1a255ee
|
2025-04-22T11:28:40
|
|
ci: build MSI on msys2, publish artefacts
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
86d38119
|
2025-03-20T16:00:34
|
|
meson: add MSI build target
It would be nice to provide a release MSI for Windows users.
Requires wixl.
Tested on Fedora, with mingw64 cross-build.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
e49cbdfc
|
2025-03-20T15:32:43
|
|
stdinc: fix -Wformat warning on win64
../libpkgconf/client.c: In function 'pkgconf_trace':
../libpkgconf/client.c:381:47: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
381 | len = snprintf(errbuf, sizeof errbuf, "%s:" SIZE_FMT_SPECIFIER " [%s]: ", filename, lineno, funcname);
| ^~~~~ ~~~~~~
| |
| size_t {aka long long unsigned int}
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
205bc7bf
|
2025-05-29T11:38:54
|
|
libpkgconf: client: remove PKGCONF_BUFSIZE from logging subsystem
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
fd7069a2
|
2025-05-29T11:13:39
|
|
libpkgconf: dependency: move static parsing buffer off the stack
Also remove the 64KB limit for dependency list strings.
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
25cbcbc3
|
2025-05-29T10:47:47
|
|
README: simplify, improve tone to be less grumpy
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
5925cc43
|
2025-05-29T10:23:58
|
|
github: remove V=1 from analysis step
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
ad75dec3
|
2025-05-29T10:21:21
|
|
github: enable GCC static analysis tests with -Werror
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
61610c65
|
2025-05-29T10:08:00
|
|
libpkgconf: pkg: refactor pkgconf_pkg_new_from_file into pkgconf_pkg_new_from_path
Previously, files would be closed by side effect, which is a somewhat bad API
design that trips up various static analysis tools.
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
2983d311
|
2025-05-28T23:21:24
|
|
libpkgconf: path: gracefully handle memory alloc failures
Found-by: GCC -fanalyzer
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
10d37b61
|
2025-05-28T23:18:42
|
|
libpkgconf: dependency: handle memory allocation failures
Found-by: GCC -fanalyzer
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
1fd56779
|
2025-05-28T23:15:52
|
|
libpkgconf: argvsplit: use calloc for all buffers, handle memory alloc failures
Found-by: GCC -fanalyzer
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
735fd054
|
2025-05-28T23:11:34
|
|
libpkgconf: fragment: robustly catch and handle memory allocation failures
Found-by: GCC -fanalyzer
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
7fbb8bf2
|
2025-05-28T22:59:43
|
|
libpkgconf: pkg: refactor pkgconf_pkg_free into micro-operations
Then use pkg_free_lists and pkg_free_object to clean up package objects
which have not been fully initialized.
Found-by: GCC -fanalyzer
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
e4e3b45b
|
2025-05-28T22:32:06
|
|
libpkgconf: pkg: gracefully handle NULL parameter to pkgconf_pkg_unref()
This could happen when pkgconf_pkg_new_from_file() fails due to error.
Found-by: GCC -fanalyzer
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
859402ef
|
2025-05-28T22:30:34
|
|
libpkgconf: pkg: allow pkgconf_pkg_new_from_file to return NULL on malloc error
Other errors can already cause pkgconf_pkg_new_from_file() to return NULL, so
this doesn't break API.
Found-by: GCC -fanalyzer
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
e3f9e694
|
2025-05-28T22:18:39
|
|
libpkgconf: client: propagate malloc failures upwards
Otherwise a NULL dereference can happen when malloc fails in pkgconf_client_new().
Found-by: GCC -fanalyzer
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
5ecd34e4
|
2025-05-28T22:10:10
|
|
libpkgconf: personality: rework non-default personality loading
If there is an error loading the personality file (for example, the personality file
associated with the requested triplet does not exist), then resources would be leaked.
Found-by: GCC -fanalyzer
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
187f2604
|
2025-05-28T22:08:08
|
|
libpkgconf: personality: make cross-personality triplet identifier non-const
Dynamically loaded personality files use a malloced string to store the triplet,
and so we need to drop the const to allow for that string to be freed later.
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
a61b00f1
|
2025-05-28T14:07:21
|
|
man/pkgconf.1: fix spelling of overridden
|
|
f2396064
|
2025-05-28T21:33:45
|
|
man/pkgconf.1: fix description of PKG_CONFIG_SYSROOT_DIR
Fixes: ef59baf ("Document environment variables")
Closes: https://github.com/pkgconf/pkgconf/issues/388
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
c34379ad
|
2025-05-18T21:03:33
|
|
man/pkgconf.1: better describe PKG_CONFIG_TOP_BUILD_DIR
In particular, mention the default value and make it more explicit
in which case the default is used.
|
|
c5953937
|
2025-05-18T20:08:30
|
|
man/pkgconf.1: better describe --print-variables and --variable
In particular, mention that only the first "module" argument is used
and clarify what exactly is printed.
|
|
adc54991
|
2025-05-18T19:26:24
|
|
man/pkgconf.1: rudimentary documentation of two more env vars
Specifically, PKG_CONFIG_DONT_DEFINE_PREFIX and PKG_CONFIG_RELOCATE_PATHS.
|
|
e607da2e
|
2025-05-18T19:05:26
|
|
man/pkgconf.1: clarify the interaction of --static, --pure, and --shared
|
|
83c7ca08
|
2025-05-18T18:43:23
|
|
man/pkgconf.1: rudimentary documentation of PKG_CONFIG_IGNORE_CONFLICTS
|
|
5ad8a5be
|
2025-05-18T18:19:11
|
|
man/pkgconf.1: mention which options imply --print-errors
|
|
e785ee47
|
2025-05-18T17:52:32
|
|
man/pkgconf.1: fix incorrect description of PKG_CONFIG_DEBUG_SPEW
It does *not* enable any additional debug logging, only --debug does that.
This variable only overrides --silence-errors.
|
|
a7443fe5
|
2025-05-18T17:30:13
|
|
man/pkgconf.1: document PKG_CONFIG_MAXIMUM_TRAVERSE_DEPTH
Also mention that it overrides --maximum-traverse-depth
as well as which options override it.
|
|
cab9dcbf
|
2025-05-18T16:46:09
|
|
man/pkgconf.1: rudimentary documentation of --msvc-syntax
Slightly improve the description of PKG_CONFIG_MSVC_SYNTAX, too.
|
|
4e7ecc37
|
2025-05-18T16:21:31
|
|
man/pkgconf.1: document some environment variables defining paths
Document CPATH, C_INCLUDE_PATH, CPLUS_INCLUDE_PATH, OBJC_INCLUDE_PATH,
and LIBRARY_PATH.
Improve the description of PKG_CONFIG_SYSTEM_INCLUDE_PATH
and PKG_CONFIG_SYSTEM_LIBRARY_PATH to mention their syntax,
their default values, and what they actually do.
|
|
a2f0af2f
|
2025-05-17T23:52:34
|
|
cli: squash unused variable warning in cli-specific unveil_handler
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
2ad2eaa4
|
2025-05-17T23:50:39
|
|
build: bump libpkgconf SOVERSION to 7
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
5a188784
|
2025-05-17T23:49:54
|
|
libpkgconf: add support for late-breaking unveil(2) notifications
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
5d363cc7
|
2025-05-17T23:33:48
|
|
cli: add cli-side unveil(2) support
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
6546c4ba
|
2025-05-10T01:39:15
|
|
man/pkgconf.1: document four more command line options
The options --about, --list-package-names, --short-errors,
and --log-file were not documented yet. While documenting --log-file,
adjust the description of PKG_CONFIG_LOG, too.
|
|
14d12281
|
2025-05-08T04:47:50
|
|
man/pkgconf.1: properly document the module search path
Specifically, document --env-only, --list-all, --with-path,
PKG_CONFIG_LIBDIR, and PKG_CONFIG_PATH, all of which were
already mentioned, but very little was said about them,
and much of what *was* said was outdated.
|
|
7502a55d
|
2025-05-08T13:45:33
|
|
libpkgconf: bsdstubs: align pledge and unveil stubs with openbsd-portable
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
4deef173
|
2025-05-08T13:12:21
|
|
cli: defer --with-path processing until libpkgconf is fully initialized
Previously, we would modify the cross-compilation personality object
in order to inject paths provided by --with-path.
This would cause the paths provided by --with-path to be clobbered when
using PKG_CONFIG_LIBDIR to explicitly initialize the search path list.
Fixes: c468682 ("cli: implement --personality")
Related: https://github.com/pkgconf/pkgconf/issues/400
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
7b8865d1
|
2025-05-08T13:07:30
|
|
libpkgconf: path: add pkgconf_path_prepend_list
Previously when processing --with-path entries we were adding to the tail
of the search list. In reality, we expect --with-path entries to be treated
in an equivalent way to PKG_CONFIG_PATH.
Accordingly, add a variant of pkgconf_path_copy_list which prepends instead.
Related: https://github.com/pkgconf/pkgconf/issues/400
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
265a8a43
|
2025-05-07T03:25:29
|
|
man/pkgconf.1: two instances where .Va -> .Ar was forgotten
|
|
bd49b700
|
2025-05-07T03:15:33
|
|
man/pkgconf.1: sort the ENVIRONMENT section and use .Ev
|
|
d1a5b4f2
|
2025-05-07T02:40:23
|
|
man/pkgconf.1: correct the description of --path
|
|
31d73e40
|
2025-05-07T01:59:15
|
|
man/pkgconf.1: document --modversion and --verbose
|
|
bdede95f
|
2025-05-07T01:18:28
|
|
man/pkgconf.1: mark features not compiled in with PKGCONF_LITE
|
|
5123e180
|
2025-05-07T00:55:38
|
|
man/pkgconf.1: fix the markup of two instances of "module"
They were erroneously marked up with .Cm instead of .Ar.
|
|
32cd9afb
|
2025-05-07T00:47:24
|
|
man/pkgconf.1: fix documentation bug regarding --*-version
One single matching module is sufficient for success.
|
|
bd1b791a
|
2025-05-07T00:10:45
|
|
man/pkgconf.1: do not use all caps for the arguments of .Ar macros
Very little text change, only minimal wording and markup improvements
in the immediate vicinity.
|