summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Joslyn <robert.joslyn@redrectangle.org>2022-01-15 06:19:04 -0800
committerKhem Raj <raj.khem@gmail.com>2022-01-18 09:01:51 -0800
commitcef2d1429bedbc256c5fac7a1a336842865dc2d3 (patch)
tree5bb685348243bc55941a1c162d5e19ed5806430a
parente5a020f4d322486b3291a049a14c81cd77868ad4 (diff)
downloadmeta-openembedded-cef2d1429bedbc256c5fac7a1a336842865dc2d3.tar.gz
htop: Update to 3.1.2
Upstream renamed the branch to "main", update SRC_URI. Refresh pkg-config patch. Update PACKAGECONFIG options. The linux-affinity option was renamed to affinity. Add a packageconfig conflict between affinity and hwloc, since these are mutually exclusive. The setuid option was removed by upstream, and a capabilities option added. The sensors option switched from --with/--without to --enable/--disable. Reorder the option to match the order used in the configure script to make future updates easier. License-Update: The previous license contained an exception for the Portable Linux Processor Affinity (PLPA) project. This exception has been removed, so the project uses an unmodified GPLv2 license. Minor formatting and whitespace changes were also made to match the license text as published by the FSF. Commit making change: https://github.com/htop-dev/htop/commit/088dc5b9a7a5352ee7fdf85f3aff1368958634eb Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/htop/files/0001-Use-pkg-config.patch42
-rw-r--r--meta-oe/recipes-support/htop/htop_3.1.2.bb (renamed from meta-oe/recipes-support/htop/htop_3.0.5.bb)21
2 files changed, 32 insertions, 31 deletions
diff --git a/meta-oe/recipes-support/htop/files/0001-Use-pkg-config.patch b/meta-oe/recipes-support/htop/files/0001-Use-pkg-config.patch
index 93d6d58573..2760162acf 100644
--- a/meta-oe/recipes-support/htop/files/0001-Use-pkg-config.patch
+++ b/meta-oe/recipes-support/htop/files/0001-Use-pkg-config.patch
@@ -1,4 +1,4 @@
1From 14100c6fc2cce7260ca5ace81094aee0ae40dd07 Mon Sep 17 00:00:00 2001 1From 98ed72177c49a8015a443b3ec272fee3fb5a4eb3 Mon Sep 17 00:00:00 2001
2From: Paul Barker <pbarker@toganlabs.com> 2From: Paul Barker <pbarker@toganlabs.com>
3Date: Sun, 5 Nov 2017 22:07:30 +0000 3Date: Sun, 5 Nov 2017 22:07:30 +0000
4Subject: [PATCH] htop: Update to v2.0.2 4Subject: [PATCH] htop: Update to v2.0.2
@@ -17,32 +17,32 @@ Upstream-status: Inappropriate
17 1 file changed, 6 insertions(+), 6 deletions(-) 17 1 file changed, 6 insertions(+), 6 deletions(-)
18 18
19diff --git a/configure.ac b/configure.ac 19diff --git a/configure.ac b/configure.ac
20index 115d894..0e0a1eb 100644 20index 0e69096..d20014f 100644
21--- a/configure.ac 21--- a/configure.ac
22+++ b/configure.ac 22+++ b/configure.ac
23@@ -205,10 +205,10 @@ AS_VAR_POPDEF([CACHEVAR])dnl 23@@ -322,10 +322,10 @@ AC_ARG_ENABLE([unicode],
24 24 [],
25 AC_ARG_ENABLE(unicode, [AS_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="yes") 25 [enable_unicode=yes])
26 if test "x$enable_unicode" = xyes; then 26 if test "x$enable_unicode" = xyes; then
27- HTOP_CHECK_SCRIPT([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw6-config", 27- HTOP_CHECK_SCRIPT([ncursesw6], [waddwstr], [HAVE_LIBNCURSESW], "ncursesw6-config",
28- HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw6-config", 28- HTOP_CHECK_SCRIPT([ncursesw], [waddwstr], [HAVE_LIBNCURSESW], "ncursesw6-config",
29- HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw5-config", 29- HTOP_CHECK_SCRIPT([ncursesw], [wadd_wch], [HAVE_LIBNCURSESW], "ncursesw5-config",
30- HTOP_CHECK_SCRIPT([ncurses], [addnwstr], [HAVE_LIBNCURSESW], "ncurses5-config", 30- HTOP_CHECK_SCRIPT([ncurses], [wadd_wch], [HAVE_LIBNCURSESW], "ncurses5-config",
31+ HTOP_CHECK_SCRIPT([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], "pkg-config ncursesw6", 31+ HTOP_CHECK_SCRIPT([ncursesw6], [waddwstr], [HAVE_LIBNCURSESW], "pkg-config ncursesw6",
32+ HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "pkg-config ncursesw6", 32+ HTOP_CHECK_SCRIPT([ncursesw], [waddwstr], [HAVE_LIBNCURSESW], "pkg-config ncursesw6",
33+ HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "pkg-config ncursesw5", 33+ HTOP_CHECK_SCRIPT([ncursesw], [wadd_wch], [HAVE_LIBNCURSESW], "pkg-config ncursesw5",
34+ HTOP_CHECK_SCRIPT([ncurses], [addnwstr], [HAVE_LIBNCURSESW], "pkg-config ncurses5", 34+ HTOP_CHECK_SCRIPT([ncurses], [wadd_wch], [HAVE_LIBNCURSESW], "pkg-config ncurses5",
35 HTOP_CHECK_LIB([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], 35 HTOP_CHECK_LIB([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW],
36 HTOP_CHECK_LIB([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], 36 HTOP_CHECK_LIB([ncursesw], [addnwstr], [HAVE_LIBNCURSESW],
37 HTOP_CHECK_LIB([ncurses], [addnwstr], [HAVE_LIBNCURSESW], 37 HTOP_CHECK_LIB([ncurses], [addnwstr], [HAVE_LIBNCURSESW],
38@@ -225,8 +225,8 @@ if test "x$enable_unicode" = xyes; then 38@@ -342,8 +342,8 @@ if test "x$enable_unicode" = xyes; then
39 # (at this point we already link against a working ncurses library with wide character support) 39 # (at this point we already link against a working ncurses library with wide character support)
40 AC_SEARCH_LIBS([keypad], [tinfow tinfo]) 40 AC_SEARCH_LIBS([keypad], [tinfow tinfo])
41 else 41 else
42- HTOP_CHECK_SCRIPT([ncurses6], [refresh], [HAVE_LIBNCURSES], "ncurses6-config", 42- HTOP_CHECK_SCRIPT([ncurses6], [wnoutrefresh], [HAVE_LIBNCURSES], [ncurses6-config],
43- HTOP_CHECK_SCRIPT([ncurses], [refresh], [HAVE_LIBNCURSES], "ncurses5-config", 43- HTOP_CHECK_SCRIPT([ncurses], [wnoutrefresh], [HAVE_LIBNCURSES], [ncurses5-config],
44+ HTOP_CHECK_SCRIPT([ncurses6], [refresh], [HAVE_LIBNCURSES], "pkg-config ncurses6", 44+ HTOP_CHECK_SCRIPT([ncurses6], [wnoutrefresh], [HAVE_LIBNCURSES], [pkg-config ncurses6],
45+ HTOP_CHECK_SCRIPT([ncurses], [refresh], [HAVE_LIBNCURSES], "pkg-config ncurses5", 45+ HTOP_CHECK_SCRIPT([ncurses], [wnoutrefresh], [HAVE_LIBNCURSES], [pkg-config ncurses5],
46 HTOP_CHECK_LIB([ncurses6], [refresh], [HAVE_LIBNCURSES], 46 HTOP_CHECK_LIB([ncurses6], [doupdate], [HAVE_LIBNCURSES],
47 HTOP_CHECK_LIB([ncurses], [refresh], [HAVE_LIBNCURSES], 47 HTOP_CHECK_LIB([ncurses], [doupdate], [HAVE_LIBNCURSES],
48 missing_libraries="$missing_libraries libncurses" 48 HTOP_CHECK_LIB([curses], [doupdate], [HAVE_LIBNCURSES],
diff --git a/meta-oe/recipes-support/htop/htop_3.0.5.bb b/meta-oe/recipes-support/htop/htop_3.1.2.bb
index 2772aa577d..d8e241ed06 100644
--- a/meta-oe/recipes-support/htop/htop_3.0.5.bb
+++ b/meta-oe/recipes-support/htop/htop_3.1.2.bb
@@ -2,14 +2,14 @@ SUMMARY = "Interactive process viewer"
2HOMEPAGE = "https://htop.dev" 2HOMEPAGE = "https://htop.dev"
3SECTION = "console/utils" 3SECTION = "console/utils"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = "file://COPYING;md5=4099d367cd5e59b6d4fc1ee33accb891" 5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
6 6
7DEPENDS = "ncurses" 7DEPENDS = "ncurses"
8 8
9SRC_URI = "git://github.com/htop-dev/htop.git;branch=master;protocol=https \ 9SRC_URI = "git://github.com/htop-dev/htop.git;branch=main;protocol=https \
10 file://0001-Use-pkg-config.patch \ 10 file://0001-Use-pkg-config.patch \
11 " 11"
12SRCREV = "ce6d60e7def146c13d0b8bca4642e7401a0a8995" 12SRCREV = "d73783d6dbec4a8d9d20d744bf2b5e6a7073aa46"
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
@@ -17,18 +17,19 @@ inherit autotools pkgconfig
17 17
18PACKAGECONFIG ??= " \ 18PACKAGECONFIG ??= " \
19 unicode \ 19 unicode \
20 linux-affinity \ 20 affinity \
21 delayacct \ 21 delayacct \
22" 22"
23PACKAGECONFIG[unicode] = "--enable-unicode,--disable-unicode"
24PACKAGECONFIG[affinity] = "--enable-affinity,--disable-affinity,,,,hwloc"
25PACKAGECONFIG[unwind] = "--enable-unwind,--disable-unwind,libunwind"
26PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc,,,affinity"
23PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz" 27PACKAGECONFIG[openvz] = "--enable-openvz,--disable-openvz"
24PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver" 28PACKAGECONFIG[vserver] = "--enable-vserver,--disable-vserver"
25PACKAGECONFIG[ancient-vserver] = "--enable-ancient-vserver,--disable-ancient-vserver" 29PACKAGECONFIG[ancient-vserver] = "--enable-ancient-vserver,--disable-ancient-vserver"
26PACKAGECONFIG[unicode] = "--enable-unicode,--disable-unicode" 30PACKAGECONFIG[capabilities] = "--enable-capabilities,--disable-capabilities,libcap"
27PACKAGECONFIG[hwloc] = "--enable-hwloc,--disable-hwloc,hwloc"
28PACKAGECONFIG[linux-affinity] = "--enable-linux-affinity,--disable-linux-affinity"
29PACKAGECONFIG[setuid] = "--enable-setuid,--disable-setuid"
30PACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl" 31PACKAGECONFIG[delayacct] = "--enable-delayacct,--disable-delayacct,libnl"
31PACKAGECONFIG[sensors] = "--with-sensors,--without-sensors,lmsensors,lmsensors-libsensors" 32PACKAGECONFIG[sensors] = "--enable-sensors,--disable-sensors,lmsensors,lmsensors-libsensors"
32 33
33FILES:${PN} += "${datadir}/icons/hicolor/scalable/apps/htop.svg" 34FILES:${PN} += "${datadir}/icons/hicolor/scalable/apps/htop.svg"
34 35