head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.2 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.2.0.2 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.1.0.8 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.6 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @# @; 1.3 date 2025.12.28.02.25.17; author fox; state Exp; branches; next 1.2; commitid nJ9wqNwL4iXWs7oG; 1.2 date 2025.10.18.07.48.43; author wiz; state Exp; branches; next 1.1; commitid mrZre2warQ7nx1fG; 1.1 date 2024.10.06.10.43.17; author fox; state Exp; branches; next ; commitid SFJv5MinIbmtCAsF; desc @@ 1.3 log @sysutils/btop: Update to 1.4.6 - Remove the upstreamed patches. - Update required GCC to 14. - Fix permissions for the files. Changes since 1.4.5: ## v1.4.6 References | Description | Author(s) --- | --- | --- #1272 | Skip 'H' and 'HX' suffix in AMD cpu name trimming | @@ramdomPTM #1268 | feature: add process renice functionality | @@goddamnparticle #1285 | Revert "Use /sys/dev/block/MAJOR:MINOR instead of /sys/block/NAME for disk I/O" #1270 | @@deckstose #1277 | feat: Introduce cpu frequency display modes | @@emiliopedrollo #1282 | Fix CPU frequency detection for LoongArch CPUs | @@Twopic2 #1275 | fix arrow keys that send 'O' instead of '[' | @@vandabbin #1251 | OpenBSD: battery: add support for watthour and watts sensors | @@shtrophic #1208 | Add Gotham theme | @@jrebs #1291 | Fix macOS deadlocks and race conditions in collector threads #1292 | @@kuzmeech #1296 | fix: btop crash on arm cpu | @@emiliopedrollo @@zenofile #984 | Added ability to set which gpu vendors to enable | @@thedustinmiller #1274 | added tree toggle of expand/collapse for children of process | @@irabrine #1300 | Use right key codes to match f1 and f2 keys | @@vandabbin #1305 | Handle missing SMC gracefully on macOS | @@achille #1309 | Fix redraw in proc list when changing sort order | @@vandabbin #1304 | Fix load average and GPU watts leaking past box border | @@vandabbin #1220 | feat: respect effective cpus from cgroup | @@deckstose #1218 | feat: display container engine | @@deckstose #1315 | feat: raise cpp standard to c++23 | @@deckstose d0cbaf7 | Add configuration toggle for terminal synchronization | @@aristocratos #1306 | Implement feat Process list pausing | @@vandabbin #1322 | flip name, command, and user sorting | @@vandabbin #1334 | fix tty theme for pause banner | @@vandabbin #1325 | test: add test harness with ctest | @@deckstose #1339 | fix: skip first argument of argv | @@AlvaroParker #1357 | feat: add --themes-dir flag | @@adeci #1359 | fix: don't over-/underflow when parsing --update argument | @@yinghao-w #1362 | fix segfault on musl systems | @@v1cont #1363 | Pass only static duration strings to Config::set in Config::apply_preset | @@yinghao-w #1366 | fix: cpu per-thread totals not reaching 100% | @@Tom94 #1367 | Fix: Align boxes when Cpu bottom and Gpu on | @@yinghao-w #1372 | Minor fixes and improvements for NetBSD | @@fraggerfox #1377 | Fixed GPU rendering | @@TheSovietPancakes #1379 | Fix: Always collect GPU data when cpu_graph_lower = "Auto" | @@yinghao-w #1393 | Fix: humanized units shortening | @@yinghao-w #1401 | Feat: add mouse dragging of scrollbar | @@yinghao-w #1399 | feat: add cli option to dump default config | @@deckstose e969f43 | Added "save_config_on_exit" option to configuration | @@aristocratos @ text @$NetBSD: patch-Makefile,v 1.2 2025/10/18 07:48:43 wiz Exp $ Fix the man page path. --- Makefile.orig 2025-12-26 15:53:24.000000000 +0000 +++ Makefile @@@@ -317,9 +317,9 @@@@ install: @@mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps @@cp -p Img/icon.svg $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/btop.svg ifneq ($(wildcard btop.1),) - @@printf "\033[1;92mInstalling man page to: \033[1;97m$(DESTDIR)$(PREFIX)/share/man/man1/btop.1\033[0m\n" - @@mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 - @@cp -p btop.1 $(DESTDIR)$(PREFIX)/share/man/man1/btop.1 + @@printf "\033[1;92mInstalling man page to: \033[1;97m$(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/btop.1\033[0m\n" + @@mkdir -p $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1 + @@cp -p btop.1 $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/btop.1 endif #? Set SUID bit for btop as $SU_USER in $SU_GROUP @@@@ -348,8 +348,8 @@@@ uninstall: @@rm -rfv $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/btop.png @@printf "\033[1;91mRemoving: \033[1;97m$(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/btop.svg\033[0m\n" @@rm -rfv $(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/btop.svg - @@printf "\033[1;91mRemoving: \033[1;97m$(DESTDIR)$(PREFIX)/share/man/man1/btop.1\033[0m\n" - @@rm -rfv $(DESTDIR)$(PREFIX)/share/man/man1/btop.1 + @@printf "\033[1;91mRemoving: \033[1;97m$(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/btop.1\033[0m\n" + @@rm -rfv $(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/btop.1 #? Pull in dependency info for *existing* .o files -include $(OBJECTS:.$(OBJEXT)=.$(DEPEXT)) @ 1.2 log @btop: revert color changes when done installing No binary package change, but the prompt looks normal again after 'make install'. From RVP. @ text @d1 1 a1 1 $NetBSD: patch-Makefile,v 1.1 2024/10/06 10:43:17 fox Exp $ a2 1 Revert off color changes when done. d5 1 a5 1 --- Makefile.orig 2025-09-19 20:29:22.000000000 +0000 d7 1 a7 25 @@@@ -297,28 +297,28 @@@@ distclean: clean @@test -e lib/rocm_smi_lib/build && rm -rf lib/rocm_smi_lib/build || true install: - @@printf "\033[1;92mInstalling binary to: \033[1;97m$(DESTDIR)$(PREFIX)/bin/btop\n" + @@printf "\033[1;92mInstalling binary to: \033[1;97m$(DESTDIR)$(PREFIX)/bin/btop\033[0m\n" @@mkdir -p $(DESTDIR)$(PREFIX)/bin @@cp -p $(TARGETDIR)/btop $(DESTDIR)$(PREFIX)/bin/btop @@chmod 755 $(DESTDIR)$(PREFIX)/bin/btop - @@printf "\033[1;92mInstalling doc to: \033[1;97m$(DESTDIR)$(PREFIX)/share/btop\n" + @@printf "\033[1;92mInstalling doc to: \033[1;97m$(DESTDIR)$(PREFIX)/share/btop\033[0m\n" @@mkdir -p $(DESTDIR)$(PREFIX)/share/btop @@cp -p README.md $(DESTDIR)$(PREFIX)/share/btop @@printf "\033[1;92mInstalling themes to: \033[1;97m$(DESTDIR)$(PREFIX)/share/btop/themes\033[0m\n" @@cp -pr themes $(DESTDIR)$(PREFIX)/share/btop - @@printf "\033[1;92mInstalling desktop entry to: \033[1;97m$(DESTDIR)$(PREFIX)/share/applications/btop.desktop\n" + @@printf "\033[1;92mInstalling desktop entry to: \033[1;97m$(DESTDIR)$(PREFIX)/share/applications/btop.desktop\033[0m\n" @@mkdir -p $(DESTDIR)$(PREFIX)/share/applications/ @@cp -p btop.desktop $(DESTDIR)$(PREFIX)/share/applications/btop.desktop - @@printf "\033[1;92mInstalling PNG icon to: \033[1;97m$(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/btop.png\n" + @@printf "\033[1;92mInstalling PNG icon to: \033[1;97m$(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/btop.png\033[0m\n" @@mkdir -p $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps @@cp -p Img/icon.png $(DESTDIR)$(PREFIX)/share/icons/hicolor/48x48/apps/btop.png - @@printf "\033[1;92mInstalling SVG icon to: \033[1;97m$(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/btop.svg\n" + @@printf "\033[1;92mInstalling SVG icon to: \033[1;97m$(DESTDIR)$(PREFIX)/share/icons/hicolor/scalable/apps/btop.svg\033[0m\n" d11 1 a11 1 - @@printf "\033[1;92mInstalling man page to: \033[1;97m$(DESTDIR)$(PREFIX)/share/man/man1/btop.1\n" d20 1 a20 1 @@@@ -347,8 +347,8 @@@@ uninstall: @ 1.1 log @Import of btop++ v1.4.0 as sysutils/btop Resource monitor that shows usage and stats for processor, memory, disks, network and processes. * Easy to use, with a game inspired menu system. * Full mouse support, all buttons with a highlighted key is clickable and mouse scroll works in process list and menu boxes. * Fast and responsive UI with UP, DOWN keys process selection. * Function for showing detailed stats for selected process. * Ability to filter processes. * Easy switching between sorting options. * Tree view of processes. * Send any signal to selected process. * UI menu for changing all config file options. * Auto scaling graph for network usage. * Shows IO activity and speeds for disks * Battery meter * Selectable symbols for the graphs * Custom presets @ text @d1 1 a1 1 $NetBSD$ d3 1 d6 1 a6 1 --- Makefile.orig 2024-10-06 10:22:47.718265628 +0000 d8 25 a32 1 @@@@ -343,9 +343,9 @@@@ install: d39 1 a39 1 + @@printf "\033[1;92mInstalling man page to: \033[1;97m$(DESTDIR)$(PREFIX)/$(PKGMANDIR)/man1/btop.1\n" d45 1 a45 1 @@@@ -374,8 +374,8 @@@@ uninstall: @