diff options
author | Richard Farina <zerochaos@gentoo.org> | 2013-07-20 03:30:37 +0000 |
---|---|---|
committer | Richard Farina <zerochaos@gentoo.org> | 2013-07-20 03:30:37 +0000 |
commit | 3b4e815ad15e8e653099f44b77893b7b3d3ed9cb (patch) | |
tree | 1e2f1c8f0f95094b4d5f647e7f5a7e3bc244bfbc /sys-power/powertop | |
parent | Version bump with various updates and UI fixes. Update homepage and source UR... (diff) | |
download | historical-3b4e815ad15e8e653099f44b77893b7b3d3ed9cb.tar.gz historical-3b4e815ad15e8e653099f44b77893b7b3d3ed9cb.tar.bz2 historical-3b4e815ad15e8e653099f44b77893b7b3d3ed9cb.zip |
migrate USB_SUSPEND to PM_RUNTIME per bug 477280
Package-Manager: portage-2.1.12.2/cvs/Linux x86_64
Manifest-Sign-Key: 0xDD11F94A
Diffstat (limited to 'sys-power/powertop')
-rw-r--r-- | sys-power/powertop/ChangeLog | 6 | ||||
-rw-r--r-- | sys-power/powertop/Manifest | 33 | ||||
-rw-r--r-- | sys-power/powertop/powertop-2.2-r1.ebuild | 108 | ||||
-rw-r--r-- | sys-power/powertop/powertop-2.2-r2.ebuild | 109 | ||||
-rw-r--r-- | sys-power/powertop/powertop-2.3.ebuild | 6 |
5 files changed, 23 insertions, 239 deletions
diff --git a/sys-power/powertop/ChangeLog b/sys-power/powertop/ChangeLog index 82d780b672eb..4400ceef03a4 100644 --- a/sys-power/powertop/ChangeLog +++ b/sys-power/powertop/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-power/powertop # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.82 2013/04/28 02:10:19 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/ChangeLog,v 1.83 2013/07/20 03:30:31 zerochaos Exp $ + + 20 Jul 2013; Rick Farina <zerochaos@gentoo.org> -powertop-2.2-r1.ebuild, + -powertop-2.2-r2.ebuild, powertop-2.3.ebuild: + migrate USB_SUSPEND to PM_RUNTIME per bug 477280 28 Apr 2013; Rick Farina <zerochaos@gentoo.org> powertop-1.13.ebuild: powertop 1.x has been staying around longer than I orginally thought, fixing diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index f290eb9a7cd4..38820ae62e82 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -9,29 +9,26 @@ AUX powertop-1.98-gcc-4.7.patch 3720 SHA256 44335480e32fbd591e5fe45cc8f47c45ad45 AUX powertop-2.2-cpu-add-new-Intel-cpuid.patch 1308 SHA256 ac53965cebf261cea753e73a17f95478d39294847d92581fd10260a5cdcaae67 SHA512 5c36318d0ea7ebf166162957fb72e8b38e4e010e8029128a3f5e9bc789ee6efbf4b87b1a5a96fba2c675397e90c8c37333542c5cab4ea5077a3d26f8e6df0eaa WHIRLPOOL 8d76929edd03ceabff268e7d39584b1e68c6338e3f1452d4bfff0ee80d66df7e4f81084392a635077569c372e747827ae74f39dfc4cc4904b904a80d20b221aa AUX powertop-2.2-use-package_version.patch 740 SHA256 40258728ae75fb0ba425bd1295ce88784ca03bde59ef52aa114a2269020f1cd8 SHA512 196a866d13999103a6c0d7b5e1b03ce0a11ce1c3a7550346b45bcbb5597b1080b0b9fbd7b18b5d66e2b9d140d5e7ec460cd8be4749bc52c7b904287a0e621999 WHIRLPOOL 715823eb0e936764ebfc5ad6c4bbc7b818f54c310081dd3112da2640923046582b4eaec8b8c0f85891adcf147b04fb25150d1322099664b75a091f39b3c729b5 DIST powertop-1.13.tar.gz 104675 SHA256 2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98 SHA512 0c22a903da64798d987492336d57260372e03eab067ad94cf30b7640e9ee05e759a2fe9fa48fbdc35404cd2782b6b29d705e11e68452653b08f7f9df1a52be44 WHIRLPOOL 5ba44b84f49609f67c32563f75e20f6576c21a93fcb1ca99ebfe064475397602aa0f0fb9575e05b5a0290983791e7cf6ebae0139b39158b962e4b51027a6f5aa -DIST powertop-2.2.tar.gz 617805 SHA256 1339e1bc3b9675c71dd70fed1132abf215d01469b348d23be7344bc65557b028 SHA512 f57586e100ca36a6787cd9a3794a8f057fffe7bd9decaa8cf04b9d81300bb1da7c2d1f7eab91e3c0faa9616b7d47007b6b796dcd777bde5aec53dbe3a7ed4bec WHIRLPOOL 62aae460529032d30174f51e1cd22d3986a197f6b03460184a4bd9b199c2f08a031e5f7c8732d552f479548c90cba567d93b95629d8ca1e668a5dd8aaa5c8d98 DIST powertop-2.3.tar.gz 625004 SHA256 b8c1add69afee28c77dca56fdcedb4a46820f3a71c86aae7891b0c5c595cd744 SHA512 e30251be4b7e83438f57660b098f3e79c549c583a817af4749005a1971c51f8890f231427a5ab0780a159f01e71703b06640aa4399dc7e9a1e8f415a5bfe4363 WHIRLPOOL 85960b7cdba6e9a30be61c8c758f9e852f20c52f4f93503ea1ce907e4b736016f745a895c73e6d619eb2ff0ad36fce2685e4c296ca6fd72f7e999edb612a8c3e EBUILD powertop-1.13.ebuild 1158 SHA256 b996887bff17065a57aac201aac438a2c6310f5423109e4cb62de10c3e3dfdfd SHA512 c1ed8ee2fd7416138b9ab84072766071047e557ffc35fc57d32d8e4dc86f8986fa3a642f1875e2cf929eeabeb8a0b20025babc27808602b1123c970869c51146 WHIRLPOOL 570c6c80e97351859f9758b581a103a1a98d6c5ee58a63b4277431f21bcef9bed94ee35e3ed0193259a44978aa7aac717c597db4cba2aaa2d201ffe13998610f -EBUILD powertop-2.2-r1.ebuild 3642 SHA256 c21ac3f6f7cc6e51851b7e02e15ebe428b0960d521a404abc63546093982496b SHA512 93db7edddab96c7d056b625dbdb7d58f9792754537d576044b25bef33f2bdd2bf1e035f219fed9d759563e5c88cf71cb73556467ab48f7752dd18cc3ba3a0f23 WHIRLPOOL 1f78423f19479611a2bbb672276b3c36f3bf015d3c456850fc396a417c698fcee124a5c30e8d0db80ced8eb1d532f869158c600ac0770b2c591d20912c3c7eea -EBUILD powertop-2.2-r2.ebuild 3699 SHA256 19056ba268d196fb7f5c0ef5599aeef9ddd9e4e298ce92d01ba68d5581dcf032 SHA512 b39b3c62f3a739d1f75a295e11f5e3fb84937c670f21c501a460fb6bad75637caec0a4c787c7142fd4c203abf0ab0e34859b625f12cda89223d73d900bf84411 WHIRLPOOL 0c079f8959d92d0e9c592a9640f5e58695f304f12543eab5b9306cc8f60557c99becd2d4c9cc1770b1a2de57d96b57277c8c8d70f311fea9f22fa2c9f8c80b3e -EBUILD powertop-2.3.ebuild 3592 SHA256 792bf3d2e1961fbe1686f988519731ae9ae3309b3f0e2157498676712b493ce0 SHA512 efe0e974ce80f33875f0b14eb65b9c50079c65a8b3d5ed2c3fbfe6e26cc10213315da752afb3e87821fb009e4c577d3cdabed43fc9c4821d6e8b0c849bb16bb2 WHIRLPOOL 283655b9a5904e2b4d8e33a3303b1b5dff8724599c5ab34cf14f2b6a542ef4dc426cf1731d46c4fe4dc7e46fa4415e1a3cf0950f8aceb103638dea2de16f5cfc +EBUILD powertop-2.3.ebuild 3589 SHA256 83ff631518a4b95e5169684b2c10305069a5d40a0b3fa6d3eeb95d6f59d17a2f SHA512 c806c14edc2bd45092609b01af0c776160372683390d1edead2c4b3e9fe253d7252c219e62d90866f64ad76406080e67a01b9994f96b9fadcc8a9c40d96476d1 WHIRLPOOL e521058f7abf5a718f0db1ff455fa71c429cb1030fbfdff983918c6bbd5a4e09a4298d0e25e86898672c27310fb63b71f19af151adffc40732f4834f8da585d0 EBUILD powertop-9999.ebuild 3343 SHA256 e14736637877ae3e07026da03d875ba0c081cd2f07eaf34ccd19cd951ba62e96 SHA512 82a283df4615013b6aeb0eaa7334e99f5e5604562688b890147704ba30a81e3675e1803eed82c51e51908357115ffabc86556098b6393e69964d511a732e6efb WHIRLPOOL ddcbd5c9966cbf08eb22eea128c3fed3e68ae9d41f9eab701d761b10ecb0d7b463abe331123b3355878acb25017ae2c6309a33c09fb69aebbe14975236087e6d -MISC ChangeLog 12327 SHA256 79e6d0b88b0893e2da15ef23dab70bb08590e8cf0d9fe7aaebed12ebfcb0f33f SHA512 7e13feff92677a3197397a6be7b62a504bee8ee2db4bf5f0aadec8eb6a6a592913b5f88ebad2388b2f55f88dc60741f0747c372d2c50385c1cbfe45adfd565ef WHIRLPOOL a5a7aa1f49b5edf7c125aedb8cd7ff4080d548d9f7b84f33cddea40d16d8a582181acce9a96ea93bb1b804d320c318b9faa6e5d3e66efc9dc18993f98e78f31e +MISC ChangeLog 12502 SHA256 ec20cf55f062a0b2bb02fd1d5b835659e27fc8861f96fd8c82ae75203924c86e SHA512 bd942e08e93004620db6ce2b276fdc6da64cb5ee524c29407e2d7f065e802dd721ce68149a4f5e18b51abae7cc33977652ef2efae015940fc11fac8ebfa96801 WHIRLPOOL 5ec558590de9b687236ef5e4cd54f671ceaefb3d6636723350a4bf458f83713f4cfde1a205bbc23790077690c3412b1cf29a3e260d22be04df97d3d0683952d7 MISC metadata.xml 239 SHA256 24d3268dbe675a5446456b139438c1bd59bd6190077399a4a715805ef28da3cc SHA512 2fa025f3394a125b4a92ee5fdb579bcfe74755f4e4306d90979bbb04c5239adfd2fdf9242ee7623642909597100ca88a6f6b7578a24512d976930fad186e10f9 WHIRLPOOL ab1b126e1a8170eba68412f8704d38ac7a479cb80a461cb2466ad87966ab8f78ddc04ce66341e5056df8c3aa21e3cf2c530a1f3236461bb502b91842089b49bb -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRfIW9AAoJEKXdFCfdEflKPAYQALf8x0LbOzsEvMFQVKZZYJ5k -yuzwucZ+26IzYvyJgbO8vSuu8iE9TqOVpxq5wdPewHLoS4ZMU4PjxVnJ0aTK5czN -1T/KAtyI5fkKA4XKDqW6vuWYos9ExWhT1vt4NgTpKQmeDkEgyEjUAtJ1RgK7mWre -R+YPppnOuvg22OIuERESItXwOh+GwC5jI0JOnZXuptjkNOv3wRqsD3BV0lIhVL7H -H2bkdjboHKjV67QtCYM1kuu1xWQT+0Fnv+tAq3iA+CkJlpVoupJQMEDumiyHQWiy -kRp0nOoBYI5wiZvv7E7irX4/E1o+k2qAmPFNOM6z0YjVZiU3wDmF7ltx/4S24ulg -2ruqM25dUEEV0M/HJPa8gHwzr7ndPH5OFDdnjy1UNOnW5G6ncWNq/0N7CfNFxlBW -qIbvv/O+Y57NdwKal2eAeoOl/ocAKmN7FXfzB4AivrlTfPdLZ9Mmhue08WMWLZK3 -1zTcbXvElN61pt6R8Rd6r+sin7msp6k8jzeoi4Dv0fs41EfojdZin69qkaq9umUV -uoeSbqoZ+y4i8S2Hn6SLs1N2Jj9djkEL+PtnvpJtBN+bg5susF4JCz7AuLlycQCq -EA9s6l7zpdizOdBXRkKMxJmMZ9ZOeEooX3AxpLOnHuZtlOzHFMw4nVGam4KszhY/ -MZnINKGL1mB/RPoLyOHW -=tDNI +iQIcBAEBCgAGBQJR6gRkAAoJEKXdFCfdEflKV44QAJ1KpJ2uLnNFNFnlsJ24Ewzq +ga5w1FrQoz9E35ugRK9mkR2M57LVYpimFNGqFv0MQqq+HvZsUuzqZj+aLLi4kspr +jdvjqtpcRJRgbvB8QZ6xCgdlI7aYfK5CTG3U2+fGd18txtLBd9HqbfvtNiY4EszF +BQK3n2efA51T2nSMaQnKdVcLzxNpFFQwQp9fZZxuin3ANvVf/TBmIMO5/yKlxuOF ++EMi3mhiY9Uy/oiOiQm9VEqFiLS1TnHotujfjuJ+ezyZB9Atw8rqN4d90VLpfGnn +WBlSi8+vDjMW7MsjFd6Y6MkLtEE11ESyumJt82h+V5BoIPRoTEpgxauGhktwANWM +/oP9qLGuJMbslo9lUvupwTnbOMyg62NnUAuGuWIQ6EH9hgutH5IJoAwiXQ5ze+Hy +UhCiO3rdMjPdSe8CHJRXlyBELyCqDxmRjQVi9qsc1rdxAwCd2g8lty4PzOBuZVpR ++gVS8gGJv3hQendDoaQ6MLTRm0G/yvC63X6k8X0NvgeMS0JauIoxzVetDQgz7nDj +S9AUKDtCIv04UTvtTKuNqj7MIMHsYKuydZCt1Ke4pbuOCtCuhT/lfPWqq1CIofxA +fbp8wH5nbUFa8INp4I6kv1jZqaar9lImbblHg3gR+R6hXhYW/EPYqWKDffn99psN +it1+51oBBqU5ulJgrMVh +=GoGF -----END PGP SIGNATURE----- diff --git a/sys-power/powertop/powertop-2.2-r1.ebuild b/sys-power/powertop/powertop-2.2-r1.ebuild deleted file mode 100644 index 8b81f3396c76..000000000000 --- a/sys-power/powertop/powertop-2.2-r1.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.2-r1.ebuild,v 1.3 2013/03/08 06:16:03 vapier Exp $ - -EAPI="5" - -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-libs/ncurses[unicode?] -" - -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - sys-devel/gettext -" -RDEPEND=" - ${COMMON_DEPEND} - X? ( x11-apps/xset ) - virtual/libintl -" - -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() { - epatch "${FILESDIR}"/${P}-use-package_version.patch - if [[ ${PV} == "9999" ]] ; then - eautoreconf - fi -} - -src_configure() { - export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) - default -} - -src_compile() { - # This fixes cross-compiling. Please verify before deleting. - emake -C src csstoh - cp "${FILESDIR}"/csstoh src/ || die - emake -} - -src_install() { - default - keepdir /var/cache/powertop -} diff --git a/sys-power/powertop/powertop-2.2-r2.ebuild b/sys-power/powertop/powertop-2.2-r2.ebuild deleted file mode 100644 index b06bd5f68203..000000000000 --- a/sys-power/powertop/powertop-2.2-r2.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.2-r2.ebuild,v 1.1 2013/03/25 16:30:32 vapier Exp $ - -EAPI="5" - -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-libs/ncurses[unicode?] -" - -DEPEND="${COMMON_DEPEND} - virtual/pkgconfig - sys-devel/gettext -" -RDEPEND=" - ${COMMON_DEPEND} - X? ( x11-apps/xset ) - virtual/libintl -" - -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() { - epatch "${FILESDIR}"/${P}-use-package_version.patch - epatch "${FILESDIR}"/${P}-cpu-add-new-Intel-cpuid.patch - if [[ ${PV} == "9999" ]] ; then - eautoreconf - fi -} - -src_configure() { - export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) - default -} - -src_compile() { - # This fixes cross-compiling. Please verify before deleting. - emake -C src csstoh - cp "${FILESDIR}"/csstoh src/ || die - emake -} - -src_install() { - default - keepdir /var/cache/powertop -} diff --git a/sys-power/powertop/powertop-2.3.ebuild b/sys-power/powertop/powertop-2.3.ebuild index 4ed101a55376..c0f13170e87b 100644 --- a/sys-power/powertop/powertop-2.3.ebuild +++ b/sys-power/powertop/powertop-2.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.4 2013/04/08 03:12:19 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powertop/powertop-2.3.ebuild,v 1.5 2013/07/20 03:30:31 zerochaos Exp $ EAPI="5" @@ -50,7 +50,7 @@ pkg_setup() { ~HPET_TIMER ~CPU_FREQ_STAT ~CPU_FREQ_GOV_ONDEMAND - ~USB_SUSPEND + ~PM_RUNTIME ~FTRACE ~BLK_DEV_IO_TRACE ~TIMER_STATS @@ -66,7 +66,7 @@ pkg_setup() { 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_PM_RUNTIME="PM_RUNTIME 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" |