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
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
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
Ariadne Conill
599dfcb264
main: extend copyright notice to 2021
2021-03-18 06:42:57 -06:00
Ariadne Conill
fd1b8ccca6
main: if PKG_CONFIG_FDO_SYSROOT_RULES is set, or DESTDIR matches PKG_CONFIG_SYSROOT_DIRS, disable the automatic sysroot rewriting
...
Closes #205 .
2021-03-18 06:22:11 -06:00
Ariadne Conill
f9531ce9fe
add support for pkgconf_cross_personality_t.want_default_pure
2021-03-18 06:02:00 -06:00
Jeff Moguillansky
dcf529b83d
cli: add environment variable PKG_CONFIG_DONT_DEFINE_PREFIX
...
On Windows, pkgconf redefines the prefix by default.
This gives the user the option to disable this behavior via an environment variable.
The benefit of an environment variable is the user can change this behavior when
using a build system such as cmake or meson, which may not expose this
parameter to the user.
2021-02-06 14:06:04 -07:00
Ariadne Conill
47466470d2
main: extend copyright statement to 2020 in --about
2020-05-26 10:57:51 -06:00
Ariadne Conill
fce1199b53
cli: add support for PKG_CONFIG_MSVC_SYNTAX env variable
...
Patch from Dan Kegel.
2020-05-24 14:34:17 -06:00
Ariadne Conill
62bbd3b664
cli: remove --version to --modversion remapping
...
This has been a source of frequent complaints, so we drop it.
Resolves: https://todo.sr.ht/~kaniini/pkgconf/6
2020-01-21 10:32:36 -06:00
Ariadne Conill
48dc665ae3
personality: add support for WantDefaultStatic setting
2019-10-19 00:56:17 -05:00
Ariadne Conill
40fe48355b
cli: main: add --shared option
2019-10-19 00:46:32 -05:00
Ariadne Conill
5f3aa3a8d2
cli: bump copyright notice to 2019
2019-07-12 06:53:25 -05:00
Alexander Tsoy
db9c1e96a1
fix the order of header includes
...
config.h should be included before stdinc.h, otherwise large file
support is not enabled.
Downstream bug: https://bugs.gentoo.org/687548
2019-06-08 04:55:52 +03:00
kaniini
7460d2870e
Merge branch 'fix-msvc-build' of seungha.yang/pkgconf into master
2019-05-18 00:52:09 +00:00
Seungha Yang
5436558eb8
main: Fix build with MSVC
...
Use pkgconf_strndup() since strndup() might be unavailable
2019-05-11 01:17:32 +09:00
William Pitcock
0ba98da26c
lite: remove --simulate
2019-05-06 15:22:11 -05:00
William Pitcock
2d0c1f5cb7
lite: disable debug logging
2019-05-06 15:17:08 -05:00
William Pitcock
43ca536b9f
lite: disable some bloat
2019-05-06 15:13:17 -05:00
Emil Renner Berthing
d926e75b34
main: fix personalities when argv[0] contains path
2019-03-06 16:09:21 +01:00
William Pitcock
8aa662227c
main: deduce the cross-compilation triplet based on program name
2018-05-10 13:37:40 -05:00
William Pitcock
c46868294f
cli: implement --personality
2018-05-09 22:53:55 -05:00
William Pitcock
e9324ee4bc
cli: implement --dump-personality
2018-05-09 22:21:45 -05:00
William Pitcock
6b0e346c28
libpkgconf: refactor building the dir lists into separate concerns
2018-05-09 17:07:26 -05:00
William Pitcock
854490c5b9
libpkgconf: add basic support for cross-compile personality objects
2018-05-09 16:54:21 -05:00
William Pitcock
7e9ed6922d
libpkgconf: pkg: skip over -I cflags from Requires.internal nodes when building a cflags list
2018-03-18 18:05:55 -05:00
William Pitcock
ad65bc4a71
libpkgconf: dependency: allow dependency nodes to be colored with traits
2018-03-18 18:03:33 -05:00
TingPing
60c05f5621
Improve prefix rewriting on Windows ( #177 )
...
* cli: Default to rewriting prefix on Windows
This matches `pkg-config` behavior
* libpkgconf: Rewrite the prefix of all variables
2018-03-07 23:00:22 -06:00
William Pitcock
2156a74afc
cli: implement --fragment-filter ( closes #167 )
2018-02-28 13:00:53 -06:00
William Pitcock
2902141a9f
build: move cli tool to cli folder
2018-02-12 00:42:27 -06:00