meson.build

Branch


Log

Author Commit Date CI Message
Ariadne Conill 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>
Mike L 1550bf53 2025-06-25T22:23:13 build: add -D_DARWIN_C_SOURCE
Ariadne Conill 4fc570f9 2025-06-24T15:49:00 pkgconf 2.5.1.
Ariadne Conill 204ad5e4 2025-06-18T21:56:01 pkgconf 2.5.0. Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Ariadne Conill 505f3102 2025-06-04T12:50:56 meson: add bomtool to build targets Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Ariadne Conill 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>
Marc-André Lureau 6fe94588 2025-05-30T17:53:15 ci: enable back MSI build Drop mingw32 arch build, see: https://github.com/msys2/MINGW-packages/issues/24419
Marc-André Lureau 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>
Ariadne Conill 2ad2eaa4 2025-05-17T23:50:39 build: bump libpkgconf SOVERSION to 7 Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Ariadne Conill 230b45c0 2025-05-03T22:04:09 build: add stub functions for pledge and unveil Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Filipe Laíns 664b53d5 2025-04-02T03:43:51 build: add -D_POSIX_C_SOURCE=200809L Signed-off-by: Filipe Laíns <lains@riseup.net>
Ariadne Conill 1d37e711 2025-03-07T16:37:15 pkgconf 2.4.3.
Ariadne Conill 7e59a32a 2025-03-06T14:29:11 pkgconf 2.4.1.
Ariadne Conill 38053395 2025-03-05T17:03:55 pkgconf 2.4.0. Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Ariadne Conill 866df023 2025-03-05T17:02:00 build: increase libpkgconf SOVERSION to 6 Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Ariadne Conill 9d94f4d2 2025-02-18T16:23:45 meson: define kyua/atf-sh binary dependencies as native They are used to run tests on the host. Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
Ariadne Conill 10017500 2024-12-09T19:49:50 libpkgconf: add buffer management functions Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
rentianyue-jk 8c479a83 2024-08-08T10:34:38 meson: add support for _DEFAULT_SOURCE
Ariadne Conill a88c0d96 2024-08-07T00:10:13 pkgconf 2.3.0.
Ariadne Conill 06120a87 2024-03-27T11:34:36 pkgconf 2.2.0
Ariadne Conill a3d7ecb3 2024-03-27T11:31:48 Use libpkgconf.so.5 due to ABI changes
Kai Pastor b6e04e2d 2023-12-11T06:58:17 pkgconf 2.1.1
Ariadne Conill 61d39ad8 2023-11-22T18:46:19 pkgconf 2.1.0.
L. E. Segovia a7c29fec 2023-09-13T14:49:11 meson: Add with-system options Fixes #283
Ariadne Conill a6fb59a0 2023-09-02T21:15:46 pkgconf 2.0.3. Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
Ariadne Conill eaa4bb44 2023-08-17T11:56:08 pkgconf 2.0.2.
Ariadne Conill 6a84d704 2023-08-11T14:23:08 pkgconf 2.0.1. Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
Ariadne Conill de51b03c 2023-08-04T08:45:16 pkgconf 2.0.0.
Ariadne Conill 094dc384 2023-05-02T12:10:54 pkgconf 1.9.5. Signed-off-by: Ariadne Conill <ariadne@dereferenced.org>
Harmen Stoppels f7bebba6 2023-04-24T15:50:00 fix meson.build Co-authored-by: Ariadne Conill <ariadne@dereferenced.org>
Ariadne Conill 873e51aa 2023-01-22T04:56:44 pkgconf 1.9.4.
Dylan Baker fa803c7e 2022-08-17T11:05:55 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. This does require a modest bump in the required meson version to 0.49, which was released at the end of 2018, so roughly 4 years ago.
Ariadne Conill 8754bdfe 2022-08-16T19:50:26 pkgconf 1.9.3.
Ariadne Conill af9b26c1 2022-08-08T10:03:15 pkgconf 1.9.2.
Ariadne Conill 1a66d963 2022-08-08T00:44:23 pkgconf 1.9.1.
Ariadne Conill d8d669f6 2022-08-07T04:47:04 pkgconf 1.9.0.
Ariadne Conill 23556ff8 2022-08-07T04:46:35 Bump libpkgconf SOVERSION for 1.9.0 changes.
Dylan Baker 125a13d3 2022-08-03T12:01:47 meson: add -Wmisleading-indentation A useful warning when loop and conditional statements are allowed without braces.
Dylan Baker c04097e4 2022-07-29T10:48:05 meson: pass configured files idiomatically Instead of attempting to figure out what the paths will be, take the returned file object and pass that around, meson will then automatically figure out the correct paths.
Dylan Baker 06fe2e23 2022-07-29T10:40:54 meson: use current_source_dir and current_build_dir instead of *_root The latter doesn't work correctly when being used as a subproject, as it returns the *absolute* root. So if pkgconf is being built as part of muon, then it will return muon's source root. current_source_dir, on the other hand returns the directory correctly whether being built as a subproject or superproject.
Dylan Baker 1f993bc0 2022-07-29T10:38:35 meson: use string methods to avoid repeating data Instead of writing `['HAVE_FOO_H', 'foo.h']`, use meson's string methods to just write `['foo.h']`, and let meson create `HAVE_FOO_H` for us.
Dylan Baker f947af05 2022-07-29T10:31:49 meson: use str.format for improved readability
Dylan Baker 5ba74dec 2022-07-29T10:28:27 meson: use straight indexing instead of array.get() It's more terse, and we don't need the support of a fallback value.
Dylan Baker 4a2c9c28 2022-07-28T16:01:52 meson: use C99 as the standard autoconf uses either C99 or Gnu99. Meson does not provide a graceful way to select gnu99 if possible or c99 (though there are several proposals currently happening to get there), so I've selected c99 as the conservative default. Without this, the compiler uses whatever it's default happens to be, which may or may not work out correctly, and hides bugs from CI that are present with c99 as the default.
Dylan Baker 40ec0859 2022-07-29T10:20:29 meson: add warning for implicit-function-declarations This would be triggered without the previous addition of -D_BSD_SOURCE for strdup, among others
Dylan Baker 71974d8c 2022-07-29T10:18:59 meson: Add _BSD_SOURCE and _DEFAULT_SOURCE To avoid warnings about string functions like strdup which are otherwise undefined, but succeed at linking anyway when the C standard is c99.
Ariadne Conill 4c76f6bf 2022-06-26T04:33:47 meson: check for reallocarray it is needed for the new cache code
Ariadne Conill 40131312 2022-02-21T04:41:08 meson: check for strdup, strcasecmp, strncasecmp
Ariadne Conill cc4ccc14 2022-02-21T04:39:49 meson: use _BSD_SOURCE for checking for symbols
Dylan Baker 1044bb57 2021-11-11T18:39:56 meson: make use of override_dependency() if possible This allows simplifying the subproject override to simply ```meson dependency('libpkgconf') ```
Dylan Baker 72c59b89 2021-11-11T18:35:54 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.
Ariadne Conill cef30268 2021-07-24T20:40:52 pkgconf 1.8.0.
Ariadne Conill 4e73e37d 2021-07-24T19:56:46 meson: fix non-static build
Ariadne Conill 76968a4f 2021-07-24T19:45:07 fix static builds on Windows with Meson Fixes #222
Christoph Reiter 4be39c59 2021-03-19T16:59:02 Remove usage of cygwin_conv_path() under cygwin/msys This converted Unix paths to Windows paths, but all cygwin tools work with Unix paths so this shouldn't be needed. There is one use case if you use a cygwin pkgconf with a non-cygwin toolchain, but pkgconf works reasonable well natively now so this shouldn't be needed anymore and more likely leads to problems and confusion. Both cygwin and msys have patched this out already: * https://cygwin.com/git-cygwin-packages/?p=git/cygwin-packages/pkgconf.git;a=blob;f=pkgconf.cygport;h=e5d003f3f3dfc9e374b916974018022ad8d68852;hb=HEAD#l55 * https://github.com/msys2/MSYS2-packages/blob/a4bce0c2943109e7d06c8660d91b89065eb09bea/pkgconf/PKGBUILD#L26
Ariadne Conill 458101e7 2021-03-18T07:03:28 pkgconf 1.7.4.
Christoph Reiter 78a77dd4 2020-11-28T15:22:28 meson: install README.md/AUTHORS to share/doc/pkgconf To mirror what the autotools build does.
Christoph Reiter 0526364b 2020-11-28T15:21:02 meson: allow building a static version of libpkgconf when using library() instead of shared_library() the user can decide to build a shared or static version, or both. The default is still shared as before. This mirrors what the autotools based build sysstem can do.
Christoph Reiter a69bdfa2 2020-11-28T15:20:25 meson: generate a .pc file for libpkgconf
Ariadne Conill ef135d81 2020-06-02T18:58:00 meson: remove some autotools cruft
Ariadne Conill aca06748 2020-05-30T19:17:12 pkgconf 1.7.3.
Ariadne Conill c6b93941 2020-05-26T13:46:20 pkgconf 1.7.2.
Ariadne Conill 92b09aef 2020-05-26T11:06:35 pkgconf 1.7.1.
Ariadne Conill dd57abfe 2020-05-24T14:44:01 pkgconf 1.7.0.
Ariadne Conill 82d57184 2020-05-24T14:53:37 meson: fix detection of strndup() on windows
Ariadne Conill 19aa93e3 2019-08-04T15:54:24 prepare for pkgconf 2.0 development
Ariadne Conill 061627f0 2019-07-12T08:20:05 meson: bump required version to 0.47 for copy directive
Ariadne Conill c862e030 2019-07-12T06:53:37 pkgconf 1.6.3.
Ariadne Conill c816ce69 2019-07-11T03:36:03 pkgconf 1.6.2. (closes #38, #40, #41)
William Pitcock e2fdd6f4 2019-01-14T14:12:32 pkgconf 1.6.0.
William Pitcock 7939732f 2018-07-19T17:27:02 build: install pkgconf-personality(5) manpage
William Pitcock 782c88ce 2018-06-14T14:43:01 meson: set PERSONALITY_PATH to something useful
William Pitcock 1244f8f8 2018-05-09T21:21:39 libpkgconf: refactor out the rfc822 message parser so that the cross-personality code can share it
William Pitcock 854490c5 2018-05-09T16:54:21 libpkgconf: add basic support for cross-compile personality objects
TingPing 706273c7 2018-03-07T05:28:05 meson: Add option to build without kyua for tests (#175)
TingPing 83eea876 2018-03-07T05:27:54 meson: Fix defining PKGCONF_API (#174)
William Pitcock 1e91c245 2018-02-12T00:45:55 build: chase changes for cmake & meson i hope
William Pitcock 5d6c9ba9 2018-01-05T11:18:19 build: set soversion to 3
William Pitcock 0b09c111 2017-12-07T20:07:30 main: implement a MSVC renderer (only some fragments supported) (closes #161)
William Pitcock 0d6cad31 2017-12-07T12:34:06 meson: look for atf-sh (closes #160)
William Pitcock 7fed573a 2017-12-05T19:47:11 man: finish pkg.m4(7)
William Pitcock 60df6ba3 2017-12-05T18:45:06 build: move manpages to man subdir
William Pitcock 75074635 2017-09-08T20:52:02 meson: install pkg.m4 to aclocal dir (closes #124)
William Pitcock 3ae11b1b 2017-06-24T12:40:33 meson: add kyua integration for testsuite for now
William Pitcock a928ad75 2017-06-20T16:20:30 meson: use join_paths() for kyua invocation
William Pitcock adc7f928 2017-06-20T01:23:55 meson: fix up SYSTEM_LIBDIR, SYSTEM_INCLUDEDIR, PKG_DEFAULT_PATH
William Pitcock bca82764 2017-06-20T01:11:36 meson: add some support for pulling in testsuite
William Pitcock 186545fc 2017-06-20T00:29:03 meson: fix check for HAVE_CYGWIN_CONV_PATH
William Pitcock d40a9076 2017-06-19T19:11:42 meson: clean up a few things
Jussi Pakkanen 40fd9950 2017-06-19T20:03:00 Experiment to build with Meson (#119) * Initial Meson build definitions. * Install man page and headers.