From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CNYqH+6Bk2ZYXAEAe85BDQ:P1 (envelope-from ) for ; Sun, 14 Jul 2024 07:44:46 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CNYqH+6Bk2ZYXAEAe85BDQ (envelope-from ) for ; Sun, 14 Jul 2024 09:44:46 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=HksUQaGB; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1720943086; 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=gzTpQxOx5NMWzI6iOiRxrjARZQhUP6NI0mF/e2B/8TI=; b=YC8rg8AtNVnk/q3R7/eVsgObjJq41TOP3swBZGVQSnEvn4d9ptMvAFPnrsQJb6zxpQREjs vPBHHQU4RZ/3vX1tixUYDrNqXeejt8gF7nxIyieKBDgWXiunZUI82mg3b1xRuz61hwoCJ4 bskmYXwH25fZNVNQhWgF95O0061e3Ce0yqzw/bbUS1j2LyBnaMeWEubda6dETCI200hJwj +ow6z6nrW6/fcBz/air4F2AuPcZmy14J1q/yWM54gKK8xveF06gF6EoOmTOzEscDqREjIw HgKnH+qDpRKO9fsbKLE5xVfxzIGABIL3ETtR9lhqcD/2Q2eHFqHBphPvN8Tm1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1720943086; a=rsa-sha256; cv=none; b=ZXZoGrhjvn5gDKT1VXOmI09nnxtvqSENZ2z9tEivFDrVgUAELwQpAPkcZ5r0+3j7h2yDfy eVPwF9C9qKKbo4uOqYFVa458EP2g3rBOOPR4onmYMHzWtsEDfIwENxBINHBuC/mWxA11Jz M/c4BWXI9yE12xi74NKG31ANdoidjDa+FtbRhqIeJDY4f976gy+08DwT0Y39U4q6USWOca lZKaaYPMECxSb8J6+sEwkJ1CkahJKY0OLQBTRxdtTSHKxuhqdY/MxeCuKDbRh43KGDeYIS t0qFQ85ujVSnYqW3EAhmkLm70vbJCyZzSiebLduA3YIlSiMFbLSKXWq70ZwKvA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=HksUQaGB; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); 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" 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 6812A36A03 for ; Sun, 14 Jul 2024 09:44:45 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sStts-0007da-6z; Sun, 14 Jul 2024 03:44:04 -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 1sSttq-0007cT-9Z for guix-patches@gnu.org; Sun, 14 Jul 2024 03:44:02 -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 1sSttq-00035m-12 for guix-patches@gnu.org; Sun, 14 Jul 2024 03:44:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sSttr-0003ae-8R for guix-patches@gnu.org; Sun, 14 Jul 2024 03:44:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v2 3/5] gnu: fastfetch: Add more configure flags. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 14 Jul 2024 07:44: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.172094303113741 (code B ref 71968); Sun, 14 Jul 2024 07:44:03 +0000 Received: (at 71968) by debbugs.gnu.org; 14 Jul 2024 07:43:51 +0000 Received: from localhost ([127.0.0.1]:57080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sStte-0003ZY-VH for submit@debbugs.gnu.org; Sun, 14 Jul 2024 03:43:51 -0400 Received: from mout02.posteo.de ([185.67.36.66]:38491) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sStta-0003YZ-M7 for 71968@debbugs.gnu.org; Sun, 14 Jul 2024 03:43:47 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id AE52C240103 for <71968@debbugs.gnu.org>; Sun, 14 Jul 2024 09:43:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1720943019; bh=Mxuj8DDP6yb3MXsLrGWbsooi8bufdAMisxMqBqye9pI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=HksUQaGBikEsJaBbCaEKGnf9SYeIDEjD7DQ5jswCTVLum2QufiFZnCbOamBiJk2zH sSimhWPMKn3wRjHT7qGRV3cHRb1HteVJ73W4nf2ARS/9W+9+mnRQlx6iEEteGjd7KE 7ffkQFoa9aBPAUS5c5FhrBmOe359a2zNpWqLiMSRDlaKp5fi2QcGxKibdHTYY+CS4j LNmJIc3u7YY21v890P9+4neoIz3P/j5sdUH5FNS5m/9SAz4bWlvfO5NStu/MQsSv3W zBb63d+rnVASI8k5PNCGJnm47Zdc2pQJjCJGBjwE3hqVG7n/XWBCc6/T6VlOyiRbvb 9y1KBgEFPPWFQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WMHQ32GyDz6tn4; Sun, 14 Jul 2024 09:43:39 +0200 (CEST) From: Dariqq Date: Sun, 14 Jul 2024 07:42:54 +0000 Message-ID: <446b9098aa7f012c68629ca27b8d9435134ae953.1720942674.git.dariqq@posteo.net> In-Reply-To: References: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 6812A36A03 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.00 X-Spam-Score: -4.00 X-TUID: 3hjF7uYW+iHU 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 a9651b49d0..e97fe76a5a 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4280,18 +4280,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