After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 596569 - [PATCH] Convert gdm from using gnome-power-manager to DeviceKit-power
[PATCH] Convert gdm from using gnome-power-manager to DeviceKit-power
Status: RESOLVED DUPLICATE of bug 594572
Product: gdm
Classification: Core
Component: general
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: GDM maintainers
GDM maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-28 08:18 UTC by Richard Hughes
Modified: 2009-10-14 15:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix the problem (6.26 KB, patch)
2009-09-28 08:18 UTC, Richard Hughes
committed Details | Review

Description Richard Hughes 2009-09-28 08:18:53 UTC
Created attachment 144158 [details] [review]
patch to fix the problem

gdm uses the CanSuspend method that was removed early in 2-27, and the
Suspend() method that was removed a few months ago. This has been deprecated
since 2-26.

The patch attached switches gdm to using the functionality in DeviceKit-power.
Please review. Thanks.
Comment 1 Matthias Clasen 2009-09-28 13:24:26 UTC
Patch looks good to me, please put that in our rawhide gdm package. You probably have to add a BuildRequries: DeviceKit-power-devel or so.
Comment 2 Richard Hughes 2009-09-28 14:49:26 UTC
Build for Fedora in http://koji.fedoraproject.org/koji/taskinfo?taskID=1713210
Comment 3 Vincent Untz 2009-10-02 14:55:58 UTC
See also bug 594572.
Comment 4 Sebastien Bacher 2009-10-07 07:29:32 UTC

*** This bug has been marked as a duplicate of bug 594572 ***
Comment 5 Ray Strode [halfline] 2009-10-14 15:00:32 UTC
Review of attachment 144158 [details] [review]:

Thanks, commited.