The GNOME System Monitor package contains GNOME's replacement for gtop.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://download.gnome.org/sources/gnome-system-monitor/48/gnome-system-monitor-48.1.tar.xz
Download MD5 sum: e5d25a6f7ee0ba9d0fb19b1eb2f852a1
Download size: 1.0 MB
Estimated disk space required: 27 MB
Estimated build time: 0.1 SBU (with parallelism=4)
adwaita-icon-theme-48.1, Gtkmm-4.18.0, itstool-2.0.7, libgtop-2.41.3, libadwaita-1.7.6, and librsvg-2.61.0
appstream-glib-0.8.3, desktop-file-utils-0.28, Catch2, and uncrustify
First, remove a hard dependency on Catch2, which is only used if you are running the unit tests:
find . -name meson.build | xargs sed -i -e '/catch2/d' && sed -i '152,162d' src/meson.build
Install GNOME System Monitor by running the following commands:
mkdir build && cd build && meson setup --prefix=/usr --buildtype=release .. && ninja
This package comes with a test suite, but it requires the external Catch2 dependency. If you have Catch2 installed, you can omit the seds above and then run the tests with ninja test.
Now, as the root
user:
ninja install