Ariadne Conill
cf48b61a59
stdinc: include strings.h on POSIX
2022-02-21 04:42:26 -06:00
Ariadne Conill
40131312ec
meson: check for strdup, strcasecmp, strncasecmp
2022-02-21 04:41:08 -06:00
Ariadne Conill
cc4ccc1429
meson: use _BSD_SOURCE for checking for symbols
2022-02-21 04:39:49 -06:00
Ariadne Conill
ac964d13f3
Merge pull request #240 from Tachi107/readme-meson
...
docs: mention Meson instead of CMake for Win build
2022-02-21 04:27:20 -06:00
Ariadne Conill
0995e49977
Merge branch 'master' into readme-meson
2022-02-21 04:27:11 -06:00
Ariadne Conill
820af53a2d
Merge pull request #241 from Olf0/patch-1
...
Re-do MR #235 , i.e. the vanished commit fe98e1b
2022-02-21 04:25:48 -06:00
Ariadne Conill
a45dbccc01
Merge pull request #242 from data-man/dirent_latest
...
Update dirent.h to latest
2022-02-21 04:25:36 -06:00
Ariadne Conill
c6cfca6730
Merge pull request #245 from dcbaker/submit/remove-const
...
libpkgconf: remove const modifier from error_handler data pointer
2022-02-21 04:25:26 -06:00
Ariadne Conill
aaabc2cb15
Merge pull request #246 from dcbaker/submit/personality-deinit
...
personality: use an unsigned to track initializations instead of a bool.
2022-02-21 04:25:14 -06:00
Dylan Baker
c581e24a67
personality: use an unsigned to track initializations
...
Instead of a bool. The latter will result in de-initing leaving the
library unable to init again, which works out for the cli, but is
problematic for other consumers (meson++ and muon).
v2: - Add docs that the functions are not thread safe
2022-02-14 21:22:05 -08:00
Dylan Baker
f5d6bb71f8
libpkgconf: remove const modifier from error_handler data pointer
...
Currently, the data pointer is `const void *`, which means that the
handler can't modify the data without casting away the constness.
2022-02-07 09:34:09 -08:00
data-man
b132ce8317
Update dirent.h to latest
2022-01-08 10:55:28 +05:00
olf
ae3a9c5440
Re-do MR #235 , i.e. the vanished commit fe98e1b
2021-12-11 22:56:31 +01:00
Andrea Pappacoda
6109e06089
docs: mention Meson instead of CMake for Win build
...
Fixes #233
2021-12-11 14:49:19 +01:00
Dylan Baker
1044bb57ca
meson: make use of override_dependency() if possible
...
This allows simplifying the subproject override to simply
```meson
dependency('libpkgconf')
```
2021-12-01 09:17:07 -06:00
Dylan Baker
72c59b89c6
meson: Add dependency for for libpkgconf
...
This allows others using libpkgconf as a dependency to do use this as a
subproject. They can write something like:
```meson
dependency('libpkgconf', fallback : ['libpkgconf', 'dep_libpkgconf'])
```
Then install a wrap file for libpkgconf and build it as part of their
project.
2021-12-01 09:17:07 -06:00
Mattias Hansson
8d9d3de6eb
pkg.m4: PKG_CHECK_MODULES provides modversion
...
Projects using PKG_CHECK_MODULES wants to add dependency versions to
their binaries. Currently, the projects have to resolve dependency
versions themselves when using pkgconf.
With this patch PKG_CHECK_MODULES now defines a $PKG_VERSION variable
that represents `--modversion`.
2021-10-27 06:41:28 -05:00
Mattias Hansson
360a818f2f
pkg.m4: Unified indentation in PKG_CHECK_MODULES
...
Currently the indentation in PKG_CHECK_MODULES is a mix och tabs and
spaces which makes it hard to read. This patch unifies the indentation
in the function to spaces.
2021-10-27 06:41:28 -05:00
Ariadne Conill
f3049d634d
README: note that --debug output should not be considered stable
2021-10-25 21:52:52 -06:00
Ariadne Conill
bf933903aa
hackfix a couple of flaky tests
2021-10-07 01:29:29 -06:00
Ariadne Conill
2b82a4f63e
use a serial instead of PKGCONF_PKG_PROPF_SEEN
2021-10-07 00:27:32 -06:00
Ariadne Conill
7d8cc1e4ce
dependency: add pkgconf_dependency_copy()
2021-10-06 13:13:34 -06:00
Ariadne Conill
c547edd07f
deconst the client on pkgconf_dependency_add()
2021-10-06 11:52:18 -06:00
Ariadne Conill
4144d506bb
implement dependency refcounting
2021-10-06 11:48:37 -06:00
olf
d87114068f
Fix typo
...
verses -> versus
2021-10-06 12:30:49 -05:00
Ariadne Conill
8130dd159e
dependency: add pkgconf_dependency_free_one
2021-10-06 11:29:18 -06:00
Ariadne Conill
2b390ea9cf
add memory leak fix info to NEWS
2021-08-17 15:32:30 -06:00
Ariadne Conill
4b87e256d3
cache: clear package cache without using the refcounts
2021-08-17 15:29:55 -06:00
Ariadne Conill
df1b671c83
dependency: use dependency match owner with pkgconf_pkg_unref()
2021-08-17 15:18:47 -06:00
Ariadne Conill
41bff10998
cli: ensure the client and cross-personality are cleaned up in all cases
2021-08-17 14:54:36 -06:00
Ariadne Conill
f411e7e55b
cli: free package resolution queue unconditionally
2021-08-17 14:47:10 -06:00
Ariadne Conill
ce82e36c14
cli: fix memory leak when packages are not provided on the command line
2021-08-17 14:39:44 -06:00
Ariadne Conill
cef30268e1
pkgconf 1.8.0.
2021-07-24 20:40:52 -06:00
Ariadne Conill
a10a88ef64
tests: regress: disable sysroot_munge test for now, not working with distcheck
2021-07-24 20:39:29 -06:00
Ariadne Conill
2ed2b98e64
workflows: more distcheck fixes
2021-07-24 20:28:04 -06:00
Ariadne Conill
9b49eb2280
workflows: install xz package
2021-07-24 20:26:44 -06:00
Ariadne Conill
4d5b378f9e
workflows: use distcheck instead of check for autotools tests
2021-07-24 20:25:15 -06:00
Ariadne Conill
f3f7145963
NEWS: add updates for pkgconf 1.8.0
2021-07-24 20:19:46 -06:00
Ariadne Conill
78bcb17116
personality: do not perform path filtering on default SYSTEM_INCLUDE_PATHS and SYSTEM_LIBRARY_PATHS
...
This is not consistent with the way the personality files or environment variables
are handled.
Fixes #224 .
2021-07-24 20:06:55 -06:00
Ariadne Conill
4e73e37d29
meson: fix non-static build
2021-07-24 19:56:46 -06:00
Ariadne Conill
ceece2c195
pkg: fix up comment about issue #213 workaround
2021-07-24 19:47:33 -06:00
Ariadne Conill
76968a4f8d
fix static builds on Windows with Meson
...
Fixes #222
2021-07-24 19:45:43 -06:00
Sandro Mani
ed86f2dda3
Don't prepend sysroot_dir if pkg-config file lies outside of sysroot_dir
2021-07-24 20:43:58 -05:00
Ariadne Conill
9ea26eb913
README: expand on the pkg-config compatibility promise
...
A bunch of CMake developers, who apparently did not comprehend the previous
compatibility promise statement, decided to passive-aggressively demand we fix
their non-bug anyway.
Clarify in more detail what level of pkg-config compatibility we provide, and
mention that such passive-aggressive behaviour is considered a CoC violation.
Fixes #228 .
2021-07-24 19:41:48 -06:00
Stone Tickle
fa859bb045
close error_msgout if opened
2021-07-24 06:08:25 -05:00
Stone Tickle
dba2600014
deinit personality in cli
2021-07-24 06:08:25 -05:00
Stone Tickle
d688a7bd03
implement pkgconf_cross_personality_deinit
2021-07-24 06:08:25 -05:00
midipix
13fe4c8c58
pkgconf_pkg_parser_value_set(): fix code-path ordering bug.
...
Prior to this commit, the code path responsible for prefix redefinition
(motivated by --define-prefix or otherwise) was visited more than
once, specifically since the check ignored pkg->owner->prefix_varname.
2021-06-18 14:42:41 -05:00
Ariadne Conill
1f319c2608
we are moving to OFTC
2021-05-19 05:52:27 -05:00
orbea
2fdc5f0081
man: Document the --validate option.
2021-03-29 09:50:41 -08:00