unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: 51100@debbugs.gnu.org
Subject: [bug#51100] [PATCH 0/8] Update and fix Flatpak and portals
Date: Fri, 08 Oct 2021 19:52:26 +0000	[thread overview]
Message-ID: <8mIC9rc4MnrOlOpfEbAPuv1vk07x9Ta-uDTETeKkIlgGJoyRcX8wAQCr1e-T5mTDiaUbE6SdYGp1YVuecBa2LuHtuBozOqS8yO1r8oJCieo=@protonmail.com> (raw)

Hello,

Incoming is a series of patches that does the following:

1. Update Flatpak, libportal, xdg-desktop-portal, and xdg-desktop-portal-gtk 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 configuration change and newest version. From testing, this may not work if there are 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 NixOS 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 disabled on the newest version (they were not configurable before). These can be also be had in a separate Gnome portal, currently unpackaged. I figured for now best to keep them enabled, but later could use the Gnome portal to remove Gnome dependencies here, I think.

4. xdg-desktop-portal-gtk: Propagte xdg-desktop-portal. This was an input which 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 needed. This should also fix a bug I encountered here https://issues.guix.gnu.org/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 master 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 propagated-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




             reply	other threads:[~2021-10-08 19:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-08 19:52 John Kehayias via Guix-patches via [this message]
2021-10-08 20:00 ` [bug#51100] [PATCH 1/8] Update and fix Flatpak and portals John Kehayias via Guix-patches via
2021-10-08 20:02 ` [bug#51100] [PATCH 2/8] " John Kehayias via Guix-patches via
2021-10-08 20:02 ` [bug#51100] [PATCH 3/8] " John Kehayias via Guix-patches via
2021-10-08 20:03   ` [bug#51100] [PATCH 4/8] " John Kehayias via Guix-patches via
2021-10-08 20:04     ` [bug#51100] [PATCH 5/8] " John Kehayias via Guix-patches via
2021-10-08 20:04       ` [bug#51100] [PATCH 6/8] " John Kehayias via Guix-patches via
2021-10-08 20:05         ` [bug#51100] [PATCH 7/8] " John Kehayias via Guix-patches via
2021-10-08 20:05           ` [bug#51100] [PATCH 8/8] " John Kehayias via Guix-patches via
2021-10-25 19:15             ` bug#51100: [PATCH 0/8] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='8mIC9rc4MnrOlOpfEbAPuv1vk07x9Ta-uDTETeKkIlgGJoyRcX8wAQCr1e-T5mTDiaUbE6SdYGp1YVuecBa2LuHtuBozOqS8yO1r8oJCieo=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=51100@debbugs.gnu.org \
    --cc=john.kehayias@protonmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).