Hello community, here is the log from the commit of package kpowersave checked in at Sun Apr 20 16:37:43 CEST 2008. -------- --- arch/i386/kpowersave/kpowersave.changes 2007-09-17 19:21:46.000000000 +0200 +++ kpowersave/kpowersave.changes 2008-04-17 18:01:27.000000000 +0200 @@ -1,0 +2,46 @@ +Wed Jan 23 20:32:46 CET 2008 - dkukawka@suse.de + +- added new patch: + - Added new dcop function: isOnBattery() to get the info if the + machine is on battery or not. + +------------------------------------------------------------------- +Wed Jan 9 08:58:28 CET 2008 - dkukawka@suse.de + +- updated to current SVN HEAD (kpowersave-svn_r3115-r3132.diff) +- removed patches: + - kpowersave-svn_r3117.diff + - kpowersave-fix-batteryRescanOnResumeNotify.diff +- fixed bugs: + - b.n.c #349083: force set scheme if session get active again + +------------------------------------------------------------------- +Wed Dec 12 22:47:01 CET 2007 - dkukawka@suse.de + +- added new patch: + - kpowersave-fix-batteryRescanOnResumeNotify.diff: Add a 1.5sec + timeout after resume to not change the applet icon to a + battery warning state or notify about state changes to prevent + trouble while hal rescan battery and other devices. +- fixed bugs: + - b.n.c #333744: see above + +------------------------------------------------------------------- +Mon Dec 10 11:55:21 CET 2007 - dkukawka@suse.de + +- added patch: + - kpowersave-enable_do_setScheme.diff: reenable do_setScheme() + DCOP call (for hschaa) + +------------------------------------------------------------------- +Fri Nov 2 17:36:35 CET 2007 - dkukawka@suse.de + +- updated to SVN r3117: + - show 'Power Consumption' only on discharging + - s/Consumtion:/Consumption:/ + - fixed bugs: + - b.n.c #327442: be sure that 'specific display PM' is enabled + before change the state of the DPMS related + objects (enabled/disabled). + +------------------------------------------------------------------- New: ---- kpowersave-enable_do_setScheme.diff kpowersave-svk_r3169.diff kpowersave-svn_r3115-r3132.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kpowersave.spec ++++++ --- /var/tmp/diff_new_pack.h16516/_old 2008-04-20 16:30:40.000000000 +0200 +++ /var/tmp/diff_new_pack.h16516/_new 2008-04-20 16:30:40.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package kpowersave (Version 0.7.3) # -# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -10,6 +10,7 @@ # norootforbuild + Name: kpowersave Url: http://sourceforge.net/projects/powersave/ %if 0%{?sles_version} > 0 @@ -23,10 +24,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: KDE Frontend for Battery Monitoring, Suspend, CPU Freq and General Power Management Support Version: 0.7.3 -Release: 1 +Release: 83 ExclusiveArch: %ix86 x86_64 ia64 ppc ppc64 Requires: /sbin/pidof xorg-x11 Source: %{name}-%{version}.tar.bz2 +Patch0: kpowersave-svn_r3115-r3132.diff +Patch1: kpowersave-enable_do_setScheme.diff +Patch2: kpowersave-svk_r3169.diff %if %suse_version > 1020 Requires: %{name}-lang = %{version} %endif @@ -50,8 +54,12 @@ %if %suse_version > 1020 %lang_package %endif + %prep %setup -n %{name}-%{version} -q +%patch0 +%patch1 +%patch2 -p1 . /etc/opt/kde3/common_options update_admin ++++++ kpowersave-enable_do_setScheme.diff ++++++ === src/kpowersave.cpp ================================================================== --- src/kpowersave.cpp (revision 3141) +++ src/kpowersave.cpp (local) @@ -2560,10 +2560,10 @@ * \param _scheme QString with the scheme to set, scheme should be * named as list from list_schemes() */ -bool kpowersave::do_setScheme( QString /*_scheme*/ ) { +bool kpowersave::do_setScheme( QString _scheme ) { kdDebugFuncIn(trace); -/* int index; + int index; index = settings->schemes.findIndex(_scheme); if (index != -1) { @@ -2575,7 +2575,7 @@ kdDebugFuncOut(trace); return false; } -*/ + kdDebugFuncOut(trace); return false; } ++++++ kpowersave-svk_r3169.diff ++++++ === kpowersave/ChangeLog ================================================================== --- kpowersave/ChangeLog (revision 3168) +++ kpowersave/ChangeLog (local) @@ -1,3 +1,10 @@ +2008-01-23 Danny Kukawka <danny.kukawka@web.de> + + * src/kpowersave.[cpp,h]: Added new dcop function: isOnBattery() + to get the info if the machine is on battery or not. + + NOTE: Was requested by dmacvicar@suse.de. + 2008-01-09 Danny Kukawka <danny.kukawka@web.de> * src/kpowersave.[cpp,h]: Fixed b.n.c #349083 : force set === kpowersave/src/kpowersave.cpp ================================================================== --- kpowersave/src/kpowersave.cpp (revision 3168) +++ kpowersave/src/kpowersave.cpp (local) @@ -2790,6 +2790,16 @@ } + +//! dcop funtion to get the info if the machine is on battery +bool kpowersave::isOnBattery() { + kdDebugFuncIn(trace); + + return !hwinfo->getAcAdapter(); + + kdDebugFuncOut(trace); +} + //! dcop funtion to get the current brightness level int kpowersave::brightnessGet() { kdDebugFuncIn(trace); === kpowersave/src/kpowersave.h ================================================================== --- kpowersave/src/kpowersave.h (revision 3168) +++ kpowersave/src/kpowersave.h (local) @@ -488,6 +488,10 @@ //! dcop function to find out if kpowersave manages DPMS bool currentSchemeManagesDPMS(); + + //! dcop function to find out if the machine is on battery + bool isOnBattery(); + //! dcop funtion to get the current brightness level int brightnessGet(); ++++++ kpowersave-svn_r3115-r3132.diff ++++++ ++++ 831 lines (skipped) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org