From patchwork Tue Aug 27 15:18:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 67321 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 AF6C027BBE2; Tue, 27 Aug 2024 16:20:43 +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 3B73F27BBEA for ; Tue, 27 Aug 2024 16:20:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sixzY-0003ET-NI; Tue, 27 Aug 2024 11:20:22 -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 1sixzO-0003Bh-OB for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:13 -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 1sixzO-0001NT-E7 for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:10 -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=XKh/BWLzqKwaBr3pJCRda+fLWgjIMSlvgvSM0JQTG9g=; b=L52DY6tCIqypmz5J/JLUAcYvQ/vNNFI2zO0IkcGRG6S4NYIh0sxvDUgu71kCfzN/9Zp8G6kHbM3C8D+l5MjqcUGXWDcgsiiDocDdSc9Gvg4BAjKqJ5r6Lg6FCXIjsdoVRQ7htpPw1bA7aFSa4NxM5CujcVyVFhJ5BO86QwmnXCzno/+bGS1lwcoSR93rgayS0g8FFMRspmRv8HoHUsSCbkiqtLDznp+K3O/Jz02IF/T6FCpvX7BUQzjRJQ6imWphxG8aIJU34+xNY94vRZqvvRkjPksjwQAtc9CAwxfRlibEs6tNNuJ7Q8pOOBWLlBuQAjYncZV9jTHhnbzh3YVong==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siy0F-0007mb-50 for guix-patches@gnu.org; Tue, 27 Aug 2024 11:21:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v4 1/5] gnu: Add yyjson. References: In-Reply-To: Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Aug 2024 15:21:03 +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.172477202729816 (code B ref 71968); Tue, 27 Aug 2024 15:21:03 +0000 Received: (at 71968) by debbugs.gnu.org; 27 Aug 2024 15:20:27 +0000 Received: from localhost ([127.0.0.1]:47180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixzf-0007kk-7L for submit@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:27 -0400 Received: from mout01.posteo.de ([185.67.36.65]:34093) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixzb-0007jy-Lh for 71968@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9CC17240027 for <71968@debbugs.gnu.org>; Tue, 27 Aug 2024 17:19:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1724771964; bh=/sTtXEJhBlh8XNo+7iKF5V4x8ebX+JMbh0amx5dl2BI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=lgT2mGeYG3kYrpX5f1yTB2CzBodS6WrPS7MPmNC9cemSzplI+jAebpC23G7IKFeQN E6T0EChD0afkYtg1lRvA78pvie4ZitlUE8z5SXZFqcqHNpBmSYjp4ZDkYHdnhibOqZ vkzVzLPijXvC9tNj5mxpHmimIgjj30zKXnZpbdOLxEVJVVhDAzaRk0tn8QKgAx7E19 N6IVd2uAafPrvsku/cKL3dsD/3fkfp/voCzrqOlRKF47aq3mJ5zedx/oCw2WRv+1Kj 8apo/lCyUQK/zFepJzpk9vCzxYU5tT4i8mHkIaCGWVAva93mZEoD9opD7ThEtf2tFg 9FQGQBiwXaT7Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WtWRc0RPDz9rxK; Tue, 27 Aug 2024 17:19:23 +0200 (CEST) From: Dariqq Date: Tue, 27 Aug 2024 15:18:30 +0000 Message-ID: <78a863e4becfe0996e04c2aee08ac5b8afa900a0.1724771914.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: 1166035acb4e1b0dc61bf9122b68f2afa0c35790 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))) From patchwork Tue Aug 27 15:18:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 67322 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 014DF27BBE2; Tue, 27 Aug 2024 16:20:53 +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 2C21F27BBE9 for ; Tue, 27 Aug 2024 16:20:52 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sixzX-0003EA-1n; Tue, 27 Aug 2024 11:20:20 -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 1sixzO-0003Bg-Em for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:13 -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 1sixzN-0001NK-WB for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:10 -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=vMbgO1RVSxx18vVqobgNNZlk/gEBFKaTB+vNEBSzzLQ=; b=bexyUi8a8x405Ad8byJJGzoP3yXjM85583Yuih0sYFh4fG3KRfitDeV+65UgJSOnSDC96s5mF6lmKOumCsVzSiumiDJF5ShEgGpHEPeTW8SjLnXE+2rEU/73mrdrRr+rxKV0yDzmQJhPcxcl3drlCfCMHW/a6w5/2Z3nQyQhYQG4PZ56r+IRW4pq26U2Ew/3IsaDoFLkLEQT9SNszP7JM/jS18CFZN34a/9sEBctdmYKL9MZMgaAdCdlQsKQq8Q/2z5ZxotV6H+j+H8dr7I1FmV+gkcviJ/bN9aOjHrbcscWKw8NWo6TuNdHVcZ4tnp+oyaNObEeNR6iTGdDpa3/Uw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siy0E-0007mU-NI for guix-patches@gnu.org; Tue, 27 Aug 2024 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v4 2/5] gnu: fastfetch: Unbundle yyjson. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Aug 2024 15:21: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.172477202729809 (code B ref 71968); Tue, 27 Aug 2024 15:21:02 +0000 Received: (at 71968) by debbugs.gnu.org; 27 Aug 2024 15:20:27 +0000 Received: from localhost ([127.0.0.1]:47178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixze-0007ki-U5 for submit@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:27 -0400 Received: from mout02.posteo.de ([185.67.36.66]:47991) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixzc-0007jz-8C for 71968@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 484F5240104 for <71968@debbugs.gnu.org>; Tue, 27 Aug 2024 17:19:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1724771965; bh=wRlkYdI57RzUHSVXmOVOyWcrdnn1Wt3OPA/gFMOFJu4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=Gtd5Y2VUasOlG7pwlC5ZEJd03xl60xKn25IMhK8tju2sWtJrH7KtLjrFNNguUMXGw ZXJ+hIl8t/m2sq6H3FwcS8AyY40tJ5/Z52U1Yq4FQbJlOdZhl1cM9vZZC1F5Y/fMTr Q/dacDTYnuld0R11WyDdMmd+HnU+rix60K/b2oJEcMjFdekVmONVG/H3oZbvPNpo6i K69KJDKrD+Gr3bEjrgw++3B1jD6qu8rucdE0fkr3DcDInqSuBBRM4UKhcZ/v2m8lZq gBMeEgKZ9ViS/8FMTVrZtuqcRBM4gNWsnUGdBuzC7V+qsd7aQ58w6Bitpi8m1HhmjR FQlUoACXSEWkg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WtWRc5Dqdz9rxK; Tue, 27 Aug 2024 17:19:24 +0200 (CEST) From: Dariqq Date: Tue, 27 Aug 2024 15:18:31 +0000 Message-ID: <532053e6d3b7af67ece28f5ff37e2dd912873ecd.1724771914.git.dariqq@posteo.net> In-Reply-To: <78a863e4becfe0996e04c2aee08ac5b8afa900a0.1724771914.git.dariqq@posteo.net> References: <78a863e4becfe0996e04c2aee08ac5b8afa900a0.1724771914.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 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 From patchwork Tue Aug 27 15:18:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 67320 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 BAD1D27BBEC; Tue, 27 Aug 2024 16:20:42 +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 25FA027BBE2 for ; Tue, 27 Aug 2024 16:20:42 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sixzW-0003DL-3C; Tue, 27 Aug 2024 11:20:18 -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 1sixzQ-0003Bt-14 for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:13 -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 1sixzP-0001Ni-OI for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:11 -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=/82Ze6R8p/6atS7vmpVg+86JwhLr+4Vc/WCzsV0kMWU=; b=Kgsne65RccTs9rfXH1NXelmx1KPtXOd9oBHKKqNzwMlUCdAAzBHH3fZZsk9ctuhX2qyBCvMERBsVSSAEi1wly99/jh2oOgE2BDQS6XQ2TibHyIN8D5MlbSa0QU/iaxSDu+8upLpBm7qWZHnkXAOhzOdrYrs+Z8GYISzcfJLUwBDyS8iI3mN8liDKG2s2spxfe5SDi0BF7AxqbtviOws7U6tFVKb9Z2S8KhHAH+YoK0bU2axu42EE1lYPZ3sW61q3KRHsXh6DVrsQ1rSy1r4PhhTLOJ64t9H5NSiH+/F3EgjqPLCr8GRImhDrcnjndJAtBirqvoFWEYYcy053P7gOfQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siy0G-0007mz-F2 for guix-patches@gnu.org; Tue, 27 Aug 2024 11:21:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v4 3/5] gnu: fastfetch: Add more configure flags. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Aug 2024 15:21:04 +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.172477203429846 (code B ref 71968); Tue, 27 Aug 2024 15:21:04 +0000 Received: (at 71968) by debbugs.gnu.org; 27 Aug 2024 15:20:34 +0000 Received: from localhost ([127.0.0.1]:47186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixzm-0007lE-BF for submit@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:46459) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixzc-0007k3-O5 for 71968@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B9F5E240027 for <71968@debbugs.gnu.org>; Tue, 27 Aug 2024 17:19:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1724771965; bh=ovISxbWnyX5N93uwUxFQeiWMCgwgFaXZ9ntl6JgU+dE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=ddRfI3MLoE7YFemlY2+eRFA/xtLAtd0f5EGIpPoYzyxFtDrpJ83/D8opbrRvQqckZ A4hNqC8wkaAMK4bCZ7vZ4CIm+fSxqLMxTRMn4CSborATuP3ctYHW4Y7OiLLWBNXGXt 72V3Vq4eEp1CBahXgBG+Ml/+01Q70YwKPcrwOfE8g9A6OOM8jm49D9wkblsAECXFfe 7r39OzkTDpDcNA423xyryR2JjpYqHqAkNBB0yI7A0fINZTi+qFH3HQeiv8DVzvDtab htQ9iRpOVM4FlkGwRJ+BQDNm+bVHUD6JhSMDq5R5wvIpldafT248AIOBIgU03erbpM lVi6A+9bAFyiw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WtWRd16ZDz9rxP; Tue, 27 Aug 2024 17:19:25 +0200 (CEST) From: Dariqq Date: Tue, 27 Aug 2024 15:18:32 +0000 Message-ID: In-Reply-To: <78a863e4becfe0996e04c2aee08ac5b8afa900a0.1724771914.git.dariqq@posteo.net> References: <78a863e4becfe0996e04c2aee08ac5b8afa900a0.1724771914.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 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 From patchwork Tue Aug 27 15:18:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 67323 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 37EE027BBE9; Tue, 27 Aug 2024 16:20:58 +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 7A81927BBE2 for ; Tue, 27 Aug 2024 16:20:56 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sixzW-0003DO-C3; Tue, 27 Aug 2024 11:20:18 -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 1sixzP-0003Bi-4p for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:13 -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 1sixzO-0001NY-S3 for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:10 -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=M+eYt+4+sO2SBeR2tcfhW4+QyaY4yd3Y/c0aF3EoDb8=; b=aN07NgwEZFwCsLaP3w4nB0ZjSarhkNGRR6Cfq3piov7CBuF4ZKxjZ8XOciA3kz3ejZKHfpoJndyKx8whws6lJmDICaGbWVG9/sSPAW+QnSrwPxgHuJJtOdlenLVfSfxWL3KrpXSXXv2u9ae3Bb+0kBzzcLKAPBFRi9OeR+g+oeBux4rF/rKgnwrhBqqWBZ1DyC5RBq7QIIF3mjr1hXuunceHekh4qYbnGknIWeUdvMg9uHvRASv33treV/NHB8ako0xahU7zN+X4qV1f9SU5GBlb3NqSoQRQAfqvSRpRAoG6OWonz6mIh4fiZIlIorm5FoSgdH4WrU8wsebkM2g2ZA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siy0F-0007ml-JG for guix-patches@gnu.org; Tue, 27 Aug 2024 11:21:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v4 4/5] gnu: yyjson: Update to 0.10.0. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Aug 2024 15:21:03 +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.172477202829823 (code B ref 71968); Tue, 27 Aug 2024 15:21:03 +0000 Received: (at 71968) by debbugs.gnu.org; 27 Aug 2024 15:20:28 +0000 Received: from localhost ([127.0.0.1]:47182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixzf-0007kr-Lg for submit@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:27 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixzc-0007k2-Ic for 71968@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id EBB90240028 for <71968@debbugs.gnu.org>; Tue, 27 Aug 2024 17:19:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1724771966; bh=6rP45POxXViCksI0gRduGC3YfDwAXhSI7xByuMm2tGo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=cNenRkS0sa7PdlZHyoTjpcPTnRIO7uvhYc34YqUBQwDn5NuRPreiBF5+43RpAXAY+ Y7k3G3t8gFufmWwSyg+gqdjWmnLVzFdDCF0fKFY3SLj1N8+vIR/8B2K5EYQbR0DQnt NaN+au77Zz1s1UC7vkiR06Z/JVlMI0T+kPa6qW2LU9nZhESI/SW5d5dG7oBQlBYNY3 2WhB6IcrxstfqiIgo3LjecnFzLUZTKNyQh1ekXFDOiGQn43PUKdEtTEUmkWxrewVJx vbbRTmo0D+7pGz038HM2ODLzJLp4KJisWKm+UJKlasM+Djht8xWvFRjG3iRFZoNM3K LNnFWplm1VzHA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WtWRd48Cxz9rxP; Tue, 27 Aug 2024 17:19:25 +0200 (CEST) From: Dariqq Date: Tue, 27 Aug 2024 15:18:33 +0000 Message-ID: <1b93731a2081ff21ecf9c841a57c48586d118f9d.1724771914.git.dariqq@posteo.net> In-Reply-To: <78a863e4becfe0996e04c2aee08ac5b8afa900a0.1724771914.git.dariqq@posteo.net> References: <78a863e4becfe0996e04c2aee08ac5b8afa900a0.1724771914.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 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" From patchwork Tue Aug 27 15:18:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 67319 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 962E127BBEA; Tue, 27 Aug 2024 16:20:39 +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 B0C5327BBE2 for ; Tue, 27 Aug 2024 16:20:38 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sixzY-0003EU-NE; Tue, 27 Aug 2024 11:20:22 -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 1sixzP-0003Bq-M3 for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:13 -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 1sixzP-0001Nd-BB for guix-patches@gnu.org; Tue, 27 Aug 2024 11:20:11 -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=lHu91k22CPt3L3klGNUxT1zSY7kKGwdLegO/ceyuORE=; b=RIn64BjMZclh/x4r9rE9pOjRApq/3TJW67YBW5uqAoOFUtq6uFxfv6OjIRmAQ1nJy16B5oIWp3kTLXA3m2e24LqZwJt8Gj82HURoc+oVWkPc0H7qRNhLgB2m7offNkGSS4dVZmUx9XCaQAu5WTrwLZbHFW15RaRnA/yptuFWTvKPKIiVAP8Z6U92qEPpiNYDkzA+gfZolzyJ8te66gCcblzFtDDD/H726RjeyB8JnbOzTN8T6qmAtZn/MfgNfXhjt9nSUnYPLZ0idcTm7WDGtk7dAXOdcTeaJZII4yB/64qIDq7a1XOsIfqOstQ2erRaPJd4tw9UtI7EIBcDPfPldw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1siy0G-0007ms-2U for guix-patches@gnu.org; Tue, 27 Aug 2024 11:21:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v4 5/5] gnu: fastfetch: Update to 2.22.0. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Aug 2024 15:21:04 +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.172477203429839 (code B ref 71968); Tue, 27 Aug 2024 15:21:04 +0000 Received: (at 71968) by debbugs.gnu.org; 27 Aug 2024 15:20:34 +0000 Received: from localhost ([127.0.0.1]:47184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixzm-0007lC-0g for submit@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:45841) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sixzc-0007k4-RZ for 71968@debbugs.gnu.org; Tue, 27 Aug 2024 11:20:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7C8AB240028 for <71968@debbugs.gnu.org>; Tue, 27 Aug 2024 17:19:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1724771966; bh=SlPL+6NxLMSTbYtaexDzdttCcTerE/IF+wjWauhGJSQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=eoZetMFODnHWoAIoxqRevsP4H4RXEk4iB/NvJpVf9onX2RdJhcFI/GBkNjyDFJECX 8Tn0lVeITO6QNJWkCEREyBfkQgspV1QZ0KnRgiiioFK8aareAhHN9OjSl+cPPKVnAe MOpOr2t+lHqVGAfpyiJt6lnzQBq1FNgXS1tJ9CuvI/3V0baNicN1+9ZXJPyGhiKYHi /oAC5RwAJTZafVqom2Bostu1MFYijN9gR4/e1c/zrhaupKqJNM3PVa66B/dgfhbCvA lDkYAes6V0cpttu+Vzkpa8DrqkUW2Z2gzZosSVL8/1O7UBT39QqDxn/YKVSDt+KgDC yPCk19wggeGMA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WtWRf0jGZz9rxP; Tue, 27 Aug 2024 17:19:26 +0200 (CEST) From: Dariqq Date: Tue, 27 Aug 2024 15:18:34 +0000 Message-ID: <6c841c2b10e431365360ceb4b488cf4f9df3fc67.1724771914.git.dariqq@posteo.net> In-Reply-To: <78a863e4becfe0996e04c2aee08ac5b8afa900a0.1724771914.git.dariqq@posteo.net> References: <78a863e4becfe0996e04c2aee08ac5b8afa900a0.1724771914.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.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