diff options
-rw-r--r-- | meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch | 26 | ||||
-rw-r--r-- | meta-oe/recipes-support/htop/files/htop-gcc10.patch | 31 | ||||
-rw-r--r-- | meta-oe/recipes-support/htop/htop_3.0.1.bb (renamed from meta-oe/recipes-support/htop/htop_2.2.0.bb) | 21 |
3 files changed, 7 insertions, 71 deletions
diff --git a/meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch b/meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch deleted file mode 100644 index 6153bdedbe..0000000000 --- a/meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | From 08aca4816cc798fce58b6235c26585a0063fa8af Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 26 Nov 2019 10:43:49 -0800 | ||
4 | Subject: [PATCH] Ask for python3 specifically | ||
5 | |||
6 | python2 is on its way out | ||
7 | |||
8 | Upstream-Status: Submitted [https://github.com/hishamhm/htop/pull/968] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | scripts/MakeHeader.py | 2 +- | ||
12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/scripts/MakeHeader.py b/scripts/MakeHeader.py | ||
15 | index 7c48fdd..7a7586d 100755 | ||
16 | --- a/scripts/MakeHeader.py | ||
17 | +++ b/scripts/MakeHeader.py | ||
18 | @@ -1,4 +1,4 @@ | ||
19 | -#!/usr/bin/env python | ||
20 | +#!/usr/bin/env python3 | ||
21 | import os, sys, string, io | ||
22 | try: | ||
23 | from StringIO import StringIO | ||
24 | -- | ||
25 | 2.24.0 | ||
26 | |||
diff --git a/meta-oe/recipes-support/htop/files/htop-gcc10.patch b/meta-oe/recipes-support/htop/files/htop-gcc10.patch deleted file mode 100644 index 5be06277d7..0000000000 --- a/meta-oe/recipes-support/htop/files/htop-gcc10.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | Fix build with -fno-common | ||
2 | |||
3 | Upstream-Staus: Pending | ||
4 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
5 | --- a/CRT.h | ||
6 | +++ b/CRT.h | ||
7 | @@ -140,7 +140,7 @@ extern const char **CRT_treeStr; | ||
8 | |||
9 | extern int CRT_delay; | ||
10 | |||
11 | -int* CRT_colors; | ||
12 | +extern int* CRT_colors; | ||
13 | |||
14 | extern int CRT_colorSchemes[LAST_COLORSCHEME][LAST_COLORELEMENT]; | ||
15 | |||
16 | @@ -150,13 +150,13 @@ extern int CRT_scrollHAmount; | ||
17 | |||
18 | extern int CRT_scrollWheelVAmount; | ||
19 | |||
20 | -char* CRT_termType; | ||
21 | +extern char* CRT_termType; | ||
22 | |||
23 | // TODO move color scheme to Settings, perhaps? | ||
24 | |||
25 | extern int CRT_colorScheme; | ||
26 | |||
27 | -void *backtraceArray[128]; | ||
28 | +extern void *backtraceArray[128]; | ||
29 | |||
30 | #if HAVE_SETUID_ENABLED | ||
31 | |||
diff --git a/meta-oe/recipes-support/htop/htop_2.2.0.bb b/meta-oe/recipes-support/htop/htop_3.0.1.bb index c608077dee..d677e36c01 100644 --- a/meta-oe/recipes-support/htop/htop_2.2.0.bb +++ b/meta-oe/recipes-support/htop/htop_3.0.1.bb | |||
@@ -1,28 +1,25 @@ | |||
1 | SUMMARY = "Interactive process viewer" | 1 | SUMMARY = "Interactive process viewer" |
2 | HOMEPAGE = "http://hisham.hm/htop" | 2 | HOMEPAGE = "https://htop.dev" |
3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3" | 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4099d367cd5e59b6d4fc1ee33accb891" |
6 | 6 | ||
7 | DEPENDS = "ncurses" | 7 | DEPENDS = "ncurses" |
8 | 8 | ||
9 | SRC_URI = "http://hisham.hm/htop/releases/${PV}/${BP}.tar.gz \ | 9 | SRC_URI = "git://github.com/htop-dev/htop.git \ |
10 | file://0001-Use-pkg-config.patch \ | 10 | file://0001-Use-pkg-config.patch \ |
11 | file://0001-Ask-for-python3-specifically.patch \ | ||
12 | file://htop-gcc10.patch \ | ||
13 | " | 11 | " |
14 | SRC_URI[md5sum] = "0d816b6beed31edc75babcfbf863ffa8" | 12 | SRCREV = "dace850fa6e27b5626115b366059258cfe4d60c9" |
15 | SRC_URI[sha256sum] = "d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57" | 13 | |
14 | S = "${WORKDIR}/git" | ||
16 | 15 | ||
17 | inherit autotools pkgconfig | 16 | inherit autotools pkgconfig |
18 | 17 | ||
19 | PACKAGECONFIG ??= "proc \ | 18 | PACKAGECONFIG ??= "cgroup \ |
20 | cgroup \ | ||
21 | taskstats \ | 19 | taskstats \ |
22 | unicode \ | 20 | unicode \ |
23 | linux-affinity \ | 21 | linux-affinity \ |
24 | delayacct" | 22 | delayacct" |
25 | PACKAGECONFIG[proc] = "--enable-proc,--disable-proc" | ||
26 | PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz" | 23 | PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz" |
27 | PACKAGECONFIG[cgroup] = "--enable-cgroup,--disable-cgroup" | 24 | PACKAGECONFIG[cgroup] = "--enable-cgroup,--disable-cgroup" |
28 | PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver" | 25 | PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver" |
@@ -32,7 +29,3 @@ PACKAGECONFIG[linux-affinity] = "--enable-linux-affinity,--disable-linux-affinit | |||
32 | PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc" | 29 | PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc" |
33 | PACKAGECONFIG[setuid] = "--enable-setuid,--disable-setuid" | 30 | PACKAGECONFIG[setuid] = "--enable-setuid,--disable-setuid" |
34 | PACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl" | 31 | PACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl" |
35 | |||
36 | do_configure_prepend () { | ||
37 | rm -rf ${S}/config.h | ||
38 | } | ||