Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 920914 - kde-frameworks/purpose +kaccounts indirectly pulls in kde-plasma/kwin via kde-plasma/kde-cli-tools:5 (until SLOT 6 is unmasked) and its kde-plasma/libkworkspace:5 dependency
Summary: kde-frameworks/purpose +kaccounts indirectly pulls in kde-plasma/kwin via kde...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-12-29 05:55 UTC by GoGoOtaku
Modified: 2024-01-21 21:41 UTC (History)
2 users (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 GoGoOtaku 2023-12-29 05:55:28 UTC
kde-frameworks/purpose defaults the "kaccounts" use flag to active (+kaccounts). This then causes kde-plasma (to be specific kde-apps/kaccounts-integration which causes a chain of dependencies that will end up pulling kde-plasma/kwin in) to be pulled in as dependency.

The issue is that the kde-framework is not just for plasma. Having kaccounts be active at default causes by default applications like kde-apps/kdenlive (video editor) to pull in kde-plasma for no reason.

Yes it is possible to just manually disable the kaccounts useflag but in my opinion kde-framework packages should not default to pulling in kde-plasma. This is especially true if kde-apps/kdenlive is the only application actually depending on kde-framework/purpose after plasma was pulled in.

Reproducible: Always




Reverse dependency from kwin to kdenlive

>=kde-plasma/kwin-5.27.10:5
>=kde-plasma/libkworkspace-5.27.10:5
kde-plasma/kde-cli-tools:5
kaccounts ? >=kde-apps/kaccounts-integration-19.04.3:5
>=kde-frameworks/purpose-5.106.0:5
kde-apps/kdenlive-23.08.3
Comment 1 Andreas Sturmlechner gentoo-dev 2023-12-31 16:58:08 UTC
One thing to note: KWin is not Plasma, so your $summary was not entirely correct.

Also, it seems to me this problem would already be solved by kde-plasma/kde-cli-tools-5.91.0 (currently masked Plasma 6 beta 2 version).
Comment 2 GoGoOtaku 2023-12-31 18:59:57 UTC
Just fyi why I wrote plasma:
I don't know much about plasma and had to look up the kde-plasma packages it pulled in.
KDE calls KWin the window manager which to me sounded like the core application of plasma. And since there are also some packages that all seem to be just libraries to support KWin.

In hindsight writing plasma probably sounded like it pulls in the entire desktop environment. I don't use a DE so I think I have a WM centric view of these things. Sorry about that.

https://userbase.kde.org/KWin

Anyway thumps up for the quick response.
Comment 3 Larry the Git Cow gentoo-dev 2024-01-21 21:37:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3619df211e9c802f1bd3d40a050227229a3471e1

commit 3619df211e9c802f1bd3d40a050227229a3471e1
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-01-21 21:21:04 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-01-21 21:36:50 +0000

    kde-plasma/plasma-welcome: Do not enable IUSE kaccounts by default
    
    KDE-bug: https://bugs.kde.org/show_bug.cgi?id=471380
    
    See also:
    https://discuss.kde.org/t/why-does-every-kde-pim-program-have-its-own-account-configuration-ui-why-no-kcm-for-that/6803
    
    Bug: https://bugs.gentoo.org/920914
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/plasma-welcome/plasma-welcome-5.27.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d535617ce315d3744c2c8356af2fdbd7bc28cc40

commit d535617ce315d3744c2c8356af2fdbd7bc28cc40
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-01-21 21:20:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-01-21 21:36:50 +0000

    kde-plasma/plasma-desktop: Do not enable IUSE kaccounts by default
    
    Bug: https://bugs.gentoo.org/920914
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/plasma-desktop/plasma-desktop-5.27.10-r1.ebuild | 2 +-
 kde-plasma/plasma-desktop/plasma-desktop-5.92.0-r1.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4dfb01cbe9dc764a2fa792d5388e1cd997db1db

commit c4dfb01cbe9dc764a2fa792d5388e1cd997db1db
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-01-21 21:19:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-01-21 21:36:50 +0000

    kde-frameworks/purpose: Do not enable IUSE kaccounts by default
    
    Bug: https://bugs.gentoo.org/920914
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/purpose/purpose-5.113.0-r2.ebuild | 2 +-
 kde-frameworks/purpose/purpose-5.114.0.ebuild    | 2 +-
 kde-frameworks/purpose/purpose-5.248.0-r1.ebuild | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea0a0dbf3f49865ebe64af154e6334b3bd2f1e7d

commit ea0a0dbf3f49865ebe64af154e6334b3bd2f1e7d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-01-21 21:18:18 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-01-21 21:36:49 +0000

    profiles: plasma: Add kaccounts defaults to package.use
    
    Not adding kde-plasma/plasma-welcome for upstream disabling it again
    in Plasma 6.
    
    Bug: https://bugs.gentoo.org/920914
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 profiles/targets/desktop/plasma/package.use | 4 ++++
 1 file changed, 4 insertions(+)
Comment 4 Larry the Git Cow gentoo-dev 2024-01-21 21:40:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=13997daa497e4c058ebda335736e381218c262a5

commit 13997daa497e4c058ebda335736e381218c262a5
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-01-21 21:20:46 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-01-21 21:40:21 +0000

    kde-plasma/plasma-desktop: Do not enable IUSE kaccounts by default
    
    Bug: https://bugs.gentoo.org/920914
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/plasma-desktop/plasma-desktop-6.0.49.9999.ebuild | 2 +-
 kde-plasma/plasma-desktop/plasma-desktop-9999.ebuild        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/proj/kde.git/commit/?id=21d43a537d21c8df3f6b763a5e81409b7690516b

commit 21d43a537d21c8df3f6b763a5e81409b7690516b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2024-01-21 21:19:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2024-01-21 21:39:20 +0000

    kde-frameworks/purpose: Do not enable IUSE kaccounts by default
    
    Bug: https://bugs.gentoo.org/920914
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-frameworks/purpose/purpose-5.239.9999.ebuild | 2 +-
 kde-frameworks/purpose/purpose-9999.ebuild       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)