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 EHEjBhGfPWfiCQEAqHPOHw:P1 (envelope-from ) for ; Wed, 20 Nov 2024 08:34:25 +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 EHEjBhGfPWfiCQEAqHPOHw (envelope-from ) for ; Wed, 20 Nov 2024 09:34:25 +0100 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=kEpNlUgl; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=B7l7RJpx; 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-Seal: i=1; s=key1; d=yhetil.org; t=1732091664; a=rsa-sha256; cv=none; b=rBUPHona/W30RTFYZPOhtFKyB4aJsgBr4ZpfaKaMcGVBGn3fXkh6O1bOb5gT5X+QVK5BK3 qFvjtklPDgSb+/lWO7NMtw4BHKFB7l+2LaUyPp+uao+88daQOwKe/q6L9q/6HdmdzQMplw hCwmRmOBCMLIT62yf6vXD+kVbAo/VPQaIs18qfAAHPetCemGYumOathCYnsgS7I7Dmf5+7 P1fLmgwm9jwipSF6QFcdJ3uvMHlW+clSL95ymCbgp79F/3jUEr1NNeifnoIPMiGKvJKAcG uvLa9HAkMvkkHWeP81N+DqsUQVARGVEP+5aonAzzXZjCFIu6fWvuSPvJbLHg9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=kEpNlUgl; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=B7l7RJpx; 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=1732091664; 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=0Acp0jVTB07Q+jR+XUzrz82tUhnPG5LjRtkfR3DYLBg=; b=bUY0Zg1lVFEn7Ig/KkGKk6uwRK5otWoxAEG3nJBAn6SXV0FfEHf9yH2k4fQdkAOgwHzT9Z JYjDkscFHzMsfbXt++kfTOu3CJnKptqf/91/1ic2kl92E/XkfY7fYDDnVBDPkkukkgX5b/ t31bSjQP9SWd3R9aI09EyDfr8Tvkd0B9syQPIJjs+YnrcncX+OQHPpoO3Cmp7AAcLUk7p/ aZww9Dj8ifgH9Z4pVFwD2FtIfinAVJGIau+qk+SKTruTrQ86JwV366i6W5dCZvKmmoEs3M YNKXsA6RuNSZPzI4qfnKY5SJ1AW+Fw1T35mmmjaEt82NMwUK3MY2865g9ay7Gw== 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 448DD7DD7C for ; Wed, 20 Nov 2024 09:34:24 +0100 (CET) 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 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-Migadu-Spam-Score: -2.03 X-Spam-Score: -2.03 X-Migadu-Queue-Id: 448DD7DD7C X-Migadu-Scanner: mx10.migadu.com X-TUID: krZKOsNgaLo6 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 -- 2.46.0