Up to [cvs.NetBSD.org] / pkgsrc / sysutils / fastfetch
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
fastfetch: update to 2.64.2
changes (since 2.62.1)
# 2.64.2
Bugfixes:
* Fixes image rendering being wiped quickly (#2374)
* Regression from v2.64.0
* Fixes ASCII logo being overwritten in `--dynamic-interval` mode
* Regression from v2.64.0
Logos:
* Updates OpenWrt and adds a small variant (#2376)
* The old one is renamed to `openwrt_old`
# 2.64.1
Features:
* Adds a CMake option `-DPACKAGES_REMOVE_DISABLED` to remove detection code of disabled packages (`-DPACKAGES_DISABLE_<PACKAGE_NAME>`) for slightly smaller binary size (Packages)
Bugfixes:
* Fixes compatibility issues with Lua 5.3
* Avoid possible infinite recursion in `encode_json` when encoding deeply nested tables or circular references
* Fixes compilation issues when building with old macOS SDKs
# 2.64.0
New **optional build** dependencies:
* [`libva`](https://github.com/intel/libva) and [`libvdpau`](https://www.freedesktop.org/wiki/Software/VDPAU) for the new `Codec` module.
* [Lua 5.3 to 5.5](https://www.lua.org/) for Lua scripting support, or [QuickJS](https://github.com/quickjs-ng/quickjs) v0.15.0 or newer for JavaScript scripting support.
Features:
* Adds `Codec` module support for Windows, macOS, Linux, and Android for hardware-accelerated video codec detection (Codec)
* Backends used (results may vary depending on the backend due to driver differences):
* Linux and BSD: VA-API (default) and VDPAU (fallback for NVIDIA). Fastfetch must be built with `libva` and `libvdpau` support to enable these backends.
* Windows: D3D12VA (Windows 11) and D3D11VA+MFT (Windows 10 or older)
* macOS: VideoToolbox
* Android: AMediaCodec
* Common: Vulkan Video (disabled by default; can be enabled with `"useVulkan": true`)
* By default, both encoders and decoders are reported. If no codecs are detected for a given type, `None` is reported. This behavior can be configured using the `"showType": "encoder|decoder"` option.
* Adds experimental Lua script support for custom formats (Global)
* Basic usage (using `Title` as an example): `{ "type": "title", "format": "lua:return string.format('Hello %s@%s', (...).userName, (...).hostName)" }`. The `lua:` prefix indicates a Lua script. A `return` statement is required to pass the final result back to the fastfetch module; otherwise, `nil` is returned implicitly and the entire module output is skipped.
* Parameters are passed via variable arguments `(...)`. Users can assign them to named variables for better readability. For example: `lua:local args = ...; string.format('Hello %s@%s', args.userName, args.hostName)`.
* The Lua interpreter instance is shared across all modules. This allows users to store and manipulate data across modules. For example:
* `{ "type": "shell", "format": "lua:shell = ..." } // Note: no "return" here`
* `{ "type": "terminal", "format": "lua:return shell.prettyName .. ' in ' .. (...).prettyName" } // This will print the detected shell and terminal names`
* A `json_encode(table, is_pretty)` function has been added to the Lua API for easier debugging. For example, `lua:return json_encode(...)` will print all available variables and their values in JSON format.
* Supported Lua versions: Lua 5.3 to 5.5 (Lua 5.1 and LuaJIT are not supported). The Lua version is auto-detected at build time. Once built, users can check the configured Lua version using `fastfetch --list-features`.
* Adds experimental QuickJS script support for custom formats as an alternative to Lua (Global)
* Basic usage: `{ "type": "title", "format": "qjs:`Hello ${this.userName}@${this.hostName}`" }`. The `qjs:` prefix indicates a JavaScript script. No `return` statement is needed; the final result is simply the evaluated value of the script.
* Parameters are passed via the `this` object. Usage is mostly the same as Lua, but using JavaScript syntax.
* Requires [quickjs-ng v0.15.0](https://github.com/quickjs-ng/quickjs/releases/tag/v0.15.0) or newer.
* Adds CMake options `-DMODULE_DISABLE_<MODULE_NAME>=ON` to disable modules at compile time for a smaller binary size
* Use `cmake -L . | grep MODULE_DISABLE_` to list all available options.
* These options rely on LTO for dead code elimination (`-DCMAKE_BUILD_TYPE=Release` should enable LTO by default).
* Adds the ability to remove unneeded ASCII logos without modifying the fastfetch source code, further reducing binary size
* Simply remove the corresponding logo file from the logo directory (`src/logo/ascii/[a-z]/*`) and re-run `cmake`.
* Improves string manipulation specifiers in custom formats
* They are now ANSI escape-aware and work correctly with colored output (e.g., percentages with `num-color`) (#2364). Limitations:
* They are still not wide-character aware and treat CJK and emoji characters as raw bytes.
* Escape sequences in the middle of strings are not supported.
* A new `|` specifier has been added to center strings. For example, `{user-name|20}` will center the username in a 20-character-wide field.
* Adds preliminary `Bootmgr`, `Brightness`, and `WMTheme` detection support for Haiku (#2358, Haiku)
* Adds `Wallpaper` and `WMTheme` detection support for the COSMIC desktop environment (Linux)
* Improves terminal name detection for Nix packages (#2352, Terminal, Linux)
* Adds DDC/CI brightness detection support for FreeBSD (Brightness, FreeBSD)
* DDC/CI communication can be very slow. Users can set the `ddcciSleep: null` option to skip DDC/CI detection.
* Reworks the built-in logo printing logic. ASCII logos and modules are now printed line by line, avoiding issues like #2239
* Note: Image logos are not affected by this change and still print the entire image first before printing any modules.
* Adds a new `--logo-padding-bottom` option to control the padding between the bottom of the logo and the first module when `--logo-position top` is used
* Previously, `--logo-padding-right` was used for both right and bottom padding.
* Adds `Samsung Exynos 2600` to CPU detection (CPU, Android)
* Adds terminal font detection support for the Muxy terminal (TerminalFont, macOS)
* Improves the performance of BusyBox (ash) version detection and always reports `ash` as the pretty name (Shell, Linux)
Bugfixes:
* Fixes SwayFX version detection (WM, Linux)
* Fixes fallback font detection for Ghostty (TerminalFont, macOS)
* Fixes `--stat` output to correctly align with the right border (Global)
* Fixes boot manager on macOS 26 (mBoot) is incorrectly reported as `iBoot` (Bootmgr, macOS)
Logos:
* Adds Quasar (#2338, #2323), Origami, Origami_small (#2321, #2322), BerserkArch (#2324, #2310), and NixOS2 (#2346)
* Minor tweaks and color fixes for the NixOS_small logo (#2357)
* Updates NurOS (#2366)
# 2.63.1
Bugfixes:
* Fixes media length detection for Chrome on Linux (Media, Linux)
* Fixes segmentation fault when specifying unsupported modules on command line
* Disables usage of Netlink for Wi-Fi detection on s390x architectures (Wifi, Linux)
# 2.63.0
Changes:
* Introduces a new **build-only** dependency, `libefl`, for querying the Enlightenment window manager configuration:
* `libefl-all-dev` on Debian/Ubuntu
* `libefl-devel` on Fedora
* `efl` on Arch Linux
* The Windows-specific options `battery.useSetupApi` and `global.wmiTimeout` have been removed. (Windows)
Features:
* Adds wallpaper detection support on Haiku (#2314, Wallpaper, Haiku)
* Adds Wi-Fi 6 GHz channel detection and improves protocol reporting (Wifi, Linux)
* Improves Deepin version detection using `/etc/os-version` (#2300, OS, Linux)
* Adds Ubuntu Kylin and Ubuntu Unity flavor detection (OS, Linux)
* Adds NebiDE support (WMTheme, Linux)
* Adds package counting for `cards` on NuTyX (#2287, Packages, Linux)
* Adds `{am-pm}` to custom format for 12-hour time with am/pm (DateTime)
* Adds support for the Enlightenment desktop environment (#2165, WM, Linux)
* Adds support for playback progress detection (Media)
* The module now prints the current playback position and total media duration when supported by the player. If you prefer the previous behavior, you can set `media.percent.type: ["hide-others"]` to hide the new fields.
* Adds support for `global.playerName` for Windows (Media, Windows)
* This allows detecting a specified media player while ignoring others.
* Multi-battery detection is enabled on Windows by default (Battery, Windows)
Bugfixes:
* Improves DisplayServer compatibility on Linux by handling newer `kde-output-device-v2` protocol updates (DisplayServer, Linux)
* This fixes a long-standing issue where display detection fails with an `interface 'kde_output_device_mode_v2' has no event X` error.
* Improves Wi-Fi reliability on Linux by switching to a netlink implementation (Wifi, Linux)
* Improves network interface reliability and default route selection on macOS and Windows (Netif, macOS / Windows)
* Validates temperature color thresholds as integers when parsing JSON configs (Temps)
* Fixes TDE Konsole version detection (#2319, Terminal, Linux)
* Various internal cleanups and optimizations
fastfetch: swap for MesaLib features.mk check PR pkg/60131
fastfetch: Disable libdrm option on Darwin Pointed out in PR pkg/60131. Inspired by similar example in devel/SDL3/options.mk.
sysutils/fastfetch: update to 2.47.0
# changes
# 2.47.0
Features:
* Various improvements for Solaris / OpenIndiana support
* Support BIOS (UEFI or legacy) type detection (BIOS)
* Support physical disk detection (PhysicalDisk)
* Remove leading `-` from login shells (Shell)
* Improve GPU detection performance (GPU)
* Drop `libpciaccess` dependency
* Use native API to detect sound devices (Sound)
* Drop `PulseAudio` dependency
* Improve DietPi OS and Raspberry Pi OS detection (#1816, OS, Linux)
* Force reporting version 26 on macOS Tahoe (OS, macOS)
* Append version string to Ubuntu variants (OS, Linux)
* Improve performance of media detection for macOS 15.4+ (Media, macOS)
* Increase `PROC_FILE_BUFFSIZ` to avoid possible short reads (Linux)
* Fix potential bugs in `DiskIO`, `NetIO` and `CPUUsage` modules
* Improve accuracy of CPU usage calculations by including interrupt and softirq times (CPUUsage, Linux / *BSD)
* Ignore `init` and `systemd` processes when detecting terminals (Terminal, Linux)
* Improve accuracy of CPU usage detection on Windows 10+ with perflib, which matches values reported by Task Manager (CPUUsage, Windows)
Bugfixes:
* Fix `pci.ids` file location (#1819, GPU, OpenBSD)
* Fix compiling on FreeBSD when `libdrm` support is disabled (#1820, GPU, FreeBSD)
Logos:
* Improve visibility on white-background terminals for some logos by replacing white with the default foreground color
* According to Wikipedia, the default foreground color is implementation-defined. It's usually black for white themes and white for dark themes. However, some terminals, notably Konsole with the default theme, use a different color, which may cause issues with some logos.
* Add Xubuntu
# 2.46.0
Features:
* Support Rio terminal font detection (#1789, TerminalFont, Linux)
* Support GPU detection by DRM on FreeBSD (GPU, FreeBSD)
* Enable by `--gpu-detection-method auto`
* Require proper DRM drivers installed and loaded
* Support PowerPC CPU detection on NetBSD (#1802, CPU, NetBSD)
* Support Aerospace WM detection (#1796, WM, macOS)
* Improve Raspberry Pi OS for RPI5 detection (#1773, OS, Linux)
* Support Linux Binary Compatibility detection on FreeBSD (#1786, Host, Linux)
* Use `board-id` as board name if available (Board, macOS)
* Intel only
* Support shared VRAM usage detection for AMD GPUs (GPU, Linux)
* Use `perflib.h` instead of `pdh.h` for CPU temperature querying to get rid of `pdh.dll` dependency (#1787, CPU, Windows)
* Support GPU info detection for old ATI radeon driver (#1810, GPU, Linux)
* Add macOS 26 Tahoe support (macOS)
* Report macOS 26 code name (OS)
* Report Liquid Glass DE on macOS 26+ (DE)
* Detect Metal 4 support (GPU)
Bugfixes:
* Fix packages counting by ignoring hidden folders (Packages, OpenBSD)
* Fix Hyprland version detection (WM, FreeBSD)
* Don't show `Please insert a disk into drive D:` error dialogs (#1805, Disk, Windows)
* Hide `/boot/firmware` by default (Disk, Linux)
Logos:
* Rename Hydra Framework to HydraPwk (#1812)
* Add AnushOS (#1806)
* Add HarmonyOS (#1804)
* Add GhostFreak (#1801)
* Add TrueNAS Scale (#1795)
* Add Fedora2_small (#1785)
* Add xenia_old; update colors of xenia (#1797)
* Improve colors of bedrock_small (#1790)
* Add Kalpa Desktop (#1807)
sysutils/fastfetch: disable OpenCL. Apparently working only on Linux. Needs more adequate testing.
sysutils/fastfetch: update to 2.39.1
# pkgsrc changes
* Remove some patches, merged upstream.
* Replace `osmesa' option with `opengl' (which requires GL support),
since upstream support for osmesa was dropped.
# upstream changes
Changes:
Fix PublicIP detection fails randomly (PublicIP, #1629)
OSMesa backend for OpenGL detection is removed (#1618)
Fastfetch no longer tries to use the private framework Apple80211 to acquire SSID
for Wifi module, which is only useful for macOS Sonoma (Wifi, macOS)
Features:
Improve accuracy of HDR support on Windows 11 24H2 (Display, Windows)
Improve performance of SSID detection on macOS Sequoia (Wifi, macOS, #1597)
Support warp terminal version detection on Windows (Terminal, Windows)
Support default route detection on OpenBSD & DragonFly BSD (LocalIP, OpenBSD / DragonFly)
Improve bash completion script
Improve performance of networking (PublicIP / Weather)
Support pkgsrc package manager detection on Linux (Packages, Linux)
Logo:
Add Common Torizon OS
Change FoxOS to WolfOS
Add Bredos
Add NetBSD2
sysutils/fastfetch: update to 2.36.1
# changes (since 2.35.0)
2.36.1
A hotfix release to fix a regression introduced in 2.36.0
Changes:
To use the native arm64 runner of Github Action, Linux aarch64 binary is now built
with Ubuntu 22.04 (Glibc 2.35, Debian 12).
Bugfixes:
Chimera Linux logo is now displayed correctly (#1554, Logo)
Regression of 2.36.0
Fix building on Haiku
Logo:
Fix ALT Linux
2.36.0
Bugfixes:
Trim leading slash for login shells (Shell, OpenBSD)
Prefer SOC name if available over CPU name (CPU, Linux)
Features:
Use kernel API to detect sound devices (Sound, NetBSD)
Use sndio for sound server detection on OpenBSD (Sound, OpenBSD)
Add minimal implementation for Haiku (#1538, Haiku)
Support CPU & GPU temperature detection for M4x (CPU / GPU, macOS)
Support VMEM size detection for old Nvidia cards (GPU, Linux)
Use recommendedMaxWorkingSetSize as total GPU mem size (GPU, macOS)
Support Physical core count and CPU package count detection for loongarch (CPU, Linux)
Split ID_LIKE when used for distro matching (#1540, Logo)
Capitalize {type}'s first letter in custom format (#1543, Display)
Support model name detection for s390x (CPU, Linux)
Support more Armbian variants detection (#1547, OS, Linux)
Support the syntax of {$ENV_VAR} in custom format, which will be replaced by the value
of the environment variable ENV_VAR (#1541)
This is another way to pass 3rd-party data to fastfetch besides Custom module.
Improve performance of Tilix version detection (Terminal, Linux)
Logo:
Update arch_old
Add Nexa Linux
Add filotimo
Update some distro names
sysutils/fastfetch: add sound support for NetBSD.
sysutils/fastfetch: simplify options handling
sysutils/fastfetch: python required as tool Python is needed at build time for minifying the embedded help dialog, for generating the man page, and for built-in pciids (the latter is still disabled by default). As a consequence, include python as tool in Makefile, and only pull it as full dependency if the 'python' option is enabled. Other changes: * Do not install the LICENSE file. * Explicitely enable pciaccess support. * Standardise link method. * Replace hard-coded paths. * Install custom minimal config. Revision bumped.
sysutils/fastfetch: few changes * Set pkgsrc database dir at build time depending on PKG_DBDIR setting. Covers non-standard locations. * Fix compiler warning. * Bump revision.
sysutils/fastfetch: get rid of options redundancy
fastfetch: fix typo
sysutils/fastfetch: update to 2.34.1 # pkgsrc changes * patches dropped, merged upstream. * Support OSS on FreeBSD # upstream changes (since 2.34.0) Features: Report vendor name when detecting GPUs by OpenGL Note: the vendor name is actually the creator of the OpenGL driver (such as Mesa) and may not be the same as the GPU vendor. Bugfixes: Fix Ghostty termfont detection (#1495, TerminalFont, macOS) Fix compatibility with KDE Plasma 6.3 (#1504, Display, Linux) Make memory usage detection logic consistent with other systems (Memory, OpenBSD / NetBSD) Report media file name if media title is not available (Media) Fix max frequency detection for CPUs with both performance and efficiency cores (CPU, FreeBSD)
sysutils/fastfetch: further revision * Media player and sound device discovery are only supported on Linux, so partially revert last commit by making dbus and pulseaudio options suggested just on Linux. * Use system yyjson (since it's now avalable on pkgsrc) instead of building an embedded implementation. * Fix GPU identification by pointing to correct PCI IDs database path. * Bump revision.
sysutils/fastfetch: make dbus support default Also, turn on pulseaudio support on Linux and SunOS.
sysutils/fastfetch: few improvements * Make multithreading optional * Force disable options then unselected (avoids leaking base zlib and others) * Add dependency on hwdata * Point to pkgsrc prefix for file discovery * Bump revision
sysutils/fastfetch: initial import of package Fastfetch is a neofetch-like tool for fetching system information and displaying it prettily. It is written mainly in C, with performance and customizability in mind.