[pacman-dev] [PATCH] bash-completion: use POSIX character classes in regular expressions

2019-06-25 Thread Eli Schwartz
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:

[pacman-dev] [PATCH 2/3] meson: use not_found_message when dependencies are not found

2019-06-25 Thread Eli Schwartz
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`

[pacman-dev] [PATCH 1/3] meson: bump the minimum supported version of meson to 0.51

2019-06-25 Thread Eli Schwartz
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

[pacman-dev] [PATCH 3/3] meson: use dependency('gpgme') exclusively

2019-06-25 Thread Eli Schwartz
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

[pacman-dev] [PATCH 0/3] meson updates

2019-06-25 Thread Eli Schwartz
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()

Re: [pacman-dev] [PATCH] makepkg: do not exit immediately on dependency install failures

2019-06-25 Thread Erich Eckner
-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

[pacman-dev] [PATCH] makepkg: do not exit immediately on dependency install failures

2019-06-25 Thread Allan McRae
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 @@

[pacman-dev] [PATCH] makepkg: remove installed packages if installation of makedepends fails

2019-06-25 Thread arch
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