From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 0Ct8FKmhYGG8ggAAgWs5BA (envelope-from ) for ; Fri, 08 Oct 2021 21:53:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id MPg9DqmhYGGKCwAAbx9fmQ (envelope-from ) for ; Fri, 08 Oct 2021 19:53:13 +0000 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 CBC25A102 for ; Fri, 8 Oct 2021 21:53:11 +0200 (CEST) Received: from localhost ([::1]:50922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYvva-0006rl-FZ for larch@yhetil.org; Fri, 08 Oct 2021 15:53:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYvvT-0006rO-PQ for guix-patches@gnu.org; Fri, 08 Oct 2021 15:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40383) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYvvT-0004vJ-IL for guix-patches@gnu.org; Fri, 08 Oct 2021 15:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYvvS-0001rE-Gl for guix-patches@gnu.org; Fri, 08 Oct 2021 15:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51100] [PATCH 0/8] Update and fix Flatpak and portals Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 08 Oct 2021 19:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51100 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51100@debbugs.gnu.org X-Debbugs-Original-To: Guix-patches Received: via spool by submit@debbugs.gnu.org id=B.16337227627114 (code B ref -1); Fri, 08 Oct 2021 19:53:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Oct 2021 19:52:42 +0000 Received: from localhost ([127.0.0.1]:51928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYvv7-0001qg-UZ for submit@debbugs.gnu.org; Fri, 08 Oct 2021 15:52:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:54330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYvv6-0001qZ-AP for submit@debbugs.gnu.org; Fri, 08 Oct 2021 15:52:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYvv6-0006r5-1b for guix-patches@gnu.org; Fri, 08 Oct 2021 15:52:40 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:53281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYvv3-0004Wa-34 for guix-patches@gnu.org; Fri, 08 Oct 2021 15:52:39 -0400 Date: Fri, 08 Oct 2021 19:52:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633722748; bh=BDRC3+XNog0oXhq7ZwBVvwqy5iNTKLevw99Adfpg4eY=; h=Date:To:From:Reply-To:Subject:From; b=YFIEQ8mAuj6OGnOIJvYHqmYY1+2NF/saIXif3lRycYTwi5dSOsDdtDvi3MX9ptnMT UCebkig8Q1o8FuhunGb+E52H8OT/g5501UtAQcYpAD6/bmJG9IYz62JLwsCv0iyTwL Tx3+E9hyE31PvAludtDW6/ZWPpU2I2LHHHYHR5T0= Message-ID: <8mIC9rc4MnrOlOpfEbAPuv1vk07x9Ta-uDTETeKkIlgGJoyRcX8wAQCr1e-T5mTDiaUbE6SdYGp1YVuecBa2LuHtuBozOqS8yO1r8oJCieo=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.133; envelope-from=john.kehayias@protonmail.com; helo=mail-40133.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: John Kehayias X-ACL-Warn: , John Kehayias via Guix-patches From: John Kehayias via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633722791; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BDRC3+XNog0oXhq7ZwBVvwqy5iNTKLevw99Adfpg4eY=; b=H4bM1pduz+nJ9a6w+ZwSyUl0sG0ynsugmT09Rmp9sFMFht2bVr+wzi20p0Od5b4x0lXOa7 upMFvILUrlsnmS/1tqXXFgVgzPF1sv7ZpkbZA0HXkpt1UM9zgSZA+EP8cAOKQ5SrKCByCW XX7tpLKF6HENsHXX0I5t8Q6lUKVi/hv8+3GMxmG4FKNcJtpeemk5jmnuWkIZY4NiazlMK/ QGYkjrPI4fQu0o716SAuAftA2Q9imlCoEOzRH3Q7FFTD4oiB/eQt0suCjTgFl6gBwiOcXF dH5v6XMk+qEAhdirK+Xwzxi+tFffpQIIwQTQE1eAg1MtjTprB4r/Mjx0CdG5wg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633722791; a=rsa-sha256; cv=none; b=ryNoS3XNlWoolxVA7txG5dm5/4NoP/XDrXaga81KMYm6PrnuLCdFh/XQ61p3dCohjoTmXo ws8kA3ZTnA9XgXi9TXRcEwlY7tkaBpWPSArjnCBoaXvYIBemMWNI7GkwOl8dbxPUJ7RG66 8kFpM2J+SRhVLbddSfaL0qF7adqFk7LBiRe8GFG5Qn0CT+0q64fLarD9RE3l1ShDc3bFhy Lw+i9fXeMvyxDQHV44TFPuxg0jYK+/SqT11l8y/tOyBmV8EJp18lQb7CXtQ0Djdb8qZmEB RkCADcOUOeDmBo+wZeEMlQ3jof0tVJDWGhLBoBLpge/PLCJ1rLtJnMMlWT0v1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=YFIEQ8mA; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=YFIEQ8mA; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: CBC25A102 X-Spam-Score: -2.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: sfSx0a/6NtrP Hello, Incoming is a series of patches that does the following: 1. Update Flatpak, libportal, xdg-desktop-portal, and xdg-desktop-portal-gt= k to the latest versions 2. flatpak: fix two bugs: a. A certificate error due to p11-kit https://issues.guix.gnu.org/49957 = I worked around this by adding a new p11-kit-next package with the configur= ation change and newest version. From testing, this may not work if there a= re multiple Flatpak bins installed, as the way p11-kit-server is started is= , I think, through a session helper that probably goes through D-Bus. Still= , I think this is the best workaround. b. Flatpak would use the store path for writing its bin, e.g. in .desktop= files from installing an application. I used a modified version of the Nix= OS patch to make it just write "flatpak". This means it'll come from PATH, = but again I don't see a better workaround that wouldn't break on Flatpak's = store directory changing. 3. xdg-desktop-portal-gtk: enabled Gnome backends that are by default disab= led on the newest version (they were not configurable before). These can be= also be had in a separate Gnome portal, currently unpackaged. I figured fo= r now best to keep them enabled, but later could use the Gnome portal to re= move Gnome dependencies here, I think. 4. xdg-desktop-portal-gtk: Propagte xdg-desktop-portal. This was an input w= hich is fine for building, but the portal won't fully function without that= also being installed. Mostly I believe it is the D-Bus files that are need= ed. This should also fix a bug I encountered here https://issues.guix.gnu.o= rg/49972#5 due to both packages having the same search-path. (On this last= point I've manually worked around it before, but this should have the same= effect of only one path being in this env variable.) These updates should close at least the issues mentioned above, will search= if there are any older updates or related issues. Everything builds on mas= ter and should on core-updates-frozen, though xdg-desktop-portal-gtk might = need a libxml2 input (not sure why?). But this should fix the build errors = there. I've been using these packages with these changes (other than the pr= opagated-inputs) and it works well, as long as I translated correctly from = my channel to these patches :) Pretty sure it is the same. Thanks! John