Accepting request 1134713 from utilities

- 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.

OBS-URL: https://build.opensuse.org/request/show/1134713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fastfetch?expand=0&rev=11
This commit is contained in:
Ana Guerrero 2023-12-25 18:05:03 +00:00 committed by Git OBS Bridge
commit 3d3f5b539a
4 changed files with 66 additions and 5 deletions

View File

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

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

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

View File

@ -1,3 +1,33 @@
-------------------------------------------------------------------
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>

View File

@ -17,7 +17,7 @@
Name: fastfetch
Version: 2.2.3
Version: 2.4.0
Release: 0
Summary: Neofetch-like tool written in C
License: MIT
@ -63,10 +63,31 @@ displaying them in a pretty way. It is written in pure 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}
Group: System/Shells
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}
Group: System/Shells
Supplements: (%{name} and bash-completion)
Requires: bash-completion
BuildArch: noarch
%description bash-completion
Bash command-line completion support for %{name}.
%prep
%setup -q
sed -i "s|\#\!\/usr\/bin\/env bash||g" completions/bash
sed -i "s|\#\!\/usr\/bin\/env fish||g" completions/fish
%build
%cmake
@ -80,7 +101,17 @@ sed -i "s|\#\!\/usr\/bin\/env bash||g" completions/bash
%doc README.md CHANGELOG.md
%{_bindir}/flashfetch
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_datadir}/%{name}/
%{_datadir}/bash-completion/
%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