Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831848 - kde-apps/krfb-21.12.1 improperly depends on sys-apps/xdg-desktop-portal unconditionally
Summary: kde-apps/krfb-21.12.1 improperly depends on sys-apps/xdg-desktop-portal uncon...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-22 20:57 UTC by Luke-Jr
Modified: 2022-03-24 16:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2022-01-22 20:57:30 UTC
As I understand it, sys-apps/xdg-desktop-portal is only used for Wayland support, and should therefore be an optional dependency.
Comment 1 Luke-Jr 2022-01-22 21:15:11 UTC
Looking at the ebuild, it seems like there may be other deps that ought to be conditional too, but I didn't investigate them
Comment 2 Andreas Sturmlechner gentoo-dev 2022-01-23 10:52:37 UTC
wayland support is non-optional in krfb.
Comment 3 Luke-Jr 2022-01-23 20:43:56 UTC
That's not true. Deleting the xdg-desktop-portal and pipewire ebuild dependencies, krfb builds and works perfectly fine.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-23 21:05:00 UTC
They look not hard required but automagic (but we avoid it by depending on them unconditionally: https://invent.kde.org/network/krfb/-/blob/master/CMakeLists.txt#L82, I think.

Please submit a patch upstream to add CMake options.
Comment 6 Andreas Sturmlechner gentoo-dev 2022-01-24 20:47:42 UTC
Thanks for taking this bug where it belongs then.