29 Commits

Author SHA1 Message Date
Leon Anavi
505f22ece2
htop: Upgrade 3.3.0 -> 3.4.1
Upgrade to release 3.4.1:

- Support for PMAPI v3 for PCP
- PCP code cleanups
- Proper checks for strchrnul
- Code cleanup in the NetworkIOMeter
- Improved documentation for the --user option
- Display stuck processes on Darwin
- Handle issues when the monotonic clock runs backwards
- Fix builds using native curses on NetBSD

htop now prioritizes pkg-config over ncurses*-config to
cross-compile. It depends on libnl and a patch is required to fix:

| configure: error: can not find required header files
netlink/attr.h, netlink/handlers.h, netlink/msg.h

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-12-08 12:00:20 -08:00
Alexander Kanavin
fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00
Wang Mingyu
110667ac37
htop: upgrade 3.2.2 -> 3.3.0
0001-Use-pkg-config.patch
refreshed for 3.3.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-01-22 18:02:27 -08:00
Wang Mingyu
ea9cd4cd80 htop: upgrade 3.2.1 -> 3.2.2
Changelog:
==========
* CPUMeter now can show frequency in text mode
* Add option to render distribution path prefixes shadowed
* DiskIOMeter converts to bytes per second (not per interval)
* DiskIOMeter uses complete units, including missing "iB/s"
* DiskIOMeter indicates read and write in meter mode
* NetworkIOMeter converts to packets per second, shows packet rate
* Allow continued process following when changing display settings
* Update the panel header when changing to another tab
* Drop margin around the header if there are no meters
* Use Unicode replacement character for non-printable characters
* Default color preset uses bold blue for better visibility
* Update the Panel header on sort order inversions ('I')
* Toggle the header meters with pound key
* Fix ScreenPanel to handle quitting the panel while renaming
* Add fallback for HOME environment variable using passwd database
* Replace meaningless ID column with FD column in lock screen
* Use device format in the lock screen matching the files screen
* On Linux, improvements to file-descriptor lock detection
* On Linux, further distinguish systemd states in the SystemdMeter
* On Linux, improvements to cgroup and container identification
* On Linux, support openat(2) without readlinkat(2) platforms
* On Darwin, fix current process buffer handling for busy systems
* On DragonFly BSD, fix incorrect processor time of processes
* On FreeBSD, fix an issue with the memory graph not showing correctly
* On FreeBSD, add support for displaying shared memory usage
* On PCP, use pmLookupDescs(3) if available for efficiency
* On PCP, normalize generic columns values for consistent display
* On PCP, changes preparing for configurable, dynamic screens
* Handle invalid process columns from the configuration file
* Avoid undefined behaviour with deeply nested processes
* Fix crash when removing the currently active screen
* Prevent possible crash on a very early error path
* Include automake for Debian/Ubuntu
* Restore non-mouse support
* Reject unsupported command line arguments
* Document idle process state
* Clarify M_TRS/M_DRS columns

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-02-18 13:19:36 -08:00
Martin Jansa
0f942d1f2f htop: fix Upstream-Status format
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-01-26 13:10:37 -08:00
Wang Mingyu
45cd9b4d58 htop: upgrade 3.2.0 -> 3.2.1
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-06-06 13:58:43 -07:00
wangmy
0c9b3e3cd4 htop: upgrade 3.1.2 -> 3.2.0
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-05-09 08:59:46 -07:00
Khem Raj
14c7d8a0d7 recipes: Update LICENSE variable to use SPDX license identifiers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-03-04 17:41:45 -08:00
Robert Joslyn
cef2d1429b 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:
088dc5b9a7

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2022-01-18 09:01:51 -08:00
Richard Purdie
b402a3076f recipes: Update SRC_URI branch and protocols
This patch updates SRC_URIs using git to include branch=master if no branch is set
and also to use protocol=https for github urls as generated by the conversion script
in OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-11-03 06:57:49 -07:00
Martin Jansa
c61dc077bb Convert to new override syntax
This is the result of automated script (0.9.1) conversion:

oe-core/scripts/contrib/convert-overrides.py .

converting the metadata to use ":" as the override character instead of "_".

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2021-08-03 10:21:25 -07:00
Paulo Neves
b5d74f8a6b htop: Add ncurses-terminfo-base to RDEPENDS
Without it there are no terminal configurations on the target
and htop refuses to run.
2021-07-27 09:52:24 -07:00
Zang Ruochen
14365a5fd5 htop: upgrade 3.0.4 -> 3.0.5
Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-17 11:47:41 -08:00
Robert Joslyn
759058bfb8 htop: Update to 3.0.4
Along with the update, make a few cleanups to the recipe:
 * Refresh patch with devtool.
 * The cgroup and taskstats configure options are no longer provided by
   upstream.
 * Add ancient-vserver configure option. Leave it disabled by default
   since it is rarly used.
 * Reorder PACKAGECONFIG options to match upstream ./configure --help
   output to make future updates easier.
 * Add new sensors PACKAGECONFIG option that adds lmsensors integration.
   htop will dlopen libsensors. Disable by default to avoid pulling in
   excess dependencies.
 * Package new icon.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-09 18:39:46 -08:00
Robert Joslyn
fb320603be htop: Update to 3.0.1
Remove patches that are no longer needed. Upstream development has moved
to GitHub and homepage has moved. License remains GPLv2, but file
changed due to whitespace removal. The --enable-proc setting was
removed, so remove the PACKAGECONFIG. The config.h file does not exist
in the repo, so it's no longer necessary to remove it before configure.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-09-12 18:46:28 -07:00
Khem Raj
d9f0278666 htop: Fix build with -fno-common
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-08-13 22:32:07 -07:00
Khem Raj
c5b6ac8596 htop: Use python3
Fixes
| ../htop-2.2.0/scripts/MakeHeader.py ../htop-2.2.0/CategoriesPanel.c
| ../htop-2.2.0/scripts/MakeHeader.py ../htop-2.2.0/MainPanel.c
| /usr/bin/env: ‘python’: No such file or directory

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-11-26 11:49:23 -08:00
Oleksandr Kravchuk
f5a3718a41 htop: upgrade to 2.2.0
Signed-off-by: Oleksandr Kravchuk <dev@sashko.rv.ua>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-06-05 09:56:03 -07:00
Robert Joslyn
14d7dce4f8 htop: Fix typo
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-17 08:28:20 -07:00
Robert Joslyn
5818f54160 htop: Update to 2.1.0
Add PACKAGECONFIG options and update formatting to better conform to the
style guide.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-05-01 18:12:49 -07:00
Paul Barker
bcf2c8fe6e htop: Update to v2.0.2
Signed-off-by: Paul Barker <pbarker@toganlabs.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-15 16:34:05 -08:00
Martin Jansa
289217bbc3 meta-oe: fix indentation
* remove tabs which sneaked in since last cleanup
* meta-oe layers are using consistent indentation with 4 spaces, see
  http://www.openembedded.org/wiki/Styleguide

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22 15:56:28 +02:00
Radek Dostal
979ad0e64b htop: delete not used patch
remove-proc-test.patch was not used since commit
78909f65d8 "htop: upgrade to version 1.0.2"

Signed-off-by: Radek Dostal <radek.dostal@streamunlimited.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-12-18 12:43:22 +01:00
Khem Raj
e1086420ba htop: Update 1.0.2 -> 1.0.3
Update to latest and at the same time fix
building when S != B

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:45:04 +02:00
Matthieu CRAPET
c95e155780 recipes: convert remaining SUMMARY/DESCRIPTION cosmetic issues
Changes:
- rename SUMMARY with length > 80 to DESCRIPTION
- rename DESCRIPTION with length < 80 to (non present tag) SUMMARY
- drop final point character at the end of SUMMARY string
- remove trailing whitespace of SUMMARY line

Note: don't bump PR

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-02-23 23:20:02 +01:00
dv@pseudoterminal.org
78909f65d8 htop: upgrade to version 1.0.2
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-11-18 23:14:10 +01:00
Paul Eggleton
040f75eca2 Drop PRIORITY variable
As discussed on the mailing list, this variable isn't useful and if wanted
would be better implemented by distros using pn-X overrides.

This patch executes:

find . -regex ".*\.\(bb\|inc\)$" | xargs sed -i '/^PRIORITY = ".*"$/d'

against the tree removing the references. Thanks to Phil Blundell for
the command.

(Prompted by oe-core rev: d122343362669c683acc4af295971a62cbc823fc)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-07-14 16:49:27 +01:00
Khem Raj
7e3451f4e7 htop: Link with libubacktrace when compiling for uclibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-07-01 19:35:53 +02:00
Koen Kooi
c58cc7d379 move layer into meta-oe in preparation for future splits
As per TSC decision

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2011-03-17 21:41:22 +01:00