From e7ebc661e4a9833f3ee5cd3423f7027c2528bf79 Mon Sep 17 00:00:00 2001 From: Nagy Karoly Gabriel Date: Mon, 10 Sep 2007 00:59:11 +0800 Subject: [PATCH] added powertop A tool that helps you find what software is using the most power --- wip/powertop/no_unicode.patch | 28 ++++++++++++++++++++++++++++ wip/powertop/powertop.cache | 24 ++++++++++++++++++++++++ wip/powertop/powertop.desc | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) create mode 100644 wip/powertop/no_unicode.patch create mode 100644 wip/powertop/powertop.cache create mode 100644 wip/powertop/powertop.desc diff --git a/wip/powertop/no_unicode.patch b/wip/powertop/no_unicode.patch new file mode 100644 index 000000000..b5b05dcdb --- /dev/null +++ b/wip/powertop/no_unicode.patch @@ -0,0 +1,28 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../powertop/no_unicode.patch +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +Inspired by Gentoo, needs further revamping +--- ./Makefile.orig 2007-08-20 01:43:08.000000000 +0800 ++++ ./Makefile 2007-09-10 00:45:06.000000000 +0800 +@@ -20,7 +20,7 @@ + + + powertop: $(OBJS) Makefile powertop.h +- $(CC) ${CFLAGS} $(OBJS) -lncursesw -o powertop ++ $(CC) ${LDFLAGS} $(OBJS) -lncurses -o powertop + @(cd po/ && $(MAKE)) + + powertop.1.gz: powertop.1 diff --git a/wip/powertop/powertop.cache b/wip/powertop/powertop.cache new file mode 100644 index 000000000..af4ff9b89 --- /dev/null +++ b/wip/powertop/powertop.cache @@ -0,0 +1,24 @@ + +[TIMESTAMP] 1189356673 Mon Sep 10 00:51:13 2007 +[BUILDTIME] 0 (5) +[SIZE] 0.33 MB, 21 files + +[DEP] 00-dirtree +[DEP] bash +[DEP] binutils +[DEP] bzip2 +[DEP] coreutils +[DEP] diffutils +[DEP] findutils +[DEP] gcc +[DEP] gettext +[DEP] glibc +[DEP] grep +[DEP] gzip +[DEP] linux-header +[DEP] make +[DEP] ncurses +[DEP] patch +[DEP] sed +[DEP] sysfiles +[DEP] tar diff --git a/wip/powertop/powertop.desc b/wip/powertop/powertop.desc new file mode 100644 index 000000000..b9a73e38a --- /dev/null +++ b/wip/powertop/powertop.desc @@ -0,0 +1,35 @@ +[COPY] --- SDE-COPYRIGHT-NOTE-BEGIN --- +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] +[COPY] Filename: package/.../powertop/powertop.desc +[COPY] Copyright (C) 2007 The OpenSDE Project +[COPY] +[COPY] More information can be found in the files COPYING and README. +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; version 2 of the License. A copy of the +[COPY] GNU General Public License can be found in the file COPYING. +[COPY] --- SDE-COPYRIGHT-NOTE-END --- + +[I] A tool that helps you find which software is eating your batteries + +[T] PowerTop is tool that detects which Linux programs and kernel tunables +[T] are resulting in the largest power consumption and use of battery time. By +[T] fixing (or closing) these applications or processes, you can immediately +[T] see the power savings in the tool. You'll also see the estimated time +[T] left for battery power if you are running a laptop. + +[U] http://www.linuxpowertop.org + +[A] Arjan Van de Ven +[M] Nagy Karoly Gabriel + +[C] extra/tool + +[L] GPL +[S] Stable +[V] 1.8 +[P] X -----5---9 800.000 + +[D] 3391087794 powertop-1.8.tar.gz http://www.linuxpowertop.org/download/