[arch-commits] Commit in kdebase-workspace/trunk (PKGBUILD fix-powerprofiles.patch)
Andrea Scarpino
andrea at archlinux.org
Mon Oct 31 19:25:02 UTC 2011
Date: Monday, October 31, 2011 @ 15:25:01
Author: andrea
Revision: 141609
Fix weird power profiles (BUG#285347)
Added:
kdebase-workspace/trunk/fix-powerprofiles.patch
Modified:
kdebase-workspace/trunk/PKGBUILD
-------------------------+
PKGBUILD | 8 ++++++--
fix-powerprofiles.patch | 23 +++++++++++++++++++++++
2 files changed, 29 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-10-31 19:08:31 UTC (rev 141608)
+++ PKGBUILD 2011-10-31 19:25:01 UTC (rev 141609)
@@ -33,7 +33,8 @@
options=('emptydirs')
source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.bz2"
'kdm-zsh-profile.patch' 'kdm' 'kde.pam' 'kde-np.pam' 'kscreensaver.pam'
- 'fixpath.patch' 'terminate-server.patch' 'kdm-xinitrd.patch')
+ 'fixpath.patch' 'terminate-server.patch' 'kdm-xinitrd.patch'
+ 'fix-powerprofiles.patch')
sha1sums=('3f65d3f075cb3d71d26e768d0d8e1c26b49b4774'
'8c2bdefb23a03b753b78d16944d03fa3939d2d99'
'5db3a245201bd4a50e65aa2ef583cf5490e4f646'
@@ -42,7 +43,8 @@
'106635aa1aae51d6f0668b1853f6c49a4fe9d3d8'
'd7b5883f7e65c6839b1f65f94d58026673dd0226'
'ac7bc292c865bc1ab8c02e6341aa7aeaf1a3eeee'
- 'd509dac592bd8b310df27991b208c95b6d907514')
+ 'd509dac592bd8b310df27991b208c95b6d907514'
+ '7c514a0727f904359d2ab12078e9868488ded3e6')
build() {
cd "${srcdir}"/${_pkgname}-${pkgver}
@@ -51,6 +53,8 @@
patch -p0 -i "${srcdir}"/fixpath.patch
patch -p0 -i "${srcdir}"/terminate-server.patch
+ patch -Rp1 -i "${srcdir}"/fix-powerprofiles.patch
+
cd "${srcdir}"
mkdir build
cd build
Added: fix-powerprofiles.patch
===================================================================
--- fix-powerprofiles.patch (rev 0)
+++ fix-powerprofiles.patch 2011-10-31 19:25:01 UTC (rev 141609)
@@ -0,0 +1,23 @@
+From: Dario Freddi <drf at kde.org>
+Date: Tue, 04 Oct 2011 14:09:09 +0000
+Subject: Use full config when reading settings
+X-Git-Url: http://quickgit.kde.org/?p=kde-workspace.git&a=commitdiff&h=8d59876457387d1c72ca3626ae2d267adf100014
+---
+Use full config when reading settings
+
+BUG: 267323
+---
+
+
+--- a/powerdevil/daemon/powerdevilcore.cpp
++++ b/powerdevil/daemon/powerdevilcore.cpp
+@@ -88,7 +88,7 @@ void Core::onBackendReady()
+ {
+ kDebug() << "Backend is ready, KDE Power Management system initialized";
+
+- m_profilesConfig = KSharedConfig::openConfig("powerdevil2profilesrc", KConfig::SimpleConfig);
++ m_profilesConfig = KSharedConfig::openConfig("powerdevil2profilesrc", KConfig::FullConfig);
+
+ // Is it brand new?
+ if (m_profilesConfig->groupList().isEmpty()) {
+
More information about the arch-commits
mailing list