[arch-commits] Commit in flatpak-builder/trunk (PKGBUILD fusermount3.diff)
Jan Steffens
heftig at gemini.archlinux.org
Fri Aug 19 18:17:13 UTC 2022
Date: Friday, August 19, 2022 @ 18:17:13
Author: heftig
Revision: 454052
1.2.2-3: FS#75649 Use fusermount3
Added:
flatpak-builder/trunk/fusermount3.diff
Modified:
flatpak-builder/trunk/PKGBUILD
------------------+
PKGBUILD | 19 +++++++++++++------
fusermount3.diff | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-19 16:00:32 UTC (rev 454051)
+++ PKGBUILD 2022-08-19 18:17:13 UTC (rev 454052)
@@ -2,24 +2,28 @@
pkgname=flatpak-builder
pkgver=1.2.2
-pkgrel=2
+pkgrel=3
pkgdesc="Tool to build flatpaks from source"
url="https://flatpak.org"
arch=(x86_64)
license=(LGPL)
depends=(flatpak binutils elfutils unzip tar git bzr patch rpmextract cpio
- appstream-glib)
+ appstream-glib fuse3)
makedepends=(gobject-introspection git docbook-xsl xmlto)
checkdepends=(valgrind)
replaces=('flatpak<0.9.10')
options=(debug)
_commit=4e9fb6a3e6c405f10797f12cc5c8c0a6ce99282d # tags/1.2.2^0
-source=("git+https://github.com/flatpak/flatpak-builder#commit=$_commit"
- "git+https://gitlab.gnome.org/GNOME/libglnx.git"
- "git+https://sourceware.org/git/debugedit.git")
+source=(
+ "git+https://github.com/flatpak/flatpak-builder#commit=$_commit"
+ "git+https://gitlab.gnome.org/GNOME/libglnx.git"
+ "git+https://sourceware.org/git/debugedit.git"
+ fusermount3.diff
+)
sha256sums=('SKIP'
'SKIP'
- 'SKIP')
+ 'SKIP'
+ '984ea70ac2c5794c758523aba9c1f643dc21fb01db4ed962987935a454d521a7')
pkgver() {
cd $pkgname
@@ -29,6 +33,9 @@
prepare() {
cd $pkgname
+ # https://bugs.archlinux.org/task/75649
+ git apply -3 ../fusermount3.diff
+
git submodule init
git submodule set-url libglnx "$srcdir/libglnx"
git submodule set-url debugedit "$srcdir/debugedit"
Added: fusermount3.diff
===================================================================
--- fusermount3.diff (rev 0)
+++ fusermount3.diff 2022-08-19 18:17:13 UTC (rev 454052)
@@ -0,0 +1,35 @@
+diff --git i/src/builder-context.c w/src/builder-context.c
+index ea4d7fc9..aa094479 100644
+--- i/src/builder-context.c
++++ w/src/builder-context.c
+@@ -792,7 +792,7 @@ static char *rofiles_unmount_path = NULL;
+ static void
+ rofiles_umount_handler (int signum)
+ {
+- char *argv[] = { "fusermount", "-uz", NULL,
++ char *argv[] = { "fusermount3", "-uz", NULL,
+ NULL };
+
+ argv[2] = rofiles_unmount_path;
+@@ -929,7 +929,7 @@ gboolean
+ builder_context_disable_rofiles (BuilderContext *self,
+ GError **error)
+ {
+- char *argv[] = { "fusermount", "-u", NULL,
++ char *argv[] = { "fusermount3", "-u", NULL,
+ NULL };
+
+ if (!self->use_rofiles)
+diff --git i/tests/libtest.sh w/tests/libtest.sh
+index 0384c499..07ef5f7c 100644
+--- i/tests/libtest.sh
++++ w/tests/libtest.sh
+@@ -296,7 +296,7 @@ run_sh () {
+ # fuse support is needed (and the kernel module needs to be loaded) for several
+ # flatpak-builder tests
+ skip_without_fuse () {
+- if [ ! -w /dev/fuse ] || ! command -v fusermount >/dev/null; then
++ if [ ! -w /dev/fuse ] || ! command -v fusermount3 >/dev/null; then
+ echo "1..0 # SKIP this test requires fuse support"
+ exit 0
+ fi
More information about the arch-commits
mailing list