[neon/backports-focal/xdg-desktop-portal/Neon/unstable] debian: New upstream development release

Simon McVittie null at kde.org
Wed Jan 13 06:32:42 GMT 2021


Git commit c8e22c31666b90bbd7551fd5564fce85aa8a7d48 by Simon McVittie.
Committed on 03/04/2020 at 18:40.
Pushed by ash into branch 'Neon/unstable'.

New upstream development release

* Drop patch skipping FUSE tests if necessary,
  upstream made an equivalent change

M  +8    -0    debian/changelog
M  +1    -1    debian/patches/Revert-Stop-building-the-icon-validator.patch
M  +0    -1    debian/patches/series
D  +0    -112  debian/patches/tests-Skip-more-tests-if-FUSE-doesn-t-work.patch

https://invent.kde.org/neon/backports-focal/xdg-desktop-portal/commit/c8e22c31666b90bbd7551fd5564fce85aa8a7d48

diff --git a/debian/changelog b/debian/changelog
index cd9443e..2769dfd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+xdg-desktop-portal (1.7.2-1) UNRELEASED; urgency=medium
+
+  * New upstream development release
+  * Drop patch skipping FUSE tests if necessary,
+    upstream made an equivalent change
+
+ -- Simon McVittie <smcv at debian.org>  Fri, 03 Apr 2020 19:39:53 +0100
+
 xdg-desktop-portal (1.7.1-1) experimental; urgency=medium
 
   * New upstream development release
diff --git a/debian/patches/Revert-Stop-building-the-icon-validator.patch b/debian/patches/Revert-Stop-building-the-icon-validator.patch
index c46c52c..6b6ea61 100644
--- a/debian/patches/Revert-Stop-building-the-icon-validator.patch
+++ b/debian/patches/Revert-Stop-building-the-icon-validator.patch
@@ -11,7 +11,7 @@ This reverts commit 2fb498f92f8e1c41049dedf887690083fa12f6d1.
  create mode 100644 src/validate-icon.c
 
 diff --git a/configure.ac b/configure.ac
-index 6dc4bba..8182b28 100644
+index 181caef..41f5b72 100644
 --- a/configure.ac
 +++ b/configure.ac
 @@ -175,6 +175,7 @@ fi
diff --git a/debian/patches/series b/debian/patches/series
index 120db61..c135245 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,4 +3,3 @@ tests-Always-produce-verbose-output-from-subprocesses.patch
 Revert-Stop-building-the-icon-validator.patch
 validate-icon-Add-a-define-for-bwrap.patch
 Replace-the-icon-validator-with-the-one-from-Flatpak-1.6..patch
-tests-Skip-more-tests-if-FUSE-doesn-t-work.patch
diff --git a/debian/patches/tests-Skip-more-tests-if-FUSE-doesn-t-work.patch b/debian/patches/tests-Skip-more-tests-if-FUSE-doesn-t-work.patch
deleted file mode 100644
index eb6e54f..0000000
--- a/debian/patches/tests-Skip-more-tests-if-FUSE-doesn-t-work.patch
+++ /dev/null
@@ -1,112 +0,0 @@
-From: Simon McVittie <smcv at debian.org>
-Date: Wed, 25 Mar 2020 14:02:29 +0000
-Subject: tests: Skip more tests if FUSE doesn't work
-
-As with test-doc-portal.c, some CI and automated build environments
-are locked-down to forbid FUSE for security or robustness reasons.
-We can't run this test there either.
-
-Capability detection recycled from flatpak.
-
-Signed-off-by: Simon McVittie <smcv at debian.org>
----
- tests/Makefile.am.inc       |  1 +
- tests/libtest.sh            | 47 +++++++++++++++++++++++++++++++++++++++++++++
- tests/test-document-fuse.sh | 16 ++++-----------
- 3 files changed, 52 insertions(+), 12 deletions(-)
- create mode 100644 tests/libtest.sh
-
-diff --git a/tests/Makefile.am.inc b/tests/Makefile.am.inc
-index 981c8d5..9d4f31b 100644
---- a/tests/Makefile.am.inc
-+++ b/tests/Makefile.am.inc
-@@ -109,6 +109,7 @@ dist_installed_test_portals_DATA = tests/portals/test.portal
- endif
- 
- dist_installed_test_data = \
-+	tests/libtest.sh \
- 	tests/session.conf.in \
- 	$(NULL)
- 
-diff --git a/tests/libtest.sh b/tests/libtest.sh
-new file mode 100644
-index 0000000..a3245e9
---- /dev/null
-+++ b/tests/libtest.sh
-@@ -0,0 +1,47 @@
-+# Source library for shell script tests
-+#
-+# Copyright (C) 2016 Alexander Larsson <alexl at redhat.com>
-+# Copyright (C) 2011 Colin Walters <walters at verbum.org>
-+#
-+# This library is free software; you can redistribute it and/or
-+# modify it under the terms of the GNU Lesser General Public
-+# License as published by the Free Software Foundation; either
-+# version 2 of the License, or (at your option) any later version.
-+#
-+# This library is distributed in the hope that it will be useful,
-+# but WITHOUT ANY WARRANTY; without even the implied warranty of
-+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-+# Lesser General Public License for more details.
-+#
-+# You should have received a copy of the GNU Lesser General Public
-+# License along with this library; if not, write to the
-+# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-+# Boston, MA 02111-1307, USA.
-+
-+if [ -n "${G_TEST_SRCDIR:-}" ]; then
-+    test_srcdir="${G_TEST_SRCDIR}"
-+else
-+    test_srcdir=$(realpath $(dirname $0))
-+fi
-+
-+if [ -n "${G_TEST_BUILDDIR:-}" ]; then
-+    test_builddir="${G_TEST_BUILDDIR}"
-+else
-+    test_builddir=$(realpath $(dirname $0))
-+fi
-+
-+# Use to skip all of these tests
-+skip() {
-+    echo "1..0 # SKIP" "$@"
-+    exit 0
-+}
-+
-+skip_without_fuse () {
-+    fusermount --version >/dev/null 2>&1 || skip "no fusermount"
-+
-+    capsh --print | grep -q 'Bounding set.*[^a-z]cap_sys_admin' || \
-+        skip "No cap_sys_admin in bounding set, can't use FUSE"
-+
-+    [ -w /dev/fuse ] || skip "no write access to /dev/fuse"
-+    [ -e /etc/mtab ] || skip "no /etc/mtab"
-+}
-diff --git a/tests/test-document-fuse.sh b/tests/test-document-fuse.sh
-index fea0245..bea845e 100755
---- a/tests/test-document-fuse.sh
-+++ b/tests/test-document-fuse.sh
-@@ -1,20 +1,12 @@
- #!/bin/bash
- 
--echo "1..2"
--
- set -e
- 
--if [ -n "${G_TEST_SRCDIR:-}" ]; then
--    test_srcdir="${G_TEST_SRCDIR}"
--else
--    test_srcdir=$(realpath $(dirname $0))
--fi
-+. "$(dirname "$0")/libtest.sh"
- 
--if [ -n "${G_TEST_BUILDDIR:-}" ]; then
--    test_builddir="${G_TEST_BUILDDIR}"
--else
--    test_builddir=$(realpath $(dirname $0))
--fi
-+skip_without_fuse
-+
-+echo "1..2"
- 
- export TEST_DATA_DIR=`mktemp -d /tmp/xdp-XXXXXX`
- mkdir -p ${TEST_DATA_DIR}/home



More information about the Neon-commits mailing list