From 3a0d37b79418ce9330761bc43ae8a7026c0477a3fc9225416b1f9f305119ada9 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 23 Dec 2023 08:18:32 +0000 Subject: [PATCH 1/4] - 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) OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=29 --- fastfetch-2.2.3.tar.gz | 3 --- fastfetch-2.4.0.tar.gz | 3 +++ fastfetch.changes | 26 ++++++++++++++++++++++++++ fastfetch.spec | 2 +- 4 files changed, 30 insertions(+), 4 deletions(-) delete mode 100644 fastfetch-2.2.3.tar.gz create mode 100644 fastfetch-2.4.0.tar.gz diff --git a/fastfetch-2.2.3.tar.gz b/fastfetch-2.2.3.tar.gz deleted file mode 100644 index 04f6a17..0000000 --- a/fastfetch-2.2.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dda15a6a73b8e6983d808d3f82567a0e8a333a3fdb53921d88a8bb2d65a38f32 -size 901203 diff --git a/fastfetch-2.4.0.tar.gz b/fastfetch-2.4.0.tar.gz new file mode 100644 index 0000000..6a26837 --- /dev/null +++ b/fastfetch-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbde7bb445f8e13ca8e2a324e05b6cda5bc7ed5121684d4dd0105cfb583c757e +size 913193 diff --git a/fastfetch.changes b/fastfetch.changes index f1f0512..9d0e96d 100644 --- a/fastfetch.changes +++ b/fastfetch.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Sat Dec 23 08:15:55 UTC 2023 - Soc Virnyl Estela + +- 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) + ------------------------------------------------------------------- Tue Nov 21 15:32:10 UTC 2023 - Dirk Müller diff --git a/fastfetch.spec b/fastfetch.spec index 8488f22..d8a9acd 100644 --- a/fastfetch.spec +++ b/fastfetch.spec @@ -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 From 8f6804673ca336441c91fd23be9e41eede535090e8b90ef495eb4f78f18770d2 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 23 Dec 2023 08:24:18 +0000 Subject: [PATCH 2/4] - update specfile: * add bash completion subpackage. * add fish completion subpackage. OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=30 --- fastfetch.changes | 3 +++ fastfetch.spec | 31 ++++++++++++++++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/fastfetch.changes b/fastfetch.changes index 9d0e96d..c187bcd 100644 --- a/fastfetch.changes +++ b/fastfetch.changes @@ -23,6 +23,9 @@ Sat Dec 23 08:15:55 UTC 2023 - Soc Virnyl Estela diff --git a/fastfetch.spec b/fastfetch.spec index d8a9acd..6e2ebc2 100644 --- a/fastfetch.spec +++ b/fastfetch.spec @@ -63,6 +63,26 @@ 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 @@ -81,6 +101,15 @@ sed -i "s|\#\!\/usr\/bin\/env bash||g" completions/bash %{_bindir}/flashfetch %{_bindir}/%{name} %{_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 From 0a4d9f4b4af943ee46c2e131cc1fb2f4b25571e0c3a84d804c30eb05a7762a43 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 23 Dec 2023 08:27:21 +0000 Subject: [PATCH 3/4] * add manpage for fastfetch for package. OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=31 --- fastfetch.changes | 1 + fastfetch.spec | 1 + 2 files changed, 2 insertions(+) diff --git a/fastfetch.changes b/fastfetch.changes index c187bcd..bd40a06 100644 --- a/fastfetch.changes +++ b/fastfetch.changes @@ -26,6 +26,7 @@ Sat Dec 23 08:15:55 UTC 2023 - Soc Virnyl Estela diff --git a/fastfetch.spec b/fastfetch.spec index 6e2ebc2..217f836 100644 --- a/fastfetch.spec +++ b/fastfetch.spec @@ -100,6 +100,7 @@ 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}/ %files bash-completion From 219aef91160dc6988a32bf99697172a9cf0603738535cd79b741f0ed5bbc4943 Mon Sep 17 00:00:00 2001 From: Soc Virnyl Estela Date: Sat, 23 Dec 2023 08:33:13 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/utilities/fastfetch?expand=0&rev=32 --- fastfetch.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/fastfetch.spec b/fastfetch.spec index 217f836..b79c7c8 100644 --- a/fastfetch.spec +++ b/fastfetch.spec @@ -87,6 +87,7 @@ Bash command-line completion support for %{name}. %setup -q sed -i "s|\#\!\/usr\/bin\/env bash||g" completions/bash +sed -i "s|\#\!\/usr\/bin\/env fish||g" completions/fish %build %cmake