From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ECOmHOkB8GbixgAAe85BDQ:P1 (envelope-from ) for ; Sun, 22 Sep 2024 11:39:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id ECOmHOkB8GbixgAAe85BDQ (envelope-from ) for ; Sun, 22 Sep 2024 13:39:21 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NkWmKzm9; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=IgLhoWP5; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=NMKhvsf8; 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=1727005161; 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=jBhecTmEMOtRYUpKGur6CWc+Yy+LlXKajT9e6+N+EUw=; b=YITJsw/ExU/AQQrBQFX+j/owWtbJFHG1wgJvB9l5BreS97zHZAqJyE7dC9QOOZdv+VcYmU KZtag+9VnXknOV6Z+osWfXvL4+NsRskPj7qx//tcV6KM10NS66TDy3NsgBaGPTvk7pvip1 8KkasP/NJvqGQEYtnbT/51Z6l7n7VeaLi1LzYCZI+fpZmiBbzrK/gHrb44yIB205558db5 rrFnf8S7CJg2RS8PnH66dtp0+qWNo4jOc/ib0BI9AsoO2gmd8avJla8BY9U24aERxzRQuo eCyLjsBU7/mCLbVD+3UyIS3aGsG1M5GQWLhUo0ZHR+bj8YSMD5rjiMKTprLQvg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=NkWmKzm9; dkim=fail ("headers rsa verify failed") header.d=dan.games header.s=fm3 header.b=IgLhoWP5; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=NMKhvsf8; 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=1727005161; a=rsa-sha256; cv=none; b=uBHK2g6axJUDbfoCeznaSOOLejIQx40GDfsW2JwoG9B9XdYgPtaQPzph5gsBAfsmR1CiUx ZGsf/0ZOt3t+AePNhBi/DlUPjUIJmo6tAZnvVSCJORKsus2p6YyAN3twPQluAhc5Cc5D1r EJPnF0eH3Gs78gw3gTAWRXTHyfhIyhJKtcsWW8Gla+bw9azOPaVZUeFMM1Q9kvOdaFm7ny 0/hjK9su49AVEqYTy3EoxHtBQQdSzWUlR4AsXwXjGXyw7jFm/2OGCzq9vmkVMzGzcuc3Lw kXo7D+CssPe5BK4ha0N78NpA3Cm+5Kxs2SWTyAk9/SajgavFjaLjQcPzIXoJiw== 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 356F869598 for ; Sun, 22 Sep 2024 13:39:21 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ssKvj-00018L-M3; Sun, 22 Sep 2024 07:39:07 -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 1ssKvN-00015X-2D for guix-patches@gnu.org; Sun, 22 Sep 2024 07:38:49 -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 1ssKvJ-0008E2-St for guix-patches@gnu.org; Sun, 22 Sep 2024 07:38:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=jBhecTmEMOtRYUpKGur6CWc+Yy+LlXKajT9e6+N+EUw=; b=NkWmKzm9fyPpORt79JWUCjFC1nVA7jUMxpwon1td42kNYf+ZYsbIQyg6dxGOt/hVuGWj+eCcFE38a+qHFI8HqB8LB61M0tqIKBkd20zkGrxIulbryQMbNdtPkilEefgYSfz68bR9FMqp/rjUdnDHih0O/CfnLwTQrXg2uUc8losSR9xRdlgxaDXLRWOjiPkcaJLYg9D2iihDf+gOdaCdFpUA9MBaccjAet8X1T71Zrnp2DCCNcS+zhM9RU+0tgUXViJsR994nTBHiZYru7sRHu3ucBidpshYIeJDJUr7JwHt9vraDJrCSBBKvTUvRo0t72tFt9Nlo/q8O/ZknXBpwA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ssKve-0004tc-OR; Sun, 22 Sep 2024 07:39:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71897] [PATCH v9 1/8] 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, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Sun, 22 Sep 2024 11:39:02 +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: Liliana Marie Prikler , Maxim Cournoyer , dan , Maxim Cournoyer , Liliana Marie Prikler , Sharlatan Hellseher X-Debbugs-Original-Xcc: dan , Maxim Cournoyer , Liliana Marie Prikler , Sharlatan Hellseher Received: via spool by 71897-submit@debbugs.gnu.org id=B71897.172700513418789 (code B ref 71897); Sun, 22 Sep 2024 11:39:02 +0000 Received: (at 71897) by debbugs.gnu.org; 22 Sep 2024 11:38:54 +0000 Received: from localhost ([127.0.0.1]:40965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssKvV-0004st-Ju for submit@debbugs.gnu.org; Sun, 22 Sep 2024 07:38:54 -0400 Received: from [103.168.172.154] (port=44445 helo=fhigh3-smtp.messagingengine.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ssKvN-0004rX-Ee for 71897@debbugs.gnu.org; Sun, 22 Sep 2024 07:38:47 -0400 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id 2197E11401C3; Sun, 22 Sep 2024 07:38:05 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Sun, 22 Sep 2024 07:38:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :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=1727005085; x=1727091485; bh=jB hecTmEMOtRYUpKGur6CWc+Yy+LlXKajT9e6+N+EUw=; b=IgLhoWP52+xEzNpU8g FkXBZNMkWxIr3TnFntuKqm+M1dsw7SJrmqdxy/SS/z9rYv6XhkCUkwrSKafgu9tw 6v7RgS9O+OciI0XQm8734L2/W7RHfmoEcKRsuYYnX50O0QjYGjfleIhNv56kS3xR 5fNjqXenVYgz51f1S1a7U8Z/OnkFYgobWA4gU7rwhW+Nv4UvdyANnF5GiXMAIRwJ 0aQVXekpb4hJpFzd2sPb34gNR3g5BGX+OA9heyF++6IRm253AON2gsr4rYyUmfKe bfOsp26XN97KjEQqk1MHeDkI8sNCBvu2LRJ9iCwmqvI9x3cInb0v/nv1DVs0fNRG X8Hw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=1727005085; x=1727091485; bh=jBhecTmEMOtRY UpKGur6CWc+Yy+LlXKajT9e6+N+EUw=; b=NMKhvsf8gC5PnJIrFtLpwJb6ioKHN mzSCP62RCQi+yYDlX3tGj1qhG7Ps9xFda29fE0hrXoyAZ7W7qByjIMneu6diKgF6 1vrBu4ELBIoVtc2IzK82Z5xvhQbAi29C00Ilqpu/qi+NPGfHMPGCkV+GviRd4LVh M+grvFAFv1wDb+L5kfJBNvpvziWrOhXwtfUALve0tt653YSzXC+SC9wzzBuWeF2J 0xfG4ns/cQkx4UyGBMiesmr7WBHCmoxI0wTp78M6ZH3529mV+T7YUHGkHOJ6hm8V 8EesFGqojEbKmfGLbynQCH4gcyhPi+pfLlegrBECMmIldCX8YbnLTDNEg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudeljedggeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefufffkofggtgfgsehtkeertdertdejnecu hfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheqnecuggftrfgrthhtvghrnhepje efheegveffgefhuedtkeegueevleeiueejgffgjeffvdejleevtdejleelieehnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihesuggrnhdrgh grmhgvshdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtghpthht ohepjedukeeljeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehmrgigih hmrdgtohhurhhnohihvghrsehgmhgrihhlrdgtohhmpdhrtghpthhtoheplhhilhhirghn rgdrphhrihhklhgvrhesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 22 Sep 2024 07:38:03 -0400 (EDT) From: dan Date: Sun, 22 Sep 2024 19:37:02 +0800 Message-ID: <83ca4396dc74dbbc52121f1628fdc27f9b06d9fa.1727004999.git.i@dan.games> X-Mailer: git-send-email 2.46.0 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 356F869598 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -8.16 X-Migadu-Spam-Score: -8.16 X-TUID: kCOr0tbb6nnX * 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. [arguments]<#:configure-flags>: Replace “--with-systemd=no” with “-Dsystemd=disabled”. Change-Id: Ic9876565e9119443fedd082273be4f372ebce1d4 Reviewed-by: Maxim Cournoyer Signed-off-by: Liliana Marie Prikler --- 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 8e7abc8a47..802f4be4fe 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -2303,6 +2303,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 993bb84ec6..f00f4b3956 100644 --- a/gnu/packages/freedesktop.scm +++ b/gnu/packages/freedesktop.scm @@ -39,6 +39,7 @@ ;;; Copyright © 2024 aurtzy ;;; Copyright © 2024 Dariqq ;;; Copyright © 2024 Wilko Meyer +;;; Copyright © 2024 dan ;;; ;;; This file is part of GNU Guix. ;;; @@ -136,6 +137,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) @@ -2986,7 +2988,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) @@ -2995,18 +2997,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) @@ -3018,7 +3023,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: b7c94d528875415ea7ec6225d88a6b3d55fa2e14 -- 2.45.2