Compare commits

...

5 Commits

Author SHA1 Message Date
Dylan Baker 5ca72096d2 meson: use a feature option for tests instead of boolean
This allows tests to be autodetected gracefully, which is particularly
convenient for kyua and atf_sh which are fairly painful to build and
install by hand. Those who want to ensure tests are enabled or disabled
may pass `-Dtests=enabled` or `-Dtests=disabled` respectively.
2022-08-17 11:05:55 -07:00
Ariadne Conill bddf1641f8 bomtool: fix ASan issues 2022-08-16 20:41:10 +00:00
Ariadne Conill 8754bdfe09 pkgconf 1.9.3. 2022-08-16 19:50:26 +00:00
Ariadne Conill 6a66b312b4 libpkgconf: increase API level to 10903 2022-08-16 19:49:42 +00:00
Ariadne Conill 4c38d3f60c update NEWS for pkgconf 1.9.3 2022-08-16 19:49:02 +00:00
6 changed files with 26 additions and 15 deletions

9
NEWS
View File

@ -1,6 +1,15 @@
Changes from previous version of pkgconf
========================================
Changes from 1.9.2 to 1.9.3:
----------------------------
* Fix a bunch of minor code issues pointed out using Clang static analyzer.
* New API: pkgconf_solution_free(), which frees a compiled solution graph.
* Fix behavior when overriding global variables with `--define-variable`.
Changes from 1.9.1 to 1.9.2:
----------------------------

View File

@ -356,6 +356,7 @@ main(int argc, char *argv[])
}
out:
pkgconf_solution_free(&pkg_client, &world);
pkgconf_queue_free(&pkgq);
pkgconf_cross_personality_deinit(personality);
pkgconf_client_deinit(&pkg_client);

View File

@ -12,7 +12,7 @@ dnl implied. In no event shall the authors be liable for any damages arising
dnl from the use of this software.
AC_PREREQ([2.71])
AC_INIT([pkgconf],[1.9.2],[https://github.com/pkgconf/pkgconf/issues/new])
AC_INIT([pkgconf],[1.9.3],[https://github.com/pkgconf/pkgconf/issues/new])
AC_CONFIG_SRCDIR([cli/main.c])
AC_CONFIG_MACRO_DIR([m4])
AX_CHECK_COMPILE_FLAG([-Wall], [CFLAGS="$CFLAGS -Wall"])

View File

@ -79,8 +79,8 @@ typedef struct pkgconf_cross_personality_ pkgconf_cross_personality_t;
#define PKGCONF_FOREACH_LIST_ENTRY_REVERSE(tail, value) \
for ((value) = (tail); (value) != NULL; (value) = (value)->prev)
#define LIBPKGCONF_VERSION 10902
#define LIBPKGCONF_VERSION_STR "1.9.2"
#define LIBPKGCONF_VERSION 10903
#define LIBPKGCONF_VERSION_STR "1.9.3"
struct pkgconf_fragment_ {
pkgconf_node_t iter;

View File

@ -1,7 +1,7 @@
project('pkgconf', 'c',
version : '1.9.2',
version : '1.9.3',
license : 'ISC',
meson_version : '>=0.47',
meson_version : '>=0.49',
default_options : ['c_std=c99'],
)
@ -117,13 +117,12 @@ pkgconf_exe = executable('pkgconf',
c_args: build_static,
install : true)
if get_option('tests')
kyua_exe = find_program('kyua')
atf_sh_exe = find_program('atf-sh')
kyuafile = configure_file(input : 'Kyuafile.in', output : 'Kyuafile', configuration : cdata)
test('kyua', kyua_exe, args : ['--config=none', 'test', '--kyuafile', kyuafile, '--build-root', meson.current_build_dir()])
subdir('tests')
endif
with_tests = get_option('tests')
kyua_exe = find_program('kyua', required : with_tests, disabler : true)
atf_sh_exe = find_program('atf-sh', required : with_tests, disabler : true)
kyuafile = configure_file(input : 'Kyuafile.in', output : 'Kyuafile', configuration : cdata)
test('kyua', kyua_exe, args : ['--config=none', 'test', '--kyuafile', kyuafile, '--build-root', meson.current_build_dir()])
subdir('tests')
install_man('man/pkgconf.1')
install_man('man/pkg.m4.7')

View File

@ -1,3 +1,5 @@
option('tests', type: 'boolean', value: true,
description: 'Build tests which depends upon the kyua framework'
)
option(
'tests',
type: 'feature',
description: 'Build tests which depends upon the kyua framework',
)