FS#61039 - xdg-desktop-portal-kde should depend on xdg-desktop-portal

Attached to Project: Arch Linux
Opened by Ben (gehzumteufel) - Wednesday, 12 December 2018, 06:11 GMT
Last edited by Antonio Rojas (arojas) - Thursday, 13 December 2018, 08:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:
xdg-desktop-portal-kde does not depend on xdg-desktop-portal like it's GTK counterpart does (xdg-desktop-portal-gtk). This seems like just an oversight.

https://www.archlinux.org/packages/extra/x86_64/xdg-desktop-portal-kde/
https://www.archlinux.org/packages/extra/x86_64/xdg-desktop-portal-gtk/
https://www.archlinux.org/packages/extra/x86_64/xdg-desktop-portal/
This task depends upon

Closed by  Antonio Rojas (arojas)
Thursday, 13 December 2018, 08:56 GMT
Reason for closing:  Won't fix
Comment by Antonio Rojas (arojas) - Wednesday, 12 December 2018, 07:47 GMT
That would create a circular dependency that we want to avoid. What problem does it solve in practice? Applications that use portals should depend on xdg-desktop-portal, which in turn will pull one of its backends.

Also, xdg-desktop-portal-gtk does *not* depend on it.
Comment by Ben (gehzumteufel) - Wednesday, 12 December 2018, 07:55 GMT
The dependencies on the gtk package list it as a dependency. So unless I am reading things wrong, possible, it appears it does.

Further, the same circular dependency would then exist on that GTK package too, then. I would then argue that xdg-desktop-portal shouldn't have a depend on either of the -gtk or -kde packages but that these should depend on xdg-desktop-portal. I wouldn't expect the -gtk or -kde packages to be depended on in this aspect.
Comment by Antonio Rojas (arojas) - Wednesday, 12 December 2018, 09:10 GMT
> The dependencies on the gtk package list it as a dependency. So unless I am reading things wrong, possible, it appears it does.

Yes, you are. It is a *make* dependency. xdg-desktop-portal is useless without a backend, so the dependency on an -impl package is correct. Again, is there any actual issue that would be solved by this?

Loading...