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 KGkvEuj3zWaADwEAe85BDQ:P1 (envelope-from ) for ; Tue, 27 Aug 2024 15:59:36 +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 KGkvEuj3zWaADwEAe85BDQ (envelope-from ) for ; Tue, 27 Aug 2024 17:59:36 +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=Kgsne65R; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ddRfI3ML; dmarc=fail reason="SPF not aligned (strict), DKIM 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=1724774346; 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=/82Ze6R8p/6atS7vmpVg+86JwhLr+4Vc/WCzsV0kMWU=; b=mNcFRbS5zMLUHlHQ7vQRzU+gjIubseDX6rlk846qjnifJ2zofabNlELDDSBaVzO4eY5sD/ QO7gxv0a52FLsFGD2TlNYHWy0kdPLBHnbF86UxUe4p7pF4deiIUnItArIi6wZ3UpO1qr+r K0CXC4ZqY0PINd+NIX6iRoe4UmVfMwvxpOnz6Hax9xzpk/5gSdpCVIcP72D+j5NE9HxQE5 jQ6AV57UP/7wy2YReFSdFLKyUmjfC3pMA8TGWBNh5szl+kXEjWk/f8B8R+R1zD1CzBH/Pu wlggNAN687fbeCwU/skQyGPoMjUEs8aWIk1rOPfcM93kgvZFbozu+7VPWg1GKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724774346; a=rsa-sha256; cv=none; b=U9G604Sqh1v7zRY/E92E5jvuiV1ZImRhu8rk7B/EbnRzOQYxPNQOFTiLIHLYJ2/vQNUk+I 3auHNGLc0KwtiFKYbPZG8tpPQSreZDM6rihJv9QrcnPiU7ybQqA9EB3RIJ23Y8wJxBLWwy NJvkXs8ptowbozG2VqgFPfknGpKy1U9KgWJTkxH9ATZ/Pcmf4x8hJd3zuTiKzVCOEkcG6P qxPstGMINDDWaJgbMWmoHtioXaBm1Qp3HDV9z8OO8dgLz2UUD/DV0+B4JtuEilRC1noyt3 erkARtTLFNRynMNwe/E5nR9AwsKG4uxD6nC2nGOOgATe3JawG0ZbaxkvuQpkUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Kgsne65R; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ddRfI3ML; dmarc=fail reason="SPF not aligned (strict), DKIM 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 0CCD76EAD3 for ; Tue, 27 Aug 2024 17:59:06 +0200 (CEST) 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 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: 0CCD76EAD3 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.11 X-Spam-Score: -9.11 X-TUID: 6PnqvqLPpxFW 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 -- 2.45.2