From patchwork Sat Oct 19 07:56:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 69103 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 4DF0427BBEA; Sat, 19 Oct 2024 08:58:03 +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_DNSWL_BLOCKED, 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 1260E27BBE2 for ; Sat, 19 Oct 2024 08:58:03 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t24LF-0000iy-31; Sat, 19 Oct 2024 03:57:41 -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 1t24LD-0000e8-NL for guix-patches@gnu.org; Sat, 19 Oct 2024 03:57:39 -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 1t24LD-000879-Dt for guix-patches@gnu.org; Sat, 19 Oct 2024 03:57:39 -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=wyo0BV3L5iAFDasd/sw8xv3EdG/ekkUs0ubCuMD66o8=; b=QMPORHNmUwMdpICsn/g938wTaOEKN2lIRcd5uhP3nJrF8i5rA2yVNgF6cO5N3NIDGA60wbXMFDpFU6h1wN95NrfIiTPrczMOj4rpOFd2aJNiEP3Pd/FkX89jro4ClJoQpGa1gmqxwG6vTCmt4oRuatR4G0aVGmbijfK90nk5t/SRNu0HxTd2xwnl6iIM2OTz0oJoWNXIGyiVw933hlr+KDYHKSQ+ENzhW2AR6rUdJz5N5xnbaVxkWZmhO54rV2OobjVyI5YNafs0NUEkcdpXt2QqP87w5sExeyo2+01rIVc1+Un2wDAadcQofArthkbBpudHwNgb/729/OpTOKopNA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t24La-00018c-Jf for guix-patches@gnu.org; Sat, 19 Oct 2024 03:58:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v6 2/5] gnu: fastfetch: Unbundle yyjson. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Oct 2024 07:58: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.17293246534288 (code B ref 71968); Sat, 19 Oct 2024 07:58:02 +0000 Received: (at 71968) by debbugs.gnu.org; 19 Oct 2024 07:57:33 +0000 Received: from localhost ([127.0.0.1]:41218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t24L6-000174-R9 for submit@debbugs.gnu.org; Sat, 19 Oct 2024 03:57:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:57045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t24L3-00016b-Ow for 71968@debbugs.gnu.org; Sat, 19 Oct 2024 03:57:30 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id B873F240027 for <71968@debbugs.gnu.org>; Sat, 19 Oct 2024 09:57:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1729324620; bh=Rl+O+NbczxEaGnQXCtAckgUGkOaed9J7IRL81gmclwo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=gIwI9UPkQsSmaEdqQjBP3hlHygC4xhlLeOGYOrwE7Ohv4nGevx0RapiXIRmS4KZXG yBBEcmf1hhY6rjxzDFGeBl/njty/FJAAeCCRdKmjpNSMG+zWi24R43ol1fRQosbt7u PWfe4GL/zZI5/7mYmmWprvcfvCubFKdgJ3EBdtUjkP4S9cvO8jOgysnxIXzc8YmiIr GmODc2kR4JLx+xbmzyS/0RTnsclEBx7nadG7/xmhVTNkQu1thQIOTw2l3J091z9moL 2USBGoXVxlqGGTthuDq57QIcSWw8gBGP4kCA2Mf6Jww44fTp5rcFGYKANpA1C9EXXm LwQMagznLS+nw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XVv6h2ggmz9rxD; Sat, 19 Oct 2024 09:57:00 +0200 (CEST) From: Dariqq Date: Sat, 19 Oct 2024 07:56:37 +0000 Message-ID: <67c7a01f7d5c1be6dba6a134dca28f416b453972.1729324600.git.dariqq@posteo.net> In-Reply-To: <0f29d3c61209681e684687686cf650e309aa63b8.1729324600.git.dariqq@posteo.net> References: <0f29d3c61209681e684687686cf650e309aa63b8.1729324600.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=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