Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934823 - kde-plasma/plasma-meta[-unsupported]: blocks sys-apps/xdg-desktop-portal-gnome
Summary: kde-plasma/plasma-meta[-unsupported]: blocks sys-apps/xdg-desktop-portal-gnome
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal trivial (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 934478
  Show dependency tree
 
Reported: 2024-06-25 02:33 UTC by Jae Hak Kim
Modified: 2024-06-25 22:34 UTC (History)
1 user (show)

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 Jae Hak Kim 2024-06-25 02:33:43 UTC
There is no need to block xdg-desktop-portal-gnome via unsupported USE flag since xdg-desktop-portal is controlled by XDG_CURRENT_DESKTOP environmental variable and /usr/share/xdg-desktop-portal/kde-portals.conf

        !unsupported? (
                !gui-apps/qt6ct
                !sys-apps/xdg-desktop-portal-gnome
        )



Plasma 5 does not have this requirement.





Reproducible: Always

Steps to Reproduce:
1. Have gnome-shell installed
2. Intall (or upgrade) Plasma 6 with USE="-unsupported"

Actual Results:  
sys-apps/xdg-desktop-portal-gnome blocks kde-plasma/plasma-meta-6
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-25 02:37:31 UTC
See https://github.com/gentoo/kde/pull/996.

It's still unclear why it got added to the upstream recommendations, but I agree with your reasoning.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-25 22:34:03 UTC
commit 1c83a085d4c37c247d844dfc0b0f9a76e642763b (HEAD -> master, origin/master, origin/HEAD)
Author: Sam James <sam@gentoo.org>
Date:   Sun Jun 23 18:49:28 2024 +0100

    kde-plasma/plasma-meta: fix libc++ workaround advice

    Rin Cat points out on the bug that it should be =2, not =1. Also, clarify
    the need to rebuild packages afterwards.

    Bug: https://bugs.gentoo.org/923292
    Signed-off-by: Sam James <sam@gentoo.org>

commit 4bb15ec8903655113926f08c2819e4783cfd95b2
Author: Sam James <sam@gentoo.org>
Date:   Sun Jun 23 18:44:25 2024 +0100

    kde-plasma/plasma-meta: allow xdg-desktop-portal-gnome with USE=-unsupported

    USE=-unsupported (the default) banning coinstalls with sys-apps/xdg-desktop-portal-gnome
    caused issues with users either migrating between KDE Plasma and GNOME or
    wanting to have both installed, so it prompted me to look into it again.

    xdg-desktop-portal-kde installs kde-portals.conf which is used and preferred
    within the Plasma desktop, so we have no issue here. (Done in upstream
    commit ae9b326e55ca4a25a762cf0bfe96f5e947765833).

    The recommendation to not coinstall them was added upstream in April 2023
    at https://community.kde.org/index.php?title=Distributions/Packaging_Recommendations&diff=prev&oldid=96239,
    while the aforementioned upstream commit is from May 2023.

    Cloess: https://bugs.gentoo.org/934823
    Signed-off-by: Sam James <sam@gentoo.org>