From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WMhEHZThyma3FwEAqHPOHw:P1 (envelope-from ) for ; Sun, 25 Aug 2024 07:47:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WMhEHZThyma3FwEAqHPOHw (envelope-from ) for ; Sun, 25 Aug 2024 09:47:32 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ZiGWBajU; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=cb5OihND; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724572052; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZM7sJ34kR+h35OpJ5LV6H1Ot9P+au3RuhNK019p2Bj0=; b=YY9m3wzJDHg9SaUA/5S9VhKe9/vlJGLYzr60R29pNR6IIdlIabmxPj00lmLkxpf682q1Td LQZJJomP04g8hFf7f95TcQufeMZfFjmUB5sUW2Latz5i3K5gCY/fegzdTZSW4Xj6N1z/wq YSeOAM84OmkWFT1JQUfjGsXMv4mPNHnrB8/ghVuxe6lzotjxddxRIRS897HWMnvTIC7qPP iIXjqmLLZWXr9LD5B4/gWVrZrfhR4nhWig1j1zmn3zQ0LzPiWLp7JrZIf34Lq2MvGA3bOJ Tu+oBwa50+kK9BFpjItzrCr7mGEMgYYjhqCTpMa7Qp0fxTu9IwEuHKRNxZg5DQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=ZiGWBajU; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=cb5OihND; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (strict), DKIM not aligned (strict)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724572052; a=rsa-sha256; cv=none; b=attojU4X+RnBDlSoXKYlKR+IGhUjvIcG36ICUG+0h5WIll7yPT1u9mL1eWyQdMibyI9hs9 2pToG8c1oD1a8d6WdN1PPPZlefwq6hjmPGh8KM+M+XXrzMUxJQHtYGGmEB7pF08L7TgQjC vS/sB0oT3HWy3sSHD9AWBNmro1RzOvwDPdEHPqAMinHKwGUAkHINtoxaYAo4VF7UqOUn2d 9uwoOdT1rs1QDQuCPmWh/MDzZ/Nn/KcgH+WqlQDn9Ib5JRkwdbxffflx3OqpLwt0g7a3ZO Ib7WR3UNRdgwtW04iN1Bp3hW8An6NhDuUhF1XWJjmIgqUZEABEg/ICYLZBYl8w== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5810E746DC for ; Sun, 25 Aug 2024 09:47:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1si7y4-0005Sw-GW; Sun, 25 Aug 2024 03:47: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 1si7xy-0005RW-0w for guix-patches@gnu.org; Sun, 25 Aug 2024 03:47:14 -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 1si7xx-0008NT-MY for guix-patches@gnu.org; Sun, 25 Aug 2024 03:47:13 -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=ZM7sJ34kR+h35OpJ5LV6H1Ot9P+au3RuhNK019p2Bj0=; b=ZiGWBajUVtnaxGk2r+/URW3wyFkylFWgaOVOmmJDQLtxrCB1+S1O8rZpFUUdA7X/kZHiHhFiD8FeK1nnLKcdGt8Wi0P5IyUIwTA084YhPN8Escs5HHw238utsmCt33Vsz89ZnAthIW2PifAwjXglcUhyZqI3/TxAF4cc8lvpYqIpz5mpY5ZPM8ut7IjiwkKwdGOU1b5EIDM6X/D9Jl5I/OAxo+1SthMjokMC++euSPCUNmXxQOA28G94aRlfYSYA+3nR4d5Nbo21KgiHomm4gIW2X1eTi7w7oKr5v1nPvHRFtMCFt/BFCS8wIN49O10ntYj8eQt3tHesM86ZB2Ot5g==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1si7yl-00058u-8h for guix-patches@gnu.org; Sun, 25 Aug 2024 03:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v3 3/5] gnu: fastfetch: Add more configure flags. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Aug 2024 07:48: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.172457204819679 (code B ref 71968); Sun, 25 Aug 2024 07:48:03 +0000 Received: (at 71968) by debbugs.gnu.org; 25 Aug 2024 07:47:28 +0000 Received: from localhost ([127.0.0.1]:42233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1si7yC-00057K-8y for submit@debbugs.gnu.org; Sun, 25 Aug 2024 03:47:28 -0400 Received: from mout02.posteo.de ([185.67.36.66]:43213) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1si7y8-00056a-Bz for 71968@debbugs.gnu.org; Sun, 25 Aug 2024 03:47:24 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 80AFF240101 for <71968@debbugs.gnu.org>; Sun, 25 Aug 2024 09:46:28 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1724571988; bh=HltrQ3q+PZQElus7VBjxKMqus9bi5Ivi7BQJc9hDGB8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=cb5OihND8qI9WKEdDdtK/oar3Sn+/TzGAgTnFyIqHPys+S+ow3GK9FoaLf/OtoF22 kj97gJKYXrrCgX3+d5dN7rfqbmJFDESn4ftKgSktxJjZSegivbVOA8bz1ySBHbtEk4 P8PPmGnk4hRvs6TwQ2GTLuvoEz5t/n6REGBXBvEL9pbS8xn+LdhHs6yHIwKyQMdgfi ySfAK+9FjziteRZrZl48IswodZCRoNFAHqqeYKRoyE+AGsPsCfR/XrLfYBn+OfNojw KFVOtLoji2Kkg+5LHD2RiOywS3HykEpW3P3iLlbRBA8rWEASHKZy3s+DiNh45TtQJu NsPYJHu+qWpHg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ws5Tw0yPHz6tmv; Sun, 25 Aug 2024 09:46:28 +0200 (CEST) From: Dariqq Date: Sun, 25 Aug 2024 07:45:26 +0000 Message-ID: In-Reply-To: <7209dd72bc48dc788690a2ffacc30f938f7bd1a9.1724571928.git.dariqq@posteo.net> References: <7209dd72bc48dc788690a2ffacc30f938f7bd1a9.1724571928.git.dariqq@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -4.21 X-Migadu-Queue-Id: 5810E746DC X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.21 X-TUID: ZMrVELIshyXw 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