From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 08 15:52:42 2021 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= To: Guix-patches From: John Kehayias Subject: [PATCH 0/8] Update and fix Flatpak and portals Message-ID: <8mIC9rc4MnrOlOpfEbAPuv1vk07x9Ta-uDTETeKkIlgGJoyRcX8wAQCr1e-T5mTDiaUbE6SdYGp1YVuecBa2LuHtuBozOqS8yO1r8oJCieo=@protonmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch 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-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: John Kehayias Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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