1 |
commit: 6ab816b4b2bbfd375d272a82b5d91757be3f87ca |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 5 15:10:21 2018 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 5 15:12:43 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ab816b4 |
7 |
|
8 |
sys-process/htop: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
11 |
|
12 |
sys-process/htop/Manifest | 2 - |
13 |
sys-process/htop/files/htop-1.0.3-tinfo.patch | 62 -------------------- |
14 |
sys-process/htop/files/htop-2.0.0-tinfo.patch | 82 --------------------------- |
15 |
sys-process/htop/htop-1.0.3-r1.ebuild | 74 ------------------------ |
16 |
sys-process/htop/htop-1.0.3.ebuild | 82 --------------------------- |
17 |
sys-process/htop/htop-2.0.1.ebuild | 61 -------------------- |
18 |
sys-process/htop/metadata.xml | 1 - |
19 |
7 files changed, 364 deletions(-) |
20 |
|
21 |
diff --git a/sys-process/htop/Manifest b/sys-process/htop/Manifest |
22 |
index 72879e96ad0..f0451a60ad1 100644 |
23 |
--- a/sys-process/htop/Manifest |
24 |
+++ b/sys-process/htop/Manifest |
25 |
@@ -1,4 +1,2 @@ |
26 |
-DIST htop-1.0.3.tar.gz 399306 BLAKE2B 3ce3aad0f72102c2aa6d9c7a198eef5e1591dec41f6fabfbe03f2626e08d0967c023adba8285c94e5b5ac05d3b05ec78964035f0bd70bbdff9f429f9cb052097 SHA512 4c5c784b093bcad06eb2e8d8bb215e14f6e838a3d47d8da8402344c270c1724f85d0bcde2899571ba5d0e5a02274a0c3390a76fed61785b2604b51351f08f232 |
27 |
-DIST htop-2.0.1.tar.gz 477196 BLAKE2B 03b6d7a71cbf261413e828d8678daecc969c76439a1241734d7bed13f7f8a3d22b40ebc4845c924ea6c61ddae20f1b90f78790c634908cf4d161ecb314e57c72 SHA512 57991a55b69028c01549b067ec749099466df5b08a0ed9a65dd779e6d2c8ee0a5d9c330bb6c727b04a349146ad441b7115718e433d1f8232f74b28903fb351ff |
28 |
DIST htop-2.0.2.tar.gz 476364 BLAKE2B f5519977b4bd6d189cb7f379a9f9b535a4b67a575b30056a43e259ab39a69f84083d310bbefefe8408c7ca99918f1ea9ae775808b9afe9d0f78097ac6bb88dc7 SHA512 1c9bf71a36c56b301667aa6d03756fc757fbcb63e848d9581d10db3df6193cdeb00e55ceb6e2392794ac03ea034b04459a8fe550b3ac2318cd86263a74c78cda |
29 |
DIST htop-2.1.0.tar.gz 302938 BLAKE2B 3e290a3dbb0bf5424780ba5dcb9de8ea478bf4cabbbde202c19eb3db7e0f8d1e108ec3ea41544ac095097c39100417c72477dab96f104a6317f4edd06d69199f SHA512 203e8f4abd63334330fc673f6c9609adbeab763d80f553d8b48670091d18dd347599a9ce2dbbac374fa4a13fa904948711a441fa676f52ab1612bd2b4ee4c6eb |
30 |
|
31 |
diff --git a/sys-process/htop/files/htop-1.0.3-tinfo.patch b/sys-process/htop/files/htop-1.0.3-tinfo.patch |
32 |
deleted file mode 100644 |
33 |
index 62a887baf37..00000000000 |
34 |
--- a/sys-process/htop/files/htop-1.0.3-tinfo.patch |
35 |
+++ /dev/null |
36 |
@@ -1,62 +0,0 @@ |
37 |
-diff --git a/Makefile.am b/Makefile.am |
38 |
-index 820e2e5..85f49e9 100644 |
39 |
---- a/Makefile.am |
40 |
-+++ b/Makefile.am |
41 |
-@@ -36,6 +36,8 @@ SUFFIXES = .h |
42 |
- BUILT_SOURCES = $(myhtopheaders) |
43 |
- htop_SOURCES = $(myhtopheaders) $(myhtopsources) config.h |
44 |
- |
45 |
-+htop_LDADD = $(NCURSES_LIBS) |
46 |
-+ |
47 |
- profile: |
48 |
- $(MAKE) all CFLAGS="-pg" AM_CPPFLAGS="-pg -O2 -DNDEBUG" |
49 |
- |
50 |
-diff --git a/configure.ac b/configure.ac |
51 |
-index 2b934e8..3593885 100644 |
52 |
---- a/configure.ac |
53 |
-+++ b/configure.ac |
54 |
-@@ -20,6 +20,7 @@ AM_PROG_CC_C_O |
55 |
- AC_DISABLE_SHARED |
56 |
- AC_ENABLE_STATIC |
57 |
- AC_PROG_LIBTOOL |
58 |
-+PKG_PROG_PKG_CONFIG |
59 |
- |
60 |
- # Checks for libraries. |
61 |
- AC_CHECK_LIB([m], [ceil], [], [missing_libraries="$missing_libraries libm"]) |
62 |
-@@ -89,20 +90,24 @@ fi |
63 |
- |
64 |
- AC_ARG_ENABLE(unicode, [AC_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="yes") |
65 |
- if test "x$enable_unicode" = xyes; then |
66 |
-- AC_CHECK_LIB([ncursesw], [refresh], [], [ |
67 |
-- missing_libraries="$missing_libraries libncursesw" |
68 |
-- AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.]) |
69 |
-+ PKG_CHECK_MODULES([NCURSES], [ncursesw],[ |
70 |
-+ AC_CHECK_LIB([ncursesw], [refresh], [], [ |
71 |
-+ missing_libraries="$missing_libraries libncursesw" |
72 |
-+ AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.]) |
73 |
-+ ]) |
74 |
-+ AC_CHECK_HEADERS([ncursesw/curses.h],[:], |
75 |
-+ [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], |
76 |
-+ [AC_CHECK_HEADERS([ncurses/curses.h],[:], |
77 |
-+ [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) |
78 |
- ]) |
79 |
-- AC_CHECK_HEADERS([ncursesw/curses.h],[:], |
80 |
-- [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], |
81 |
-- [AC_CHECK_HEADERS([ncurses/curses.h],[:], |
82 |
-- [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) |
83 |
- else |
84 |
-- AC_CHECK_LIB([ncurses], [refresh], [], [missing_libraries="$missing_libraries libncurses"]) |
85 |
-- AC_CHECK_HEADERS([curses.h],[:], |
86 |
-- [AC_CHECK_HEADERS([ncurses/curses.h],[:], |
87 |
-- [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], |
88 |
-- [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) |
89 |
-+ PKG_CHECK_MODULES([NCURSES], [ncurses],[ |
90 |
-+ AC_CHECK_LIB([ncurses], [refresh], [], [missing_libraries="$missing_libraries libncurses"]) |
91 |
-+ AC_CHECK_HEADERS([curses.h],[:], |
92 |
-+ [AC_CHECK_HEADERS([ncurses/curses.h],[:], |
93 |
-+ [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], |
94 |
-+ [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) |
95 |
-+ ]) |
96 |
- fi |
97 |
- |
98 |
- if test ! -z "$missing_libraries"; then |
99 |
|
100 |
diff --git a/sys-process/htop/files/htop-2.0.0-tinfo.patch b/sys-process/htop/files/htop-2.0.0-tinfo.patch |
101 |
deleted file mode 100644 |
102 |
index e04019519e0..00000000000 |
103 |
--- a/sys-process/htop/files/htop-2.0.0-tinfo.patch |
104 |
+++ /dev/null |
105 |
@@ -1,82 +0,0 @@ |
106 |
---- htop-2.0.0/configure.ac |
107 |
-+++ htop-2.0.0/configure.ac |
108 |
-@@ -23,6 +23,7 @@ |
109 |
- AC_DISABLE_SHARED |
110 |
- AC_ENABLE_STATIC |
111 |
- AC_PROG_LIBTOOL |
112 |
-+PKG_PROG_PKG_CONFIG |
113 |
- |
114 |
- # Checks for platform. |
115 |
- # ---------------------------------------------------------------------- |
116 |
-@@ -175,32 +176,36 @@ |
117 |
- |
118 |
- AC_ARG_ENABLE(unicode, [AC_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="yes") |
119 |
- if test "x$enable_unicode" = xyes; then |
120 |
-- HTOP_CHECK_SCRIPT([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw6-config", |
121 |
-- HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw5-config", |
122 |
-- HTOP_CHECK_SCRIPT([ncurses], [addnwstr], [HAVE_LIBNCURSESW], "ncurses5-config", |
123 |
-- HTOP_CHECK_LIB([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], |
124 |
-- HTOP_CHECK_LIB([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], |
125 |
-- HTOP_CHECK_LIB([ncurses], [addnwstr], [HAVE_LIBNCURSESW], |
126 |
-- missing_libraries="$missing_libraries libncursesw" |
127 |
-- AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.]) |
128 |
-- )))))) |
129 |
-- |
130 |
-- AC_CHECK_HEADERS([ncursesw/curses.h],[:], |
131 |
-- [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], |
132 |
-- [AC_CHECK_HEADERS([ncurses/curses.h],[:], |
133 |
-- [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) |
134 |
-+ PKG_CHECK_MODULES([NCURSES], [ncursesw],[ |
135 |
-+ HTOP_CHECK_SCRIPT([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw6-config", |
136 |
-+ HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw5-config", |
137 |
-+ HTOP_CHECK_SCRIPT([ncurses], [addnwstr], [HAVE_LIBNCURSESW], "ncurses5-config", |
138 |
-+ HTOP_CHECK_LIB([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], |
139 |
-+ HTOP_CHECK_LIB([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], |
140 |
-+ HTOP_CHECK_LIB([ncurses], [addnwstr], [HAVE_LIBNCURSESW], |
141 |
-+ missing_libraries="$missing_libraries libncursesw" |
142 |
-+ AC_MSG_ERROR([You may want to use --disable-unicode or install libncursesw.]) |
143 |
-+ )))))) |
144 |
-+ |
145 |
-+ AC_CHECK_HEADERS([ncursesw/curses.h],[:], |
146 |
-+ [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], |
147 |
-+ [AC_CHECK_HEADERS([ncurses/curses.h],[:], |
148 |
-+ [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) |
149 |
-+ ]) |
150 |
- else |
151 |
-- HTOP_CHECK_SCRIPT([ncurses6], [refresh], [HAVE_LIBNCURSES], "ncurses6-config", |
152 |
-- HTOP_CHECK_SCRIPT([ncurses], [refresh], [HAVE_LIBNCURSES], "ncurses5-config", |
153 |
-- HTOP_CHECK_LIB([ncurses6], [refresh], [HAVE_LIBNCURSES], |
154 |
-- HTOP_CHECK_LIB([ncurses], [refresh], [HAVE_LIBNCURSES], |
155 |
-- missing_libraries="$missing_libraries libncurses" |
156 |
-- )))) |
157 |
-+ PKG_CHECK_MODULES([NCURSES], [ncurses],[ |
158 |
-+ HTOP_CHECK_SCRIPT([ncurses6], [refresh], [HAVE_LIBNCURSES], "ncurses6-config", |
159 |
-+ HTOP_CHECK_SCRIPT([ncurses], [refresh], [HAVE_LIBNCURSES], "ncurses5-config", |
160 |
-+ HTOP_CHECK_LIB([ncurses6], [refresh], [HAVE_LIBNCURSES], |
161 |
-+ HTOP_CHECK_LIB([ncurses], [refresh], [HAVE_LIBNCURSES], |
162 |
-+ missing_libraries="$missing_libraries libncurses" |
163 |
-+ )))) |
164 |
- |
165 |
-- AC_CHECK_HEADERS([curses.h],[:], |
166 |
-- [AC_CHECK_HEADERS([ncurses/curses.h],[:], |
167 |
-- [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], |
168 |
-- [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) |
169 |
-+ AC_CHECK_HEADERS([curses.h],[:], |
170 |
-+ [AC_CHECK_HEADERS([ncurses/curses.h],[:], |
171 |
-+ [AC_CHECK_HEADERS([ncurses/ncurses.h],[:], |
172 |
-+ [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) |
173 |
-+ ]) |
174 |
- fi |
175 |
- |
176 |
- if test "$my_htop_platform" = "freebsd"; then |
177 |
---- htop-2.0.0/Makefile.am |
178 |
-+++ htop-2.0.0/Makefile.am |
179 |
-@@ -85,6 +85,8 @@ |
180 |
- BUILT_SOURCES = $(myhtopheaders) $(myhtopplatheaders) |
181 |
- htop_SOURCES = $(myhtopheaders) $(myhtopplatheaders) $(myhtopsources) $(myhtopplatsources) config.h |
182 |
- |
183 |
-+htop_LDADD = $(NCURSES_LIBS) |
184 |
-+ |
185 |
- target: |
186 |
- echo $(htop_SOURCES) |
187 |
- |
188 |
|
189 |
diff --git a/sys-process/htop/htop-1.0.3-r1.ebuild b/sys-process/htop/htop-1.0.3-r1.ebuild |
190 |
deleted file mode 100644 |
191 |
index 3f35a581888..00000000000 |
192 |
--- a/sys-process/htop/htop-1.0.3-r1.ebuild |
193 |
+++ /dev/null |
194 |
@@ -1,74 +0,0 @@ |
195 |
-# Copyright 1999-2015 Gentoo Foundation |
196 |
-# Distributed under the terms of the GNU General Public License v2 |
197 |
- |
198 |
-EAPI=5 |
199 |
- |
200 |
-AUTOTOOLS_AUTORECONF=true |
201 |
- |
202 |
-inherit autotools-utils linux-info |
203 |
- |
204 |
-DESCRIPTION="interactive process viewer" |
205 |
-HOMEPAGE="http://hisham.hm/htop/" |
206 |
-SRC_URI="http://hisham.hm/htop/releases/${PV}/${P}.tar.gz" |
207 |
- |
208 |
-LICENSE="BSD GPL-2" |
209 |
-SLOT="0" |
210 |
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
211 |
-IUSE="kernel_FreeBSD kernel_linux oom openvz unicode vserver" |
212 |
- |
213 |
-RDEPEND="sys-libs/ncurses:0=[unicode?]" |
214 |
-DEPEND="${RDEPEND} |
215 |
- virtual/pkgconfig" |
216 |
- |
217 |
-DOCS=( ChangeLog README ) |
218 |
- |
219 |
-CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS" |
220 |
- |
221 |
-# config.h problems |
222 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
223 |
- |
224 |
-PATCHES=("${FILESDIR}/${P}-tinfo.patch") |
225 |
- |
226 |
-pkg_setup() { |
227 |
- if use kernel_FreeBSD && ! [[ -f ${ROOT}/compat/linux/proc/stat && -f ${ROOT}/compat/linux/proc/meminfo ]]; then |
228 |
- echo |
229 |
- eerror "htop requires linprocfs mounted at /compat/linux/proc to build and function." |
230 |
- eerror "To mount it, type:" |
231 |
- [ -d /compat/linux/proc ] || eerror "mkdir -p /compat/linux/proc" |
232 |
- eerror "mount -t linprocfs none /compat/linux/proc" |
233 |
- eerror "Alternatively, place this information into /etc/fstab" |
234 |
- echo |
235 |
- die "htop needs /compat/linux/proc mounted" |
236 |
- fi |
237 |
- |
238 |
- if ! has_version sys-process/lsof; then |
239 |
- ewarn "To use lsof features in htop(what processes are accessing" |
240 |
- ewarn "what files), you must have sys-process/lsof installed." |
241 |
- fi |
242 |
- |
243 |
- linux-info_pkg_setup |
244 |
-} |
245 |
- |
246 |
-src_prepare() { |
247 |
- rm missing || die |
248 |
- |
249 |
- autotools-utils_src_prepare |
250 |
-} |
251 |
- |
252 |
-src_configure() { |
253 |
- [[ $CBUILD != $CHOST ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971 |
254 |
- |
255 |
- local myeconfargs=() |
256 |
- |
257 |
- use kernel_FreeBSD && myeconfargs+=( --with-proc=/compat/linux/proc ) |
258 |
- |
259 |
- myeconfargs+=( |
260 |
- $(use_enable openvz) |
261 |
- $(use_enable kernel_linux cgroup) |
262 |
- $(use_enable vserver) |
263 |
- $(use_enable unicode) |
264 |
- $(use_enable oom) |
265 |
- --enable-taskstats |
266 |
- ) |
267 |
- autotools-utils_src_configure |
268 |
-} |
269 |
|
270 |
diff --git a/sys-process/htop/htop-1.0.3.ebuild b/sys-process/htop/htop-1.0.3.ebuild |
271 |
deleted file mode 100644 |
272 |
index 1665da56d72..00000000000 |
273 |
--- a/sys-process/htop/htop-1.0.3.ebuild |
274 |
+++ /dev/null |
275 |
@@ -1,82 +0,0 @@ |
276 |
-# Copyright 1999-2015 Gentoo Foundation |
277 |
-# Distributed under the terms of the GNU General Public License v2 |
278 |
- |
279 |
-EAPI=5 |
280 |
- |
281 |
-PYTHON_COMPAT=( python2_7 ) |
282 |
- |
283 |
-AUTOTOOLS_AUTORECONF=true |
284 |
- |
285 |
-inherit autotools-utils linux-info python-any-r1 |
286 |
- |
287 |
-DESCRIPTION="interactive process viewer" |
288 |
-HOMEPAGE="http://hisham.hm/htop/" |
289 |
-SRC_URI="http://hisham.hm/htop/releases/${PV}/${P}.tar.gz" |
290 |
- |
291 |
-LICENSE="BSD GPL-2" |
292 |
-SLOT="0" |
293 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux" |
294 |
-IUSE="kernel_FreeBSD kernel_linux oom openvz unicode vserver" |
295 |
- |
296 |
-RDEPEND="sys-libs/ncurses:0=[unicode?]" |
297 |
-DEPEND="${RDEPEND} |
298 |
- ${PYTHON_DEPS} |
299 |
- virtual/pkgconfig" |
300 |
- |
301 |
-DOCS=( ChangeLog README ) |
302 |
- |
303 |
-CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS" |
304 |
- |
305 |
-# config.h problems |
306 |
-AUTOTOOLS_IN_SOURCE_BUILD=1 |
307 |
- |
308 |
-PATCHES=("${FILESDIR}/${P}-tinfo.patch") |
309 |
- |
310 |
-pkg_setup() { |
311 |
- if use kernel_FreeBSD && ! [[ -f ${ROOT}/compat/linux/proc/stat && -f ${ROOT}/compat/linux/proc/meminfo ]]; then |
312 |
- echo |
313 |
- eerror "htop requires linprocfs mounted at /compat/linux/proc to build and function." |
314 |
- eerror "To mount it, type:" |
315 |
- [ -d /compat/linux/proc ] || eerror "mkdir -p /compat/linux/proc" |
316 |
- eerror "mount -t linprocfs none /compat/linux/proc" |
317 |
- eerror "Alternatively, place this information into /etc/fstab" |
318 |
- echo |
319 |
- die "htop needs /compat/linux/proc mounted" |
320 |
- fi |
321 |
- |
322 |
- if ! has_version sys-process/lsof; then |
323 |
- ewarn "To use lsof features in htop(what processes are accessing" |
324 |
- ewarn "what files), you must have sys-process/lsof installed." |
325 |
- fi |
326 |
- |
327 |
- python-any-r1_pkg_setup |
328 |
- linux-info_pkg_setup |
329 |
-} |
330 |
- |
331 |
-src_prepare() { |
332 |
- rm missing || die |
333 |
- |
334 |
- sed \ |
335 |
- -e '1c\#!'"${EPREFIX}"'/usr/bin/python' \ |
336 |
- -i scripts/MakeHeader.py || die |
337 |
- |
338 |
- autotools-utils_src_prepare |
339 |
-} |
340 |
- |
341 |
-src_configure() { |
342 |
- [[ $CBUILD != $CHOST ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971 |
343 |
- |
344 |
- local myeconfargs=() |
345 |
- |
346 |
- use kernel_FreeBSD && myeconfargs+=( --with-proc=/compat/linux/proc ) |
347 |
- |
348 |
- myeconfargs+=( |
349 |
- $(use_enable openvz) |
350 |
- $(use_enable kernel_linux cgroup) |
351 |
- $(use_enable vserver) |
352 |
- $(use_enable unicode) |
353 |
- $(use_enable oom) |
354 |
- --enable-taskstats |
355 |
- ) |
356 |
- autotools-utils_src_configure |
357 |
-} |
358 |
|
359 |
diff --git a/sys-process/htop/htop-2.0.1.ebuild b/sys-process/htop/htop-2.0.1.ebuild |
360 |
deleted file mode 100644 |
361 |
index a2b10fdb96a..00000000000 |
362 |
--- a/sys-process/htop/htop-2.0.1.ebuild |
363 |
+++ /dev/null |
364 |
@@ -1,61 +0,0 @@ |
365 |
-# Copyright 1999-2016 Gentoo Foundation |
366 |
-# Distributed under the terms of the GNU General Public License v2 |
367 |
- |
368 |
-EAPI=6 |
369 |
- |
370 |
-inherit autotools linux-info |
371 |
- |
372 |
-DESCRIPTION="interactive process viewer" |
373 |
-HOMEPAGE="http://hisham.hm/htop/" |
374 |
-SRC_URI="http://hisham.hm/htop/releases/${PV}/${P}.tar.gz" |
375 |
- |
376 |
-LICENSE="BSD GPL-2" |
377 |
-SLOT="0" |
378 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" |
379 |
-IUSE="kernel_FreeBSD kernel_linux openvz unicode vserver" |
380 |
- |
381 |
-RDEPEND="sys-libs/ncurses:0=[unicode?]" |
382 |
-DEPEND="${RDEPEND} |
383 |
- virtual/pkgconfig" |
384 |
- |
385 |
-DOCS=( ChangeLog README ) |
386 |
- |
387 |
-CONFIG_CHECK="~TASKSTATS ~TASK_XACCT ~TASK_IO_ACCOUNTING ~CGROUPS" |
388 |
- |
389 |
-PATCHES=( |
390 |
- "${FILESDIR}/${PN}-2.0.0-tinfo.patch" |
391 |
-) |
392 |
- |
393 |
-pkg_setup() { |
394 |
- if ! has_version sys-process/lsof; then |
395 |
- ewarn "To use lsof features in htop(what processes are accessing" |
396 |
- ewarn "what files), you must have sys-process/lsof installed." |
397 |
- fi |
398 |
- |
399 |
- linux-info_pkg_setup |
400 |
-} |
401 |
- |
402 |
-src_prepare() { |
403 |
- rm missing || die |
404 |
- |
405 |
- default |
406 |
- eautoreconf |
407 |
-} |
408 |
- |
409 |
-src_configure() { |
410 |
- [[ $CBUILD != $CHOST ]] && export ac_cv_file__proc_{meminfo,stat}=yes #328971 |
411 |
- |
412 |
- local myeconfargs=() |
413 |
- |
414 |
- myeconfargs+=( |
415 |
- # fails to build against recent hwloc versions |
416 |
- --disable-hwloc |
417 |
- --enable-taskstats |
418 |
- $(use_enable kernel_linux cgroup) |
419 |
- $(use_enable kernel_linux linux-affinity) |
420 |
- $(use_enable openvz) |
421 |
- $(use_enable unicode) |
422 |
- $(use_enable vserver) |
423 |
- ) |
424 |
- econf ${myeconfargs[@]} |
425 |
-} |
426 |
|
427 |
diff --git a/sys-process/htop/metadata.xml b/sys-process/htop/metadata.xml |
428 |
index 31af477b5ce..b3278785fde 100644 |
429 |
--- a/sys-process/htop/metadata.xml |
430 |
+++ b/sys-process/htop/metadata.xml |
431 |
@@ -10,7 +10,6 @@ |
432 |
<name>Lars Wendler</name> |
433 |
</maintainer> |
434 |
<use> |
435 |
- <flag name="oom">Add column to track the OOM-killer score of processes</flag> |
436 |
<flag name="openvz">Enable openvz support</flag> |
437 |
<flag name="vserver">Enable vserver support</flag> |
438 |
</use> |