Package: guix-patches;
Reported by: Dariqq <dariqq <at> posteo.net>
Date: Sat, 6 Jul 2024 07:28:01 UTC
Severity: normal
Tags: patch
To reply to this bug, email your comments to 71968 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
View this report as an mbox folder, status mbox, maintainer mbox
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 06 Jul 2024 07:28:01 GMT) Full text and rfc822 format available.Dariqq <dariqq <at> posteo.net>
:guix-patches <at> gnu.org
.
(Sat, 06 Jul 2024 07:28:02 GMT) Full text and rfc822 format available.Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: guix-patches <at> gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH 0/4] fastfetch: Unbundle yyjson and package improvements Date: Sat, 6 Jul 2024 07:03:46 +0000
Hi Guix, This little patch series removes the bundled yyjson from fastfetch and adds more configure options to make the package work better with guix. The most significant change is switching to dynamically linking against the optional dependencies of fastfetch (instead of dlopening them at runtime) to avoid manually writing out a wrapper setting LD_LIBRARY_PATH. Finally there is an update to the latest version. With the 2.17.0 release the option "ENABLE_PROPRIETARY_GPU_DRIVER_API" was removed (https://github.com/fastfetch-cli/fastfetch/blob/dev/CHANGELOG.md#2170). Is that a problem with FSDG? Dariqq (4): gnu: Add yyjson. gnu: fastfetch: Unbundle yyjson. gnu: fastfetch: Add more configure flags. gnu: fastfetch: Update to 2.17.2. gnu/packages/admin.scm | 25 +++++++++++++++++++++---- gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 4 deletions(-) base-commit: 5905b4728776d6a6e6e5587f46fc0d633df6907c -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 06 Jul 2024 07:30:02 GMT) Full text and rfc822 format available.Message #8 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH 1/4] gnu: Add yyjson. Date: Sat, 6 Jul 2024 07:29:16 +0000
* gnu/packages/c.scm (yyjson): New variable. Change-Id: Ica9ff2e1b6676aa8761eb33cbab76154f17e443f --- gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index d13b62b5e2..b251e0334e 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1678,3 +1678,41 @@ (define-public pcg-c Linear Congruential Generator (LCG) with a permutation function to increase output randomness while retaining speed, simplicity, and conciseness.") (license (list license:expat license:asl2.0))))) ; dual licensed + +(define-public yyjson + (package + (name "yyjson") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ibireme/yyjson") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (arguments + (list + #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" + "-DYYJSON_BUILD_TESTS=ON"))) + (build-system cmake-build-system) + (home-page "https://github.com/ibireme/yyjson") + (synopsis "High performance JSON library written in ANSI C") + (description + "Yyjson is a high performance JSON library written in ANSI C. Some features include +@itemize +@item Fast: can read or write gigabytes per second JSON data on modern CPUs. +@item Portable: complies with ANSI C (C89) for cross-platform compatibility. +@item Strict: complies with RFC 8259 JSON standard, ensuring strict +number format and UTF-8 validation. +@item Extendable: offers options to allow comments, trailing commas, NaN/Inf, + and custom memory allocator. +@item Accuracy: can accurately read and write int64, uint64, and double numbers. +@item Flexible: supports unlimited JSON nesting levels, \u0000 characters, +and non null-terminated strings. +@item Manipulation: supports querying and modifying using JSON Pointer, +JSON Patch and JSON Merge Patch. +@item Developer-Friendly: easy integration with only one .h and one .c file. +@end itemize") + (license license:expat))) -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 06 Jul 2024 07:30:02 GMT) Full text and rfc822 format available.Message #11 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH 3/4] gnu: fastfetch: Add more configure flags. Date: Sat, 6 Jul 2024 07:29:18 +0000
Most importantly the dependencies are now linked dynamically to avoid writing out a LD_LIBRARY_PATH wrapper. Also build the tests and skip installing the license file. Additionally provide custom paths to pci-ids and amdgpu-ids. * gnu/packages/admin.scm (fastfetch) (arguments): Move above inputs. [#:configure-flags]: Add -DBUILD_TESTS=ON, -DINSTALL_LICENSE=OFF, -DBINARY_LINK_TYPE=dynamic and set -DCUSTOM_PCI_IDS_PATH and -DCUSTOM_AMDGPU_IDS_PATH. [#:tests]: Remove as now there are tests available. [inputs]: Add hwdata and libdrm for the custom paths. Change-Id: I9f86b49f0a116bcee91ca15b6e77cfbb3867e290 --- gnu/packages/admin.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index a9651b49d0..e97fe76a5a 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4280,18 +4280,29 @@ (define-public fastfetch (snippet '(begin (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) + (arguments + (list + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES" + "-DBINARY_LINK_TYPE=dynamic" + "-DBUILD_TESTS=ON" + "-DINSTALL_LICENSE=OFF" + (string-append "-DCUSTOM_PCI_IDS_PATH=" + #$(this-package-input "hwdata") + "/share/hwdata/pci.ids") + (string-append "-DCUSTOM_AMDGPU_IDS_PATH=" + #$(this-package-input "libdrm") + "share/libdrm/amdgpu.ids")))) (inputs (list dbus glib + hwdata imagemagick + libdrm libxcb mesa wayland yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments - (list #:tests? #f ; no test target - #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 06 Jul 2024 07:30:03 GMT) Full text and rfc822 format available.Message #14 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH 4/4] gnu: fastfetch: Update to 2.17.2. Date: Sat, 6 Jul 2024 07:29:19 +0000
Also add python to minify the help.json file at build time. * gnu/packages/admin.scm (fastfetch): Update to 2.17.2. [native-inputs]: Add python. Change-Id: I135be0447061896ec2f133e11d50ced92b9e79b5 --- gnu/packages/admin.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e97fe76a5a..678ae29e84 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4266,7 +4266,7 @@ (define-public pfetch (define-public fastfetch (package (name "fastfetch") - (version "2.16.0") + (version "2.17.2") (source (origin (method git-fetch) @@ -4275,7 +4275,7 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (base32 "0yhpxn7idb1c9fs84x6qqk4f6975cdax0f1ymhqj33lswzah03ax")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/3rdparty"))))) @@ -4302,7 +4302,7 @@ (define-public fastfetch wayland yyjson zlib)) ;for imagemagick and an #ifdef - (native-inputs (list pkg-config)) + (native-inputs (list pkg-config python)) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 06 Jul 2024 07:30:03 GMT) Full text and rfc822 format available.Message #17 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH 2/4] gnu: fastfetch: Unbundle yyjson. Date: Sat, 6 Jul 2024 07:29:17 +0000
* gnu/packages/admin.scm (fastftech) [origin]: Add snippet to remove third party code. [#_configure-flags]: Add "-DENABLE_SYSTEM_YYJSON=YES" [inputs]: Add yyjson. Change-Id: I8175b8f4a8d55ff3b9d5fa4cb99f1fc1ad15fd97 --- gnu/packages/admin.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index f0aa6adc85..a9651b49d0 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4275,7 +4275,10 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")))) + (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) (inputs (list dbus glib @@ -4283,9 +4286,12 @@ (define-public fastfetch libxcb mesa wayland + yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments (list #:tests? #f)) ; no test target + (arguments + (list #:tests? #f ; no test target + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 14 Jul 2024 07:44:02 GMT) Full text and rfc822 format available.Message #20 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v2 0/5] fastfetch: Unbundle yyjson and package improvements Date: Sun, 14 Jul 2024 07:42:51 +0000
Hi Guix, This little patch series removes the bundled yyjson from fastfetch and adds more configure options to make the package work better with guix. The most significant change is switching to dynamically linking against the optional dependencies of fastfetch (instead of dlopening them at runtime) to avoid manually writing out a wrapper setting LD_LIBRARY_PATH. Finally there is an update to the latest version. With the 2.17.0 release the option "ENABLE_PROPRIETARY_GPU_DRIVER_API" was removed (https://github.com/fastfetch-cli/fastfetch/blob/dev/CHANGELOG.md#2170).Is that a problem with FSDG? Changes in v2: Update to the latest fastfetch release which also needs a newer yyjson. Dariqq (5): gnu: Add yyjson. gnu: fastfetch: Unbundle yyjson. gnu: fastfetch: Add more configure flags. gnu: yyjson: Update to 0.10.0. gnu: fastfetch: Update to 2.18.1. gnu/packages/admin.scm | 23 ++++++++++++++++++++--- gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 3 deletions(-) base-commit: c1d367f57e89c3f2efd964e6d638bd89b0b1df97 -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 14 Jul 2024 07:44:02 GMT) Full text and rfc822 format available.Message #23 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v2 1/5] gnu: Add yyjson. Date: Sun, 14 Jul 2024 07:42:52 +0000
* gnu/packages/c.scm (yyjson): New variable. Change-Id: Ica9ff2e1b6676aa8761eb33cbab76154f17e443f --- gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index d13b62b5e2..b251e0334e 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1678,3 +1678,41 @@ (define-public pcg-c Linear Congruential Generator (LCG) with a permutation function to increase output randomness while retaining speed, simplicity, and conciseness.") (license (list license:expat license:asl2.0))))) ; dual licensed + +(define-public yyjson + (package + (name "yyjson") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ibireme/yyjson") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (arguments + (list + #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" + "-DYYJSON_BUILD_TESTS=ON"))) + (build-system cmake-build-system) + (home-page "https://github.com/ibireme/yyjson") + (synopsis "High performance JSON library written in ANSI C") + (description + "Yyjson is a high performance JSON library written in ANSI C. Some features include +@itemize +@item Fast: can read or write gigabytes per second JSON data on modern CPUs. +@item Portable: complies with ANSI C (C89) for cross-platform compatibility. +@item Strict: complies with RFC 8259 JSON standard, ensuring strict +number format and UTF-8 validation. +@item Extendable: offers options to allow comments, trailing commas, NaN/Inf, + and custom memory allocator. +@item Accuracy: can accurately read and write int64, uint64, and double numbers. +@item Flexible: supports unlimited JSON nesting levels, \u0000 characters, +and non null-terminated strings. +@item Manipulation: supports querying and modifying using JSON Pointer, +JSON Patch and JSON Merge Patch. +@item Developer-Friendly: easy integration with only one .h and one .c file. +@end itemize") + (license license:expat))) -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 14 Jul 2024 07:44:03 GMT) Full text and rfc822 format available.Message #26 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v2 3/5] gnu: fastfetch: Add more configure flags. Date: Sun, 14 Jul 2024 07:42:54 +0000
Most importantly the dependencies are now linked dynamically to avoid writing out a LD_LIBRARY_PATH wrapper. Also build the tests and skip installing the license file. Additionally provide custom paths to pci-ids and amdgpu-ids. * gnu/packages/admin.scm (fastfetch) (arguments): Move above inputs. [#:configure-flags]: Add -DBUILD_TESTS=ON, -DINSTALL_LICENSE=OFF, -DBINARY_LINK_TYPE=dynamic and set -DCUSTOM_PCI_IDS_PATH and -DCUSTOM_AMDGPU_IDS_PATH. [#:tests]: Remove as now there are tests available. [inputs]: Add hwdata and libdrm for the custom paths. Change-Id: I9f86b49f0a116bcee91ca15b6e77cfbb3867e290 --- gnu/packages/admin.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index a9651b49d0..e97fe76a5a 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4280,18 +4280,29 @@ (define-public fastfetch (snippet '(begin (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) + (arguments + (list + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES" + "-DBINARY_LINK_TYPE=dynamic" + "-DBUILD_TESTS=ON" + "-DINSTALL_LICENSE=OFF" + (string-append "-DCUSTOM_PCI_IDS_PATH=" + #$(this-package-input "hwdata") + "/share/hwdata/pci.ids") + (string-append "-DCUSTOM_AMDGPU_IDS_PATH=" + #$(this-package-input "libdrm") + "share/libdrm/amdgpu.ids")))) (inputs (list dbus glib + hwdata imagemagick + libdrm libxcb mesa wayland yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments - (list #:tests? #f ; no test target - #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 14 Jul 2024 07:44:03 GMT) Full text and rfc822 format available.Message #29 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v2 4/5] gnu: yyjson: Update to 0.10.0. Date: Sun, 14 Jul 2024 07:42:55 +0000
* gnu/packages/c.scm (yyjson): Update to 0.10.0. Change-Id: Id8be82026eb0d102272b1128cce80a5609d309d0 --- gnu/packages/c.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index b251e0334e..83c09c850f 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1682,7 +1682,7 @@ (define-public pcg-c (define-public yyjson (package (name "yyjson") - (version "0.9.0") + (version "0.10.0") (source (origin (method git-fetch) @@ -1691,7 +1691,7 @@ (define-public yyjson (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (base32 "0kmzgs24v0rxlibg4qwlm6yplzs96pgxb1gyviijhkra9z7lx7ws")))) (arguments (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 14 Jul 2024 07:44:04 GMT) Full text and rfc822 format available.Message #32 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v2 2/5] gnu: fastfetch: Unbundle yyjson. Date: Sun, 14 Jul 2024 07:42:53 +0000
* gnu/packages/admin.scm (fastftech) [origin]: Add snippet to remove third party code. [#_configure-flags]: Add "-DENABLE_SYSTEM_YYJSON=YES" [inputs]: Add yyjson. Change-Id: I8175b8f4a8d55ff3b9d5fa4cb99f1fc1ad15fd97 --- gnu/packages/admin.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index f0aa6adc85..a9651b49d0 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4275,7 +4275,10 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")))) + (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) (inputs (list dbus glib @@ -4283,9 +4286,12 @@ (define-public fastfetch libxcb mesa wayland + yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments (list #:tests? #f)) ; no test target + (arguments + (list #:tests? #f ; no test target + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 14 Jul 2024 07:44:04 GMT) Full text and rfc822 format available.Message #35 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v2 5/5] gnu: fastfetch: Update to 2.18.1. Date: Sun, 14 Jul 2024 07:42:56 +0000
* gnu/packages/admin.scm (fastfetch): Update to 2.18.1. Change-Id: I257954b6f21f5a9fc35b45785f6addff604513b9 --- gnu/packages/admin.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e97fe76a5a..5699bf32b4 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4266,7 +4266,7 @@ (define-public pfetch (define-public fastfetch (package (name "fastfetch") - (version "2.16.0") + (version "2.18.1") (source (origin (method git-fetch) @@ -4275,7 +4275,7 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (base32 "0iqww3iq52kdvd7nm35jbba3n4ysds8brnrv7gx5dvzhkna0lvdy")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/3rdparty"))))) -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 25 Aug 2024 07:48:02 GMT) Full text and rfc822 format available.Message #38 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v3 1/5] gnu: Add yyjson. Date: Sun, 25 Aug 2024 07:45:24 +0000
* gnu/packages/c.scm (yyjson): New variable. Change-Id: Ica9ff2e1b6676aa8761eb33cbab76154f17e443f --- gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 87d3df193e..aa7b9fe35f 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1730,3 +1730,41 @@ (define-public pcg-c Linear Congruential Generator (LCG) with a permutation function to increase output randomness while retaining speed, simplicity, and conciseness.") (license (list license:expat license:asl2.0))))) ; dual licensed + +(define-public yyjson + (package + (name "yyjson") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ibireme/yyjson") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (arguments + (list + #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" + "-DYYJSON_BUILD_TESTS=ON"))) + (build-system cmake-build-system) + (home-page "https://github.com/ibireme/yyjson") + (synopsis "High performance JSON library written in ANSI C") + (description + "Yyjson is a high performance JSON library written in ANSI C. Some features include +@itemize +@item Fast: can read or write gigabytes per second JSON data on modern CPUs. +@item Portable: complies with ANSI C (C89) for cross-platform compatibility. +@item Strict: complies with RFC 8259 JSON standard, ensuring strict +number format and UTF-8 validation. +@item Extendable: offers options to allow comments, trailing commas, NaN/Inf, + and custom memory allocator. +@item Accuracy: can accurately read and write int64, uint64, and double numbers. +@item Flexible: supports unlimited JSON nesting levels, \u0000 characters, +and non null-terminated strings. +@item Manipulation: supports querying and modifying using JSON Pointer, +JSON Patch and JSON Merge Patch. +@item Developer-Friendly: easy integration with only one .h and one .c file. +@end itemize") + (license license:expat))) base-commit: f25ea6847fa4eb1bc0a6bfb965e145b94f20a6f8 -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 25 Aug 2024 07:48:02 GMT) Full text and rfc822 format available.Message #41 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v3 2/5] gnu: fastfetch: Unbundle yyjson. Date: Sun, 25 Aug 2024 07:45:25 +0000
* gnu/packages/admin.scm (fastftech) [origin]: Add snippet to remove third party code. [#:configure-flags]: Add "-DENABLE_SYSTEM_YYJSON=YES" [inputs]: Add yyjson. Change-Id: I8175b8f4a8d55ff3b9d5fa4cb99f1fc1ad15fd97 --- gnu/packages/admin.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index e96c555e6a..497324c195 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4277,7 +4277,10 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")))) + (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) (inputs (list dbus glib @@ -4285,9 +4288,12 @@ (define-public fastfetch libxcb mesa wayland + yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments (list #:tests? #f)) ; no test target + (arguments + (list #:tests? #f ; no test target + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 25 Aug 2024 07:48:03 GMT) Full text and rfc822 format available.Message #44 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v3 3/5] gnu: fastfetch: Add more configure flags. Date: Sun, 25 Aug 2024 07:45:26 +0000
Most importantly the dependencies are now linked dynamically to avoid writing out a LD_LIBRARY_PATH wrapper. Also build the tests and skip installing the license file. Additionally provide custom paths to pci-ids and amdgpu-ids. * gnu/packages/admin.scm (fastfetch) (arguments): Move above inputs. [#:configure-flags]: Add -DBUILD_TESTS=ON, -DINSTALL_LICENSE=OFF, -DBINARY_LINK_TYPE=dynamic and set -DCUSTOM_PCI_IDS_PATH and -DCUSTOM_AMDGPU_IDS_PATH. [#:tests]: Remove as now there are tests available. [inputs]: Add hwdata and libdrm for the custom paths. Change-Id: I9f86b49f0a116bcee91ca15b6e77cfbb3867e290 --- gnu/packages/admin.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 497324c195..eb495bd25c 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4282,18 +4282,29 @@ (define-public fastfetch (snippet '(begin (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) + (arguments + (list + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES" + "-DBINARY_LINK_TYPE=dynamic" + "-DBUILD_TESTS=ON" + "-DINSTALL_LICENSE=OFF" + (string-append "-DCUSTOM_PCI_IDS_PATH=" + #$(this-package-input "hwdata") + "/share/hwdata/pci.ids") + (string-append "-DCUSTOM_AMDGPU_IDS_PATH=" + #$(this-package-input "libdrm") + "share/libdrm/amdgpu.ids")))) (inputs (list dbus glib + hwdata imagemagick + libdrm libxcb mesa wayland yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments - (list #:tests? #f ; no test target - #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 25 Aug 2024 07:48:03 GMT) Full text and rfc822 format available.Message #47 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v3 4/5] gnu: yyjson: Update to 0.10.0. Date: Sun, 25 Aug 2024 07:45:27 +0000
* gnu/packages/c.scm (yyjson): Update to 0.10.0. Change-Id: Id8be82026eb0d102272b1128cce80a5609d309d0 --- gnu/packages/c.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index aa7b9fe35f..08e572aec6 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1734,7 +1734,7 @@ (define-public pcg-c (define-public yyjson (package (name "yyjson") - (version "0.9.0") + (version "0.10.0") (source (origin (method git-fetch) @@ -1743,7 +1743,7 @@ (define-public yyjson (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (base32 "0kmzgs24v0rxlibg4qwlm6yplzs96pgxb1gyviijhkra9z7lx7ws")))) (arguments (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sun, 25 Aug 2024 07:48:04 GMT) Full text and rfc822 format available.Message #50 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v3 5/5] gnu: fastfetch: Update to 2.21.3. Date: Sun, 25 Aug 2024 07:45:28 +0000
* gnu/packages/admin.scm (fastfetch): Update to 2.21.3. Change-Id: I5f672fdc0cc36ceb7e32dbb2e5edc7ca212131e6 --- gnu/packages/admin.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index eb495bd25c..0b629f712c 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4268,7 +4268,7 @@ (define-public pfetch (define-public fastfetch (package (name "fastfetch") - (version "2.16.0") + (version "2.21.3") (source (origin (method git-fetch) @@ -4277,7 +4277,7 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (base32 "0npsjh1hgj2qm64c6v6p38dq7qxcwdcfqhdvdhk8qj3dgq012x82")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/3rdparty"))))) -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Tue, 27 Aug 2024 15:21:02 GMT) Full text and rfc822 format available.Message #53 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v4 2/5] gnu: fastfetch: Unbundle yyjson. Date: Tue, 27 Aug 2024 15:18:31 +0000
* gnu/packages/admin.scm (fastftech) [origin]: Add snippet to remove third party code. [#:configure-flags]: Add "-DENABLE_SYSTEM_YYJSON=YES" [inputs]: Add yyjson. Change-Id: I8175b8f4a8d55ff3b9d5fa4cb99f1fc1ad15fd97 --- gnu/packages/admin.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 4b05f4c367..fd2d10eeda 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4277,7 +4277,10 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")))) + (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) (inputs (list dbus glib @@ -4285,9 +4288,12 @@ (define-public fastfetch libxcb mesa wayland + yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments (list #:tests? #f)) ; no test target + (arguments + (list #:tests? #f ; no test target + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Tue, 27 Aug 2024 15:21:03 GMT) Full text and rfc822 format available.Message #56 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v4 1/5] gnu: Add yyjson. Date: Tue, 27 Aug 2024 15:18:30 +0000
* gnu/packages/c.scm (yyjson): New variable. Change-Id: Ica9ff2e1b6676aa8761eb33cbab76154f17e443f --- gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 87d3df193e..aa7b9fe35f 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1730,3 +1730,41 @@ (define-public pcg-c Linear Congruential Generator (LCG) with a permutation function to increase output randomness while retaining speed, simplicity, and conciseness.") (license (list license:expat license:asl2.0))))) ; dual licensed + +(define-public yyjson + (package + (name "yyjson") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ibireme/yyjson") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (arguments + (list + #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" + "-DYYJSON_BUILD_TESTS=ON"))) + (build-system cmake-build-system) + (home-page "https://github.com/ibireme/yyjson") + (synopsis "High performance JSON library written in ANSI C") + (description + "Yyjson is a high performance JSON library written in ANSI C. Some features include +@itemize +@item Fast: can read or write gigabytes per second JSON data on modern CPUs. +@item Portable: complies with ANSI C (C89) for cross-platform compatibility. +@item Strict: complies with RFC 8259 JSON standard, ensuring strict +number format and UTF-8 validation. +@item Extendable: offers options to allow comments, trailing commas, NaN/Inf, + and custom memory allocator. +@item Accuracy: can accurately read and write int64, uint64, and double numbers. +@item Flexible: supports unlimited JSON nesting levels, \u0000 characters, +and non null-terminated strings. +@item Manipulation: supports querying and modifying using JSON Pointer, +JSON Patch and JSON Merge Patch. +@item Developer-Friendly: easy integration with only one .h and one .c file. +@end itemize") + (license license:expat))) base-commit: 1166035acb4e1b0dc61bf9122b68f2afa0c35790 -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Tue, 27 Aug 2024 15:21:03 GMT) Full text and rfc822 format available.Message #59 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v4 4/5] gnu: yyjson: Update to 0.10.0. Date: Tue, 27 Aug 2024 15:18:33 +0000
* gnu/packages/c.scm (yyjson): Update to 0.10.0. Change-Id: Id8be82026eb0d102272b1128cce80a5609d309d0 --- gnu/packages/c.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index aa7b9fe35f..08e572aec6 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1734,7 +1734,7 @@ (define-public pcg-c (define-public yyjson (package (name "yyjson") - (version "0.9.0") + (version "0.10.0") (source (origin (method git-fetch) @@ -1743,7 +1743,7 @@ (define-public yyjson (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (base32 "0kmzgs24v0rxlibg4qwlm6yplzs96pgxb1gyviijhkra9z7lx7ws")))) (arguments (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Tue, 27 Aug 2024 15:21:04 GMT) Full text and rfc822 format available.Message #62 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v4 5/5] gnu: fastfetch: Update to 2.22.0. Date: Tue, 27 Aug 2024 15:18:34 +0000
Also add python-minimal to minify the help.json file at build time. * gnu/packages/admin.scm (fastfetch): Update to 2.22.0. [native-inputs]: Add python-minimal. Change-Id: I52d5cf244726bf4362f658f818094a483e3b3d01 --- gnu/packages/admin.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 8a315ada64..1a2e1360f6 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4268,7 +4268,7 @@ (define-public pfetch (define-public fastfetch (package (name "fastfetch") - (version "2.16.0") + (version "2.22.0") (source (origin (method git-fetch) @@ -4277,7 +4277,7 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (base32 "0yfvhyikb9bipxnwpf5g7dpvrrmz856fiyvd0daq97vv4lqq3ilx")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/3rdparty"))))) @@ -4304,7 +4304,7 @@ (define-public fastfetch wayland yyjson zlib)) ;for imagemagick and an #ifdef - (native-inputs (list pkg-config)) + (native-inputs (list pkg-config python-minimal)) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Tue, 27 Aug 2024 15:21:04 GMT) Full text and rfc822 format available.Message #65 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v4 3/5] gnu: fastfetch: Add more configure flags. Date: Tue, 27 Aug 2024 15:18:32 +0000
Most importantly the dependencies are now linked dynamically to avoid writing out a LD_LIBRARY_PATH wrapper. Also build the tests and skip installing the license file. Additionally provide custom paths to pci-ids and amdgpu-ids. * gnu/packages/admin.scm (fastfetch) (arguments): Move above inputs. [#:configure-flags]: Add -DBUILD_TESTS=ON, -DINSTALL_LICENSE=OFF, -DBINARY_LINK_TYPE=dynamic and set -DCUSTOM_PCI_IDS_PATH and -DCUSTOM_AMDGPU_IDS_PATH. [#:tests]: Remove as now there are tests available. [inputs]: Add hwdata and libdrm for the custom paths. Change-Id: I9f86b49f0a116bcee91ca15b6e77cfbb3867e290 --- gnu/packages/admin.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index fd2d10eeda..8a315ada64 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4282,18 +4282,29 @@ (define-public fastfetch (snippet '(begin (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) + (arguments + (list + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES" + "-DBINARY_LINK_TYPE=dynamic" + "-DBUILD_TESTS=ON" + "-DINSTALL_LICENSE=OFF" + (string-append "-DCUSTOM_PCI_IDS_PATH=" + #$(this-package-input "hwdata") + "/share/hwdata/pci.ids") + (string-append "-DCUSTOM_AMDGPU_IDS_PATH=" + #$(this-package-input "libdrm") + "share/libdrm/amdgpu.ids")))) (inputs (list dbus glib + hwdata imagemagick + libdrm libxcb mesa wayland yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments - (list #:tests? #f ; no test target - #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.45.2
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Wed, 18 Sep 2024 15:29:01 GMT) Full text and rfc822 format available.Message #68 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v5 1/5] gnu: Add yyjson. Date: Wed, 18 Sep 2024 15:27:07 +0000
* gnu/packages/c.scm (yyjson): New variable. Change-Id: Ica9ff2e1b6676aa8761eb33cbab76154f17e443f --- gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 62234d3c9a..435a70b7be 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1766,3 +1766,41 @@ (define-public pcg-c Linear Congruential Generator (LCG) with a permutation function to increase output randomness while retaining speed, simplicity, and conciseness.") (license (list license:expat license:asl2.0))))) ; dual licensed + +(define-public yyjson + (package + (name "yyjson") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ibireme/yyjson") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (arguments + (list + #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" + "-DYYJSON_BUILD_TESTS=ON"))) + (build-system cmake-build-system) + (home-page "https://github.com/ibireme/yyjson") + (synopsis "High performance JSON library written in ANSI C") + (description + "Yyjson is a high performance JSON library written in ANSI C. Some features include +@itemize +@item Fast: can read or write gigabytes per second JSON data on modern CPUs. +@item Portable: complies with ANSI C (C89) for cross-platform compatibility. +@item Strict: complies with RFC 8259 JSON standard, ensuring strict +number format and UTF-8 validation. +@item Extendable: offers options to allow comments, trailing commas, NaN/Inf, + and custom memory allocator. +@item Accuracy: can accurately read and write int64, uint64, and double numbers. +@item Flexible: supports unlimited JSON nesting levels, \u0000 characters, +and non null-terminated strings. +@item Manipulation: supports querying and modifying using JSON Pointer, +JSON Patch and JSON Merge Patch. +@item Developer-Friendly: easy integration with only one .h and one .c file. +@end itemize") + (license license:expat))) base-commit: 1b6ce1796abdf497f61f426d61339318f4f4f23d -- 2.46.0
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Wed, 18 Sep 2024 15:29:02 GMT) Full text and rfc822 format available.Message #71 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v5 4/5] gnu: yyjson: Update to 0.10.0. Date: Wed, 18 Sep 2024 15:27:10 +0000
* gnu/packages/c.scm (yyjson): Update to 0.10.0. Change-Id: Id8be82026eb0d102272b1128cce80a5609d309d0 --- gnu/packages/c.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 435a70b7be..c2bec93938 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1770,7 +1770,7 @@ (define-public pcg-c (define-public yyjson (package (name "yyjson") - (version "0.9.0") + (version "0.10.0") (source (origin (method git-fetch) @@ -1779,7 +1779,7 @@ (define-public yyjson (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (base32 "0kmzgs24v0rxlibg4qwlm6yplzs96pgxb1gyviijhkra9z7lx7ws")))) (arguments (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" -- 2.46.0
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Wed, 18 Sep 2024 15:29:02 GMT) Full text and rfc822 format available.Message #74 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v5 5/5] gnu: fastfetch: Update to 2.24.0. Date: Wed, 18 Sep 2024 15:27:11 +0000
Also add python-minimal to minify the help.json file at build time. * gnu/packages/admin.scm (fastfetch): Update to 2.24.0. [native-inputs]: Add python-minimal. Change-Id: I52d5cf244726bf4362f658f818094a483e3b3d01 --- gnu/packages/admin.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 2c47e43b4e..a2f9e7207a 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4284,7 +4284,7 @@ (define-public pfetch (define-public fastfetch (package (name "fastfetch") - (version "2.16.0") + (version "2.24.0") (source (origin (method git-fetch) @@ -4293,7 +4293,7 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (base32 "19hys66a2z0in1h2f653p1sffd5hgf91gayfak33a8p2jifpwwrj")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/3rdparty"))))) @@ -4320,7 +4320,7 @@ (define-public fastfetch wayland yyjson zlib)) ;for imagemagick and an #ifdef - (native-inputs (list pkg-config)) + (native-inputs (list pkg-config python-minimal)) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.46.0
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Wed, 18 Sep 2024 15:36:02 GMT) Full text and rfc822 format available.Message #77 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v5 2/5] gnu: fastfetch: Unbundle yyjson. Date: Wed, 18 Sep 2024 15:27:08 +0000
* gnu/packages/admin.scm (fastftech) [origin]: Add snippet to remove third party code. [#:configure-flags]: Add "-DENABLE_SYSTEM_YYJSON=YES" [inputs]: Add yyjson. Change-Id: I8175b8f4a8d55ff3b9d5fa4cb99f1fc1ad15fd97 --- gnu/packages/admin.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index d73f017912..29e8c38ef3 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4293,7 +4293,10 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")))) + (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) (inputs (list dbus glib @@ -4301,9 +4304,12 @@ (define-public fastfetch libxcb mesa wayland + yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments (list #:tests? #f)) ; no test target + (arguments + (list #:tests? #f ; no test target + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.46.0
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Wed, 18 Sep 2024 15:36:02 GMT) Full text and rfc822 format available.Message #80 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v5 3/5] gnu: fastfetch: Add more configure flags. Date: Wed, 18 Sep 2024 15:27:09 +0000
Most importantly the dependencies are now linked dynamically to avoid writing out a LD_LIBRARY_PATH wrapper. Also build the tests and skip installing the license file. Additionally provide custom paths to pci-ids and amdgpu-ids. * gnu/packages/admin.scm (fastfetch) (arguments): Move above inputs. [#:configure-flags]: Add -DBUILD_TESTS=ON, -DINSTALL_LICENSE=OFF, -DBINARY_LINK_TYPE=dynamic and set -DCUSTOM_PCI_IDS_PATH and -DCUSTOM_AMDGPU_IDS_PATH. [#:tests]: Remove as now there are tests available. [inputs]: Add hwdata and libdrm for the custom paths. Change-Id: I9f86b49f0a116bcee91ca15b6e77cfbb3867e290 --- gnu/packages/admin.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 29e8c38ef3..2c47e43b4e 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4298,18 +4298,29 @@ (define-public fastfetch (snippet '(begin (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) + (arguments + (list + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES" + "-DBINARY_LINK_TYPE=dynamic" + "-DBUILD_TESTS=ON" + "-DINSTALL_LICENSE=OFF" + (string-append "-DCUSTOM_PCI_IDS_PATH=" + #$(this-package-input "hwdata") + "/share/hwdata/pci.ids") + (string-append "-DCUSTOM_AMDGPU_IDS_PATH=" + #$(this-package-input "libdrm") + "share/libdrm/amdgpu.ids")))) (inputs (list dbus glib + hwdata imagemagick + libdrm libxcb mesa wayland yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments - (list #:tests? #f ; no test target - #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.46.0
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 19 Oct 2024 07:58:02 GMT) Full text and rfc822 format available.Message #83 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v6 1/5] gnu: Add yyjson. Date: Sat, 19 Oct 2024 07:56:36 +0000
* gnu/packages/c.scm (yyjson): New variable. Change-Id: Ica9ff2e1b6676aa8761eb33cbab76154f17e443f --- gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 13fdb99424..2e46b7a10d 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1764,3 +1764,41 @@ (define-public pcg-c Linear Congruential Generator (LCG) with a permutation function to increase output randomness while retaining speed, simplicity, and conciseness.") (license (list license:expat license:asl2.0))))) ; dual licensed + +(define-public yyjson + (package + (name "yyjson") + (version "0.9.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ibireme/yyjson") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (arguments + (list + #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" + "-DYYJSON_BUILD_TESTS=ON"))) + (build-system cmake-build-system) + (home-page "https://github.com/ibireme/yyjson") + (synopsis "High performance JSON library written in ANSI C") + (description + "Yyjson is a high performance JSON library written in ANSI C. Some features include +@itemize +@item Fast: can read or write gigabytes per second JSON data on modern CPUs. +@item Portable: complies with ANSI C (C89) for cross-platform compatibility. +@item Strict: complies with RFC 8259 JSON standard, ensuring strict +number format and UTF-8 validation. +@item Extendable: offers options to allow comments, trailing commas, NaN/Inf, + and custom memory allocator. +@item Accuracy: can accurately read and write int64, uint64, and double numbers. +@item Flexible: supports unlimited JSON nesting levels, \u0000 characters, +and non null-terminated strings. +@item Manipulation: supports querying and modifying using JSON Pointer, +JSON Patch and JSON Merge Patch. +@item Developer-Friendly: easy integration with only one .h and one .c file. +@end itemize") + (license license:expat))) base-commit: 48097f511929053468ce6f09e0a24644c90fe670 -- 2.46.0
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 19 Oct 2024 07:58:02 GMT) Full text and rfc822 format available.Message #86 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v6 2/5] gnu: fastfetch: Unbundle yyjson. Date: Sat, 19 Oct 2024 07:56:37 +0000
* gnu/packages/admin.scm (fastftech) [origin]: Add snippet to remove third party code. [#:configure-flags]: Add "-DENABLE_SYSTEM_YYJSON=ON" [inputs]: Add yyjson. Change-Id: I8175b8f4a8d55ff3b9d5fa4cb99f1fc1ad15fd97 --- gnu/packages/admin.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 2cb50ed4a8..bbea957a87 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4289,7 +4289,10 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")))) + (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (modules '((guix build utils))) + (snippet '(begin + (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) (inputs (list dbus glib @@ -4297,9 +4300,12 @@ (define-public fastfetch libxcb mesa wayland + yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments (list #:tests? #f)) ; no test target + (arguments + (list #:tests? #f ; no test target + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.46.0
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 19 Oct 2024 07:58:03 GMT) Full text and rfc822 format available.Message #89 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v6 3/5] gnu: fastfetch: Add more configure flags. Date: Sat, 19 Oct 2024 07:56:38 +0000
Most importantly the dependencies are now linked dynamically to avoid writing out a LD_LIBRARY_PATH wrapper. Also build the tests and skip installing the license file. Additionally provide custom paths to pci-ids and amdgpu-ids. * gnu/packages/admin.scm (fastfetch) (arguments): Move above inputs. [#:configure-flags]: Add -DBUILD_TESTS=ON, -DINSTALL_LICENSE=OFF, -DBINARY_LINK_TYPE=dynamic and set -DCUSTOM_PCI_IDS_PATH and -DCUSTOM_AMDGPU_IDS_PATH. [#:tests]: Remove as now there are tests available. [inputs]: Add hwdata and libdrm for the custom paths. Change-Id: I9f86b49f0a116bcee91ca15b6e77cfbb3867e290 --- gnu/packages/admin.scm | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index bbea957a87..ed6cd7de95 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4294,18 +4294,29 @@ (define-public fastfetch (snippet '(begin (delete-file-recursively "src/3rdparty"))))) (build-system cmake-build-system) + (arguments + (list + #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON" + "-DBINARY_LINK_TYPE=dynamic" + "-DBUILD_TESTS=ON" + "-DINSTALL_LICENSE=OFF" + (string-append "-DCUSTOM_PCI_IDS_PATH=" + #$(this-package-input "hwdata") + "/share/hwdata/pci.ids") + (string-append "-DCUSTOM_AMDGPU_IDS_PATH=" + #$(this-package-input "libdrm") + "share/libdrm/amdgpu.ids")))) (inputs (list dbus glib + hwdata imagemagick + libdrm libxcb mesa wayland yyjson zlib)) ;for imagemagick and an #ifdef (native-inputs (list pkg-config)) - (arguments - (list #:tests? #f ; no test target - #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON"))) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.46.0
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 19 Oct 2024 07:58:03 GMT) Full text and rfc822 format available.Message #92 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v6 4/5] gnu: yyjson: Update to 0.10.0. Date: Sat, 19 Oct 2024 07:56:39 +0000
* gnu/packages/c.scm (yyjson): Update to 0.10.0. Change-Id: Id8be82026eb0d102272b1128cce80a5609d309d0 --- gnu/packages/c.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm index 2e46b7a10d..2e368ad884 100644 --- a/gnu/packages/c.scm +++ b/gnu/packages/c.scm @@ -1768,7 +1768,7 @@ (define-public pcg-c (define-public yyjson (package (name "yyjson") - (version "0.9.0") + (version "0.10.0") (source (origin (method git-fetch) @@ -1777,7 +1777,7 @@ (define-public yyjson (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9")))) + (base32 "0kmzgs24v0rxlibg4qwlm6yplzs96pgxb1gyviijhkra9z7lx7ws")))) (arguments (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON" -- 2.46.0
guix-patches <at> gnu.org
:bug#71968
; Package guix-patches
.
(Sat, 19 Oct 2024 07:58:04 GMT) Full text and rfc822 format available.Message #95 received at 71968 <at> debbugs.gnu.org (full text, mbox):
From: Dariqq <dariqq <at> posteo.net> To: 71968 <at> debbugs.gnu.org Cc: Dariqq <dariqq <at> posteo.net> Subject: [PATCH v6 5/5] gnu: fastfetch: Update to 2.27.1. Date: Sat, 19 Oct 2024 07:56:40 +0000
Also add python-minimal to minify the help.json file at build time. Disable DIRECTX_HEADERS. * gnu/packages/admin.scm (fastfetch): Update to 2.27.1. [#:configure-flags]: Add ENABLE_DIRECTX_HEADERS=OFF [native-inputs]: Add python-minimal. Change-Id: I52d5cf244726bf4362f658f818094a483e3b3d01 --- gnu/packages/admin.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index ed6cd7de95..5b2c7f1a6f 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4280,7 +4280,7 @@ (define-public pfetch (define-public fastfetch (package (name "fastfetch") - (version "2.16.0") + (version "2.27.1") (source (origin (method git-fetch) @@ -4289,7 +4289,7 @@ (define-public fastfetch (commit version))) (file-name (git-file-name name version)) (sha256 - (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m")) + (base32 "07k9lch7av7146m81h36grnwgasfl4yiqs8lwm8f2v2ycfybmw1p")) (modules '((guix build utils))) (snippet '(begin (delete-file-recursively "src/3rdparty"))))) @@ -4300,6 +4300,7 @@ (define-public fastfetch "-DBINARY_LINK_TYPE=dynamic" "-DBUILD_TESTS=ON" "-DINSTALL_LICENSE=OFF" + "-DENABLE_DIRECTX_HEADERS=OFF" (string-append "-DCUSTOM_PCI_IDS_PATH=" #$(this-package-input "hwdata") "/share/hwdata/pci.ids") @@ -4316,7 +4317,7 @@ (define-public fastfetch wayland yyjson zlib)) ;for imagemagick and an #ifdef - (native-inputs (list pkg-config)) + (native-inputs (list pkg-config python-minimal)) (home-page "https://github.com/fastfetch-cli/fastfetch") (synopsis "Display system information in a stylized manner") (description -- 2.46.0
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.