bash uses POSIX extended regular expressions via regex(3), which does
not guarantee support for shorthand character classes. Although glibc
supports it, msys2-runtime does not.
Make sure the completion script works (hopefully) everywhere by being
more portable.
Fixes:
The default state of `dependency()` is `required: true`, which means if
a dependency is not found, meson immediately aborts and does not log our
`error()` messages. meson 0.50 has builtin support for dependencies with
custom error messages.
The alternative would be to specify `required: false`
We haven't reached our first public release of the meson build backend
yet, so we have lots of flexibility for this... and build dependencies
are easier to upgrade than runtime dependencies anyway.
Updating meson allows us to make use of a bunch of new features that
rewquire the latest version of
This works everywhere that gpgme >= 1.13.0 because it is a pkg-config
dependency, and meson 0.51 adds a fallback config-tool dependency
provider that detects older versions of gpgme seamlessly via
gpgme-config.
Signed-off-by: Eli Schwartz
---
25 lines gone, if only we could do the same to
Let's take advantage of the latest version of meson to make our
meson.build smaller!
New in 0.51 is also the dep.get_variable() function which is
"a generic replacement for type specific variable getters"
but I decided not to bother using it since it doesn't actually make
get_pkgconfig_variable()
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
On Tue, 25 Jun 2019, Allan McRae wrote:
Fixes FS#63000
Signed-off-by: Allan McRae
---
scripts/makepkg.sh.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index
Fixes FS#63000
Signed-off-by: Allan McRae
---
scripts/makepkg.sh.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index aa03e9d9..43484db3 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -273,7 +273,7 @@
From: Erich Eckner
When makepkg fails to install makedepends=() or checkdepends=(), it
should still remove installed depends=() packages iff RMDEPS is set. To
correctly do this, it needs to remember the installed packages after
successfully installing depends=().
Signed-off-by: Erich Eckner