From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id +D76NyRPdGaVkQAA62LTzQ:P1 (envelope-from ) for ; Thu, 20 Jun 2024 15:47:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id +D76NyRPdGaVkQAA62LTzQ (envelope-from ) for ; Thu, 20 Jun 2024 17:47:49 +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=MZQFlAoL; 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)" header.from=posteo.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1718898468; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=PXhKlXka7mpZQzlj5S8ziqdgk+ZuJDaOcbXO5tNArl8=; b=ABNfy1RysTVQ1cgX/Lo/WdsfuYOwNxOUKmSKYlMMWXPc2/7O0BMXtAZo7J+gtDZDK5jIWc /grs0Xc3PUa8O6iqlCuvonjCXw0iYmuhBMW3tCVD9HQB0/zucy1+Rhxf4wpbNV0qGLzPON o0N1D1Thp/2eL2qyVEOFmKMXVG5XgS/OLr7+FtHciU1yafma7ItnsmDGQiLoKknvYRwGHz ntdV70RkSy6hkhgdddFiuab4pLKZVlN5BXXje8hizzPdYify5gSxsYMN6Wq4ZgT85rl9Kp 6iq4RmHNlZko+FG3sgfOHBt4NZzhtWtPLA0BACCKlQDwSR6frKAIaLHj/SqrmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=MZQFlAoL; 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)" header.from=posteo.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1718898468; a=rsa-sha256; cv=none; b=ogzCm6yGrjk3sX3b6zkkVmnLl20WBNS6bCvEJX4wevgagsaTiZd2r5bzEguoegkJUFaRcx VulAVWRGA2vBLG3XqVxXqo2UxspChwPZ9nzkrwqVVtS5jG2HTW0zVeam8idWKGR9iQqRJ2 1uMH+pKHV2kNE76zJGtmnm7JsEJpucZrbS9WJYrBo6F0se24vBh3+TG2PlSRuoh8NjYDzx 4t/n8fZStlnzN+htf6XpdzQ/oQF0JOJOlkWGteSQII3lrrujMO7VRyV1WtcGsxum/Cy9S3 96knF56Xt41R9/u9stlho0jLXQFAH3xtChb2pxbiOi/mZfcZsC5HGtyfEnDsjg== 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 C2B763BB7E for ; Thu, 20 Jun 2024 17:47:48 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKK06-0002lx-Pq; Thu, 20 Jun 2024 11:47:02 -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 1sKK03-0002kl-0C for guix-patches@gnu.org; Thu, 20 Jun 2024 11:46:59 -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 1sKK02-0004Js-On for guix-patches@gnu.org; Thu, 20 Jun 2024 11:46:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKK06-0005O8-K1 for guix-patches@gnu.org; Thu, 20 Jun 2024 11:47:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#71659] [PATCH] gnu: Add fastfetch. References: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@freakingpenguin.com> In-Reply-To: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@freakingpenguin.com> Resent-From: Dariqq Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 20 Jun 2024 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71659 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: richard@freakingpenguin.com Cc: 71659@debbugs.gnu.org Received: via spool by 71659-submit@debbugs.gnu.org id=B71659.171889838420635 (code B ref 71659); Thu, 20 Jun 2024 15:47:02 +0000 Received: (at 71659) by debbugs.gnu.org; 20 Jun 2024 15:46:24 +0000 Received: from localhost ([127.0.0.1]:34006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKJzU-0005Mk-3i for submit@debbugs.gnu.org; Thu, 20 Jun 2024 11:46:24 -0400 Received: from mout01.posteo.de ([185.67.36.65]:38275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKJzH-0005Lg-3H for 71659@debbugs.gnu.org; Thu, 20 Jun 2024 11:46:21 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 7555724002A for <71659@debbugs.gnu.org>; Thu, 20 Jun 2024 17:45:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1718898360; bh=SFa/pFS/XMSObSWym3n6zNE6kmB8oUY+u7rvP4jSBQo=; h=Message-ID:Date:MIME-Version:From:Subject:To:Cc:Content-Type: Content-Transfer-Encoding:From; b=MZQFlAoL+eHza5PsVMNCAdCJYY4siyJ6pRdQLYIk5PLUgF6AIQYUUyMjTVl31dtGK DSPbo4GLPw9wG8gj1AAkiXNjyqebtE9asI2211sgZW2ouLM+sarK6mt6/R/EGcrRpq cc6E5N55XkFaol9NOHf/0Yqfkntzffc5BiZ7W2O1HMVrUCw8LHVfvUegGM1daQa+rI 1sBhdD0em09K6rouc2mv6YRj/X096b02ldnM/9l9tkhpZ5P6S94RkPfd8zAq01V7Dg S+eU94RrD7YiLr4GkW8FAEjU0TpcKM3yipeilXI+Ka+N660FwVU0voqSfjll6+L8le /jxNFJpB6qrSA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4W4lFf6Dwsz6tyQ; Thu, 20 Jun 2024 17:45:58 +0200 (CEST) Message-ID: <22c0522a-858c-48cc-91f6-c744d95af042@posteo.net> Date: Thu, 20 Jun 2024 15:45:54 +0000 MIME-Version: 1.0 From: Dariqq Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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-Queue-Id: C2B763BB7E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -5.46 X-Spam-Score: -5.46 X-TUID: N5YK3EDllRVV Hi Richard, Thanks for the patch. I've also been working on a package for fastfetch after I got the guix package detection into the upstream package but got a bit sidetracked by other things. Here is what I have in addition: - Removing the src/3rdparty dir with an origin snippet. This requires an extra package for yyjson which is very straightforward. - A lot more configure-flags similiar to the (waiting in newqueue) debian package: "-DBUILD_TESTS=ON" "-DINSTALL_LICENSE=OFF" "-DENABLE_SYSTEM_YYJSON=YES" "-DENABLE_PROPRIETARY_GPU_DRIVER_API=OFF" (string-append "-DCUSTOM_PCI_IDS_PATH=" #$(this-package-input "hwdata") "/share/hwdatay/pci.ids") (string-append "-DCUSTOM_AMDGPU_IDS_PATH=" #$(this-package-input "libdrm") "/share/libdrm/amdgpu.ids") - Enable the built tests - For LM detection with logind "/var/run/systemd/sessions/" is used, however on (my) guix system that directory does not exist but is at "/run/systemd/sessions/" instead. Currently i have an extra substitute* to fix this in src/detection/lm/lm_linux.c but this might worth reporting to upstream. I havent got around to do this yet. - Python as native input (to minify help.json) - Enabling more of the optional dependencies - The optional dependencies are dlopened at runtime. In order for fastfetch to find these I had to wrap fastfetch/flashfetch with LD_LIBRARY_PATH of the inputs. What do you think? Have a nice day, Dariqq