Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 599490

Summary: kde-plasma/powerdevil: Add elogind support
Product: Gentoo Linux Reporter: Sven Eden <sven.eden>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: kensington, sven.eden
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in >=5.8.6
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 599470    
Attachments: powerdevil-5.8.3-r4.ebuild
powerdevil-5.8.4-r1.ebuild
kde-plasma/powerdevil-5.8.5-r1

Description Sven Eden 2016-11-11 15:47:46 UTC
If sys-auth/elogind is used, indicated by a new USE flag "elogind", ConsoleKit integration should be skipped like it is done with USE="systemd".

Fortunately PowerDevil does not actively depend on systemd-logind, and only needs a provider for the org.freedesktop.login1 DBus services.
Comment 1 Sven Eden 2016-11-11 15:48:39 UTC
Created attachment 453012 [details]
powerdevil-5.8.3-r4.ebuild

Updated ebuild that allows sys-auth/elogind to substitute ConsoleKit.
Comment 2 Sven Eden 2016-11-24 08:07:15 UTC
Created attachment 454168 [details]
powerdevil-5.8.4-r1.ebuild

Version bump to kde-plasma/powerdevil-5.8.4-r1 with elogind support.
Comment 3 Michael Palimaka (kensington) gentoo-dev 2016-11-24 12:44:17 UTC
Looks fine to me, let me know when you want to start landing stuff and I'll be happy to commit.
Comment 4 Sven Eden 2016-12-29 08:39:05 UTC
Created attachment 457700 [details]
kde-plasma/powerdevil-5.8.5-r1

Version bump to powerdevil-5.8.5 with elogind support.
Comment 5 Sven Eden 2016-12-29 08:52:05 UTC
@KDE Team: If you are fine with this, you might want to take over for inclusion into the KDE overlay, adding the patched powerdevil ebuild(s). I suggest to keep them masked, as people should know what they are doing if they want to test elogind right now.

There are still some issues, but those are within elogind and worked upon.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2016-12-29 13:30:36 UTC
Thanks, I've pushed this to the overlay for now, and it'll appear in the main tree with the next bump.

https://gitweb.gentoo.org/proj/kde.git/commit/?id=0dafa9c6bcd15d9c2b0f0f7f2cbd8a4d36124cc5

I've also masked the elogind USE flag in the main repository so that we can safely move stuff to the main tree as necessary and don't need to keep special revisions for elogind.