Review Request 124388: Add ConsoleKit2 as a power backend

David Edmundson david at davidedmundson.co.uk
Wed Jul 22 17:43:11 UTC 2015



> On July 20, 2015, 9:10 p.m., David Edmundson wrote:
> > Looks good to me.
> > 
> > Do you have commit access?
> 
> Eric Koegel wrote:
>     I don't have commit access, this is my first patch attempt for KDE.

Cool, so the way it works is for the first 15 patches or so you upload to reviewboard and someone else will commit for you.
I tend to copy & paste the description directly as the git log.

Once we know you a bit and you're familiar with everything we approve you getting a developer account and you get to push directly. Patches still should go via reviewboard, the only difference is you get to type "git push" locally after someone says "Ship it!".


- David


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124388/#review82730
-----------------------------------------------------------


On July 22, 2015, 5:37 p.m., Eric Koegel wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124388/
> -----------------------------------------------------------
> 
> (Updated July 22, 2015, 5:37 p.m.)
> 
> 
> Review request for Plasma and Solid.
> 
> 
> Repository: powerdevil
> 
> 
> Description
> -------
> 
> Internally, it uses the login1 interface with ConsoleKit2 since they share identical DBUS calls. It also changes the setupSystemdInhibition to setupSeatManagerInhibition so that the login1 and ConsoleKit2 inhibit calls to minimize code duplication.
> 
> This patch doesn't modify the build system to keep it small. A future patch can be added to use ConsoleKit2 on BSD systems as well.
> 
> ConsoleKit2's suspend/hibernate/inhibit DBUS API is documented at: http://consolekit2.github.io/ConsoleKit2/#Manager
> 
> 
> Diffs
> -----
> 
>   daemon/backends/upower/powerdevilupowerbackend.h 3752977 
>   daemon/backends/upower/powerdevilupowerbackend.cpp 5120d3e 
>   daemon/powerdevilpolicyagent.h ef41ad7 
>   daemon/powerdevilpolicyagent.cpp 9210a06 
> 
> Diff: https://git.reviewboard.kde.org/r/124388/diff/
> 
> 
> Testing
> -------
> 
> Built powerdevil with patch and pkla files on a Gentoo system with OpenRC. Before patch there was no suspend option, after there was and clicking it resulted in the system properly suspending.
> 
> 
> Thanks,
> 
> Eric Koegel
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150722/2fab2f60/attachment.html>


More information about the Plasma-devel mailing list