diff options
author | Paul Barker <pbarker@toganlabs.com> | 2017-11-05 22:07:30 +0000 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-11-15 16:34:05 -0800 |
commit | bcf2c8fe6e4de4324c8aaf0c27cfad2b13fd93d6 (patch) | |
tree | d525f09be5c81f10bd77a844c8a8378f4192e902 /meta-oe/recipes-support | |
parent | 6f3368cebe96113dd8d371cc53879a9bf521516b (diff) | |
download | meta-openembedded-bcf2c8fe6e4de4324c8aaf0c27cfad2b13fd93d6.tar.gz |
htop: Update to v2.0.2
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/htop/files/0001-Use-pkg-config.patch | 46 | ||||
-rw-r--r-- | meta-oe/recipes-support/htop/htop_2.0.2.bb (renamed from meta-oe/recipes-support/htop/htop_1.0.3.bb) | 9 |
2 files changed, 52 insertions, 3 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 new file mode 100644 index 000000000..ff5cd4923 --- /dev/null +++ b/meta-oe/recipes-support/htop/files/0001-Use-pkg-config.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 7ebcbf17ad9483c7109e4a83b66966bc02f09bd4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Paul Barker <pbarker@toganlabs.com> | ||
3 | Date: Sun, 5 Nov 2017 20:10:10 +0000 | ||
4 | Subject: [PATCH] Use pkg-config | ||
5 | |||
6 | We need to use pkg-config to find the ncurses library instead of the | ||
7 | ncurses*-config applications. | ||
8 | |||
9 | Signed-off-by: Paul Barker <pbarker@toganlabs.com> | ||
10 | Upstream-status: Inappropriate | ||
11 | (`ncurses*-config` can be used outside of OpenEmbedded) | ||
12 | --- | ||
13 | configure.ac | 10 +++++----- | ||
14 | 1 file changed, 5 insertions(+), 5 deletions(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 7e0edd1..c5a8365 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -185,9 +185,9 @@ m4_define([HTOP_CHECK_LIB], | ||
21 | |||
22 | AC_ARG_ENABLE(unicode, [AS_HELP_STRING([--enable-unicode], [enable Unicode support])], ,enable_unicode="yes") | ||
23 | if test "x$enable_unicode" = xyes; then | ||
24 | - HTOP_CHECK_SCRIPT([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw6-config", | ||
25 | - HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "ncursesw5-config", | ||
26 | - HTOP_CHECK_SCRIPT([ncurses], [addnwstr], [HAVE_LIBNCURSESW], "ncurses5-config", | ||
27 | + HTOP_CHECK_SCRIPT([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], "pkg-config ncursesw6", | ||
28 | + HTOP_CHECK_SCRIPT([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], "pkg-config ncursesw5", | ||
29 | + HTOP_CHECK_SCRIPT([ncurses], [addnwstr], [HAVE_LIBNCURSESW], "pkg-config ncurses5", | ||
30 | HTOP_CHECK_LIB([ncursesw6], [addnwstr], [HAVE_LIBNCURSESW], | ||
31 | HTOP_CHECK_LIB([ncursesw], [addnwstr], [HAVE_LIBNCURSESW], | ||
32 | HTOP_CHECK_LIB([ncurses], [addnwstr], [HAVE_LIBNCURSESW], | ||
33 | @@ -200,8 +200,8 @@ if test "x$enable_unicode" = xyes; then | ||
34 | [AC_CHECK_HEADERS([ncurses/curses.h],[:], | ||
35 | [AC_CHECK_HEADERS([ncurses.h],[:],[missing_headers="$missing_headers $ac_header"])])])]) | ||
36 | else | ||
37 | - HTOP_CHECK_SCRIPT([ncurses6], [refresh], [HAVE_LIBNCURSES], "ncurses6-config", | ||
38 | - HTOP_CHECK_SCRIPT([ncurses], [refresh], [HAVE_LIBNCURSES], "ncurses5-config", | ||
39 | + HTOP_CHECK_SCRIPT([ncurses6], [refresh], [HAVE_LIBNCURSES], "pkg-config ncurses6", | ||
40 | + HTOP_CHECK_SCRIPT([ncurses], [refresh], [HAVE_LIBNCURSES], "pkg-config ncurses5", | ||
41 | HTOP_CHECK_LIB([ncurses6], [refresh], [HAVE_LIBNCURSES], | ||
42 | HTOP_CHECK_LIB([ncurses], [refresh], [HAVE_LIBNCURSES], | ||
43 | missing_libraries="$missing_libraries libncurses" | ||
44 | -- | ||
45 | 2.7.4 | ||
46 | |||
diff --git a/meta-oe/recipes-support/htop/htop_1.0.3.bb b/meta-oe/recipes-support/htop/htop_2.0.2.bb index 181661af7..395b83ff6 100644 --- a/meta-oe/recipes-support/htop/htop_1.0.3.bb +++ b/meta-oe/recipes-support/htop/htop_2.0.2.bb | |||
@@ -8,10 +8,13 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c312653532e8e669f30e5ec8bdc23be3" | |||
8 | DEPENDS = "ncurses" | 8 | DEPENDS = "ncurses" |
9 | RDEPENDS_${PN} = "ncurses-terminfo" | 9 | RDEPENDS_${PN} = "ncurses-terminfo" |
10 | 10 | ||
11 | SRC_URI = "http://hisham.hm/htop/releases/${PV}/htop-${PV}.tar.gz" | 11 | SRC_URI = " \ |
12 | http://hisham.hm/htop/releases/${PV}/htop-${PV}.tar.gz \ | ||
13 | file://0001-Use-pkg-config.patch \ | ||
14 | " | ||
12 | 15 | ||
13 | SRC_URI[md5sum] = "e768b9b55c033d9c1dffda72db3a6ac7" | 16 | SRC_URI[md5sum] = "7d354d904bad591a931ad57e99fea84a" |
14 | SRC_URI[sha256sum] = "055c57927f75847fdc222b5258b079a9542811a9dcf5421c615c7e17f55d1829" | 17 | SRC_URI[sha256sum] = "179be9dccb80cee0c5e1a1f58c8f72ce7b2328ede30fb71dcdf336539be2f487" |
15 | 18 | ||
16 | LDFLAGS_append_libc-uclibc = " -lubacktrace" | 19 | LDFLAGS_append_libc-uclibc = " -lubacktrace" |
17 | 20 | ||