rpms/powertop/devel powertop-1.7-less-gpm-slander-plz.patch, NONE, 1.1 powertop.spec, 1.8, 1.9
Adam Jackson (ajax)
fedora-extras-commits at redhat.com
Thu Jul 5 20:33:00 UTC 2007
Author: ajax
Update of /cvs/pkgs/rpms/powertop/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1140
Modified Files:
powertop.spec
Added Files:
powertop-1.7-less-gpm-slander-plz.patch
Log Message:
* Thu Jul 05 2007 Adam Jackson <ajax at redhat.com> 1.7-2
- Don't suggest disabling g-p-m. Any additional power consumption is more
than offset by the ability to suspend.
powertop-1.7-less-gpm-slander-plz.patch:
--- NEW FILE powertop-1.7-less-gpm-slander-plz.patch ---
diff -up powertop-1.7/powertop.c.jx powertop-1.7/powertop.c
--- powertop-1.7/powertop.c.jx 2007-06-17 21:16:31.000000000 -0400
+++ powertop-1.7/powertop.c 2007-07-05 16:07:16.000000000 -0400
@@ -631,12 +631,6 @@ int main(int argc, char **argv)
"Beagle is the program that indexes for easy desktop search, however it's \n"
"not very efficient and costs a significant amount of battery life."), 30);
- /* suggest to stop gnome-power-manager if it shows up in the top 10 and wakes up more than 10 times in the measurement */
- suggest_process_death("gnome-power-man : schedule_timeout (process_timeout)", "gnome-power-manager", lines, min(linehead,10), 10.0,
- _("Suggestion: Disable or remove 'gnome-power-manager' from your system. \n"
- "Despite its name, some versions of gnome-power-manager end up costing more power \n"
- "than it'll ever save."), 5);
-
/* suggest to stop pcscd if it shows up in the top 50 and wakes up at all*/
suggest_process_death("pcscd : ", "pcscd", lines, min(linehead,50), 1.0,
_("Suggestion: Disable or remove 'pcscd' from your system. \n"
Index: powertop.spec
===================================================================
RCS file: /cvs/pkgs/rpms/powertop/devel/powertop.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- powertop.spec 18 Jun 2007 14:54:32 -0000 1.8
+++ powertop.spec 5 Jul 2007 20:32:24 -0000 1.9
@@ -1,6 +1,6 @@
Name: powertop
Version: 1.7
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Power consumption monitor
Group: Applications/System
@@ -12,12 +12,15 @@
BuildRequires: gettext
BuildRequires: ncurses-devel
+Patch0: powertop-1.7-less-gpm-slander-plz.patch
+
%description
PowerTOP is a tool that finds the software component(s) that make your
computer use more power than necessary while it is idle.
%prep
%setup -q
+%patch0 -p1 -b .g-p-m
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -38,6 +41,10 @@
%{_mandir}/man1/powertop.1*
%changelog
+* Thu Jul 05 2007 Adam Jackson <ajax at redhat.com> 1.7-2
+- Don't suggest disabling g-p-m. Any additional power consumption is more
+ than offset by the ability to suspend.
+
* Mon Jun 18 2007 Adam Jackson <ajax at redhat.com> 1.7-1
- powertop 1.7.
More information about the scm-commits
mailing list