Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670908 - <kde-plasma/plasma-meta-5.18.5[pm-utils] relies on dead pm-utils
Summary: <kde-plasma/plasma-meta-5.18.5[pm-utils] relies on dead pm-utils
Status: RESOLVED FIXED
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: elogind-default
Blocks: 659616
  Show dependency tree
 
Reported: 2018-11-11 12:35 UTC by Pacho Ramos
Modified: 2020-05-07 13:56 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 Pacho Ramos gentoo-dev 2018-11-11 12:35:21 UTC
pm-utils is going to be removed sooner or later, hence, it would be nice to know if this optional dep could be dropped finally
Comment 1 Andreas Sturmlechner gentoo-dev 2018-11-11 13:04:01 UTC
I'm afraid 'suspend' functionality depends on consolekit[pm-utils].
Comment 2 Pacho Ramos gentoo-dev 2018-11-11 13:14:58 UTC
It seems it would rely on upower when running consolekit-1
https://cgit.kde.org/powerdevil.git/commit/?id=41d369f7c57b31f13cb120d09b3e9f71119d86f4

But maybe I am losing something as I am not familiar with KDE :/
Comment 3 Andreas Sturmlechner gentoo-dev 2018-11-11 13:25:17 UTC
You would think that, but hibernation option is simply missing without pm-utils installed.
Comment 4 Pacho Ramos gentoo-dev 2018-11-11 14:04:53 UTC
Ah, ok

I see in https://github.com/ConsoleKit2/ConsoleKit2 that, indeed:
* pm-utils (optional, but required for suspend/hibernate on Linux)

But I couldn't find any bug or similar that would show some information about the plans to not keep relying on pm-utils in the future :/
Comment 5 Andreas Sturmlechner gentoo-dev 2018-11-11 14:12:32 UTC
On the Plasma side we can workaround that by pursuing the move to elogind more aggressively, but this will conflict with other packages in tree not yet ported away from consolekit.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2018-11-17 02:30:19 UTC
Since powerdevil doesn't use the dep directly, perhaps we could drop it and rely on consolekit[pm-utils] to manage the dependency.
Comment 7 Andreas Sturmlechner gentoo-dev 2018-11-17 18:37:29 UTC
(In reply to Michael Palimaka (kensington) from comment #6)
> Since powerdevil doesn't use the dep directly, perhaps we could drop it and
> rely on consolekit[pm-utils] to manage the dependency.

In the overlay, this optional RDEPEND has moved from powerdevil to plasma-meta. Imo, using consolekit[pm-utils], which I did at first, would only lead us to changing $summary instead of solving it.
Comment 8 Larry the Git Cow gentoo-dev 2020-04-14 00:03:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=2fc5b367845c0ab40c212799ba668e4ada8a1424

commit 2fc5b367845c0ab40c212799ba668e4ada8a1424
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-04-14 00:03:24 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-04-14 00:03:24 +0000

    kde-plasma/plasma-meta: Drop USE pm-utils
    
    With consolekit gone as desktop profile default we no longer support this.
    
    Bug: https://bugs.gentoo.org/670908
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-plasma/plasma-meta/metadata.xml                    | 1 -
 kde-plasma/plasma-meta/plasma-meta-5.18.49.9999.ebuild | 7 ++-----
 kde-plasma/plasma-meta/plasma-meta-9999.ebuild         | 7 ++-----
 3 files changed, 4 insertions(+), 11 deletions(-)
Comment 9 Andreas Sturmlechner gentoo-dev 2020-05-07 13:56:19 UTC
5.18.5 is now in Gentoo ebuild repository, stabilisation of which is being tracked in bug 721452 already.