Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 460728 - kde-base/powerdevil-4.10.1 doesn't offer suspend options
Summary: kde-base/powerdevil-4.10.1 doesn't offer suspend options
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-07 20:53 UTC by Märt Bakhoff
Modified: 2013-03-10 18:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
powerdevil/files/systemd-version.patch (systemd-version.patch,2.64 KB, patch)
2013-03-07 20:55 UTC, Märt Bakhoff
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Märt Bakhoff 2013-03-07 20:53:51 UTC
From the original KDE bug (linked):
Suspend and Hibernate opens not offered after upgrade to 4.10.1, were available in 4.10.

The fix is commited for kde 4.10.2, but it's driving me insane. We could backport this in gentoo. Attaching necessary changes. 

Reproducible: Always

Steps to Reproduce:
1. not have systemd installed
2. in power settings try to set 'close lid' action to suspend. 
3. option not available
Comment 1 Märt Bakhoff 2013-03-07 20:55:34 UTC
Created attachment 341262 [details, diff]
powerdevil/files/systemd-version.patch

added this to the ebuild:

S="${WORKDIR}/kde-workspace-${PV}"
src_unpack() {
    unpack ${A}
    cd ${S}
    epatch "${FILESDIR}"/systemd-version.patch
}
Comment 2 Michael Palimaka (kensington) gentoo-dev 2013-03-10 18:18:16 UTC
Thanks, fixed in CVS.

+  10 Mar 2013; Michael Palimaka <kensington@gentoo.org>
+  +files/powerdevil-4.10.1-suspend.patch, +powerdevil-4.10.1-r1.ebuild:
+  Backport patch from upstream fixing issue where suspend options are not
+  offered, wrt bug #460728.