Commit Graph

10 Commits

Author SHA1 Message Date
Daiki Ueno
1b1a7d1e48 meson: Simplify libgcrypt detection
Meson has native support for the libgcrypt-config program if pkgconfig
file is not provided.
2019-10-11 14:33:14 +02:00
Xi Ruoyao
c4fb5f033f build: Fix FTBFS using meson without valgrind
Now with meson build system libsecret FTBFS without valgrind installed.
Two issues: (1) egg-testing.c depends on valgrind/valgrind.h unnecessarily;
(2) we forgot to add "build" directory as a header directory for meson.

This commit resolves both of them.
2019-09-20 23:32:14 +08:00
Daiki Ueno
f576dfbe50 Release 0.19.1 2019-09-06 10:49:35 +02:00
Daiki Ueno
be541cf9d4 Release 0.19.0 2019-09-05 09:42:11 +02:00
Daiki Ueno
a4ea97d6e6 build: Simplify pathname handling
This switches to using relative paths as much as possible, and the "/"
shorthand for join_paths.
2019-07-25 19:59:01 +02:00
Daiki Ueno
555407a448 build: Bump meson_version to 0.50
To suppress the warning:

  WARNING: Project targetting '>= 0.48' but tried to use feature
  introduced in '0.50.0': install arg in configure_file
2019-07-24 06:10:13 +02:00
Niels De Graef
b7d593784c Ensure the Meson build also supports private memory
The meson build does not check for `mlock()` and define `HAVE_MLOCK`.

Fixes https://gitlab.gnome.org/GNOME/libsecret/issues/23
2019-05-13 19:41:48 +00:00
Emmanuele Bassi
4621039c26 meson: Check for gcrypt with pkg-config first
Some distributions patch libgcrypt to provide a pkg-config file, and
disable libgcrypt-config. One of these distributions is Yocto, which we
use as the basis for the GNOME Continuous build environment.

We should check if there's a pkg-config file available for gcrypt, and
use it, falling back to libgcrypt-config if the pkg-config file is not
found.
2019-05-11 07:15:34 +00:00
Kouhei Sutou
20329fc3b4 meson: Bump version 2019-05-07 11:28:51 +00:00
Niels De Graef
b19c309096 Add build support for Meson
To build with meson, use the following commands:

```
$ meson build
$ ninja -C build
 # in case you want to install
$ ninja -C build install
```
2019-01-19 21:03:56 +00:00