pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/fastfetch



Module Name:    pkgsrc
Committed By:   vins
Date:           Sun Aug 24 16:51:24 UTC 2025

Modified Files:
        pkgsrc/sysutils/fastfetch: Makefile PLIST distinfo
Removed Files:
        pkgsrc/sysutils/fastfetch/patches:
            patch-src_detection_packages_packages__apple.c

Log Message:
sysutils/fastfetch: update to 2.50.2

# pkgsrc changes

* Drop patch allowing pkgsrc package count on macOS, considered it was
still untested and let bitrotting.

# upstream changes (since 2.47.0)

# 2.50.2

Bugfixes:
* Fixes linglong package detection V2 (#1903, Packages, Linux)
* Fixes building with `-DENABLE_SYSTEM_YYJSON=ON` (#1904)
* Fixes `showMac` does not honor `defaultRouteOnly` (#1902, LocalIP, Linux)
* Fixes failing to acquire default route on Linux in certain cases (#1902, LocalIP, Linux)

# 2.50.1

Bugfixes:
* Fixes percentage bar not displaying correctly in certain cases
* Fixes linglong package detection on Debian 13 (#1899, Packages, Linux)

# 2.50.0

Changes:
* Keys in JSON configuration files are now case-sensitive, as stated in v2.49.0.
    * This is a breaking change, but it should not affect most users as long as your config file passes JSON schema validation.
* All module config flags have been removed, as stated in v2.49.0.
    * To configure modules via the command line, use: `echo '{"modules": [{"type":"custom","format":"Hello Fastfetch!"}]}' | fastfetch -c -`.
* The percent bar config `display.bar.*` options have been replaced with a more organized, nested object structure.
    * `display.bar.charElapsed` has been renamed to `display.bar.char.elapsed`.
    * `display.bar.charTotal` has been renamed to `display.bar.char.total`.
    * `display.bar.borderLeft` has been renamed to `display.bar.border.left`.
    * `display.bar.borderRight` has been renamed to `display.bar.border.right`.
* The undocumented flag `--load-config` has been removed.
    * Use `--config` or `-c` instead.
* Flashfetch, a simplified fastfetch variant that used a hardcoded module list with direct function calls to reduce startup overhead, has been changed to a version that aims to match neofetch's 
behavior as closely as possible, for demonstration purposes.
    * Flashfetch is intended to be built from source (like [st](https://st.suckless.org/)). We do not provide prebuilt binaries in distributions.

Features:
* Added support for reading JSON config from stdin using `--config -` or `-c -`.
* Added `display.bar.border.{leftElapsed,rightElapsed}` for using the border as part of the bar content. (#1875)
    * `display.bar.border: null` has been added as a shorthand to disable bar borders.
* Added `display.bar.color.{elapsed,total,border}` to customize the color of the elapsed, total, and border sections of the percent bar.
    * `display.bar.color: null` has been added as a shorthand to disable bar colors.
* Improved Bedrock Linux detection (#1881, OS / Disk, Linux)
* Added the command flag `--gen-config-full`, which generates a JSON config file containing all optional module options.
* Improved the default IP address display when `localip.showAllIPs` is not set (LocalIP)
    * For IPv4, the preferred source address (if detected) is shown.
    * For IPv6, the first GUA or ULA that is not deprecated or temporary is shown.
* Added support for interface speed detection on SunOS (LocalIP, SunOS)
* Added detection support for Xlibre (#1888, WM, Linux)
* Improved the accuracy of color detection (Cursor, macOS)
* Improved the proformance of `Nix` package manager detection on macOS by porting optimizations form Linux port (#1893, Packages, macOS)

Bugfixes:
* Fixed custom object inheriting a key from the previous custom object if the key is blank (#1477)
* Fixed a possible segfault when parsing color strings in the JSON config (#1878)
* Fixed GPU driver detection when DRM is used (GPU, FreeBSD)
* Fixed default route detection on DragonFly BSD (LocalIP, DFBSD)
* Fixed lliurex detection (#1882, OS, Linux)
* Fixed compatibility with `-ffast-math` (#1894)
* Fixed physical GPU sometimes being ignored (#1896, GPU, Windows)

Logos:
* Added ObsidianOS (#1890)

# 2.49.0

Deprecation Notice:
* In fastfetch v2, the JSONC configuration format has been introduced, while command line configuration flags are kept for compatibility. Although they have the same effects, they use two different 
code paths, and as the number of flags grows, the codebase is becoming increasingly difficult to maintain.
    * Removal of module config flags is planned for **v2.50.0**, which will also fix a long-standing issue #1477.
    * Removal of most other config flags is also planned for later versions.
* Keys of JSON configuration files will be all case-sensitive. Currently they are inconsistent. Planned for **v2.50.0**.

Changes:
* Due to more restrictive permissions in macOS Tahoe, SSID detection on macOS 26+ requires root privileges. `<redacted>` will be displayed otherwise.

Features:
* Improve `nouveau` driver support for `--gpu-driver-specific` (GPU, Linux)
    * VRAM size detection
    * GPU temperature detection
    * Core count detection (when available)
* Improve Scoop package manager detection (Packages, Windows)
    * Support [`scoop-global`](https://github.com/ScoopInstaller/Install?tab=readme-ov-file#advanced-installation)
    * Read Scoop's config file to find the installation path of Scoop
* Improve ARM SoC detection (CPU, Android)
    * Make SoC detection more lenient. Higher chance to match at the cost of accuracy.
    * Add more Snapdragon SoC names
* Support labwc WM version detection, used for XFCE4 on Wayland (WM, Linux)
* Improve accuracy of GPU temperature detection for Intel dedicated GPUs on Windows (GPU, Windows)
* Parse unicode escaped strings generated by qt5ct (#1864, Font, Linux)
* Add `--{duration,percent,size,freq,temp}-space-before-unit [always|never]` options to add a space before the unit when printing duration, percent, size, frequency and temperature values
* Add `--duration-abbreviation` to abbreviate duration values in custom format
    * For example: `1 day, 2 hours, 3 mins` will be displayed as `1d 2h 3m`
* Add `--percent-width` to pad the percent value with spaces to a fixed width
    * For example: `--percent-width 3` will display ` 50%` instead of `50%`; useful for aligning percent values in custom format

Bugfixes:
* Improve accuracy of Flatpak count detection (#1856, Packages, Linux)
* Remove qi package manager support (#1858, Packages, Linux)
* Fix LocalIP module on Windows (LocalIP, Windows)
    * Fix default route detection when multiple network interfaces are connected
    * Fix link speed calculation
* Fix interface status when the interface is up but not connected (Wifi, Linux)
* Fix variable names in custom format (#1861)
    * `full-path` to `path` (Editor)
    * `session` to `session-name` (Users)
    * `name` to `project-name` (Version)
* Fix wrong /s assignment in custom format (#1871, DiskIO)

Logos:
* Add `Aeon`
* Remove `Evolinx`

# 2.48.1

Features:
* Add support for detecting Openbox WM version (WM, Linux)
* Improve reliability of child process spawning on Windows (Windows)
* Add a new option `--packages-combined`, which combines related package managers into single counts (#1851, Packages)
    * For example: if you have both `flatpak-system` and `flatpak-user` packages installed, they will be combined into a single `flatpak` count with `--packages-combined` enabled.
* Add `modules[n].condition` to conditionally enable modules on different platforms
    * Useful when sharing configuration files across platforms
    * For example:
```jsonc
{
    "type": "custom",
    "format": "This string will be printed on Intel macOS only",
    "condition": {
        "system": "macOS", // Can be an array, optional
        "arch": "x86_64"  // Can be an array, optional too
    }
}
```

Bugfixes:
* Revert the change of `posix_spawn` in v2.48.0 for Android and OpenBSD (Android / OpenBSD)
    * Fix completion for Android 7 (Required by Termux)

# 2.48.0

Features:
* Add support for detecting Fedora variants (#1830, OS, Linux)
    * Currently supported variants: CoreOS, Kinoite, Sericea, Silverblue
* Optimize GPU detection on Windows when `--gpu-driver-specific` is not used (GPU, Windows)
    * Improve accuracy of GPU type detection. Previously it was guessed based on the dedicated vmem size, which causes issues on newer AMD integrated GPUs such as 9000 HX and AI 9 HX series. 
Supported on Windows 8.1 or later.
    * Add support for generic frequency detection of GPU 3D engine on Windows 11 22H2 or later.
    * Improve performance. GPU temperature detection is significantly improved when `--gpu-driver-specific` is not used.
* Improve performance and security when spawning child processes by replacing `fork-exec` with `posix_spawn` (*nix)
* Improve accuracy of sound device detection on macOS (Sound, macOS)
* Trim leading and trailing whitespaces in disk serial numbers (PhysicalDisk)
* Add `/etc/profiles/per-user` detection for Nix user packages (#1782, Packages, Linux)
* Introduce `years` (whole years as integer), `days-of-year` (days since the last anniversary) and `years-fraction` (years as fraction, e.g. 1.5 means 1 year and 6 months) formatting placeholder to 
`Disk` (since disk creation), `Users` (since user login) and `Uptime` (since system boot) modules
    * For example: `fastfetch -s disk --disk-key 'OS Installation' --disk-format '{years} years {days-of-year} days'`
* Add `--fraction-ndigits` option to specify the number of digits after the decimal point when displaying ordinary fractional values
    * Typically used with `{years-fraction}` above
    * This option does not affect percentage values, sizes, etc, which are controlled by individual options.

Bugfixes:
* Fix compilation issues when not using `-DBINARY_LINK_TYPE=dlopen`
    * Regression from v2.47.0
    * Note: this option was added for debugging purposes only and is not recommended for production use
* Replace `MTLDevice::hasUnifiedMemory` with `MTLDevice::location` for GPU type Detection (GPU, macOS)
    * This should resolve the issue where discrete GPUs were detected as integrated GPUs on Intel MacBooks with multi-GPU configurations.
* Prevent text files from being loaded as image files (#1843, Logo)

Logos:
* Add Minimal System
* Add AxOS
* Rename Ada to Xray OS


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/sysutils/fastfetch/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/fastfetch/PLIST
cvs rdiff -u -r1.21 -r1.22 pkgsrc/sysutils/fastfetch/distinfo
cvs rdiff -u -r1.1 -r0 \
    pkgsrc/sysutils/fastfetch/patches/patch-src_detection_packages_packages__apple.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/fastfetch/Makefile
diff -u pkgsrc/sysutils/fastfetch/Makefile:1.34 pkgsrc/sysutils/fastfetch/Makefile:1.35
--- pkgsrc/sysutils/fastfetch/Makefile:1.34     Sun Aug 10 10:38:59 2025
+++ pkgsrc/sysutils/fastfetch/Makefile  Sun Aug 24 16:51:24 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.34 2025/08/10 10:38:59 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2025/08/24 16:51:24 vins Exp $
 
-DISTNAME=      fastfetch-2.47.0
-PKGREVISION=   1
+DISTNAME=      fastfetch-2.50.2
 CATEGORIES=    sysutils
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=fastfetch-cli/}
 GITHUB_TAG=    ${PKGVERSION_NOREV}
@@ -28,7 +27,6 @@ SUBST_MESSAGE.paths=  Replacing hard-code
 SUBST_FILES.paths+=    src/detection/packages/packages_nbsd.c  \
                        src/detection/packages/packages_sunos.c \
                        src/detection/packages/packages_linux.c \
-                       src/detection/packages/packages_apple.c \
                        doc/fastfetch.1.in scripts/gen-man.py
 SUBST_SED.paths+=      -e "s:/usr/pkg/pkgdb:${PKG_DBDIR}:g"
 SUBST_SED.paths+=      -e "s:/usr/share:${PREFIX}/share:g"

Index: pkgsrc/sysutils/fastfetch/PLIST
diff -u pkgsrc/sysutils/fastfetch/PLIST:1.4 pkgsrc/sysutils/fastfetch/PLIST:1.5
--- pkgsrc/sysutils/fastfetch/PLIST:1.4 Mon Apr 14 05:13:48 2025
+++ pkgsrc/sysutils/fastfetch/PLIST     Sun Aug 24 16:51:24 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2025/04/14 05:13:48 vins Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/08/24 16:51:24 vins Exp $
 bin/fastfetch
 man/man1/fastfetch.1
 share/bash-completion/completions/fastfetch
@@ -23,6 +23,9 @@ share/fastfetch/presets/examples/23.json
 share/fastfetch/presets/examples/24.jsonc
 share/fastfetch/presets/examples/25.jsonc
 share/fastfetch/presets/examples/26.jsonc
+share/fastfetch/presets/examples/27.jsonc
+share/fastfetch/presets/examples/28.jsonc
+share/fastfetch/presets/examples/29.jsonc
 share/fastfetch/presets/examples/3.jsonc
 share/fastfetch/presets/examples/4.jsonc
 share/fastfetch/presets/examples/5.jsonc

Index: pkgsrc/sysutils/fastfetch/distinfo
diff -u pkgsrc/sysutils/fastfetch/distinfo:1.21 pkgsrc/sysutils/fastfetch/distinfo:1.22
--- pkgsrc/sysutils/fastfetch/distinfo:1.21     Mon Jul 14 17:11:06 2025
+++ pkgsrc/sysutils/fastfetch/distinfo  Sun Aug 24 16:51:24 2025
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.21 2025/07/14 17:11:06 vins Exp $
+$NetBSD: distinfo,v 1.22 2025/08/24 16:51:24 vins Exp $
 
-BLAKE2s (fastfetch-2.47.0.tar.gz) = 665cc6f5ee9f84482bfede057967803f4f65d375f633e800275be3321db69f54
-SHA512 (fastfetch-2.47.0.tar.gz) = b86ad47b95ddc83fdaa34c33930d4500bccb2e90a77ad1cdd3d4837d65b80b50e6278c0526b7b4991436e942e6e711323398c3b605e985729fa2be94dcd47531
-Size (fastfetch-2.47.0.tar.gz) = 1327613 bytes
-SHA1 (patch-src_detection_packages_packages__apple.c) = 3678300a59d8ef989d1848b3685485db3c638038
+BLAKE2s (fastfetch-2.50.2.tar.gz) = 7c04bb6dca941b8a0d452923f7000358e0c8946ca5ee99dfe8c6d918fe7f7b9e
+SHA512 (fastfetch-2.50.2.tar.gz) = ddfeca8efc62b94641c4e8b464a309c6164c7a5a01f4ee4be82cff851eb11a2692bdaf1e3469b54758d78ca1437a523929da98fe53738fd6128c03a38f2c590b
+Size (fastfetch-2.50.2.tar.gz) = 1349521 bytes



Home | Main Index | Thread Index | Old Index