Gentoo Archives: gentoo-commits

From: Richard Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-power/powertop/
Date: Mon, 04 Dec 2017 15:16:45
Message-Id: 1512400558.bf72c9fcc4e4c988901106dab6bc6e6e048a348c.zerochaos@gentoo
1 commit: bf72c9fcc4e4c988901106dab6bc6e6e048a348c
2 Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 4 15:14:05 2017 +0000
4 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 4 15:15:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf72c9fc
7
8 sys-power/powertop: drop old 2.6
9
10 Package-Manager: Portage-2.3.16, Repoman-2.3.6
11
12 sys-power/powertop/Manifest | 1 -
13 sys-power/powertop/powertop-2.6.ebuild | 106 ---------------------------------
14 2 files changed, 107 deletions(-)
15
16 diff --git a/sys-power/powertop/Manifest b/sys-power/powertop/Manifest
17 index 65494a6cea1..25ec6b5378f 100644
18 --- a/sys-power/powertop/Manifest
19 +++ b/sys-power/powertop/Manifest
20 @@ -1,2 +1 @@
21 -DIST powertop-2.6.tar.gz 3024009 SHA256 3024c2b13c8f32cdac0b0ea9359eb5668dc9bd11776cf063481daa878533d1ee SHA512 7c44b9c49f74d0f415d0332b60629940e05cf1c9170a9a7b98427da630c25c0cc9c8ece49e059ec8c665847ff03fa8a341e0cf8f7ca792d889f2c52a39ddbb62 WHIRLPOOL eaa6e05d2fdb3050eb3a37f39fb5d760a8d3d91461b8c6f0ae825138080a0dd8a532e490a71246d62d2e340e3820b402d761a1331a6e7b6bc23db116c98cf0d9
22 DIST powertop-2.8.tar.gz 670000 BLAKE2B 4259f462d36fe0cbb157859d6e1d3e1face67f7232fe8d4112d77f844b545f49e9cf486e21bcbc34f64ffb0c891c1864141784dde14e3a96647d6535641a840a SHA512 253d0e15f0972cf8639735c510f4884d49a0da76c31dd2f39603e2297e6c6f0b9fa283c7b3cb04a431c91f8296275c0adaecc4c3e9ea132c0c31064f7f432c80
23
24 diff --git a/sys-power/powertop/powertop-2.6.ebuild b/sys-power/powertop/powertop-2.6.ebuild
25 deleted file mode 100644
26 index 05849a56292..00000000000
27 --- a/sys-power/powertop/powertop-2.6.ebuild
28 +++ /dev/null
29 @@ -1,106 +0,0 @@
30 -# Copyright 1999-2017 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="5"
34 -
35 -inherit eutils linux-info autotools
36 -if [[ ${PV} == "9999" ]] ; then
37 - EGIT_REPO_URI="https://github.com/fenrus75/powertop.git"
38 - inherit git-2 autotools
39 - SRC_URI=""
40 -else
41 - SRC_URI="https://01.org/sites/default/files/downloads/${PN}/${P}.tar.gz"
42 - KEYWORDS="amd64 arm ppc sparc x86 ~amd64-linux ~x86-linux"
43 -fi
44 -
45 -DESCRIPTION="tool that helps you find what software is using the most power"
46 -HOMEPAGE="https://01.org/powertop/"
47 -
48 -LICENSE="GPL-2"
49 -SLOT="0"
50 -IUSE="unicode X"
51 -
52 -COMMON_DEPEND="
53 - dev-libs/libnl:3
54 - sys-apps/pciutils
55 - sys-libs/ncurses:*[unicode?]
56 -"
57 -
58 -DEPEND="${COMMON_DEPEND}
59 - virtual/pkgconfig
60 - sys-devel/gettext
61 -"
62 -RDEPEND="
63 - ${COMMON_DEPEND}
64 - X? ( x11-apps/xset )
65 - virtual/libintl
66 -"
67 -
68 -DOCS=( TODO README )
69 -
70 -S="${WORKDIR}/${PN}"
71 -
72 -pkg_setup() {
73 - CONFIG_CHECK="
74 - ~X86_MSR
75 - ~DEBUG_FS
76 - ~PERF_EVENTS
77 - ~TRACEPOINTS
78 - ~NO_HZ
79 - ~HIGH_RES_TIMERS
80 - ~HPET_TIMER
81 - ~CPU_FREQ_STAT
82 - ~CPU_FREQ_GOV_ONDEMAND
83 - ~FTRACE
84 - ~BLK_DEV_IO_TRACE
85 - ~TIMER_STATS
86 - ~TRACING
87 - "
88 - ERROR_KERNEL_X86_MSR="X86_MSR is not enabled in the kernel, you almost certainly need it"
89 - ERROR_KERNEL_DEBUG_FS="DEBUG_FS is not enabled in the kernel, you almost certainly need it"
90 - ERROR_KERNEL_PERF_EVENTS="PERF_EVENTS should be enabled in the kernel for full powertop function"
91 - ERROR_KERNEL_TRACEPOINTS="TRACEPOINTS should be enabled in the kernel for full powertop function"
92 - ERROR_KERNEL_NO_HZ="NO_HZ should be enabled in the kernel for full powertop function"
93 - ERROR_KERNEL_HIGH_RES_TIMERS="HIGH_RES_TIMERS should be enabled in the kernel for full powertop function"
94 - ERROR_KERNEL_HPET_TIMER="HPET_TIMER should be enabled in the kernel for full powertop function"
95 - ERROR_KERNEL_CPU_FREQ_STAT="CPU_FREQ_STAT should be enabled in the kernel for full powertop function"
96 - ERROR_KERNEL_CPU_FREQ_GOV_ONDEMAND="CPU_FREQ_GOV_ONDEMAND should be enabled in the kernel for full powertop function"
97 - ERROR_KERNEL_FTRACE="FTRACE needs to be turned on to enable BLK_DEV_IO_TRACE"
98 - 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"
99 - ERROR_KERNEL_TIMER_STATS="TIMER_STATS should be enabled in the kernel for full powertop function"
100 - ERROR_KERNEL_TRACING="TRACING should be enabled in the kernel for full powertop function"
101 - linux-info_pkg_setup
102 - if linux_config_exists; then
103 - if kernel_is -lt 3 7 0; then
104 - if linux_chkconfig_present SND_HDA_INTEL; then
105 - CONFIG_CHECK="~SND_HDA_POWER_SAVE"
106 - ERROR_KERNEL_SND_HDA_POWER_SAVE="SND_HDA_POWER_SAVE should be enabled in the kernel for full powertop function"
107 - check_extra_config
108 - fi
109 - fi
110 - if kernel_is -lt 3 9 0; then
111 - CONFIG_CHECK="~EVENT_POWER_TRACING_DEPRECATED"
112 - ERROR_KERNEL_EVENT_POWER_TRACING_DEPRECATED="EVENT_POWER_TRACING_DEPRECATED should be enabled in the kernel for full powertop function"
113 - check_extra_config
114 - fi
115 - if kernel_is -lt 3 19; then
116 - CONFIG_CHECK="~PM_RUNTIME"
117 - ERROR_KERNEL_PM_RUNTIME="PM_RUNTIME should be enabled in the kernel for full powertop function"
118 - check_extra_config
119 - else
120 - CONFIG_CHECK="~PM"
121 - ERROR_KERNEL_PM="PM should be enabled in the kernel for full powertop function"
122 - check_extra_config
123 - fi
124 - fi
125 -}
126 -
127 -src_prepare() {
128 - epatch "${FILESDIR}"/powertop-2.4-tinfo.patch
129 - eautoreconf
130 -}
131 -
132 -src_configure() {
133 - export ac_cv_search_delwin=$(usex unicode -lncursesw -lncurses)
134 - default
135 -}