summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/htop/files/0001-Ask-for-python3-specifically.patch26
-rw-r--r--meta-oe/recipes-support/htop/files/htop-gcc10.patch31
-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 @@
1From 08aca4816cc798fce58b6235c26585a0063fa8af Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 26 Nov 2019 10:43:49 -0800
4Subject: [PATCH] Ask for python3 specifically
5
6python2 is on its way out
7
8Upstream-Status: Submitted [https://github.com/hishamhm/htop/pull/968]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 scripts/MakeHeader.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/scripts/MakeHeader.py b/scripts/MakeHeader.py
15index 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--
252.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 @@
1Fix build with -fno-common
2
3Upstream-Staus: Pending
4Signed-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 @@
1SUMMARY = "Interactive process viewer" 1SUMMARY = "Interactive process viewer"
2HOMEPAGE = "http://hisham.hm/htop" 2HOMEPAGE = "https://htop.dev"
3SECTION = "console/utils" 3SECTION = "console/utils"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3" 5LIC_FILES_CHKSUM = "file://COPYING;md5=4099d367cd5e59b6d4fc1ee33accb891"
6 6
7DEPENDS = "ncurses" 7DEPENDS = "ncurses"
8 8
9SRC_URI = "http://hisham.hm/htop/releases/${PV}/${BP}.tar.gz \ 9SRC_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 "
14SRC_URI[md5sum] = "0d816b6beed31edc75babcfbf863ffa8" 12SRCREV = "dace850fa6e27b5626115b366059258cfe4d60c9"
15SRC_URI[sha256sum] = "d9d6826f10ce3887950d709b53ee1d8c1849a70fa38e91d5896ad8cbc6ba3c57" 13
14S = "${WORKDIR}/git"
16 15
17inherit autotools pkgconfig 16inherit autotools pkgconfig
18 17
19PACKAGECONFIG ??= "proc \ 18PACKAGECONFIG ??= "cgroup \
20 cgroup \
21 taskstats \ 19 taskstats \
22 unicode \ 20 unicode \
23 linux-affinity \ 21 linux-affinity \
24 delayacct" 22 delayacct"
25PACKAGECONFIG[proc] = "--enable-proc,--disable-proc"
26PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz" 23PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz"
27PACKAGECONFIG[cgroup] = "--enable-cgroup,--disable-cgroup" 24PACKAGECONFIG[cgroup] = "--enable-cgroup,--disable-cgroup"
28PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver" 25PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver"
@@ -32,7 +29,3 @@ PACKAGECONFIG[linux-affinity] = "--enable-linux-affinity,--disable-linux-affinit
32PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc" 29PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc"
33PACKAGECONFIG[setuid] = "--enable-setuid,--disable-setuid" 30PACKAGECONFIG[setuid] = "--enable-setuid,--disable-setuid"
34PACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl" 31PACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl"
35
36do_configure_prepend () {
37 rm -rf ${S}/config.h
38}