- update to 2.34.0

Changes:
   * We now print distro pretty name if available (OS) 
     - This is a long requested feature. However, it may break some distros. File a bug with the content of `/etc/os-release` if it breaks your distro
  Bugfixes:
   * Fix thunderbolt version of new MBPs (gh#fastfetch-cli/fastfetch#1465, Host, macOS)
   * Fix backlight name detection on FreeBSD (Brightness, FreeBSD)
   * Fix Terminal detection when running fastfetch in `pk-command-not-found` (gh#fastfetch-cli/fastfetch#1467, Terminal, Linux)
   * Relax detection of terminals in NixOS (gh#fastfetch-cli/fastfetch#1479, Terminal, Linux) 
     - Should fix konsole, ghostty and maybe others
   * Fix core count output in multi-package platforms (CPU)
   * Don't suppress the output of preRun (gh#fastfetch-cli/fastfetch#1489)
   * Fix battery percentage detection (Battery, NetBSD)
  Features:
   * Support ghostty terminal font detection (TerminalFont, Linux / macOS)
   * Support `kitty-icat` image protocol, which uses `kitten icat` to generate image data 
     - Pros: support tmux; support gif animations; good performance
     - Cons: due to the limitation of `kitten icat`, we need to clear the screen before displaying the image logo
   * Support WM version detection (WM) 
     - In Linux, Hyprland & sway are supported currently
   * Improve performance when stdout is redirected (TerminalSize)
   * Report thermal zone temp if CPU temp is not available (CPU, Linux)
   * Report sound server (Pipewire or PulseAudio) if available (gh#fastfetch-cli/fastfetch#1454, Sound, Linux)
   * Enable OpenGL & OpenCL detection on Android (OpenGL / OpenCL, Android)
   * Detect & report MediaTek Dimensity 9000+ SOC name (CPU, Android)
   * Support appman (am-user) package manager detection (Packages, Linux)
  Logo:
   * Add Lubuntu
   * Update Xray_os
   * Add SnigdhaOS
   * Add Rhino Linux

OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=127
This commit is contained in:
Gordon Leung 2025-01-09 18:37:49 +00:00 committed by Git OBS Bridge
commit 63de930f46
17 changed files with 1751 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.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:53421de317bfc918e168751cf910e7faa51ebbd71f6f4de3b56d2cc74794365f
size 1067696

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

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

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:461f64bda6ab4a33085b1b75afd01e72a7d0556b678852b95fbea4916ceec2a8
size 1076860

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21d085a612b6bd9ab0f4e7bffe2632e313e6f67d432251cfd5a7f877b7194733
size 1086262

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

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

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

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

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:675ac3f9dbe00277416744fa36a28fc9cd1284d17f055a4db339063bfc6a8209
size 1104540

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:17ea39fd062d5bccc9c608e868f593a665d569646bc9b447111b3a608b648783
size 1110619

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

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

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5248311a3d8ce65f6f48756dfc0df9f8922d64f5201ee8d980497d52e924906e
size 1144835

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3036e34acc1355bf39619df1a2400f5f8316d188088f07d9a366a521bb30ad61
size 1149745

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

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

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2dae260d604557c6bf5a9781b3c960aa4265a067e54a984f8c68889a578193a9
size 1166632

1552
fastfetch.changes Normal file

File diff suppressed because it is too large Load Diff

136
fastfetch.spec Normal file
View File

@ -0,0 +1,136 @@
#
# spec file for package fastfetch
#
# Copyright (c) 2025 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.34.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(dconf)
BuildRequires: pkgconfig(ddcutil)
BuildRequires: pkgconfig(libelf)
BuildRequires: pkgconfig(libpulse)
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: fastfetch
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
Requires: fastfetch
BuildArch: noarch
%description bash-completion
Bash command-line completion support for %{name}.
%package zsh-completion
Summary: Zsh Completion for %{name}
Supplements: (%{name} and zsh)
Requires: fastfetch
Requires: zsh
BuildArch: noarch
%description zsh-completion
Zsh command-line completion support for %{name}.
%prep
%autosetup
%build
%cmake -DBUILD_FLASHFETCH:BOOL=FALSE
%cmake_build
%install
%cmake_install
%files
%license LICENSE
%doc README.md CHANGELOG.md
%{_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
%files zsh-completion
%dir %{_datadir}/zsh
%dir %{_datadir}/zsh/site-functions
%{_datadir}/zsh/site-functions/_fastfetch
%changelog