commit powertop for openSUSE:Factory
Hello community, here is the log from the commit of package powertop for openSUSE:Factory checked in at Fri Sep 24 01:00:21 CEST 2010. -------- --- powertop/powertop.changes 2010-05-09 19:07:35.000000000 +0200 +++ /mounts/work_src_done/STABLE/powertop/powertop.changes 2010-08-24 19:11:48.000000000 +0200 @@ -1,0 +2,29 @@ +Tue Aug 24 17:14:01 UTC 2010 - trenn@novell.com + +- Fix minor build warning: + powertop.x86_64: W: name-repeated-in-summary C PowerTOP +- Update to version 1.13: + Features: + * PowerTOP now supports Runtime Device Power Management, both in terms + of enabling it via a suggestion as well as collecting statistics for it + * PowerTOP now has support for reporting which application keeps the + disk from powersaving mode (worth +/- 0.5W) + * PowerTOP now has support for reporting AHCI Link power management + statistics (worth 0.5W - 1W) + * PowerTOP now supports the Audio power saving statistics so you can see + if some app keeps your audio out of powersave (0.5W - 1W) + * PowerTOP reports the use of "Turbo Mode" on Intel processors that + support this (Core i7 and such) + + Fixes: + * We should have fixed all suggestions that previously didn't go away + even though you hit the key to apply them + * We don't turn on USB power management for USB input devices, they tend + to break if you do + * Be smarter about we report ethernet activity in the light of + multiqueue networking + * many translation updates + * Recognize per cpu hpet in timer reporting + * Various wifi power saving api changes/tweaks taken care of + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- powertop-1.11-svn_r332.diff powertop-1.11.tar.gz powertop-segfault.diff New: ---- powertop-1.13.tar.bz2 powertop_fix_sizof_link.patch powertop_set_cflags_override.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powertop.spec ++++++ --- /var/tmp/diff_new_pack.Zypt7B/_old 2010-09-24 00:58:47.000000000 +0200 +++ /var/tmp/diff_new_pack.Zypt7B/_new 2010-09-24 00:58:47.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package powertop (Version 1.11) +# spec file for package powertop (Version 1.13) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,14 +19,14 @@ Name: powertop Url: http://www.linuxpowertop.org -Summary: PowerTOP is a Linux Tool to Find out What is Using Power on a Laptop -Version: 1.11 -Release: 3 +Summary: A Linux Tool to Find out What is Using Power on a Laptop +Version: 1.13 +Release: 1 License: GPLv2+ Group: System/Monitoring -Source0: %{name}-%{version}.tar.gz -Patch0: powertop-segfault.diff -Patch1: powertop-1.11-svn_r332.diff +Source0: %{name}-%{version}.tar.bz2 +Patch0: powertop_fix_sizof_link.patch +Patch1: powertop_set_cflags_override.patch BuildRequires: ncurses-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build AutoReqProv: on @@ -37,14 +37,13 @@ doing in terms of power savings. - Authors: -------- Arjan van de Ven <arjan@linux.intel.com> %prep %setup -%patch0 +%patch0 -p1 %patch1 -p1 %build ++++++ powertop_fix_sizof_link.patch ++++++ commit 24a9f62c5b7f79500cd468876fa5323e689179a2 Author: Luca Tettamanti <kronos.it@gmail.com> Date: Fri Aug 6 09:56:15 2010 -0700 readlink is failing because sizeof(link) returns the size of 'link' which is a function, not the intended char buffer. Fix the typo. Signed-off-by: Luca Tettamanti <kronos.it@gmail.com> diff --git a/usb.c b/usb.c index f3a1bef..44d3252 100644 --- a/usb.c +++ b/usb.c @@ -52,7 +52,7 @@ void activate_usb_autosuspend(void) /* skip usb input devices */ sprintf(filename, "/sys/bus/usb/devices/%s/driver", dirent->d_name); memset(linkto, 0, sizeof(linkto)); - len = readlink(filename, linkto, sizeof(link) - 1); + len = readlink(filename, linkto, sizeof(linkto) - 1); if (strstr(linkto, "usbhid")) continue; ++++++ powertop_set_cflags_override.patch ++++++ --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: powertop-1.13/Makefile =================================================================== --- powertop-1.13.orig/Makefile +++ powertop-1.13/Makefile @@ -7,7 +7,7 @@ WARNFLAGS=-Wall -Wshadow -W -Wformat -Wi CFLAGS?=-O1 -g ${WARNFLAGS} CC?=gcc -CFLAGS+=-D VERSION=\"$(VERSION)\" +override CFLAGS+=-D VERSION=\"$(VERSION)\" # # The w in -lncursesw is not a typo; it is the wide-character version ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de