xdg-desktop-portal-xapp dependency

Task Info (Flyspray)
Opened By Thomas Lübking (luebking)
Task ID 79720
Type General Gripe
Project Arch Linux
Category Packages: Extra
Version None
OS All
Opened 2023-09-17 14:30:01 UTC
Status Assigned
Assignee Bruno Pagani (ArchangeGabriel)

Details

More a heads-up than an immediate bug.

https://archlinux.org/packages/extra/x86_64/cinnamon/ hard-depends on https://archlinux.org/packages/extra/x86_64/xdg-desktop-portal-xapp/ after https://bugs.archlinux.org/task/78735 was handled and I suspect that to be a mistake.

  1. I'm not sure that anything in cinnamon actually requires xdg-portal at all, xdg-desktop-portal-xapp is the cinnamon-specific xdg-desktop-portal-impl

  2. I very much doubt that cinnamon depends on xdg-desktop-portal-xapp specifically, that's antithetical to the entire xdg-desktop-portal concept.

  3. The referenced https://github.com/linuxmint/cinnamon/blob/5.8.0/debian/control#L113 is maybe not unbiased, https://packages.debian.org/experimental/cinnamon recommends the package (what makes sense) and does not depend on xdg-desktop-portal-impl at all.

  4. The recent¹ and possibly ongoing² xdg-desktop-portal-gnome situation has illustrated that a single bogus xdg-desktop-portal-impl can throw a wrench into the system.

Status quo, should xdg-desktop-portal-xapp pull a gnome, the cinnamon users will face three undesirable options:

  1. wait half a minute for every firefox (as most prominent client) start
  2. replace the desktop environment / remove cinnamon
  3. manually override the package dependencies

The suggestion would be to turn xdg-desktop-portal-xapp into an optional dependency of cinnamon (for cinnamon-flavored xdg-desktop-portal support), afaict the closest to the debian condition.

[1] https://bbs.archlinux.org/viewtopic.php?id=285590 (there're more threads, but that's the meetoo one) [2] https://bbs.archlinux.org/viewtopic.php?pid=2119728#p2119728