From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id uFyVGRD0k2bQpgAAqHPOHw:P1 (envelope-from ) for ; Sun, 14 Jul 2024 15:51:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id uFyVGRD0k2bQpgAAqHPOHw (envelope-from ) for ; Sun, 14 Jul 2024 17:51:44 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=i4XjrC1n; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=sld49c+t; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720972304; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rX9irR488r5y35L0eiig31L70Ozwpw2kA+8uBuVclJM=; b=GiFtJe+tI12lJjQXgsDu9VB9WomfrEwXAwCTDNJwXhbZhYD2Z4TvmpXZRvwl/gbpFjvnVJ 8/3HmJaQMoZsbW2QAS++qXAP7T8id7WgpT2SMkil69fd+Is/Hdl3be9sUKGT12WaRJDHVn ePyxwe4PMV01SckLOt9k5RVTAaA2aiXWE9+tLQyqhCpEYV3uU4zwLFrBC8mNXmb0xkRhwQ RIJOgmXsvh+R1IB6G+EicSmxajXB6gO/QCsWa01TGAe7kKTk3tgHaaxVvrpguPnMsy/9UE BalVBYTdf51t8XC/0BizmEGQdjmHfTr+Ntu5w7dkZjV6Wfrg3X4RqcRT01d/oA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=i4XjrC1n; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=sld49c+t; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720972304; a=rsa-sha256; cv=none; b=PaHRyWBSD30zX3w6a2Ef3bN7dsW0HWX4Nf8hXXAvIUZKC3a/ti47NVv0xs1Gr61zQJilfD 9VRVxjmEKsnMeDOCVzu0ma8MipT+7XpbTCIqwBr4uArvxvmTQTW5HOMqWaG6Mw0hezmSO/ 2HLY3pxhAL0xC/GTMONlCL1bLagaPQ/Cs+b81uJfA61SOSaoY9p4EnGq+tCgpmJoyyOb1z /FRe9ZJ5U6tgxuKKlSCyMaXJ103PHuCu7gZXdZqTeMaqHXhNyd7h/pMYi8MXT4n9kPyGe+ dANhovD+piVyYaT81TWgiU3GaM3HnA+mZ+IxHWjgOHIKHjcvQZqCy4D9ErnKkQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id ECEDB173B9 for ; Sun, 14 Jul 2024 17:51:43 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sT1V8-00068u-FB; Sun, 14 Jul 2024 11:51:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sT1V6-000675-Tq for guix-patches@gnu.org; Sun, 14 Jul 2024 11:51:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sT1V6-0004ct-Kf for guix-patches@gnu.org; Sun, 14 Jul 2024 11:51:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sT1V7-000233-Vn; Sun, 14 Jul 2024 11:51:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH v5 1/6] gnu: xdg-desktop-portal: Update to 1.18.4. References: <2d3ccba28b9d4ff2168394bd7b3bff552e4d2183.1719897489.git.i@dan.games> In-Reply-To: <2d3ccba28b9d4ff2168394bd7b3bff552e4d2183.1719897489.git.i@dan.games> Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: i@dan.games, maxim.cournoyer@gmail.com, liliana.prikler@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 14 Jul 2024 15:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71897 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71897@debbugs.gnu.org Cc: dan , Maxim Cournoyer , Liliana Marie Prikler X-Debbugs-Original-Xcc: dan , Maxim Cournoyer , Liliana Marie Prikler Received: via spool by 71897-submit@debbugs.gnu.org id=B71897.17209722167759 (code B ref 71897); Sun, 14 Jul 2024 15:51:01 +0000 Received: (at 71897) by debbugs.gnu.org; 14 Jul 2024 15:50:16 +0000 Received: from localhost ([127.0.0.1]:58430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sT1UN-000213-Gi for submit@debbugs.gnu.org; Sun, 14 Jul 2024 11:50:16 -0400 Received: from fhigh1-smtp.messagingengine.com ([103.168.172.152]:39993) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sT1UK-00020o-PF for 71897@debbugs.gnu.org; Sun, 14 Jul 2024 11:50:14 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfhigh.nyi.internal (Postfix) with ESMTP id A311A114048D for <71897@debbugs.gnu.org>; Sun, 14 Jul 2024 11:50:05 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Sun, 14 Jul 2024 11:50:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm3; t=1720972205; x=1721058605; bh=rX9irR488r 5y35L0eiig31L70Ozwpw2kA+8uBuVclJM=; b=i4XjrC1njgoDO2L+ALJjYkx40g J0RIuaqAHf77ruc71z40ZbP+39V05O7l2umAPNCKlNi/QM7YhZorPAAYbtJOdsc9 A8bHp2t4YGHbu6NyVu+gTaIOxqp8WjRsLayRLhno3QQcJv9EQSLv738I5GZQ4jhU P2DKo7P25kB8EyBCFs/DU66j9z6DF5+yT7bQ/QPuDzcsqXfgKeZa6nav7K76fv1g 06pqqGpC36gi2MtkidoCyTb+Fx+KW1kv4BNNYGDTmR4luO0nDwRrMH9aPF3wNp5S HnMV0+JoC+WBmPIsJ+KgpiGbbeNbJTywR35f1mBFSyIq3idjxH4oN3bbOe5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1720972205; x=1721058605; bh=rX9irR488r5y35L0eiig31L70Ozw pw2kA+8uBuVclJM=; b=sld49c+tcdaca+/aq2epaKXIHg46gRtS6VoOz2ElM65U 0fgQTP0HesURTBKXeNw41GX0qr1/Z/y4jv5VAIZ0zLgjJgq07HE58xs8P4uA6laO wdn9DnOH+Ll+yoTZE1mRjENAGJsFUYETYHX1lS9e4IFAZAKC6dQOO6QHmX2vRKVQ 4SxRqASvHIh9y4VOu6kCZY1vLIAME7ynuTmfwahw5NXl/MWT+m+nsKOOy5+QT/ue 2wswY2p/Rrn2lINU43TcmtYuZ0UKDHtJ4hP8ODxl83hbYCsf7oj8G/UpjkQLyETI HJ5lsAbuyuHqN69PQX0u0un2JTlxsM3/CnAdhwMn8Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrgedtgdelgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffogggtgfesthekredtre dtjeenucfhrhhomhepuggrnhcuoehisegurghnrdhgrghmvghsqeenucggtffrrghtthgv rhhnpeegjeehgffggffgieehkedvkeevtefgjeetfedutdefvedttedutdefheehhfdthe enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehisegu rghnrdhgrghmvghs X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <71897@debbugs.gnu.org>; Sun, 14 Jul 2024 11:50:03 -0400 (EDT) From: dan Date: Sun, 14 Jul 2024 23:48:58 +0800 Message-ID: <86d68b5e47edc7d9be9cceff7941087131340ffa.1720972086.git.i@dan.games> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: ECEDB173B9 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -3.00 X-Spam-Score: -3.00 X-TUID: M/nDc7937gDw * gnu/packages/patches/xdg-desktop-portal-disable-portal-tests.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/freedesktop.scm (xdg-desktop-portal): Update to 1.18.4. [patches]: Disable portal tests. [native-inputs]: Remove autoconf, automake, libtool and which. Add python, python-dbusmock, python-pytest and python-pytest-xdist. [inputs]: Add bubblewrap. [phases]<#:configure-flags>: Update flags to meson options. Change-Id: Ic9876565e9119443fedd082273be4f372ebce1d4 --- gnu/local.mk | 1 + gnu/packages/freedesktop.scm | 25 +++++---- ...-desktop-portal-disable-portal-tests.patch | 56 +++++++++++++++++++ 3 files changed, 72 insertions(+), 10 deletions(-) create mode 100644 gnu/packages/patches/xdg-desktop-portal-disable-portal-tests.patch diff --git a/gnu/local.mk b/gnu/local.mk index e584e426d0..7672c9fef0 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2246,6 +2246,7 @@ dist_patch_DATA = \ %D%/packages/patches/wordnet-CVE-2008-3908-pt2.patch \ %D%/packages/patches/wpa-supplicant-dbus-group-policy.patch \ %D%/packages/patches/x265-arm-flags.patch \ + %D%/packages/patches/xdg-desktop-portal-disable-portal-tests.patch\ %D%/packages/patches/xdg-desktop-portal-wlr-harcoded-length.patch\ %D%/packages/patches/xen-docs-use-predictable-ordering.patch \ %D%/packages/patches/xen-remove-config.gz-timestamp.patch \ diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index 6941450436..2015ee46f8 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2022 Samuel Culpepper ;;; Copyright © 2024 aurtzy ;;; Copyright © 2024 Dariqq +;;; Copyright © 2024 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -133,6 +134,7 @@ (define-module (gnu packages freedesktop) #:use-module (gnu packages tls) #:use-module (gnu packages valgrind) #:use-module (gnu packages video) + #:use-module (gnu packages virtualization) #:use-module (gnu packages w3m) #:use-module (gnu packages web) #:use-module (gnu packages xdisorg) @@ -2989,7 +2991,7 @@ (define-public libportal (define-public xdg-desktop-portal (package (name "xdg-desktop-portal") - (version "1.16.0") + (version "1.18.4") (source (origin (method url-fetch) @@ -2998,18 +3000,21 @@ (define-public xdg-desktop-portal version "/xdg-desktop-portal-" version ".tar.xz")) (sha256 (base32 - "06cczlh39kc41rvav06v37sad827y61rffy3v29i918ibj8sahav")))) - (build-system gnu-build-system) + "0r8y8qmzcfj7b7brqcxr9lg8pavfds815ffvj0kqc378fhgaln5q")) + ;; disable portal tests since they try to use fuse + (patches (search-patches "xdg-desktop-portal-disable-portal-tests.patch")))) + (build-system meson-build-system) (native-inputs `(("pkg-config" ,pkg-config) - ("autoconf" ,autoconf) - ("automake" ,automake) - ("libtool" ,libtool) ("glib:bin" ,glib "bin") - ("which" ,which) - ("gettext" ,gettext-minimal))) + ("gettext" ,gettext-minimal) + ("python" ,python) + ("python-dbusmock" ,python-dbusmock) + ("python-pytest" ,python-pytest) + ("python-pytest-xdist" ,python-pytest-xdist))) (inputs - `(("gdk-pixbuf" ,gdk-pixbuf) + `(("bubblewrap" ,bubblewrap) + ("gdk-pixbuf" ,gdk-pixbuf) ("glib" ,glib) ("flatpak" ,flatpak) ("fontconfig" ,fontconfig) @@ -3021,7 +3026,7 @@ (define-public xdg-desktop-portal ("fuse" ,fuse))) (arguments `(#:configure-flags - (list "--with-systemd=no") + (list "-Dsystemd=disabled") #:phases (modify-phases %standard-phases (add-after 'unpack 'po-chmod diff --git a/gnu/packages/patches/xdg-desktop-portal-disable-portal-tests.patch b/gnu/packages/patches/xdg-desktop-portal-disable-portal-tests.patch new file mode 100644 index 0000000000..5e13493613 --- /dev/null +++ b/gnu/packages/patches/xdg-desktop-portal-disable-portal-tests.patch @@ -0,0 +1,56 @@ +From b7750fa99c31c5f28ac2053fa154bef4038b5cc0 Mon Sep 17 00:00:00 2001 +From: dan +Date: Tue, 2 Jul 2024 19:37:38 +0800 +Subject: [PATCH] tests: remove portal tests. + +--- + tests/meson.build | 24 ------------------------ + 1 file changed, 24 deletions(-) + +diff --git a/tests/meson.build b/tests/meson.build +index a2dafee..bcd87be 100644 +--- a/tests/meson.build ++++ b/tests/meson.build +@@ -181,18 +181,6 @@ portal_tests = [ + + test_env = env_tests + test_env.set('XDG_CURRENT_DESKTOP', 'test') +-foreach p : portal_tests +- test( +- 'test-portals-@0@'.format(p), +- test_portals, +- args: ['--verbose', '--keep-going', '--tap', '-p', '/portal/@0@'.format(p)], +- depends: [test_backends, test_portals], +- env: test_env, +- is_parallel: false, +- protocol: test_protocol, +- suite: 'portals', +- ) +-endforeach + + # Split the portal tests into one test per portal, this makes debugging a lot + # easier. +@@ -204,18 +192,6 @@ portal_limited = [ + + limited_env = env_tests + limited_env.set('XDG_CURRENT_DESKTOP', 'limited') +-foreach p : portal_limited +- test( +- 'limited-portals-@0@'.format(p), +- limited_portals, +- args: ['--verbose', '--keep-going', '--tap', '-p', '/limited/@0@'.format(p)], +- depends: [test_backends, limited_portals], +- env: limited_env, +- is_parallel: false, +- protocol: test_protocol, +- suite: 'portals', +- ) +-endforeach + + if enable_installed_tests + install_data( + +base-commit: 11c8a96b147aeae70e3f770313f93b367d53fedd +-- +2.41.0 + base-commit: 3b5533f9bdac4a929c3d93e628ee2ae279013685 -- 2.41.0