From patchwork Wed Nov 20 08:32:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dariqq X-Patchwork-Id: 70600 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 03CA427BBEC; Wed, 20 Nov 2024 08:34:26 +0000 (GMT) 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 56A8327BBE9 for ; Wed, 20 Nov 2024 08:34:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDgA0-0005ja-0y; Wed, 20 Nov 2024 03:34:04 -0500 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 1tDg9y-0005ix-OJ for guix-patches@gnu.org; Wed, 20 Nov 2024 03:34:03 -0500 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 1tDg9y-0003D6-FZ for guix-patches@gnu.org; Wed, 20 Nov 2024 03:34:02 -0500 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=0Acp0jVTB07Q+jR+XUzrz82tUhnPG5LjRtkfR3DYLBg=; b=kEpNlUgl65gIWBMEUHtm4SKgaZ104BeKYo3S7d+gFR5wNeM3rQURNWvdQx93rtA6aOFyLzY55vFWTjZMTj0xEX0qtVoZ+oNWtzg5bdNgpkOLXX0t6yIzwqFQWc/80++u+cgjxw7tlPmoxg+yY0zfF4+kH3IUvYYuiBRe6LZoGZOT09Nw8dYYP04PXjPo9BKa5A+HbtijKN5Vl3+YRvKsp8SirFV8/RXL3uAuzAQHNFUaoJiY9cYmUvCwoQlCbdu+OiIO/Gxi/j/rDfSmp3WWUu5dJuWmINz+lP6Lv9X1wVgchyvMur/OjLF6Szytd+/hSDWjYwCxg73Q+0j476W0nA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDg9x-0007Un-UH; Wed, 20 Nov 2024 03:34:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#71968] [PATCH v7 3/3] gnu: fastfetch: Add more configure flags. Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Wed, 20 Nov 2024 08:34:01 +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 , Sharlatan Hellseher X-Debbugs-Original-Xcc: Sharlatan Hellseher Received: via spool by 71968-submit@debbugs.gnu.org id=B71968.173209159728718 (code B ref 71968); Wed, 20 Nov 2024 08:34:01 +0000 Received: (at 71968) by debbugs.gnu.org; 20 Nov 2024 08:33:17 +0000 Received: from localhost ([127.0.0.1]:45143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDg9E-0007T7-8V for submit@debbugs.gnu.org; Wed, 20 Nov 2024 03:33:16 -0500 Received: from mout01.posteo.de ([185.67.36.65]:39419) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDg9C-0007SZ-Ae for 71968@debbugs.gnu.org; Wed, 20 Nov 2024 03:33:15 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id E3FA2240027 for <71968@debbugs.gnu.org>; Wed, 20 Nov 2024 09:33:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1732091588; bh=skFkfMrSHuQ/kwR4hA/QWWdI5ZKfba3B8hRhenjenWg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=B7l7RJpx+Du0L7YDWir86O3CgiyCxcEgC9xDIQIdnO5QENDxlGh33ve5ZZQS5u0Xj aWW5TF3vOTmwLdUCm2zgELJGgauxOQdY+cSo3Tv4BGg5cxHZm2mhJFDJXjNxVUJbob j4I/jcSd6seewoOGmJ2UyDSkgM0RqT7Uz4g6VyHJk2/Dq1i4XqojOY3TBvgeBOw5Eh 9gb2aYeB6kPH6uRKZmxkW8Y6JXCyo/R16ohXwVcG9zH73jYwVYOrjCIBTce3DkHLon DJAPfdJtcCBOjI/nQp9UsBRSn6YGD/0WoWC0Ozhx//orFYpzRjn7PBDFCX3C4P2ZjM t4EergSp18njg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XtZPc3y79z6tsf; Wed, 20 Nov 2024 09:33:08 +0100 (CET) From: Dariqq Date: Wed, 20 Nov 2024 08:32:16 +0000 Message-ID: In-Reply-To: References: 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 Use dynamic linking for dependencies instead of dlopening them at runtime which requries a wrapper with LD_LIBRARY_PATH. Additionally provide custom paths to pci-ids and amdgpu-ids. * gnu/packages/admin.scm (fastfetch) [#:configure-flags]: Enable dynamic linking and disable directx-headers. Set custom paths to hwdata and libdrm. [inputs]: Add hwdata and libdrm for the custom paths. Change-Id: I9f86b49f0a116bcee91ca15b6e77cfbb3867e290 --- gnu/packages/admin.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 78c6e904b8..ca1deaf520 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -4325,10 +4325,20 @@ (define-public fastfetch (list #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=ON" "-DBUILD_TESTS=ON" - "-DINSTALL_LICENSE=OFF"))) + "-DINSTALL_LICENSE=OFF" + "-DBINARY_LINK_TYPE=dynamic" + "-DENABLE_DIRECTX_HEADERS=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