From d37b97a25b8b10f748eead6574b01f893f140b01 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 6 Dec 2017 18:23:20 +0000 Subject: gentoo resync : 06.12.2017 --- sys-power/powertop/Manifest | 8 +-- sys-power/powertop/powertop-1.13.ebuild | 43 ------------- sys-power/powertop/powertop-2.6.ebuild | 106 -------------------------------- sys-power/powertop/powertop-2.8.ebuild | 10 +-- 4 files changed, 4 insertions(+), 163 deletions(-) delete mode 100644 sys-power/powertop/powertop-1.13.ebuild delete mode 100644 sys-power/powertop/powertop-2.6.ebuild (limited to 'sys-power/powertop') diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest index c41b9e3fcbbe..5e455c7eb08a 100644 --- a/sys-power/powertop/Manifest +++ b/sys-power/powertop/Manifest @@ -1,9 +1,5 @@ AUX powertop-2.4-tinfo.patch 580 BLAKE2B a4453ffd36366f8e8161aa37a59543c8af4bf548a872f53dd31023fa4527545bd89ea2e7e63ffe04e9f59ba5635024821614fff9fd849b6d1c48e554c3fade77 SHA512 51a075ec585a8bc33a8e91f5b808e6f7f8fb63f1b77f879dee75811b61e78ee105887e3a02edcb2ff7cd624216b7139572c81cbe2b54d8e4b06946a730b53a5d -DIST powertop-1.13.tar.gz 104675 SHA256 2bc866089496877dd26d2d316ad5763ab8ecb5e28aefba44bc5d355dcdc58d98 SHA512 0c22a903da64798d987492336d57260372e03eab067ad94cf30b7640e9ee05e759a2fe9fa48fbdc35404cd2782b6b29d705e11e68452653b08f7f9df1a52be44 WHIRLPOOL 5ba44b84f49609f67c32563f75e20f6576c21a93fcb1ca99ebfe064475397602aa0f0fb9575e05b5a0290983791e7cf6ebae0139b39158b962e4b51027a6f5aa -DIST powertop-2.6.tar.gz 3024009 SHA256 3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee SHA512 7c44b9c49f74d0f415d0332b60629940e05cf1c9170a9a7b98427da630c25c0cc9c8ece49e059ec8c665847ff03fa8a341e0cf8f7ca792d889f2c52a39ddbb62 WHIRLPOOL eaa6e05d2fdb3050eb3a37f39fb5d760a8d3d91461b8c6f0ae825138080a0dd8a532e490a71246d62d2e340e3820b402d761a1331a6e7b6bc23db116c98cf0d9 -DIST powertop-2.8.tar.gz 670000 SHA256 a87b563f73106babfa3e74dcf92f252938c061e309ace20a361358bbfa579c5a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 WHIRLPOOL 87b859b76395d6b1b380c7459b0d918713e94e8fc4ac40fde8b82f2112dec2df3caffb645b082cedd0bba5c232555de26e81fbe8dd3041875c32c864650ef132 -EBUILD powertop-1.13.ebuild 1041 BLAKE2B 41dd4fdb5a3150805ba1fc72b45ffd83ccee93147ae7d570799610f4b8d7c2a344dd60b8851c72255426d3d7855e689247494b912db8dc6afcab4d0d9da393b6 SHA512 a0d316d28968d685ec14f98628b865afa891dac07b3b9089ca0ad6e1b49a104cc0d4995f6262c02f73430c40c4f7e579bab73c35d71921fd2a26626d7fb392e4 -EBUILD powertop-2.6.ebuild 3443 BLAKE2B 6e193cb35e31bf26da834eb7532dab5638a5ef70109eae77ae0f584cdf97e46cf56d1ddef2f035ec5c4054f36cfeb1553a0f6dd1a068078d579cfbede392df98 SHA512 fc4a9a10a91fad1467e3742400b844bed5186900fefd6dd55fabdf77184d0d650306bfb5d0ea4b0a99c8f4b0461af6692a3aa6da3b08708f6be4fde2401db714 -EBUILD powertop-2.8.ebuild 3453 BLAKE2B 903822e28cc04b54ed8739d4e1565eb0cfaa633e1f12bdfe45dfb67deff8be96cecf081aaa803edac33511058b9b5128f8e8e5011e17786dbb43fceaeb1c1e58 SHA512 100f496e93d9512fe693ae4980283aced21409c2f5ecb945fb7ef5e58e0b719d4e9a7510ee0e053a33acce162a702d035e6792f90d48b8a8f8572e3144a5a9c9 +DIST powertop-2.8.tar.gz 670000 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80 +EBUILD powertop-2.8.ebuild 3316 BLAKE2B 2abff4940a54cd69899acd851ef7539447b99dc231ccb5c5465c7b3f5ef9dd9dfb65e4e9e06de129b4ac1d21f18a206cade36d44e96a8873fb0dbd6b3ae1ddd4 SHA512 89fddfe5836f3c52e83761eea4b58eadbe89354bb1a220bac798a637e9eff349cb5273df563b74bbb96413a41cc487a917fa4fbde65faeccf0ee9ac18c548d49 EBUILD powertop-9999.ebuild 3575 BLAKE2B 39a2dd7a0e0bdd42459cd9c3605d934935b230d63e1a4db087abecc37f5d7c1f39325f192a5adb9f4fd79933122f4c423c9feb0b28b61f1f0c928e510207720a SHA512 c4f4fa75a57402806a1eb80183aea4c2dbbdbc0e9add49ccfc216445334674a104308318ff5fa228585cd1754c265a202465752fc043718843af49878937bc3e MISC metadata.xml 253 BLAKE2B 48f33288fc58b41b96f50af29bb4ce8989e714fa989ed445afc8933d1483e1026a019783805ad1b42399227819f461ed5c874df1c78c4bf144bccd07306ee995 SHA512 fad4a58e4c2a6eaa8bbbdc75e3995b5da53c9291f82480e35a9badfc1374bcc484663f2577790a46218be90d3b42bb45620297316c5493bc4a46af0dbd29189e diff --git a/sys-power/powertop/powertop-1.13.ebuild b/sys-power/powertop/powertop-1.13.ebuild deleted file mode 100644 index 2ed77ddd6c55..000000000000 --- a/sys-power/powertop/powertop-1.13.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=3 - -inherit toolchain-funcs eutils - -DESCRIPTION="tool that helps you find what software is using the most power" -HOMEPAGE="http://www.lesswatts.org/projects/powertop/" -SRC_URI="http://www.lesswatts.org/projects/powertop/download/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" -IUSE="unicode" - -DEPEND="sys-libs/ncurses[unicode?] - sys-devel/gettext" -RDEPEND="sys-libs/ncurses[unicode?] - virtual/libintl - sys-apps/pciutils" - -src_prepare() { - sed -i '/${CFLAGS}/s:$: ${LDFLAGS}:' Makefile - use unicode || sed -i 's:-lncursesw:-lncurses:' Makefile -} - -src_configure() { - tc-export CC -} - -src_install() { - emake install DESTDIR="${ED}" || die - dodoc Changelog README - gunzip "${ED}"/usr/share/man/man1/powertop.1.gz -} - -pkg_postinst() { - echo - einfo "For PowerTOP to work best, use a Linux kernel with the" - einfo "tickless idle (NO_HZ) feature enabled (version 2.6.21 or later)" - echo -} diff --git a/sys-power/powertop/powertop-2.6.ebuild b/sys-power/powertop/powertop-2.6.ebuild deleted file mode 100644 index 05849a56292b..000000000000 --- a/sys-power/powertop/powertop-2.6.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit eutils linux-info autotools -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/fenrus75/powertop.git" - inherit git-2 autotools - SRC_URI="" -else - SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${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/" - -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 ) - -S="${WORKDIR}/${PN}" - -pkg_setup() { - CONFIG_CHECK=" - ~X86_MSR - ~DEBUG_FS - ~PERF_EVENTS - ~TRACEPOINTS - ~NO_HZ - ~HIGH_RES_TIMERS - ~HPET_TIMER - ~CPU_FREQ_STAT - ~CPU_FREQ_GOV_ONDEMAND - ~FTRACE - ~BLK_DEV_IO_TRACE - ~TIMER_STATS - ~TRACING - " - 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_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_TRACING="TRACING should be enabled in the kernel for full powertop function" - linux-info_pkg_setup - if linux_config_exists; then - if kernel_is -lt 3 7 0; then - if linux_chkconfig_present SND_HDA_INTEL; then - CONFIG_CHECK="~SND_HDA_POWER_SAVE" - ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function" - check_extra_config - fi - fi - if kernel_is -lt 3 9 0; then - CONFIG_CHECK="~EVENT_POWER_TRACING_DEPRECATED" - ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function" - check_extra_config - fi - if kernel_is -lt 3 19; then - CONFIG_CHECK="~PM_RUNTIME" - ERROR_KERNEL_PM_RUNTIME="PM_RUNTIME should be enabled in the kernel for full powertop function" - check_extra_config - else - CONFIG_CHECK="~PM" - ERROR_KERNEL_PM="PM should be enabled in the kernel for full powertop function" - check_extra_config - fi - fi -} - -src_prepare() { - epatch "${FILESDIR}"/powertop-2.4-tinfo.patch - eautoreconf -} - -src_configure() { - export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses) - default -} diff --git a/sys-power/powertop/powertop-2.8.ebuild b/sys-power/powertop/powertop-2.8.ebuild index d3d8039ade6e..ab67bbf8ed91 100644 --- a/sys-power/powertop/powertop-2.8.ebuild +++ b/sys-power/powertop/powertop-2.8.ebuild @@ -4,14 +4,8 @@ EAPI="5" inherit eutils linux-info -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/fenrus75/powertop.git" - inherit git-2 autotools - SRC_URI="" -else - SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz" - KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" -fi +SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz" +KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux" DESCRIPTION="tool that helps you find what software is using the most power" HOMEPAGE="https://01.org/powertop/" -- cgit v1.2.3