William Pitcock
7a8f96a98c
add cmake test build
2019-05-04 02:54:52 -05:00
William Pitcock
8d322b8959
add meson test build
2019-05-04 02:51:32 -05:00
William Pitcock
bf1c18a181
add test sr.ht autoconf alpine edge build
2019-05-04 02:47:28 -05:00
William Pitcock
be6011222b
pkgconf 1.6.1.
2019-03-23 22:38:50 -05:00
William Pitcock
662957ca7d
libpkgconf: tuple: tighten quoting logic a bit
...
closes #12
2019-03-23 22:34:11 -05:00
William Pitcock
3afd14c49e
libpkgconf: path: use realpath(3) to deduplicate the search path
...
closes #24
2019-03-23 22:27:05 -05:00
William Pitcock
ba1f48e48e
libpkgconf: client: ensure PKG_CONFIG_LIBDIR being empty overrides the default search paths
...
closes #25
2019-03-23 22:18:40 -05:00
William Pitcock
45eae2039e
start NEWS for 1.6.1.
2019-03-23 21:56:13 -05:00
kaniini
3e8103c7ac
Merge branch 'master' of esmil/pkgconf into master
2019-03-07 00:01:39 +00:00
Emil Renner Berthing
d926e75b34
main: fix personalities when argv[0] contains path
2019-03-06 16:09:21 +01:00
William Pitcock
e2fdd6f470
pkgconf 1.6.0.
2019-01-14 14:12:32 -06:00
William Pitcock
9315ee9ee6
tests: add orphaned-requires-private test
2019-01-14 14:07:19 -06:00
William Pitcock
737e326ae1
tests: add orphaned requires.private testcase
2019-01-14 14:04:50 -06:00
William Pitcock
183e68df39
libpkgconf: add LIBPKGCONF_VERSION macro
2019-01-14 13:52:04 -06:00
William Pitcock
5c7c9127bc
doc: update fragment API docs
2019-01-14 13:49:41 -06:00
William Pitcock
6854265f28
libpkgconf: pkg: use pkgconf_fragment_copy_list() to clean up cflags gathering logic ( closes #20 )
2019-01-14 13:48:23 -06:00
William Pitcock
36a5b7acbd
libpkgconf: fragment: add pkgconf_fragment_copy_list()
2019-01-14 13:48:02 -06:00
William Pitcock
0ae52182c9
libpkgconf: pkg: clean up pkgconf_parser interactions ( closes #13 )
2019-01-14 13:11:59 -06:00
William Pitcock
059b2f61ec
add a code of conduct
2018-10-22 15:12:44 -05:00
William Pitcock
74133eda31
pkgconf 1.5.4.
2018-10-15 10:23:35 -05:00
kaniini
ccd2440cde
Merge branch 'fix-slashes' of nacho/pkgconf into master
2018-09-27 02:07:31 +00:00
Ignacio Casal Quinteiro
2c05971029
Canonicalize paths before using them
...
This fixes a problem where on Windows the prefix would
not match if the prefix is generated with backslashes
and the rest of the variables use normal slashes
2018-09-17 16:31:25 +02:00
Ignacio Casal Quinteiro
9f17da92d2
On Windows the path prefix should be checked caseless
2018-09-17 15:41:27 +02:00
Ignacio Casal Quinteiro
c9dffb8570
Fix build on windows with meson
2018-09-17 15:41:27 +02:00
William Pitcock
101b99b5b5
pkgconf 1.5.3.
2018-07-28 19:47:53 -05:00
William Pitcock
47284486df
regress: add test for empty tuple buffer overflow issue
2018-07-28 19:45:57 -05:00
kaniini
3b5626a008
Merge branch 'master' of awilfox/pkgconf into master
2018-07-29 00:18:09 +00:00
A. Wilcox
9b7affe0b1
tuple: Ensure buf length is always >= 1 in dequote
...
If a key is defined with no value, dequote will allocate a buffer with a
length of 0. Since the buffer's length is 0, any manipulation of its
content is UB.
Example .pc file:
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
xcflags=
xlibs= -lSM -lICE -lX11
Name: Obt
Description: Openbox Toolkit Library
Version: 3.6
Requires: glib-2.0 libxml-2.0
Libs: -L${libdir} -lobt ${xlibs}
Cflags: -I${includedir}/openbox/3.6 ${xcflags}
Output using pkgconf 1.5.2 on x86_64 Linux/musl:
% pkgconf --cflags obt-3.5
-I/usr/include/openbox/3.6 \�\\�I\�\ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2
2018-07-28 19:06:33 -05:00
William Pitcock
4735e17287
pkgconf 1.5.2.
2018-07-19 17:30:33 -05:00
William Pitcock
7939732f80
build: install pkgconf-personality(5) manpage
2018-07-19 17:27:02 -05:00
William Pitcock
41f8031533
man: add pkgconf-personality(5)
2018-07-19 17:25:28 -05:00
kaniini
7e89a30442
Merge branch 'graham/system-paths-regression' of pkgconf/pkgconf into master
2018-07-05 13:35:54 +00:00
Graham Ollis
fb08ae2bd2
environment variables for system paths should override compiled-in defaults
2018-06-25 06:36:57 -04:00
William Pitcock
5601568267
pkgconf 1.5.1.
2018-06-16 16:37:36 -05:00
William Pitcock
6f05fec4b5
pkg: give a correctly sized vtable to the parser
2018-06-16 16:35:44 -05:00
William Pitcock
8f6e071d58
tests: add test fixture for bogus .pc files
2018-06-16 16:35:19 -05:00
William Pitcock
b77c04f343
update NEWS
2018-06-14 16:17:54 -05:00
William Pitcock
b46bb93cd1
libpkgconf: tuple: properly dequote tuples when added from the parser (closes legacy github bug #186 )
2018-06-14 16:12:04 -05:00
William Pitcock
ae7faf73fd
tests: add testcase for tuple dequoting bug (legacy github bug #186 )
2018-06-14 16:11:21 -05:00
William Pitcock
854a6adfe9
tests: add tuple-quoting fixture
2018-06-14 15:31:00 -05:00
William Pitcock
3673494431
README: make it more clear the git repo has moved
2018-06-14 14:49:24 -05:00
Graham Ollis
273d1d0461
use pkgconf_strlcpy
...
On Debian/Ubuntu I get:
CC libpkgconf/personality.lo
libpkgconf/personality.c: In function ‘load_personality_with_path’:
libpkgconf/personality.c:195:3: warning: implicit declaration of function ‘strlcpy’ [-Wimplicit-function-declaration]
strlcpy(pathbuf, path, sizeof pathbuf);
^~~~~~~
CC libpkgconf/parser.lo
CCLD libpkgconf.la
ar: `u' modifier ignored since `D' is the default (see `U')
CC cli/pkgconf-main.o
CC cli/pkgconf-getopt_long.o
CC cli/pkgconf-renderer-msvc.o
CCLD pkgconf
./.libs/libpkgconf.so: undefined reference to `strlcpy'
2018-06-14 14:46:34 -05:00
William Pitcock
2b5202dd1a
cmake: likewise
2018-06-14 14:45:33 -05:00
William Pitcock
782c88ce77
meson: set PERSONALITY_PATH to something useful
2018-06-14 14:43:01 -05:00
William Pitcock
ea98ff3e5b
not at github anymore
2018-06-04 13:13:42 -05:00
William Pitcock
ab8df57205
NEWS: mention progress on #166
2018-05-10 13:41:47 -05:00
William Pitcock
8aa662227c
main: deduce the cross-compilation triplet based on program name
2018-05-10 13:37:40 -05:00
William Pitcock
db7845b4c7
configure: fix search path for triplets
2018-05-10 13:36:49 -05:00
William Pitcock
3ccc4454d1
libpkgconf: personality: ensure the path list is properly initialized before searching for triplets
2018-05-10 13:36:22 -05:00
William Pitcock
c46868294f
cli: implement --personality
2018-05-09 22:53:55 -05:00