From patchwork Wed Sep 18 15:27:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 68111 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 04C4227BBE2; Wed, 18 Sep 2024 16:29:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C8A6727BBE9 for ; Wed, 18 Sep 2024 16:29:12 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqwbp-00059T-T5; Wed, 18 Sep 2024 11:28:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqwbm-00058u-01 for guix-patches@gnu.org; Wed, 18 Sep 2024 11:28:46 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqwbl-0005MS-NS for guix-patches@gnu.org; Wed, 18 Sep 2024 11:28:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=kQhTDF/AM/IeGpJHd3uNBRhkuXfosr7FUdg0Xv2aWdQ=; b=QOyb8+jkHTMWhxk32LQocSJDmlvqNaPa26xNmmohpNSv0G+FnF1+c8MyZ+rZskswvmliZYTHA/kBlizsfsTcE48xdNNAgWeEAVOmTaknMmT2gO90kck7whMC7suLdzzCvcTvrItBfRLjGvhH47/3Hhc4IKu+9IibpMKlzuXfYtkLjIV+vjJqj4NSH6NSxRSJ4c1VOIL/mDDmlLGeOGKrUAml8SYmDfBx6KD4X1nKzGKQXCWuPGDmy7vfHh6axVMxX9QNHKd+amjsFs+URnMdmVyksO+iSLoY4domIWw91ANGUN3EEmS01zmSKGJgLnxe1O2zDIcfBqVT9IlzpaLLsw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqwc1-0002yU-Lc for guix-patches@gnu.org; Wed, 18 Sep 2024 11:29:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v5 1/5] gnu: Add yyjson. References: In-Reply-To: Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Sep 2024 15:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71968 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71968@debbugs.gnu.org Cc: Dariqq Received: via spool by 71968-submit@debbugs.gnu.org id=B71968.172667330011331 (code B ref 71968); Wed, 18 Sep 2024 15:29:01 +0000 Received: (at 71968) by debbugs.gnu.org; 18 Sep 2024 15:28:20 +0000 Received: from localhost ([127.0.0.1]:59124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwbL-0002wg-TL for submit@debbugs.gnu.org; Wed, 18 Sep 2024 11:28:20 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwbH-0002w6-JN for 71968@debbugs.gnu.org; Wed, 18 Sep 2024 11:28:19 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 86A1B240027 for <71968@debbugs.gnu.org>; Wed, 18 Sep 2024 17:27:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726673273; bh=PLwre/wd0VFNjaNGAcmyd+73oxpD6lH767sPPN+ptag=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=eqlEF9sovupuzT3qbxzVYG0Bya4PMlQRATHLYnh79SlL/TIjJ5POxIoBenonlJxBS FuTcSv/Cj2GS3ebWZyM4imaSLAU/qrVYOX91Dfi1qf/gndwEhixYfTXERT96z0cYk1 bRRso9mHrXDZb4O8Y/u2KJdnBeG6NgGDBT1zsErKv02Ai/W2KUPVoRUd9M24Vig6r2 VrovpKmcHs+f0X2XNchCMpLqmvNbnT+qR3OJ4+f/q/nKdh2JOzs2uYHEA/a3LkOiLw Hp9D5bpEyVkX3rcBkWAw6iHJK+UEnMnSOS2kRav/XS6whjnhtGgS+bnpJ+id8tDU6/ SXn8jXBhqVRIQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X82bD4hQBz9rxR; Wed, 18 Sep 2024 17:27:52 +0200 (CEST) From: Dariqq Date: Wed, 18 Sep 2024 15:27:07 +0000 Message-ID: <507a634c0db389695c2df167beaf31d63a5ad403.1726673231.git.dariqq@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/c.scm (yyjson): New variable. Change-Id: Ica9ff2e1b6676aa8761eb33cbab76154f17e443f --- gnu/packages/c.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) base-commit: 1b6ce1796abdf497f61f426d61339318f4f4f23d 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))) From patchwork Wed Sep 18 15:27:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 68113 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6791627BBE9; Wed, 18 Sep 2024 16:36:04 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2C19027BBE2 for ; Wed, 18 Sep 2024 16:36:03 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqwid-00078d-Ge; Wed, 18 Sep 2024 11:35:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqwiY-00077p-Os for guix-patches@gnu.org; Wed, 18 Sep 2024 11:35:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqwiY-0006K3-F6 for guix-patches@gnu.org; Wed, 18 Sep 2024 11:35:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=K9DZ0eCVJuULw84PlEPvGHzZisyLICqqms/HBMBBGRE=; b=KKkhQbdptXeNgsjdVa91elOd8aRH2f4hVscmh7F6/SpKKfkyyp3Cmrr3EAbByA47SMSwMmlYESYuPeKp7tDOoXb4sn8Rh4QkA7VYxFt9F6CFpGyr7WpPVHwtdE2Q4GhYyNkMeJaHX0RxpSVoLVu8Ur0t07+DsjGx2wxg20tgW7wqDvwawS4zgPnch10bwa0krd/ayRetBQegtsLjxC1hafopLNd2vat2wDeCiPsHtIdGW7ezLW9Zjwn5LSc15Dv25SqsK8OXpwy1CHdfFtDA9S0JtS7ybzMfI9Ih7AUDIcTI2yE0WGsS2sgqf1Sbo7rWUQoc4tGLiEbYe/Sz5HYUpA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqwio-0003Vf-Fc for guix-patches@gnu.org; Wed, 18 Sep 2024 11:36:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v5 2/5] gnu: fastfetch: Unbundle yyjson. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Sep 2024 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71968 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71968@debbugs.gnu.org Cc: Dariqq Received: via spool by 71968-submit@debbugs.gnu.org id=B71968.172667373113398 (code B ref 71968); Wed, 18 Sep 2024 15:36:02 +0000 Received: (at 71968) by debbugs.gnu.org; 18 Sep 2024 15:35:31 +0000 Received: from localhost ([127.0.0.1]:59149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwiJ-0003U2-Dw for submit@debbugs.gnu.org; Wed, 18 Sep 2024 11:35:31 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40173) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwiH-0003Oi-8f for 71968@debbugs.gnu.org; Wed, 18 Sep 2024 11:35:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C4768240028 for <71968@debbugs.gnu.org>; Wed, 18 Sep 2024 17:35:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726673705; bh=HWouGi/NXzdxLvSL7WEQjJrJ3nTrpW5K/diVETFUW9g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=N1enPq/bQNJcR4+cxVm/WsAWJUrvm3KiO8V22JVA7RriLE0YXz7/7aCncw32VDnAd 0t1NkrOLnHMjXHEjGplutBGS7kRK/hAjrqj8stNvpvM1vX4dvUTmdPK02Yx9i1iWKG /C0k6MZNyEapQ5E4h7hdH4FupU85BvtCU0hJiMiUtpI77RLxNdA0rcqs8cNoP4xTyc KY9WT4fLpiluYz7xWS0MNj6CCZboegFljN2ekg2UC7eIppHvGSk9ovt2Beo5Qsn0Gw 0xvFpZq4l0o3vDQWYNWKxnFmlNqlo9PAccolTLE8517KcDslinD0muD/f+GwylpG1Y OKejmasZUQTkw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X82bJ6txwz9rxN; Wed, 18 Sep 2024 17:27:56 +0200 (CEST) From: Dariqq Date: Wed, 18 Sep 2024 15:27:08 +0000 Message-ID: <3e279b05eba2c4a1a913c1afbb5c981f16763ab8.1726673231.git.dariqq@posteo.net> In-Reply-To: <507a634c0db389695c2df167beaf31d63a5ad403.1726673231.git.dariqq@posteo.net> References: <507a634c0db389695c2df167beaf31d63a5ad403.1726673231.git.dariqq@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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 From patchwork Wed Sep 18 15:27:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 68114 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id EDFA127BBEA; Wed, 18 Sep 2024 16:36:07 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A729327BBE2 for ; Wed, 18 Sep 2024 16:36:07 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqwie-00078q-8M; Wed, 18 Sep 2024 11:35:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqwia-000785-Bg for guix-patches@gnu.org; Wed, 18 Sep 2024 11:35:48 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqwiY-0006K8-Rj for guix-patches@gnu.org; Wed, 18 Sep 2024 11:35:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=jDYRkk1Ze/6FGF3pnjz4/LgFJe4Ow4hHGpINEcAgI7M=; b=oeh86eMfE/iTNvZhEgV6Wa9+C2KQM8JZ0aVFonUHnwNczJsNqtpqUhf94rY1LMR5YNykLCv6oPHPF41XO3T0nuAlJ0BJJnqCa8UhUUSCkf9AuGsua/Mf5Fi8cYJm95xDRlqF/E35U74ZsIHopqCGhjXn46GvYoCSNKSp1ZuWQIUmlT3MA7SGDrkPNgHLVKbn9nR197ygrD47+MwgCL6jYLNgeUeu3QOaJSvMvxvfGiDDYbj41+QJn5bZ2bEAyQg21s7IoCy1PjSLE9EVz+JkY1+SU1Ui+X9R4dNT3HxCBRMlbXopRVQZkHyd/VkCdM2pYOr7xul1hKNUZY2FU1OHVg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqwip-0003Vm-0H for guix-patches@gnu.org; Wed, 18 Sep 2024 11:36:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v5 3/5] gnu: fastfetch: Add more configure flags. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Sep 2024 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71968 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71968@debbugs.gnu.org Cc: Dariqq Received: via spool by 71968-submit@debbugs.gnu.org id=B71968.172667373513413 (code B ref 71968); Wed, 18 Sep 2024 15:36:02 +0000 Received: (at 71968) by debbugs.gnu.org; 18 Sep 2024 15:35:35 +0000 Received: from localhost ([127.0.0.1]:59151 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwiM-0003UH-PK for submit@debbugs.gnu.org; Wed, 18 Sep 2024 11:35:35 -0400 Received: from mout01.posteo.de ([185.67.36.65]:33133) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwiG-0003Oj-Cl for 71968@debbugs.gnu.org; Wed, 18 Sep 2024 11:35:32 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 2F7DF24002E for <71968@debbugs.gnu.org>; Wed, 18 Sep 2024 17:35:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726673706; bh=KLNsQu6Gju7QfNyEbJaZ3iWpRbH7Pq8VoKTADvcEQ30=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=FDc1C+4cLnC3Ik1oypBsehVBWmWEBm83O1tlNrR7tW9B/QbSbfXv3St4VXEmTZWQP umPUBK3LP60KtOg3l1JesonQBlQnHQ4E3ibDRYXpywPjkITFAeX9lXj5YHR1O1czsB Wai9tmC1ail2gpDq+yC8N13/05IxzmSkY1tA3dGbYaycddCMF6mNM/z6Y9VQ0BurzO xfPh04bfkoPR8UkAcgUZzk0iM1GFWihDKXHmAJRNRnaebsE4N/JASb2l7e7KmC7EeD JpK43h0HhjAMpBJ2fOPt3iRv/W8x/QdAUo23z6lfb2Fm3dRFXu+s9Vwq+PhfSU5Gn5 QyojWk3gEHUtA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X82bM05ZWz9rxG; Wed, 18 Sep 2024 17:27:58 +0200 (CEST) From: Dariqq Date: Wed, 18 Sep 2024 15:27:09 +0000 Message-ID: In-Reply-To: <507a634c0db389695c2df167beaf31d63a5ad403.1726673231.git.dariqq@posteo.net> References: <507a634c0db389695c2df167beaf31d63a5ad403.1726673231.git.dariqq@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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 From patchwork Wed Sep 18 15:27:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 68112 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4561227BBEA; Wed, 18 Sep 2024 16:29:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 0948027BBE2 for ; Wed, 18 Sep 2024 16:29:15 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqwbp-00059M-9u; Wed, 18 Sep 2024 11:28:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqwbm-00058x-5o for guix-patches@gnu.org; Wed, 18 Sep 2024 11:28:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqwbl-0005MX-Sr for guix-patches@gnu.org; Wed, 18 Sep 2024 11:28:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=ahg64+XmoatjtdMTLigfIY1BeSTiZlhr4hZbY2psBLY=; b=H/ilGW82YRYF+eEOsKPwArTrY/BSqFfiebjC8pLl53D0wb0pK2p9rO/IPU2Xog9tsvaWuWwGqsrg/2rmzt5QxeLDx7OGxR1yuJOuyp41/Hdk9ssewMLaUx4aM1wv6X3RlLIpLKdtc6Ps+CS2xsGkngXkmrhdfPSIVvJqhPkQRO0NIAwBLeGsBeVZ9EYlndtcz0FQ/Fg9AdeP2JGPYJSLnEIiQmgoXVQB6keGLbsMyTCEv9piItF+OjI2tvRh4PiPk/DYh6Z1JwDv75f6PyG8SAkkMZl1+2X2gu98CgmD9UDPPgKxzztW7nsHPo16Lk665mIDZZFoSynidqFHHauCbA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqwc2-0002yb-1U for guix-patches@gnu.org; Wed, 18 Sep 2024 11:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v5 4/5] gnu: yyjson: Update to 0.10.0. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Sep 2024 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71968 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71968@debbugs.gnu.org Cc: Dariqq Received: via spool by 71968-submit@debbugs.gnu.org id=B71968.172667330411356 (code B ref 71968); Wed, 18 Sep 2024 15:29:02 +0000 Received: (at 71968) by debbugs.gnu.org; 18 Sep 2024 15:28:24 +0000 Received: from localhost ([127.0.0.1]:59128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwbQ-0002x5-AC for submit@debbugs.gnu.org; Wed, 18 Sep 2024 11:28:24 -0400 Received: from mout01.posteo.de ([185.67.36.65]:40575) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwbO-0002wT-RN for 71968@debbugs.gnu.org; Wed, 18 Sep 2024 11:28:23 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 15C7D240028 for <71968@debbugs.gnu.org>; Wed, 18 Sep 2024 17:28:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726673281; bh=eeL+miSNt7Z3INmb2c0P8oBwe/ZR4dLDSFpdv3XjEzI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=obM0wwsqYnwTAvOwvQZifyFvzDnn0/Ez7GrxHaK30LV93b21M3jBAm2xwo04dDIq8 tHQDST83fkTFgmx301hEH5xNkx21IaU4tfan5kw9AH7JUEO1uxBHLQ/DMmNPHFzA0h bqarzi76V5TMcnfe2b+in/EPeQdAvy5cjhAZeMClgRm4ZfJeobNQDuKBYMYW2RsPyH s1n+bUI8RmQawCU3UF+sAdwvseGe8N2PmAvfhxu9gY8fpK/wXKqZJEo01Ucvh6PlSX aqJBjWNeZ2x0sKu2bWQvHF3GoTZ+Tp7TkLIUBt3z36bZESVTc2HipUTw4hWUOMPXQi RT6mQy+Wee72w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X82bN4fvvz9rxG; Wed, 18 Sep 2024 17:28:00 +0200 (CEST) From: Dariqq Date: Wed, 18 Sep 2024 15:27:10 +0000 Message-ID: In-Reply-To: <507a634c0db389695c2df167beaf31d63a5ad403.1726673231.git.dariqq@posteo.net> References: <507a634c0db389695c2df167beaf31d63a5ad403.1726673231.git.dariqq@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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" From patchwork Wed Sep 18 15:27:11 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 68110 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 4759F27BBEA; Wed, 18 Sep 2024 16:29:11 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_VALIDITY_CERTIFIED, RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7718627BBE2 for ; Wed, 18 Sep 2024 16:29:10 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqwbq-00059j-7C; Wed, 18 Sep 2024 11:28:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqwbm-000594-LV for guix-patches@gnu.org; Wed, 18 Sep 2024 11:28:47 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqwbm-0005Me-CA for guix-patches@gnu.org; Wed, 18 Sep 2024 11:28:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=sZTRnDbGPGusmJfi/QsRRk2mbkgHXpepWAhYuTWYV70=; b=hYSBREB54x2/8D7udlM2dSK2bL/vMJ3Qlbk99Kmi9qrIWjLzM/Y47ZyMUS6snIdGhBjzPq3rmk7gK/T8Y0mp963Izt+c9aTGWnLkxJg/9uwesZMWYKEoOrzcONgUX6M97kIt8ZhBV0cjV0tqMZh9lUZmeXVlYVdGS4PPeHqids7J1ajjOfdDvl5TMSMIy11vGlXcoRk9TqeZTq2ZPNzOaw1hCI3/uzDKg6uQ6cs+zS84pwmnMdAxR0xboj0sURYG/I/H4XmEiS+NCluhuQjZVUNugZkS1nq5+7HaGJg8rH+UIKqwDWTESkvLkLbpr/SBO70llTKIIcZ7GWDoS11SaA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqwc2-0002yj-HD for guix-patches@gnu.org; Wed, 18 Sep 2024 11:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v5 5/5] gnu: fastfetch: Update to 2.24.0. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 18 Sep 2024 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71968 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 71968@debbugs.gnu.org Cc: Dariqq Received: via spool by 71968-submit@debbugs.gnu.org id=B71968.172667330711371 (code B ref 71968); Wed, 18 Sep 2024 15:29:02 +0000 Received: (at 71968) by debbugs.gnu.org; 18 Sep 2024 15:28:27 +0000 Received: from localhost ([127.0.0.1]:59132 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwbS-0002xK-Ky for submit@debbugs.gnu.org; Wed, 18 Sep 2024 11:28:26 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34417) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqwbQ-0002wf-RI for 71968@debbugs.gnu.org; Wed, 18 Sep 2024 11:28:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 302C4240027 for <71968@debbugs.gnu.org>; Wed, 18 Sep 2024 17:28:03 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1726673283; bh=OVaiT937H8Ht+ZK+NEaFyYx8AH/kLL4ojkDnJdDPx5c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=cteZA1aRlXM75BDwROPqKk1KUSUfl/AVQS7LAsyJHxPCgVr6VwVUrPBLNC+3Cy1dc bnzKbIN+sVjT/VN+SChSq835ErLEDip54aBKxYU5WzIp11tsP8bTyKfc65Wa7/f5n/ WRkL6o2RngPf7oFpyPPwj2owQEmDRCUe5ZvKPngKqBo0o3w24AhvhOtTHq/z88NCFc GJQZnBq2SEUcZMkeZ/X98MTFzcXJoGm4oi7Ax3O4hNc19kRp2AXi38vld36WQecI5s aUFbzeOSK+sbVfnCileU7A8Y9Uu7gOL65tCOspNpmEKFH8sEKWFT67D6iROLezDQA9 /k/H2swcOOsaA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4X82bQ5WkZz9rxL; Wed, 18 Sep 2024 17:28:02 +0200 (CEST) From: Dariqq Date: Wed, 18 Sep 2024 15:27:11 +0000 Message-ID: <6b90849881fe2e4801b74753c6e1a931ef88f8d0.1726673231.git.dariqq@posteo.net> In-Reply-To: <507a634c0db389695c2df167beaf31d63a5ad403.1726673231.git.dariqq@posteo.net> References: <507a634c0db389695c2df167beaf31d63a5ad403.1726673231.git.dariqq@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches 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