- update to 2.18.0

Changes:
     * Fastfetch no longer prints * (which means it's the default route)
       if defaultRouteOnly is set (LocalIP)
   Bugfixes:
     * Fix some memory leaks
     * Fix compatibility with old Python versions
     * Don't detect frequency for AMD cards (GPU, Linux)
        - Fix possible hang with discrete AMD cards (#1077)
     * Don't print colors in --pipe mode (Separator)
     * Don't print (null) in property locator (PhysicalMemory)
     * Ignore disabled PCI devices (GPU)
     * Fix flag --opengl-library doesn't work (OpenGL)
   Features:
     * Detect revision of USB drives (Disk)
     * Support fractional scale factor detection (Display, Linux)
     * Support primary display detection for KDE and GNOME (Display, Linux)
     * Support percent bar in custom formatting
     * Print signal quality by default (Wifi)
     * Detect used OpenGL library version (OpenGL)

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=86
This commit is contained in:
Gordon Leung 2024-07-10 11:45:10 +00:00 committed by Git OBS Bridge
commit 6b9e82d714
5 changed files with 1052 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
fastfetch-2.18.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7635b46941c774f0faeee904c36a33a5eef1e5aa959a73ad1a30efb23dcbf50a
size 1067571

909
fastfetch.changes Normal file
View File

@ -0,0 +1,909 @@
-------------------------------------------------------------------
Wed Jul 10 11:42:48 UTC 2024 - Pi-Cla <pirateclip@protonmail.com>
- update to 2.18.0
Changes:
* Fastfetch no longer prints * (which means it's the default route)
if defaultRouteOnly is set (LocalIP)
Bugfixes:
* Fix some memory leaks
* Fix compatibility with old Python versions
* Don't detect frequency for AMD cards (GPU, Linux)
- Fix possible hang with discrete AMD cards (#1077)
* Don't print colors in --pipe mode (Separator)
* Don't print (null) in property locator (PhysicalMemory)
* Ignore disabled PCI devices (GPU)
* Fix flag --opengl-library doesn't work (OpenGL)
Features:
* Detect revision of USB drives (Disk)
* Support fractional scale factor detection (Display, Linux)
* Support primary display detection for KDE and GNOME (Display, Linux)
* Support percent bar in custom formatting
* Print signal quality by default (Wifi)
* Detect used OpenGL library version (OpenGL)
-------------------------------------------------------------------
Thu Jul 4 16:53:01 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.17.2
Changes:
* Flatpak package count no longer includes runtime packages (Packages, Linux)
Bugfixes:
* Fix formattion with multiple batteries (Battery)
* Fix incorrect size value for large memory sticks (PhysicalMemory)
* Fix spelling of Qt and LXQt
* Fix typos
Features:
* Support Ptyxis terminal version and font detection (Terminal / TerminalFont, Linux)
* Improve Cinnamon version detection (DE)
* Support cinnamon-wayland (WMTheme)
* --ts-version false will disable editor version detection (Editor)
-------------------------------------------------------------------
Sat Jun 29 03:38:15 UTC 2024 - RN <R_Nik_C@proton.me>
- update to 2.17.1
Bugfixes:
* Don't generate and install libffwinrt.dll.a on MinGW (Windows)
* Fix building on Windows when imagemagick support is enabled (Logo, Windows)
* Don't print GPU frequency with --gpu-temp for Nvidia cards (#1052, GPU)
- --gpu-driver-specific needs to be specified
* Print formatted size when --gpu-format is used (#1052, GPU)
* Ignore QVariant format; fix unreadable Qt font (#1053, Theme, Linux)
* Fix segfaults with --show-errors and an invalid module (#1055)
- update to 2.17.0
Changes:
* CMake option ENABLE_PROPRIETARY_GPU_DRIVER_API is removed. The GPU driver APIs
are now enabled by default.
- The option was introduced to reduce the license concerns. Since all non MIT
proprietary code has been rewritten manually from scratch, it is no longer necessary.
- See #533 (comment) for detail
* Option --logo-separate true is changed to --logo-position top for better readability
- Builtin ascii logos can be positioned on the right side now with --logo-position right
Features:
* Add support for --gpu-detection-method opencl which uses OpenCL to detect GPUs.
* Support detecting CPU cache size by using SMBIOS as fallback (CPUCache)
* Support GPU detection (SunOS)
* Support GPU type detection with AMD GPU driver (GPU, Windows)
* Add fast path of version and font detection for kitty (Terminal / TerminalFont)
* Make sure stdin and stdout are TTYs when querying terminal
- So modules like TerminalSize should work when stdin or stdout is redirected
* Support argument truncation in --<module>-format (#1043)
- See fastfetch --help format for detail
* Improve Qt theme detection (#1047, Theme, Linux)
* Add new JSON config option general.preRun, which is executed before fastfetch prints output.
- It can be used to generate a temp logo file. For example
Bugfixes:
* Fix invalid path (#1031, LM, Linux)
* Fix VMEM detection for Nvidia GPU (requires --gpu-driver-specific) (GPU)
* Fix AMD --gpu-driver-specific for AMD cards (#1032, GPU, Windows)
* Use Coordinated Universal Time rather than timezone-varying local date (#1046)
Logo:
* Fix colors of Asahi Linux
-------------------------------------------------------------------
Wed Jun 19 14:30:39 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.16.0
Changes:
* Fastfetch now prefers `/etc/os-release` over `/etc/lsb-release` when detecting distro info.
- This may break some distros (notably some debian based distros).
File a bug with the content of `os-release` and `lsb-release` if it breaks your distro.
Features:
* Add new option `--users-myself-only` to display current login user only (Users)
* Add new module `DNS` to show active DNS servers (DNS)
* Add new option `--loadavg-compact`. Defaults to true (Loadavg)
- Use `--loadavg-compact false` to display load averages in different lines
* Detect MTU size (LocalIP)
* Support version detection of pluma, which is the default editor of OpenIndiana (Editor)
* Print used OGL library, eg EGL, GLX or OSMesa (OpenGL)
Bugfixes:
* Report error if cache size is unavailable (CPUCache, Android)
* Trim white spaces in device name (Sound, Linux)
* Fix `display.bar.border{Left,Right}` doesn't work in JSON config files (Config)
* Fix invalid call to `realpath(3)` (Platform, Linux)
-------------------------------------------------------------------
Fri Jun 7 19:39:38 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- add pkgconfig(DirectX-Headers) to BuildRequires
* This ensures that correect GPU info is shown when used by WSL
-------------------------------------------------------------------
Fri Jun 7 16:55:58 UTC 2024 - RN <R_Nik_C@proton.me>
- update to 2.15.0
Changes:
* --bar-border <?bool> has been changed to --bar-border-left <string>
and --bar-border-right <string>, which are used for customizing the style of bar border.
- --bar-border-left '' --bar-border-right '' can be used to disable the border
Features:
* Add ability to skip installing license with INSTALL_LICENSE option (CMake)
* Make it possible to shorten the theme and icons output (Theme / Icons)
* Support -l '?' to show a question mark (Logo)
* Add new module CPUCache to display CPU cache sizes (CPUCache)
* In --<module>-format, {#keys} and {#title} can be used to reference the color of keys and title
* Improve speed of Guix package detection (Packages, Linux)
* Assume wm plugins are daemon processes to improve performance (WM, macOS)
Bugfixes:
* Remove shebangs from completions (#980)
* Fix white chars not visible in terminal of light theme (Logo)
* Normalize bright colors to fix color display in Apple Terminal (#991, Colors)
* Correctly capitalize GNOME (#997, DE, Linux)
* Fix segfault on system using turkish language (#995, InitSystem, Linux)
* Fix kubuntu detection (#1000, OS, Linux)
* Don't display duplicate entries (OS, Linux)
-------------------------------------------------------------------
Thu May 30 20:37:37 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.14.0
Features:
* Support monochrome bar type
* Apply default color palettes in --file and --data (Logo)
* Support named variable placeholders in custom module formattion string
- --title-format '{user-name-colored}{at-symbol-colored}{host-name-colored}'
is equivalent to --title-format '{6}{7}{8}'
* Support named color placeholders in custom module formattion string
- --<module>-format '{#red}' is equivalent to --<module>-format '{#31}'
- '{#red}' or '{#31}' is preferred over \u001b[31m because is more readable
and --pipe aware (will be ignored in pipe mode)
- Supported in Custom module too
- See fastfetch -h format for detail
* Add new module InitSystem, which detects the name of init system
- i.e. process name of pid1. init, systemd, etc
* Add option --color-separator to set the color of key-value separators
* Print error reason when vulkan init fails (Vulkan)
Bugfixes:
* Don't detect .conf files in --list-config-paths
* Fix outputColor doesn't work if module keys are disabled
-------------------------------------------------------------------
Sat May 25 16:45:13 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.13.2:
Bugfixes:
- Remove DRM driver version detection feature,
which caused a performance regression for nouveau drivers (Display, Linux)
- Don't use *-unknown as display name for Wayland protocol (Display, Linux)
Features:
- Add new module Editor which prints editor settings, i.e. $VISUAL or $EDITOR
-------------------------------------------------------------------
Wed May 22 20:29:17 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.13.1:
Changes:
* The long deprecated flag based config files are removed.
- They can still be used with xargs fastfetch < /path/to/config.conf
- --gen-config can be used to migrate them to json based config files
* The long deprecated options --set and --set-keyless are removed.
* Kernel module now prints kernel name by default
Features:
* Support st terminal font detection for font configuration compiled in st binary (TerminalFont, Linux)
* Add option --color-output to change output color of all modules except Title, Separator
display.color.output in JSONC config file
* Add option --<module>-output-color to change output color of one specified module,
which overrides the global option --color-output
* Add option --publicip-ipv6 to print IPv6 address (PublicIP)
* Add new module Loadavg to print load averages (Loadavg)
* Add new module PhysicalMemory to print information of physical memory devices (PhysicalMemory)
Requires root permission to work on Linux and FreeBSD
* Support specifying --logo-width only for --kitty-direct and --iterm (Logo)
* Add option --localip-show-all-ips to show all IPs assigned to the same interface (LocalIP)
Default to false
* Add --cpu-show-pe-core-count to detect and display core count for performance / efficiency cores (CPU)
* Add new module Bootmgr which prints information of stage 2 bootloader (grub, system-boot, etc)
- Requires booting in UEFI mode
* Detect core count for performance / efficiency cores (CPU)
- Test it with fastfetch --cpu-show-pe-core-count
* Detect DRM driver version if DRM detection method is used (GPU, Linux)
Bugfixes:
* Rename option --temperature-unit to --temp-unit as documented in help messages
* Fix alternate logo doesn't work with { "type": "builtin" } (Logo)
* Don't detect clifm and valgrind as a terminal (Terminal, Linux)
* Fix --cpu-freq-ndigits not working if --cpu-format is used
Logos:
* Add openSUSE Slowroll
-------------------------------------------------------------------
Mon May 6 19:45:12 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.11.5:
Changes:
* Fastfetch will print a colorless ascii logo in --pipe mode for better lolcat compatibility.
fastfetch | lolcat should work and no --pipe false needed. Previously the logo would be disabled in --pipe mode.
* --os-file was removed and CMake option -DCUSTOM_OS_RELEASE_PATH=/path/to/os-release was added.
This option should not used in most cases.
Bugfixes:
* Fix possible out-of-bound memory access (#868)
* Fix doubled output in custom formation (#852)
* Fix memory leaks when passing informative options
* Fix JSON config size.ndigits doesn't work
* Remove --os-file in help messages
Features:
* Enable --pipe mode if environment variable $NO_COLOR is set
* Support Armbian and Proxmox distro detection (OS, Linux)
-------------------------------------------------------------------
Sun May 5 07:43:09 UTC 2024 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- update to 2.11.3:
* Features:
- Add cmake option CUSTOM_AMDGPU_IDS_PATH for specifying custom path of amdgpu.ids
* Bugfixes:
- Fix hanging when detecting disconnected network drive (Disk, Windows)
- Ensure line ending is printed when printing image logo errors (Logo)
- Revert image logo limitation change in 2.11.2; allow image logo in SSH session and tmux again (#861, Logo)
- Fix doubled output in custom formation (PhysicalDisk, Windows)
- changes that are from 2.11.2:
* Changes:
- Error messages when trying to print image logo will only be printed with --show-errors
- When generating JSON output, fastfetch will generate an empty array when no result is detected, instead of an error.
* Bugfixes:
- Fix segfault in Debian 11 and some old kernels. Regression introduced in 2.11.0 (#845, GPU, Linux)
- Don't try detecting version of raw sh shell (#849, Shell, Linux)
- Trim \r on Windows
* Features:
- Check xdg state home for nix user packages (#837, Packages, Linux)
- Disable image logos in ssh and tmux sessions (#839)
- Support MX Linux distro detection (#847, OS, Linux)
* Logo:
- Add KernelOS
- Fix name of DraugerOS
- Add missing FF_LOGO_LINE_TYPE_SMALL_BIT flags
- Add MX2
- changes that are from 2.11.2:
* Bugfixes:
- Fix uninitialized variables which can cause crashes (#760 #838, Battery, Android)
- Don't detect hyfetch as shell when used as backend of hyfetch
- Fix incorrect information in man page (#828)
* Features:
- Support sorcery package manager detection (Packages, Linux)
- Make --custom-format optional (Custom)
- Make / an alias of C:\ for --disk-folders (Disk, Windows)
- Build for Linux armv7
* Logo:
- Fix colors of Source Mage logo
-------------------------------------------------------------------
Wed May 1 04:43:10 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.11.0:
Changes:
- Default hideCursor to false. It doesn't make much difference
but makes user's terminal unusable if fastfetch is not exited correctly.
Bugfixes:
- Fix minimum cmake version support
- Fix wifi detection on platforms that don't use NetworkManager
- Fix GPU type detection for AMD cards
Features:
- Add basic support DE detection support for UKUI (DE, Linux)
- Make config specified in JSONC overridable by command line flags
* Note this change only make global config overridable; module configs are still not
- Suggest increasing --processing-timeout when child process timeouts
- Only detect folders that specified by --disk-folders
* Previously --disk-folders only omits unmatched disks from output.
This option can be used to improve detection performance by ignoring slow network drives
-------------------------------------------------------------------
Tue Apr 23 19:38:05 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.10.2:
Changes:
* We now always detect max frequency of GPUs for consistent, instead of current frequency
Features:
* Improve display detection for wlroots based WMs. Fastfetch now correctly reports fractional scale factors in hyprland (Display, Linux)
* Improve GPU detection on Linux (GPU, Linux)
- Support GPU memory usage detection for AMD GPUs
- Support GPU frequency detection for Intel GPUs
* Improve performance of Gnome version detection (DE, Linux)
* Improve performance of kitty version detection (Terminal, Linux)
* Detect refresh rate when using --ds-force-drm sysfs-only (Display, Linux)
* Add option --ts-version to disable terminal and shell version detection. Mainly for benchmarking purposes
* Improve performance of detecting WSL version (Host, Linux)
Bugfixes:
* Correctly detect /bin/sh as current shell if it's used as default shell (Shell, Linux)
* Work around an issue which CPU module reports incorrect CPU frequency that is too high (CPU, Linux)
* Don't print ANSI escape codes in --pipe mode
-------------------------------------------------------------------
Tue Apr 16 10:04:27 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.9.2:
Changes:
* To make use of the newly introduced `yyjson` flag `YYJSON_WRITE_NEWLINE_AT_END`, fastfetch now requires `yyjson` 0.9.0 or later
Features:
* Always add a final new-line when generating JSON output
* Detect partition create time, which can be used as OS installation time (Disk)
* Print time string when generating JSON result instead of UNIX epoch time number, which is more human-readable
Bugfixes:
* Fix a memory leak
* Fix parsing of option `--packages-disabled` (Packages)
* Don't use command `time` as a shell (Shell)
Logos:
* Add openSUSE MicroOS
* Fix color of AOSC OS
-------------------------------------------------------------------
Mon Apr 8 08:26:17 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.9.1:
* Support weston-terminal (missed commit in v2.9.0)
(TerminalFont, Linux)
* Support hyprcursor detection
* Fix `fastfetch --gen-config` raises SIGSEGV when
`~/.config/fastfetch` doesn't exist. Regression of `2.9.0`
-------------------------------------------------------------------
Thu Apr 4 04:54:12 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.9.0:
Features:
* Support Lxterminal version detection (Terminal, Linux)
* Support weston-terminal version and font detection (TerminalFont, Linux)
* Support am package manager detection (Packages, Linux)
* Support network prefix length detection for IPv6 (LocalIP)
* Display all IPs when multiple IPs are assigned to the same interface (LocalIP)
* Add option --localip-show-prefix-len to show network prefix length for both IPv4 and IPv6. Defaults to true (LocalIP)
Bugfixes:
* Fix network prefix length detection when the value is greater than 24 (LocalIP, Linux)
* For xfce4-terminal, use system mono font if no config file is found (TerminalFont, Linux)
-------------------------------------------------------------------
Mon Mar 25 07:09:10 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to 2.8.10:
Bugfixes:
* Ignore chezmoi (Terminal, Linux)
* Trim trailing possible whitespaces (PublicIP)
* Fix detection compatibility for KDE 6 (Font, Linux)
Features:
* Improve stability; print more useful error message; avoid misuse (PublicIP / Weather)
-------------------------------------------------------------------
Fri Mar 15 16:47:04 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to version 2.8.9:
Bugfixes:
* Don't detect SessionLeader as terminal, actually (Terminal, Linux)
* Fix blurry chafa result when specifying both width and height (Logo)
Features:
* Distinguish min frequency and base frequency (CPU)
-------------------------------------------------------------------
Fri Mar 8 06:26:35 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to version 2.8.8:
Bugfixes:
* Fix old fish version compatibility
* Fix truncated texts in --help format
* Fix old vulkan-header and libdrm library compatibility (Linux)
* Fix possible segfaults in --help *-format
* Fix invalid resolution detection when using libdrm (Linux, Display)
* Fix segfault when /sys/devices/system/cpu/cpufreq/ doesn't exist (CPU, Linux)
* Don't detect SessionLeader as terminal (Terminal, Linux)
* Fix detection of client IP (Users, Linux)
-------------------------------------------------------------------
Sat Mar 2 13:13:39 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to version 2.8.7:
Bugfixes:
* Fix max CPU frequency detection for some cases (CPU, Linux)
* Fix some memory leaks
* Fix ddcutil 2.1 compatibility (Brightness, Linux)
Features:
* Support zellij version detection (Linux, Terminal)
-------------------------------------------------------------------
Wed Feb 28 08:48:27 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to version 2.8.6:
Changes:
* Due to newly introduced configs, JSONC option { "temperatureUnit": "C" } has been changed to { "temp": { "unit": "C" } }
Bugfixes:
* Fix incorrect GPU name detection for Intel iGPU on Linux (GPU, Linux)
Features:
* Support additional temperature formatting options
{ "temp": { "ndigits": 1 } }
{ "temp": { "color": { "green": "green", "yellow": "yellow", "red": "red" } } }
* Support specifying custom pci.ids path for Linux (GPU, Linux)
* Support warp-linux terminal version & terminal font detection (Terminal, Linux)
-------------------------------------------------------------------
Fri Feb 23 17:41:26 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to version 2.8.5:
Bugfixes:
* Fix segfault if we fail to find Vendor ID in lscpu (CPU, Linux)
* Fix multi-device bcachefs filesystem compatibility (Disk, Linux)
Features:
* Support --color-block-width and --color-block-range (Colors)
* Support --diskio-detect-total to show total bytes read/written (DiskIO)
* Support --netio-detect-total to show total bytes received/sent (NetIO)
* Support --packages-disabled to disable specified package manager (Packages)
* Support --display-order to sort multiple displays in a specific order (Display)
* Support --display-compact-type original-with-refresh-rate to show refresh rates in compact / oneline mode (Display)
-------------------------------------------------------------------
Mon Feb 12 17:17:12 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to version 2.8.3:
Bugfixes:
* Fix GPU name detection for AMD graphic cards (GPU, Linux / FreeBSD)
-------------------------------------------------------------------
Sat Feb 10 05:44:13 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to version 2.8.0:
Features:
* Rewrite GPU module, drop libpci dependency (GPU, Linux)
* Detect marketing name of Apple Silicon CPUs for asahi linux (CPU, Linux)
* Add new module Camera, which prints the name and resolution of connected cameras
Bugfixes:
* Fix compatibility with packages installed by flatpak (Terminal, Linux)
* Don't show not connected if no power adapter is found (macOS / Linux, PowerAdapter)
* Make format of battery status be consistent with other platforms (Linux, Battery)
-------------------------------------------------------------------
Fri Feb 2 08:05:34 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to version 2.7.1:
Features:
* Config presets in app folder now work with symlinks
Bugfixes:
* Fix a possible segfault when detecting terminal (Terminal, Linux)
-------------------------------------------------------------------
Sun Jan 28 04:50:07 UTC 2024 - Gordon Leung <pirateclip@protonmail.com>
- update to version 2.7.0:
Changes:
* Add new module TerminalTheme, which prints the foreground and background color of the current terminal window.
* Allow command substitution when expanding paths
* Improve xonsh shell detection (Shell)
* Support colored percentage values (Bluetooth / Gamepad / Sound)
* Add --<module>-percent-[green|yellow] options to specify threshold of percentage colors
* Add --percent-color-[green|yellow|red] options to specify color of different percent value states.
* Remove support of option --battery-dir. We detect a lot of things in /sys/class/*
and only module Battery supports specifying a custom directory for some reason, which is weird.
* Remove --chassis-use-wmi which is no longer used.
* --gpu-use-nvml has been renamed to --gpu-driver-specific due to using of IGCL and AGS
* We now detect external partitions more conservatively in Linux. USB partitions will not be detected as external always
Features:
* Default preset names to .jsonc. For example, fastfetch -c all will load presets/all.jsonc
* Support more properties of physical disks (PhysicalDisk)
* Support SSD temperature detection with --physicaldisk-temp (PhysicalDisk)
* Support ash (default shell of BusyBox) version detection (Shell, Linux)
* Support manufacture date and serial number detection for physical monitors (Monitor)
* Support battery serial number and manufacturer date detection (Battery)
* Support host serial number and UUID detection (Host)
* Support battery level detection for gamepads where possible (Gamepad)
Bugfixes:
* Fix segfault in CPU module when running in aarch64 machine without lscpu installed (CPU, Linux)
* Don't use login as terminal process (Terminal, Linux)
* Create sub folders when writing config file
* Fix Btrfs subvolumes being detected as external partitions some times (Linux, Disk)
* Fix battery cycle counts in some places (Battery)
* Fix physical monitor detection with Nvidia drivers (Monitor, Linux)
* Fix locale module printing unexpected results in specific environments (Locale)
For more info: https://github.com/fastfetch-cli/fastfetch/releases
-------------------------------------------------------------------
Sat Dec 23 08:15:55 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- update to version 2.4.0:
**BREAKING**
We are deprecating flags based config files (will be removed in v3.0.0).
We suggest you migrate to json based config files.
One may use `-c /path/to/config.conf --gen-config` to migrate existing flag
based config files.
Changes:
* All flag based presets are removed
Features:
* Improve performance of detecting rpm and pkg package count (Packages, Linux / FreeBSD)
* Support Apple M3X temperature detection (CPU / GPU, macOS)
* `--ds-force-drm` support a new option `sysfs-only`
* Improve xfce4 version detection
* Detect WM and DE by enumerating running processes (WM / DE, FreeBSD)
* Add a new module `Physical Disk`, which detects product name, full size, serial number and so on.
Bugfixes:
* Fix crashes sometimes when `--logo-padding-top` is not set (Logo)
* Fix memory usage counting algorithm (Memory, macOS)
* Fix the behavior of `--no-buffer` in Windows
* Fix possible segfault in some devices (Display, Linux)
* Fix segfaults on first use of new images with Sixel flag (Image)
- update specfile:
* add bash completion subpackage.
* add fish completion subpackage.
* add manpage for fastfetch for package.
-------------------------------------------------------------------
Tue Nov 21 15:32:10 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.2.3:
* Update the latest mac models (Host, macOS)
* Fix terminal detection on NixOS (Terminal)
* `--percent-type` now defaults to 9 (colored percentage
numbers)
* `fastfetch` now prints LocalIp module by default
* Features:
* LocalIP module now prints netmask in CIDR format for IPv4
* Bios module now detects system firmware type (Bios)
* Improve detection of `Battery`
* Detect cycle count on supported platforms
* Detect temperature on Linux when supported
* Status detection on macOS has been adjusted to be consistant
with other platforms
* Linux binaries are built with imagemagick7 support
* Update NixOS_small
* Hotfix release for #606
* Fix broken presets due to the breaking changes introduced in
* Features:
* Pretty print `fastfetch --help`
* This release introduces a new option `--migrate-config`,
which migrates old flag based config file to new JSONC format
* Changes:
* `--pipe` and `--stat` are moved from `general` options to
`display` options. This affects cjson configuration.
* Display keys `percent*` and `size*` in JSON config are
restructured. e.g. `{ "sizeNdigits": 1 }` is now `{ "size": {
"ndigits": 1 } }`
* With the introduction of `--migrate-config`, the old flag
based config file is deprecated, and will be removed in 3.0.0
(next major version)
* Support of `--gen-config conf` is deprecated accordingly, and
will be removed in 2.3.0 (next minor version)
* The global flag `--allow-slow-operations` is splitted into
some explicit flags in differnet modules
* `--packages-winget`: control whether `winget` packages count
should be detected. Note it's a very slow operation, please
enable it with caution.
* `--chassis-use-wmi`: control whether `WMI` query should be
used to detect chassis type, which detects more information,
but slower. This flag only affects `--chassis-format` and
`--format json`.
* `--battery-use-setup-api`: control whether `SetupAPI` should
be used on Windows to detect battery info, which supports
multi batteries, but slower.
* `--wm-detect-plugin`: control whether WM plugins should be
detected. Note it's implemented with global processes
enumeration and can report false results.
* `--de-slow-version-detection`: control DE version should be
detected with slow operations. It's usually not necessary and
only provided as a backup.
* `--localip-default-route-only` and `--netio-default-route-
only` defaults to true to avoid large number of results
* Features:
* Quirks for MIPS platforms (CPU, Linux)
* Use devicetree path for OBP hosts (Host, Linux)
* Detect `tmux: server` as tmux (Terminal, Linux)
* Support urxvt version detection (Terminal, Linux)
* Support st version detection (Terminal, Linux)
* Support st terminal font detection (TerminalFont, Linux)
* Support xfce4-terminal 1.1.0+ terminal font detection
(TerminalFont, Linux)
* Add option `--migrate-config <?target-file-path>`
* Support Nvidia GPU temp and cuda core count detection via
nvml. Use `--gpu-use-nvml` to enable it (GPU)
* Try supporting Wifi authentication type detection in macOS
Sonoma. Please file a feature request if you get `to be
supported (num)` with result of `/System/Library/PrivateFrame
works/Apple80211.framework/Resources/airport -I | grep auth`
(Wifi, macOS)
* Bugfixes:
* Better GPU memory and type detection (GPU, Windows)
* Don't print display type twice (Display)
* Detect BSSID instead of Wifi MAC address to align with other
platforms (Wifi, macOS)
* Remove support of used GPU memory detection, which is not
reliable and only supported with `--gpu-force-vulkan`. (GPU)
* Fix flag `--brightness-ddcci-sleep` (Brightness, Linux)
* Fix hanging if a child process prints to both stdout and
stderr (Linux)
* Logos:
* Add Black Mesa
* Add cycledream
* Add Evolinx
* Add azos
* Add Interix
-------------------------------------------------------------------
Mon Oct 30 07:37:05 UTC 2023 - Soc Virnyl Estela <uncomfy+openbuildservice@uncomfyhalomacro.pl>
- Declare new build deps gcc and gcc-c++
- Update to version 2.1.2. Changes listed after 2.0.5:
# 2.1.2
Bugfixes:
* Fix icon detection on Windows. It shows enabled system icons in desktop (`This PC`, `Recycle Bin`, etc) (Icon, Windows)
* Fix compatibility with ddcutil 2.0 (Brightness, Linux)
* Fix a compile warning (CPUUsage, FreeBSD)
# 2.1.1
Features:
* Support opkg (Packages, Linux)
* Support GNOME Console terminal version and font detection (Terminal, Linux)
* Add `--cpu-freq-ndigits` to set number of digits for CPU frequency (CPU)
* New module to detect physical disk I/O usage (DiskIO)
* Add `--cpuusage-separate` to display CPU usage per CPU logical core
* Add `--brightness-ddcci-sleep` to set the sleep times (in ms) when sending DDC/CI requests (Brightness, #580)
Bugfixes:
* Fix possible crashes on Windows 7 (Disk, Windows)
* Fix possible crashes caused by uninitialized strings (Users, Windows)
* Improve support of `--help *-format` and several bugs are found and fixed
* Don't incorrectly print `No active sound devices found` when using a non-controllable sound device (Sound, macOS)
* Fix implementation processes counting (Processes, Linux)
* Work around a issue that SSID cannot be detected on macOS Sonoma (Wifi, macOS)
Logo:
* Add Chimera Linux
* Add EndeavourSmall
* Add Xenia
# 2.1.0
This release introduces a new output format: JSON result
Changes:
* Users module detects and prints user login time by default. Specifying `--users-compact` to disable it
* Fastfetch now requires yyjson 0.8.0 or later, which is embeded in fastfetch source tree. If you build fastfetch with `-DENABLE_SYSTEM_YYJSON` cmake option, you must upgrade your yyjson package
* Reduced information supported by `--terminal-format`, `--shell-format`
* Some config presets (`devinfo` and `verbose`) are obseleted and removed. They are barely maintained and can be replaced with `--format json` now.
* Custom strings in `--module-key` and `--module-format` are no longer trimmed.
* `/boot` is hidden by default (FreeBSD, Disk)
Features:
* Add `--format json`, which prints system information as JSON format
* Add fast path for xfce4 version detection (DE, FreeBSD)
* Support contour terminal version and font detection (Terminal / TerminalFont)
* Support `kitty-direct` / `iterm` without specifying logo width / height. Note: in this case, the entre screen will be cleared.
* Support new flag `--logo-separate`. If true, print modules at bottom of the logo
* Support Apple Silicon CPU frequency detection (CPU, macOS)
* Support user login time detection (Users)
* Support winget package manager detection, guarded behind `--allow-slow-operations` (Packages, Windows)
* Print monitor type (built-in or external) (Display)
* Support full GPU detection in WSL (Linux, GPU)
* Add `--module-key " "` as a special case for hiding keys
* Support `--title-format`. See `fastfetch --help title-format` for detail
* Support `--colors-key` (Colors)
* Add `-c` as a shortcut of `--load-config`. Note it was used as the shortcut of `--color` before 2.0.5
* Support Windows Service Pack version detection (Kernel, Windows)
* Support Debian point releases detection (OS, Linux)
* Add new module `NetIO` which prints network throughput (usage) of specified interface. Note this module costs about 1 second to finish.
* Use `lscpu` to detect CPU name for ARM CPUs (CPU, Linux)
Bugfixes:
* Fix fastfetch hanging in specific environment (#561)
* Fix short read when reading from stdin (Logo)
* Fix `poll() timeout or failed` error when image is very large (Logo)
* Fix Termux Monet terminal version detection (Terminal)
* Fix zpool volumes detection (Disk, Linux)
* Fix external volumes detection (Disk, Linux)
* Fix snap package number detection on systems other than Ubuntu (Packages, Linux)
* Fix dpkg / apt package number detection (Packages, Linux)
* Fix bluetooth mac address detection (Bluetooth, Windows)
Logo:
* Add Afterglow
* Add Elbrus
* Update EvolutionOS
* Update AOSC OS
* Update Ubuntu_old
* Update Windows 11_small
* Add Amazon Linux
* Add LainOS
* Fix colors of Slackware
-------------------------------------------------------------------
Mon Sep 18 21:26:47 UTC 2023 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to version 2.0.5:
* Bugfixes:
- Fix segfault when using libxrandr (#544, Display, Linux)
- Don't print 0px (#544, Cursor)
* Features:
- Add option --disk-use-available (#543)
- Add option --disk-show-readonly
- Removed config.conf to fix build
-------------------------------------------------------------------
Tue Aug 22 02:50:15 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 2.0.1:
* Changes:
- Unescape strings only when parsing .conf files
- Previously: $ NO_CONFIG=1 fastfetch --os-key \\\\ -s os -l none prints \: *.
Note the backslashs are unescaped twice (once by shell and once by fastfetch).
- Now: $ NO_CONFIG=1 fastfetch --os-key \\\\ -s os -l none prints \\: *
- Remove option shortcut -c (alias of --color), which is more commonly used as alias of --config
- Rename --recache to --logo-recache (which is used for regenerate image logo cache). Remove option shortcut -r (alias of --recache).
- Detecting brightness of external displays with DDC/CI is no longer guarded behind --allow-slow-operations (Brightness)
* Features:
- Add --key-width for aligning the left edge of values, supported both for global --key-width and specific module --module-key-width
- Add --bar-char-elapsed, --bar-char-total, --bar-width and --bar-border options
- Add CMake option ENABLE_SYSTEM_YYJSON, which allow building fastfetch with system-provided yyjson (for package managers)
- Add new module Version, which prints fastfetch version (like fastfetch --version)
* Bugfixes:
- Fix label detection. Use --disk-key 'Disk ({2})' to display it (Disk, Linux)
- Fix some module options were not inited
- Fix terminal version and font detection on NixOS (Terminal, Linux)
-------------------------------------------------------------------
Fri Jul 21 07:30:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.12.2:
* Support terminator terminal version detection (Linux,
Terminal)
* Support `pkgtool` package manager detection (Linux, Packages)
* Support `Far` shell version detection (Windows, Shell)
* Fix ConEmu terminal detection in some special cases (Windows,
Terminal, #488)
* Fix incorrect Host on M2 Mac Studio with M2 Max CPU (macOS,
Host, #490)
* Support KDE / LXQT / MATE / Cinnamon wallpaper detection
(Wallpaper, Linux)
* Support QTerminal version & terminal font detection
* Support MATE Terminal version & terminal font detection
* Set `--pipe true` automatically if stdout is not a tty
* Detect new macs released on WWDC 2023 (macOS, Host)
* Count cached memory as free memory (FreeBSD, Memory)
* Support sound detection (FreeBSD, Sound)
* Fix `--logo-padding-left` doesn't work when `--logo-padding-
top` is set (Logo)
* Fix KDE version detection on Fedora (DE)
* Include limits.h when needed (Linux, #472)
* Fix Windows drives detection in WSL (Linux, Disk)
* Fix crash on newer wayland desktops (Linux, Display, #477)
-------------------------------------------------------------------
Mon Jun 12 09:20:12 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 1.11.3:
Features:
* Support display name, type, rotation detection on Wayland (Linux, Display)
* Print more useful display name instead of intel_backlight (Linux, Brightness)
* Icons module supports Windows (Windows, Icons)
* Add Wallpaper module which shows the current wallpaper image path
* Add mac address detection --localip-show-mac (LocalIP, #451)
Bugfixes:
* Fix Gnome version detection on Fedora (DE)
* Fix Windows drives detection in WSL (Disk)
* Fix a segfault bug, regression of 1.11.1
Changes:
* In order to make Icons module consistant between different platforms,
--icons-format no longer supports individual GTK / QT icon params.
* --theme-format no longer supports individual GTK / plasma theme params.
* --local-ip-* and --public-ip-* have been changed to --localip-* and --publicip-*
* --localip-compact-type is no longer supported. Fastfetch now display IPs as
--localip-compat-type multiline by default, with --local-compact true can be set as an alias of --localip-compact-type oneline
* --localip-v6first is no longer supported.
-------------------------------------------------------------------
Wed May 17 14:34:44 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Move configuration files based on openSUSE distribution.
-------------------------------------------------------------------
Wed May 17 14:13:18 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 1.11.0:
* Support linuxbrew
* Support foot terminal
* Support cursor size detection on Windows
* Support cursor detection on macOS
* Support display name, display type and decimal refresh rate detection
* Support --display-compact-type to display multiple resolutions in one line
* Support flatpak-user
* Support --gpu-force-vulkan to force using vulkan to detect GPUs, which support video memory usage detection with --allow-slow-operations
* Fix date time format
* Fix compiling with musl
* Don't exit if libpci is failed to init
* Names of most well-known gamepads are correctly printed instead of Wireless Controller on Windows
* Small update for nobara logo
-------------------------------------------------------------------
Sat Mar 4 01:55:25 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 1.10.3:
* Fix uninitialized variables (GPU, Windows)
* Fix compiling errors (Windows)
* Improve performance (WmTheme amd Font, Windows and macOS)
* Enable nonblocking public-ip / weather detection (Android)
-------------------------------------------------------------------
Thu Feb 2 02:54:22 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 1.9.1:
* Fix builds on s390x (@jonathanspw, #402)
* Fix zero refresh rate on some monitors (macOS)
* Fix default formatting of Wifi module
-------------------------------------------------------------------
Mon Jan 23 16:30:55 UTC 2023 - Andrea Manzini <andrea.manzini@suse.com>
- Update to version 1.9.0
* fastfetch no longer creates a sample config file silently. Use --gen-config to generate one.
* fastfetch now search for user config file in the order of fastfetch --list-config-paths
* Unknown disks are hidden by default.
* Resolution module is renamed to Display.
* new options: --logo-padding-top, --list-config-paths, --list-data-paths, --gpu-hide-integrated, --gpu-hide-discrete
* Raw image file as logo support
* Add Brightness, Wifi module support
* Disk name support for Linux
* Fix rpm package count detection
* Fix cpu temp detection
-------------------------------------------------------------------
Wed Jan 18 02:47:19 UTC 2023 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Update to version 1.8.2. Changes since then to this version:
* 1.8.2:
- Fix memleaks Users module (Windows)
- Fix shell detection when installed with scoop (Windows)
- Don't use libcJSON as wlanapi's dll name (Windows)
- Align artifact names to other platforms (Windows)
* 1.8.1:
- Bios / Board / Chassis modules are splitted against Host module for performance reasons
- Caching is removed. Option --nocache is removed accordingly
- Windows (7 and newer) is officially and fully supported
- FreeBSD support is improved greatly (Bios, Cpu Temp, Cpu Usage, Disk, Host, Processes, Swap, Terminal / Shell, Uptime)
- Adds a new flag --stat, which prints time usage for individual modules
- Adds Wifi module which supports Windows and macOS
- Adds data source option for logo printing
- Detects Homebrew Cellar and Cask seperately
- Detects WSL version
- Detects disk based on mount point
- Exposes more chafa configs
- Improves performance for Cpu Usage, Public IP, Weather modules
- Improves performance for Kitty image protocol when both image width / height specified
- Improves performance for large file loading
- Improves performance for macOS WM and Host detection
- Improves shell and terminal detection on macOS
- Supports Deepin Terminal terminal font
- Supports GPU detection on Android
- Supports Kitty Terminal terminal font
- Supports bar output for percentage values
- Supports Bios module on macOS
- Supports eopkg package manager detection
- Supports iTerm image logo protocol
- Supports image logo printing on macOS
- Supports tcsh version detection
- Vulkan module on macOS no longer requires vulkan-loader to work
- Fixes disk size detection on 32bit Linux (#337)
- Fixes cpu freq detection in WSL
- Fixes internal bug of FFstrbuf
- Fixes some memory leaks
- Fixes segfault if 0 is given as argument index
- Lots of code refactors
- Added new logos:
* Alpine
* CRUX
* EndeavourOS
* Enso
* Garuda small
* Nobara
* OpenMandriva
* Parabola GNU/Linux-libre
* Rocky
* Rosa
* Solus
* Univalent
* Vanilla OS
-------------------------------------------------------------------
Wed Dec 7 21:59:05 UTC 2022 - Soc Virnyl Estela <socvirnyl.estela@gmail.com>
- Initial spec for fastfetch 1.7.5

116
fastfetch.spec Normal file
View File

@ -0,0 +1,116 @@
#
# spec file for package fastfetch
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: fastfetch
Version: 2.18.0
Release: 0
Summary: Neofetch-like tool written mostly in C
License: MIT
URL: https://github.com/fastfetch-cli/fastfetch
Source: https://github.com/fastfetch-cli/fastfetch/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: Mesa-devel
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: opencl-headers
BuildRequires: vulkan-headers
# For some reason these don't build on Leap
%if 0%{?suse_version} > 1600
%ifarch %{ix86} x86_64
BuildRequires: pkgconfig(DirectX-Headers)
%endif
%endif
BuildRequires: pkgconfig(ImageMagick)
BuildRequires: pkgconfig(chafa)
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(libxfconf-0)
BuildRequires: pkgconfig(ocl-icd)
BuildRequires: pkgconfig(rpm)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xrandr)
BuildRequires: pkgconfig(zlib)
Recommends: ImageMagick
Recommends: Mesa
Recommends: chafa
Recommends: dbus-1
Recommends: dconf
Recommends: glib2-tools
Recommends: pciutils
Recommends: rpm
Recommends: sqlite3
Recommends: vulkan-tools
Recommends: xfconf
Recommends: xrandr
Recommends: zlib
%description
Fastfetch is a neofetch-like tool for fetching system information and
displaying them in a pretty way. It is written mainly in C, with performance and
customizability in mind. Currently Linux, Android, FreeBSD,
MacOS and Windows 7+ are supported.
%package fish-completion
Summary: Fish Completion for %{name}
Supplements: (%{name} and fish)
Requires: fish
BuildArch: noarch
%description fish-completion
Fish command-line completion support for %{name}.
%package bash-completion
Summary: Bash Completion for %{name}
Supplements: (%{name} and bash-completion)
Requires: bash-completion
BuildArch: noarch
%description bash-completion
Bash command-line completion support for %{name}.
%prep
%autosetup
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc README.md CHANGELOG.md
%{_bindir}/flashfetch
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/%{name}/
%files bash-completion
%dir %{_datadir}/bash-completion
%dir %{_datadir}/bash-completion/completions
%{_datadir}/bash-completion/completions/fastfetch
%files fish-completion
%dir %{_datadir}/fish
%dir %{_datadir}/fish/vendor_completions.d
%{_datadir}/fish/vendor_completions.d/fastfetch.fish
%changelog