summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Farina <zerochaos@gentoo.org>2012-11-22 19:35:54 +0000
committerRichard Farina <zerochaos@gentoo.org>2012-11-22 19:35:54 +0000
commit46e544293f1dbd1cfada59266c062e8b0cf8fe53 (patch)
treed0e5ea8e7adbe0402fe7f842abca407e18abe108 /sys-power
parentStable for amd64, wrt bug #439518 (diff)
downloadhistorical-46e544293f1dbd1cfada59266c062e8b0cf8fe53.tar.gz
historical-46e544293f1dbd1cfada59266c062e8b0cf8fe53.tar.bz2
historical-46e544293f1dbd1cfada59266c062e8b0cf8fe53.zip
bump to 2.2
Package-Manager: portage-2.1.11.31/cvs/Linux x86_64 Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'sys-power')
-rw-r--r--sys-power/powertop/ChangeLog7
-rw-r--r--sys-power/powertop/Manifest30
-rw-r--r--sys-power/powertop/powertop-2.2.ebuild105
3 files changed, 127 insertions, 15 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog
index 87140e3c1a73..cbb6c15e0f55 100644
--- a/sys-power/powertop/ChangeLog
+++ b/sys-power/powertop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-power/powertop
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.70 2012/11/22 15:00:37 zerochaos Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.71 2012/11/22 19:35:42 zerochaos Exp $
+
+*powertop-2.2 (22 Nov 2012)
+
+ 22 Nov 2012; Rick Farina <zerochaos@gentoo.org> +powertop-2.2.ebuild:
+ bump to 2.2
22 Nov 2012; Rick Farina <zerochaos@gentoo.org> powertop-2.1-r1.ebuild,
powertop-9999.ebuild:
diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest
index 7228626d1292..1a10b7f06d40 100644
--- a/sys-power/powertop/Manifest
+++ b/sys-power/powertop/Manifest
@@ -10,28 +10,30 @@ DIST powertop-1.11.tar.gz 73136 SHA256 70e7cc53e5fbade5e447bda9f0ca12f2153bf426e
DIST powertop-1.13.tar.gz 104675 SHA256 2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98 SHA512 0c22a903da64798d987492336d57260372e03eab067ad94cf30b7640e9ee05e759a2fe9fa48fbdc35404cd2782b6b29d705e11e68452653b08f7f9df1a52be44 WHIRLPOOL 5ba44b84f49609f67c32563f75e20f6576c21a93fcb1ca99ebfe064475397602aa0f0fb9575e05b5a0290983791e7cf6ebae0139b39158b962e4b51027a6f5aa
DIST powertop-2.0.tar.bz2 456654 SHA256 7af51d320856b3446bcc314c9414385f3b05b9360f650883b0210cd3b12c5c1c SHA512 3d78d0840d2253a7287914ecfadb8183fd06d1ad3d9b7300306171352299259a41a8c470484a40fcd1700305f02c98505254742327b89574bca40a3d279f7043 WHIRLPOOL f0e51f28903f56a6b5151a0e99673fe847dd047d993e1bbb6de26ba08f0fcfe32f4dcd89b8e2b4e2e3f1fb6d6d5bc6e7e8bf84882f2e47e5021eaeb813c8830d
DIST powertop-2.1.tar.gz 960274 SHA256 3dd4816cca4167063b78d2d7772aff8dc58377d0ed74bf11862412a8a80d2698 SHA512 2ff74d6ced30336674ec6508e9f93dfa280b4dd61cfb98d742ccbe967928e21178df98799c79a0659c192356194f68cfaf023f494ff522e761c154875e98e59d WHIRLPOOL 32e93b0a5c28bffb11e125adbd98af429b420ba099c8e0834a8786fa58db21af182d775d74b58b2552b65ccbfa64ea27085a09c1fefd1cbb97ea7c43ba02bf80
+DIST powertop-2.2.tar.gz 617805 SHA256 1339e1bc3b9675c71dd70fed1132abf215d01469b348d23be7344bc65557b028 SHA512 f57586e100ca36a6787cd9a3794a8f057fffe7bd9decaa8cf04b9d81300bb1da7c2d1f7eab91e3c0faa9616b7d47007b6b796dcd777bde5aec53dbe3a7ed4bec WHIRLPOOL 62aae460529032d30174f51e1cd22d3986a197f6b03460184a4bd9b199c2f08a031e5f7c8732d552f479548c90cba567d93b95629d8ca1e668a5dd8aaa5c8d98
EBUILD powertop-1.11.ebuild 1103 SHA256 5c961061f2e057b2258f55323c0d618006abf9039816d3811064ca0f6fa84911 SHA512 2860fe9ba9b288850fec2746ac30f66850afe27f7eb558a313dacc272a6f354e54c930783a0e6d8304a77c7c5318bedc27264f32ed4cc9da1f30d66079ac7cca WHIRLPOOL b28a7b9ef2f3a5dde8f6b9cade705ef21d36e3b67be0bdcb014a918ffaea4c3adb06ea4bc7240f4e2191d60ce80ec3ec33a67fa0e292049944356649c220d3d8
EBUILD powertop-1.13.ebuild 1121 SHA256 ad10c47049432ef0f9047eee7c5c6db033843f699cd2003c5b087169a296a030 SHA512 d87e4874baf0163ddef11ab5c2984ca276e98d551caaf2760e1054cde03e60248ee17ed143a0dcbca23f4a591b883c3b2e46fd1c7f773ab78e1fcb117340232e WHIRLPOOL a372742bb77b08e8b208342ca14e33f1a2d2d6287610613aebb7ec73ae76714448fd4baa39ec84f1f75658fcbd34ec42e058a1dc181e04c68c1d901ef0a78a2f
EBUILD powertop-2.0.ebuild 1397 SHA256 503e73fcc9867a2f152b8fc0c8e25c457407bdac253a9c091935a51dc3388e63 SHA512 b58aed84f3200e181e127c237f040240b838d5c45a92c7419b00dc809956e9f206aa2d6c835c144aff5acf6f59b3a0d43900499ed8dcb229101d1c1f5553751b WHIRLPOOL 776052e2dab2e1278f51c8aea5114bd892c7af9cbcf521382d9dbf406b8c668bb92e73c0316a4b7f97432d579fcbcf0b7515aaab6ccd7efdd2860b6eaea609b0
EBUILD powertop-2.1-r1.ebuild 3541 SHA256 188e7d91e664413ed68cac99b4325a5d94af42c8ab9706ef25db0a47a33a900f SHA512 d333df3ec062749a1b34b6019c94da3e892854166061ce244c6a1b8c5f662ac3badac2bc38ba80e4ddd0ccda7522d9a05c6253f1a0911a8ceb8c368ac78626c3 WHIRLPOOL 18e6354409785505e670faf1a5fdbcaa99fa987885c6e710fc500f7191bb217514a1a57b61b63c9267f94003609441ebe6a5ba8ddd9713fb827b8fa50565ce97
EBUILD powertop-2.1.ebuild 1382 SHA256 1fd1be405ed17d56a51908673fc9822cf47da62ef404f9e7812aae8a76afee48 SHA512 7be332a56b7bf9ded309a87af6ea924efa5bac56cdd55bac26b7b4d88d36cc2e79b2ebf36a935fdaf60814be5c7cf96b653fc540fcfce27827e9fe8f90b642d6 WHIRLPOOL 4d02d000442929fde535676f29c23c1b34cef10235d9e593fadcc5f331018ef535c8eed63e62e5b0917702477da37889dd6d44fd32b78792d8e7d4495a6bc409
+EBUILD powertop-2.2.ebuild 3538 SHA256 a933cb51c37d1ab00d26fe987940eb9b3e3d60f233743cca7ac51b920142015a SHA512 63dc4da6e94d0e3b03bc00d98695f8a057beeec03f447e903206266b74cb8b4808ed8dfeac8a4393c08d893aec4b96c4914fcdeee81e6dab36e896d93b006021 WHIRLPOOL 839c132e842adf53411ff3a1942b8cd43aecd829bacfb1bdd9db10aa85350de612a12a11a978e731c66a68420a327082c293deabe446cace1f49e743e78bc921
EBUILD powertop-9999.ebuild 3423 SHA256 daa3420ab6ef011b084486dd9e1ec6aea837b8ef9c5cd6c331d881ad4a30d1fc SHA512 e2075b5c8f8465c59fbeacf7517991c8ece4325ae7afbce9c612b992084d70a81d33d865e3145f5407239b4fbfbd8d583a94d5c21ba10d743cb0a6d4b6fc9df4 WHIRLPOOL d000d6c661171660a4bc9683b3a8db493d918bf500ffc0b39e914c6fceb6eef880fa4e4c76ca3a3902abf5b1e193020ad95c1ea766e4b1606b5499b20741ccbe
-MISC ChangeLog 10323 SHA256 831c9603f163b79df03424328045bdc94da51100ac8d18b59dd9deb3e189fc4b SHA512 8d830b2d0776e6abcd938d0be8f5aa32fdbfafba27b5bdaa7fbc47c54f030c02a1ece85a1808798768f56e3bc5af85814c180561f572faaf98e0160fd7e9b140 WHIRLPOOL 96207644fc23c30fd02b57b0c40dc971a331960a90d5225e331ff6eb12e66df90671b08cef832edbfddca01eb8d8f2a3b07496db48adf650a4cf4cbc9840ce1e
+MISC ChangeLog 10439 SHA256 c2d9cedbe8c638b63a2c0d049af2588e81aa7b6a98766314d2712d8bcdf1e0e8 SHA512 c2ad6e197ca45779c5254d59c43181e6ad7aa375ef04af9823946eff28fea58307e9d9e0cf6ef2ed1434d9ab02c8eec7e8e28199dbc79eb3e57b2da90ad46d90 WHIRLPOOL d343ecacb34839edb38eabb8207df87b2dbe24467b7d2414bb3b50fcbc91b8d779a73615e8cbef9696ee9d372b8382da34f201379868a34a1276916907a8b8cd
MISC metadata.xml 239 SHA256 24d3268dbe675a5446456b139438c1bd59bd6190077399a4a715805ef28da3cc SHA512 2fa025f3394a125b4a92ee5fdb579bcfe74755f4e4306d90979bbb04c5239adfd2fdf9242ee7623642909597100ca88a6f6b7578a24512d976930fad186e10f9 WHIRLPOOL ab1b126e1a8170eba68412f8704d38ac7a479cb80a461cb2466ad87966ab8f78ddc04ce66341e5056df8c3aa21e3cf2c530a1f3236461bb502b91842089b49bb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCgAGBQJQrj44AAoJEKXdFCfdEflKe7MP/A0jzAGQGCzbkA66HQqezthv
-+COS2StoH52xO7/JXuHATUNu8wGwk56tXYZu+S57B5HhUPpNCg9pKi6IgJ+0S1cW
-uDwXocA3r0ltKXgZzW0sBm4O974Sbuvsl/oo6eu6moTJzMK/S6CQ/zdTKQomgYWL
-7bHLZ5WmbIy0jJ8s+rCT4kuyCj2diGg1WBFGYF3k89oXamnmxbLSfxUk5PMnJ9Xf
-dYHQi6wAO32FXkywhLHH4L9mCfqMPtZ+M9UfQTGZJwNIlG0rwCO2mriqtPVL7tx5
-5OLXgUrFG+03QkmLZme/NNDH9KodBOScHYT0b50d+fH3KMkAXKU9QBLQ91EAb2GO
-uCV8OxqY40JxAm6Gjd2DdXGtFbebrLnjJP7Vvmv3fK4d4JDJav4gq5yk2QP0YHfc
-e5GrSVXDomECEOAVh/diMcxIJOSx/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sys-power/powertop/powertop-2.2.ebuild
new file mode 100644
index 000000000000..b132b7ed2104
--- /dev/null
+++ b/sys-power/powertop/powertop-2.2.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.2.ebuild,v 1.1 2012/11/22 19:35:42 zerochaos Exp $
+
+EAPI="4"
+
+inherit eutils linux-info
+if [ ${PV} == "9999" ] ; then
+ EGIT_REPO_URI="git://github.com/fenrus75/powertop.git"
+ inherit git-2 autotools
+ SRC_URI=""
+else
+ SRC_URI="https://01.org/powertop/sites/default/files/downloads/${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+DESCRIPTION="tool that helps you find what software is using the most power"
+HOMEPAGE="https://01.org/powertop/ http://www.lesswatts.org/projects/powertop/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="unicode X"
+
+COMMON_DEPEND="
+ dev-libs/libnl:3
+ sys-apps/pciutils
+ sys-devel/gettext
+ sys-libs/ncurses[unicode?]
+"
+
+DEPEND="${COMMON_DEPEND}
+ virtual/pkgconfig
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ X? ( x11-apps/xset )
+"
+
+DOCS=( TODO README )
+
+pkg_setup() {
+ if linux_config_exists; then
+ CONFIG_CHECK="
+ ~X86_MSR
+ ~DEBUG_FS
+ ~PERF_EVENTS
+ ~TRACEPOINTS
+ ~NO_HZ
+ ~HIGH_RES_TIMERS
+ ~HPET_TIMER
+ ~CPU_FREQ_STAT
+ ~CPU_FREQ_GOV_ONDEMAND
+ ~USB_SUSPEND
+ ~FTRACE
+ ~BLK_DEV_IO_TRACE
+ ~TIMER_STATS
+ ~EVENT_POWER_TRACING_DEPRECATED
+ ~TRACING
+ "
+ if kernel_is -lt 3 7 0; then
+ linux_chkconfig_present SND_HDA_INTEL && CONFIG_CHECK+="~SND_HDA_POWER_SAVE"
+ linux_chkconfig_present SND_HDA_INTEL && ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
+ fi
+ ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
+ ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_USB_SUSPEND="USB_SUSPEND should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
+ ERROR_KERNEL_BLK_DEV_IO_TRACE="BLK_DEV_IO_TRACE needs to be turned on to enable TIMER_STATS, TRACING and EVENT_POWER_TRACING_DEPRECATED"
+ ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
+ ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
+ linux-info_pkg_setup
+ else
+ ewarn "unable to find kernel config, all checks disabled"
+ fi
+}
+
+src_prepare() {
+ if [ ${PV} == "9999" ] ; then
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
+ default
+}
+
+src_compile() {
+ #the clean is needed because the 2.1 tarball had object files in src/tuning/
+ emake clean
+ emake
+}
+
+src_install() {
+ default
+ keepdir /var/cache/powertop
+}