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