GNU logs - #71659, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#71659] [PATCH] gnu: Add fastfetch.
Resent-From: Richard Sent <richard@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 20 Jun 2024 02:34:02 +0000
Resent-Message-ID: <handler.71659.B.171885081616308 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 71659
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 71659 <at> debbugs.gnu.org
Cc: Richard Sent <richard@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.171885081616308
          (code B ref -1); Thu, 20 Jun 2024 02:34:02 +0000
Received: (at submit) by debbugs.gnu.org; 20 Jun 2024 02:33:36 +0000
Received: from localhost ([127.0.0.1]:39757 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sK7cG-0004Ey-2x
	for submit <at> debbugs.gnu.org; Wed, 19 Jun 2024 22:33:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:42674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <richard@HIDDEN>) id 1sK7cD-0004Ep-RG
 for submit <at> debbugs.gnu.org; Wed, 19 Jun 2024 22:33:34 -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 <richard@HIDDEN>)
 id 1sK7c9-0007Bz-Sj
 for guix-patches@HIDDEN; Wed, 19 Jun 2024 22:33:29 -0400
Received: from mail-108-mta254.mxroute.com ([136.175.108.254])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <richard@HIDDEN>)
 id 1sK7c7-0004G0-Uy
 for guix-patches@HIDDEN; Wed, 19 Jun 2024 22:33:29 -0400
Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com)
 (Authenticated sender: mN4UYu2MZsgR)
 by mail-108-mta254.mxroute.com (ZoneMTA) with ESMTPSA id
 190337dcdb200017a3.001 for <guix-patches@HIDDEN>
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Thu, 20 Jun 2024 02:33:21 +0000
X-Zone-Loop: bd2aeef45326d265ed62c52cf3914557d9111978dd60
X-Originating-IP: [136.175.111.3]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:Content-Type:
 MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=wVFzANWdhS6n4llqYsL+lDaux7+judA5xpU+GrXzswc=; b=rmflUAzg6zHtrEE8eEur6eDsre
 ZHSVBrEmFBAHK4ynjeP/tsukNH/NsQDtyNHU48fpNOxwzwLqRO33sV8SjotA/QaJ5te491ZDnmlU5
 z805XqSx5aWyw4H12cxYJyygOTxPNm2YcRRJwivmC/zOqu+9WBiaXKCsYPtfXmRCfBwUuiB0lYd7i
 4QbzOTke2LtRViVubyulgJ9xgQHgMT128EmjG6YJ+OU+iQqCt5oyrFoFVB8+1kvDTXZoYTugX58YC
 GgduDs85bZkohf+Zm3PLVbi+IOMBv87vETUKLG2WLwD3UfoRF2a5zXWC2+UVyVxwIehlcv2VQz3Xe
 nY+8vtig==;
From: Richard Sent <richard@HIDDEN>
Date: Wed, 19 Jun 2024 22:33:00 -0400
Message-ID: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Authenticated-Id: richard@HIDDEN
Received-SPF: pass client-ip=136.175.108.254;
 envelope-from=richard@HIDDEN; helo=mail-108-mta254.mxroute.com
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,
 DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* gnu/packages/admin.scm (fastfetch): New variable.

Change-Id: I2c8489f0773254b0e9e631c55bf016adb7c6e89b
---
 gnu/packages/admin.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 212c2b3715..c7247b9e73 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin@HIDDEN>
 ;;; Copyright © 2024 dan <i@HIDDEN>
 ;;; Copyright © 2024 gemmaro <gemmaro.dev@HIDDEN>
+;;; Copyright © 2024 Richard Sent <richard@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4261,6 +4262,39 @@ (define-public pfetch
 information tool.")
       (license license:expat))))
 
+(define-public fastfetch
+  (package
+    (name "fastfetch")
+    (version "2.16.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fastfetch-cli/fastfetch")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m"))))
+    (build-system cmake-build-system)
+    (inputs (list dbus
+                  glib
+                  imagemagick
+                  libxcb
+                  mesa
+                  wayland
+                  zlib)) ;for imagemagick and an #ifdef
+    (native-inputs (list pkg-config))
+    (arguments
+     (list
+      #:tests? #f))
+    (home-page "https://github.com/fastfetch-cli/fastfetch")
+    (synopsis "Display system information in a stylized manner")
+    (description
+     "Fastfetch is a tool for fetching system information and displaying it in
+a stylized way.  Fastfetch displays this information next to a logo of the
+system distribution, akin to many similar tools.")
+    (license license:expat)))
+
 (define-public nnn
   (package
     (name "nnn")

base-commit: e32e3d0a03dc17c4c54a91aad053c9036998b601
-- 
2.45.1





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Richard Sent <richard@HIDDEN>
Subject: bug#71659: Acknowledgement ([PATCH] gnu: Add fastfetch.)
Message-ID: <handler.71659.B.171885081616308.ack <at> debbugs.gnu.org>
References: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
X-Gnu-PR-Message: ack 71659
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 71659 <at> debbugs.gnu.org
Date: Thu, 20 Jun 2024 02:34:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 71659 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
71659: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71659
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#71659] [PATCH] gnu: Add fastfetch.
References: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
In-Reply-To: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
Resent-From: Dariqq <dariqq@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 20 Jun 2024 15:47:02 +0000
Resent-Message-ID: <handler.71659.B71659.171889838420635 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71659
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: richard@HIDDEN
Cc: 71659 <at> debbugs.gnu.org
Received: via spool by 71659-submit <at> 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 <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sKJzU-0005Mk-3i
	for submit <at> 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 <dariqq@HIDDEN>) id 1sKJzH-0005Lg-3H
 for 71659 <at> 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 <at> 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@HIDDEN>
Date: Thu, 20 Jun 2024 15:45:54 +0000
MIME-Version: 1.0
From: Dariqq <dariqq@HIDDEN>
Content-Language: en-US
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

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




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#71659] [PATCH] gnu: Add fastfetch.
Resent-From: Richard Sent <richard@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 20 Jun 2024 16:00:02 +0000
Resent-Message-ID: <handler.71659.B71659.171889919122292 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71659
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Dariqq <dariqq@HIDDEN>
Cc: 71659 <at> debbugs.gnu.org
Received: via spool by 71659-submit <at> debbugs.gnu.org id=B71659.171889919122292
          (code B ref 71659); Thu, 20 Jun 2024 16:00:02 +0000
Received: (at 71659) by debbugs.gnu.org; 20 Jun 2024 15:59:51 +0000
Received: from localhost ([127.0.0.1]:34483 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sKKCU-0005nT-SD
	for submit <at> debbugs.gnu.org; Thu, 20 Jun 2024 11:59:51 -0400
Received: from mail-108-mta5.mxroute.com ([136.175.108.5]:41327)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <richard@HIDDEN>) id 1sKKCR-0005nE-Jy
 for 71659 <at> debbugs.gnu.org; Thu, 20 Jun 2024 11:59:48 -0400
Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com)
 (Authenticated sender: mN4UYu2MZsgR)
 by mail-108-mta5.mxroute.com (ZoneMTA) with ESMTPSA id 190366000c900017a3.001
 for <71659 <at> debbugs.gnu.org>
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Thu, 20 Jun 2024 15:59:39 +0000
X-Zone-Loop: 13b235042a6e4fbf07a259709ec712751991c1fa1dea
X-Originating-IP: [136.175.111.3]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=freakingpenguin.com; s=x; h=Content-Type:MIME-Version:Message-ID:Date:
 References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:
 Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:
 Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:
 List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=K9O60Smvswc5Zeg3EZuAIjjpBhDa/T7tK2nqyru5H94=; b=Qb5+gkd1qXULxMTIRopzjTvn8z
 wlfMrjVUcZFsT5LE9oKW7wJ7wKcvYKVu9jCDh55+Qi8pVqPuy58BMNyDpx0F+M+ISfU89AUizW74N
 MrsHQePLYpERlqtiW5ZhgXgiYl5jYcNGU29vrXGKzfb1IECoIoNEJLSWQA4wnBpx/tdjUpDmEveYD
 SN3S3x44K78vJ434IuvUomc0sqkXoBjd8exMPvLONkmj9JAY3nFlKP1x2o9i1K4vQhXfyfCMpq05o
 JP0uSmsimFlzv6HJCNIp+4U7imO3qYibWBjFj3CHDimw7xzXVSu+Ub4hIpskPKEzwEJvI/Xa71nbw
 f4uyjUnQ==;
From: Richard Sent <richard@HIDDEN>
In-Reply-To: <22c0522a-858c-48cc-91f6-c744d95af042@HIDDEN>
 (dariqq@HIDDEN's message of "Thu, 20 Jun 2024 15:45:54 +0000")
References: <22c0522a-858c-48cc-91f6-c744d95af042@HIDDEN>
Date: Thu, 20 Jun 2024 11:59:34 -0400
Message-ID: <87r0crr4ex.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Authenticated-Id: richard@HIDDEN
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Dariqq,

Dariqq <dariqq@HIDDEN> writes:

> - 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.

As implemented would this hurt fastfetch's login manager detection on
foreign distros? If so I think reporting to upstream would be ideal.

> Thoughts?

Sounds like yours is a lot more complete. I think it is best to merge
your version. What else is left to do? Is there anything I can help
with?

-- 
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#71659] [PATCH] gnu: Add fastfetch.
Resent-From: Dariqq <dariqq@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 20 Jun 2024 18:02:01 +0000
Resent-Message-ID: <handler.71659.B71659.171890646416982 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71659
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Richard Sent <richard@HIDDEN>
Cc: 71659 <at> debbugs.gnu.org
Received: via spool by 71659-submit <at> debbugs.gnu.org id=B71659.171890646416982
          (code B ref 71659); Thu, 20 Jun 2024 18:02:01 +0000
Received: (at 71659) by debbugs.gnu.org; 20 Jun 2024 18:01:04 +0000
Received: from localhost ([127.0.0.1]:38697 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sKM5n-0004Pp-Of
	for submit <at> debbugs.gnu.org; Thu, 20 Jun 2024 14:01:04 -0400
Received: from mout02.posteo.de ([185.67.36.66]:51793)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1sKM5k-0004P7-Uo
 for 71659 <at> debbugs.gnu.org; Thu, 20 Jun 2024 14:01:02 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id C7036240103
 for <71659 <at> debbugs.gnu.org>; Thu, 20 Jun 2024 20:00:49 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1718906450; bh=XCm50Ga7SAvTgnZ/psbgW2/YPd/EoMEA4YbhY9JI0Bs=;
 h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type:
 Content-Transfer-Encoding:From;
 b=EXIbxaFwlqTgQYOexL/tvUXHic4oQ1iFlJ2ao7ze38mh2UBkodmeOEQPMMHj4EBzG
 +vNfJsoCZtAzCXiHoVNCxl0vvN+eQ5CE/9JLFplH7mFvxYwF2QBai6mogUFNt6vPxN
 /Dn+EbFnuIhNdKP0J9LS3O0iiWRdWsbLJkbp3TE8UWwfwxsHkJpaLinIlkYAhfJiJJ
 oipzPw01h+gv9NdQ5xaaf+XDRibnsiOUFnoxoIgmNSF+yZTnPUYUXUaY9v1iYGtY+j
 EOl42ihjpn/F+Nl7nWaQe0s5rZJ513RfUWQBxLC2WQ5bxBBustHQzTZOTkCmUQZD4d
 jtT07K8JZnAgg==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4W4pFD6Lbrz9rxF;
 Thu, 20 Jun 2024 20:00:48 +0200 (CEST)
Message-ID: <efed8e86-8141-4415-b8bf-8cb96da6c031@HIDDEN>
Date: Thu, 20 Jun 2024 18:00:45 +0000
MIME-Version: 1.0
References: <22c0522a-858c-48cc-91f6-c744d95af042@HIDDEN>
 <87r0crr4ex.fsf@HIDDEN>
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
In-Reply-To: <87r0crr4ex.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Richard,

On 20.06.24 17:59, Richard Sent wrote:
> Hi Dariqq,
> 
> Dariqq <dariqq@HIDDEN> writes:
> 
>> - 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.
> 
> As implemented would this hurt fastfetch's login manager detection on
> foreign distros? If so I think reporting to upstream would be ideal.
> 

On my fedora and debian systems /run is symlinked to /var/run. Not sure 
on other systems. Sounds like this should be moved upstream.


>> Thoughts?
> 
> Sounds like yours is a lot more complete. I think it is best to merge
> your version. What else is left to do?
> 

I would not really like hijacking the patch like this from you. But i'll 
happily share what I have so far:

my yyjson package:

I am not sure where to put this? just c.scm? or somewhere else?
In the debian package they also build html docs. Tried that but they 
were not automatically installed with the standard phases and i am not 
sure if they are worth it. (maybe in a seperate output?)

#+begin_src scheme
(define-public yyjson
   (package
     (name "yyjson")
     (version "0.9.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
	     (url "https://github.com/ibireme/yyjson")
	     (commit version)))
        (file-name (git-file-name name version))
        (sha256
	(base32
	 "169rqh7mh01g5j4qkqjgfmgnyqjf9r8qxiywf4jkgcb7ln4j64w9"))))
     (arguments
      (list #:configure-flags #~(list "-DBUILD_SHARED_LIBS=ON"
				     "-DYYJSON_BUILD_TESTS=ON")))
     (build-system cmake-build-system)
     (home-page "https://github.com/ibireme/yyjson")
     (synopsis "A high performance JSON library written in ANSI C.")
     (description "A high performance JSON library written in ANSI C. 
Some features iclude
@itemize
@item Fast: can read or write gigabytes per second JSON data on modern CPUs.
@item Portable: complies with ANSI C (C89) for cross-platform compatibility.
@item Strict: complies with RFC 8259 JSON standard, ensuring strict 
number format and UTF-8 validation.
@item Extendable: offers options to allow comments, trailing commas, 
NaN/Inf, and custom memory allocator.
@item Accuracy: can accurately read and write int64, uint64, and double 
numbers.
@item Flexible: supports unlimited JSON nesting levels, \u0000 
characters, and non null-terminated strings.
@item Manipulation: supports querying and modifying using JSON Pointer, 
JSON Patch and JSON Merge Patch.
@item Developer-Friendly: easy integration with only one .h and one .c file.
@end itemize")
     (license license:expat)))
#+end_src

my fastfetch package:

For fastfetch i am following the nixos package to enable everything but 
mesa and directx. Also these are a lot of them  and with the wrapper 
guix install fastfetch would need to also download all of the other 
libraries. It would be great to create more modular packages for 
something like this as enabling everything like this will e.g now always 
pull in xfconf (only needed when using xfce), the x11/wayland libraries 
even if one is on a headless server, etc. I guess that is a beneift for 
dlopen but does not really work well on guix system.

Feel free to steal some things.

#+begin_src scheme
(define-public fastfetch
   (package
     (name "fastfetch")
     (version "2.16.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
	     (url "https://github.com/fastfetch-cli/fastfetch")
	     (commit version)))
        (file-name (git-file-name name version))
        (sha256
	(base32
	 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m"))
        (modules '((guix build utils)))
        (snippet
         '(begin
            (delete-file-recursively "src/3rdparty")))))
     (arguments
      (list
       #:configure-flags #~(list
			   "-DBUILD_TESTS=ON"
			   "-DINSTALL_LICENSE=OFF"
			   "-DENABLE_SYSTEM_YYJSON=YES"
			   "-DENABLE_PROPRIETARY_GPU_DRIVER_API=OFF"
			   "-DENABLE_DIRECTX_HEADERS=false"
			   "-DENABLE_OSMESA=false"
			   (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"))
       #:phases
       #~(modify-phases %standard-phases
	  (add-after 'unpack 'fix-logind-session-path
	    (lambda* _
	      (substitute* "src/detection/lm/lm_linux.c"
		  (("/var/run/systemd/sessions/") "/run/systemd/sessions/"))))
	  (add-after 'install 'wrap-programs
	    (lambda* _
	      (let ((ld-libs
		     '#$(map
			 (lambda (label)
                            (file-append (this-package-input label) "/lib"))
			 '("chafa"
			   "dbus"
			   "dconf"
			   "ddcutil"
			   "glib"
			   "imagemagick"
			   "libdrm"
			   "libglvnd"
			   "libx11"
			   "libxcb"
			   "libxrandr"
			   "network-manager"
			   "ocl-icd"
			   "opencl-headers"
			   "pulseaudio"
			   "rpm"
			   "sqlite"
			   "vulkan-loader"
			   "wayland"
			   "xfconf"
			   "zlib"))))
		(for-each
		 (lambda (prog)
		   (wrap-program (string-append #$output "/bin/" prog)
		     `("LD_LIBRARY_PATH" prefix ,ld-libs)))
		 '("fastfetch" "flashfetch"))))))))
     (native-inputs
      (list
       pkg-config
       python))
     (inputs
      (list
       bash-minimal ;; for wrap-program
       chafa
       dbus
       dconf
       ddcutil
       glib
       hwdata
       imagemagick
       libdrm
       libglvnd
       libx11
       libxcb
       libxrandr
       network-manager
       ocl-icd
       opencl-headers
       pulseaudio
       rpm
       sqlite
       vulkan-loader
       wayland
       xfconf
       yyjson
       zlib))
     (build-system cmake-build-system)
     (home-page "https://github.com/fastfetch-cli/fastfetch")
     (synopsis "Fast neofetch-like system information tool")
     (description "Fast neofetch-like system information tool.")
     (license license:expat)))
#+end_src

> Is there anything I can help with?

I have built with "-DBINARY_LINK_TYPE=dynamic" to dynamically link the 
dependencies instead. There was an error due to fastfetch wanting a 
newer version of ddcutil. Havent looked into how complicated that is to 
update yet.

On a related note dynamically linking would avoid the (kind of awkward) 
wrapper. Are there benefits/downsides to using that instead?

I hope the formating turned out ok for the code blocks




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#71659] [PATCH] gnu: Add fastfetch.
Resent-From: Richard Sent <richard@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 20 Jun 2024 18:35:02 +0000
Resent-Message-ID: <handler.71659.B71659.171890846521190 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71659
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Dariqq <dariqq@HIDDEN>
Cc: 71659 <at> debbugs.gnu.org
Received: via spool by 71659-submit <at> debbugs.gnu.org id=B71659.171890846521190
          (code B ref 71659); Thu, 20 Jun 2024 18:35:02 +0000
Received: (at 71659) by debbugs.gnu.org; 20 Jun 2024 18:34:25 +0000
Received: from localhost ([127.0.0.1]:39739 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sKMc4-0005Vh-QV
	for submit <at> debbugs.gnu.org; Thu, 20 Jun 2024 14:34:25 -0400
Received: from mail-108-mta170.mxroute.com ([136.175.108.170]:45643)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <richard@HIDDEN>) id 1sKMc2-0005VX-KC
 for 71659 <at> debbugs.gnu.org; Thu, 20 Jun 2024 14:34:23 -0400
Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com)
 (Authenticated sender: mN4UYu2MZsgR)
 by mail-108-mta170.mxroute.com (ZoneMTA) with ESMTPSA id
 19036ed925b00017a3.001 for <71659 <at> debbugs.gnu.org>
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Thu, 20 Jun 2024 18:34:17 +0000
X-Zone-Loop: 6be13dcba741f881a901527bd9ce2f7bbe2d8e1f158d
X-Originating-IP: [136.175.111.3]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:Content-Type:
 MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender
 :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:
 Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:
 List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=Ng/ZAZfwuLC4Z6SNu2+WKe+UMDEimTIxzctP4XMqwoI=; b=ApiTcyR2dseNhfcFz5gCW9xc0x
 jWK47an9HyOZF8deJHc0HwLhdu8xySG/j0oRggp8HxRcNQZq0VFT6d/ZjMr/xLxxTKXm4ESv3EUg+
 ia+P1e7JoCzwv/JZD6zpe4fQC12U5piLErLzA9gJloXqPuvRqaTTPsWwI4xy5mkDjRbNswoWz8pt+
 aBg11yMFlWg7ctD//SPKVTkGUOYem8N8Oh/1ZF9F7UWyrMqu0Uubj3KpOi3lZzPQJK6jSUAoeSLJc
 v+g9mQTTwfhtIUHFbSq3gwrPMmRX/fBBeEewC0u+xMW8vOrgiqrz6K5cu6u6lx/+od5Ze8M31MTWF
 L99ENMVg==;
From: Richard Sent <richard@HIDDEN>
In-Reply-To: <efed8e86-8141-4415-b8bf-8cb96da6c031@HIDDEN>
 (dariqq@HIDDEN's message of "Thu, 20 Jun 2024 18:00:45 +0000")
References: <22c0522a-858c-48cc-91f6-c744d95af042@HIDDEN>
 <87r0crr4ex.fsf@HIDDEN>
 <efed8e86-8141-4415-b8bf-8cb96da6c031@HIDDEN>
Date: Thu, 20 Jun 2024 14:34:07 -0400
Message-ID: <87jzijqx9c.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Authenticated-Id: richard@HIDDEN
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi Dariqq

>> Sounds like yours is a lot more complete. I think it is best to merge
>> your version. What else is left to do?
>>=20
>
> I would not really like hijacking the patch like this from you. But i'll=
=20
> happily share what I have so far:

Gotcha. I'll try to spend some more time on this in the next couple
weeks, but feel free to claim it for yourself! After all, to me it feels
a lot more like I hijacked your patch than the other way around =F0=9F=99=
=82. No
hard feelings.

> my yyjson package:
>
> I am not sure where to put this? just c.scm? or somewhere else?
> In the debian package they also build html docs. Tried that but they=20
> were not automatically installed with the standard phases and i am not=20
> sure if they are worth it. (maybe in a seperate output?)

c.scm sounds like the right place to me. I'll keep the documentation
thing in mind.

> For fastfetch i am following the nixos package to enable everything but=20
> mesa and directx. Also these are a lot of them  and with the wrapper=20
> guix install fastfetch would need to also download all of the other=20
> libraries. It would be great to create more modular packages for=20
> something like this as enabling everything like this will e.g now always=
=20
> pull in xfconf (only needed when using xfce), the x11/wayland libraries=20
> even if one is on a headless server, etc. I guess that is a beneift for=20
> dlopen but does not really work well on guix system.

I agree, I think this package would benefit from a -minimal version or
some similar structure with variants.

> network-manager

I wonder if adding the network-manager plugin can cause issues on
systems that don't use it. (e.g. connman). I'd be a little worried
they'd start fighting.

>> Is there anything I can help with?
>
> I have built with "-DBINARY_LINK_TYPE=3Ddynamic" to dynamically link the=
=20
> dependencies instead. There was an error due to fastfetch wanting a=20
> newer version of ddcutil. Havent looked into how complicated that is to=20
> update yet.
>
> On a related note dynamically linking would avoid the (kind of awkward)=20
> wrapper. Are there benefits/downsides to using that instead?

I'm no expert but dynamic linking sounds like a better solution to me
than a wrapper + dlopen. Disabling runtime linking seems to be a
semi-common thing in packages. Maybe we'll get lucky and ddcutil can be
updated without any breakages.

> I hope the formating turned out ok for the code blocks

Looks great.

--=20
Take it easy,
Richard Sent
Making my computer weirder one commit at a time.




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#71659] [PATCH] gnu: Add fastfetch.
Resent-From: Dariqq <dariqq@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 21 Jun 2024 16:54:01 +0000
Resent-Message-ID: <handler.71659.B71659.17189888405107 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71659
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Richard Sent <richard@HIDDEN>
Cc: 71659 <at> debbugs.gnu.org
Received: via spool by 71659-submit <at> debbugs.gnu.org id=B71659.17189888405107
          (code B ref 71659); Fri, 21 Jun 2024 16:54:01 +0000
Received: (at 71659) by debbugs.gnu.org; 21 Jun 2024 16:54:00 +0000
Received: from localhost ([127.0.0.1]:43201 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sKhWR-0001KI-Sy
	for submit <at> debbugs.gnu.org; Fri, 21 Jun 2024 12:54:00 -0400
Received: from mout02.posteo.de ([185.67.36.66]:38423)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dariqq@HIDDEN>) id 1sKhWP-0001K4-BH
 for 71659 <at> debbugs.gnu.org; Fri, 21 Jun 2024 12:53:58 -0400
Received: from submission (posteo.de [185.67.36.169]) 
 by mout02.posteo.de (Postfix) with ESMTPS id 3910E240103
 for <71659 <at> debbugs.gnu.org>; Fri, 21 Jun 2024 12:56:45 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1718967405; bh=xFBAHP7y6+/KOcU8spYF5yy+C0LBlnkSLU9BVkwBNLA=;
 h=Message-ID:Date:MIME-Version:Subject:To:Cc:From:Content-Type:
 Content-Transfer-Encoding:From;
 b=S+WOOoTrb+voqci59+viU9YqcZbXmXfz72+ItcBNXDj6FWpm5CmJD0/0iktAU0+nV
 UdI6YwfuCdncqq1y7ghwMFgk3ATT7PG+PGzHfyw3U23wGku8mIsrwynAVJVKew+JRx
 WlwHZ+FwDlsYFxOULVY9PW939IWv0XmYbn4+P3E4fVNou3PzfKp4q1ffEeEVLI4+Nh
 gIqK/USgrP+PoBCKsjMlcU+mpvu2ntEaIw6+UExCgLwHNhQlKXfiAxmwFwv5Tfp5j/
 xODcyZ4k97ETKbRYUMDQRV8yCl48oX04u1OoocWXTs2aCUsZH8A2CgiPvA3fHTSZub
 H1IaQxpYdKpYw==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4W5DnS22DPz9rxD;
 Fri, 21 Jun 2024 12:56:44 +0200 (CEST)
Message-ID: <0d3dc221-8675-4662-9378-5ad00498eadd@HIDDEN>
Date: Fri, 21 Jun 2024 10:56:41 +0000
MIME-Version: 1.0
References: <22c0522a-858c-48cc-91f6-c744d95af042@HIDDEN>
 <87r0crr4ex.fsf@HIDDEN>
 <efed8e86-8141-4415-b8bf-8cb96da6c031@HIDDEN>
 <87jzijqx9c.fsf@HIDDEN>
Content-Language: en-US
From: Dariqq <dariqq@HIDDEN>
In-Reply-To: <87jzijqx9c.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Richard,

I have just reported the LM detection issue upstream. So hopefully it 
will be fixed soon and we can ignore it in the guix package.

On 20.06.24 20:34, Richard Sent wrote:

> 
> I agree, I think this package would benefit from a -minimal version or
> some similar structure with variants.
> 

A minimal version sounds like a great idea and would be easy to 
customize by just adding the relevant packages.


The question then becomes which features to include in a minimal build. 
Afaik apart from hwdata and libdrm  (for specifying the custom paths) 
none are really required.

The upstream wiki has some infos what is used for what. Apart from 
libdrm is there anything is there a feature you'd think that should be 
included in a -minimal version?

>> network-manager
> 
> I wonder if adding the network-manager plugin can cause issues on
> systems that don't use it. (e.g. connman). I'd be a little worried
> they'd start fighting.
> 
Great catch.
I havent even thought about this being an issue as i have only ever been 
using  %desktop-services.

It feels like there are a lot of things that have (explicit or implicit) 
assumptions on the system being used.

- LM : logind
- Music: dbus
- Wifi: networkmanager
- maybe more.


>>> Is there anything I can help with?
>>
>> I have built with "-DBINARY_LINK_TYPE=dynamic" to dynamically link the
>> dependencies instead. There was an error due to fastfetch wanting a
>> newer version of ddcutil. Havent looked into how complicated that is to
>> update yet.
>>
>> On a related note dynamically linking would avoid the (kind of awkward)
>> wrapper. Are there benefits/downsides to using that instead?
> 
> I'm no expert but dynamic linking sounds like a better solution to me
> than a wrapper + dlopen. Disabling runtime linking seems to be a
> semi-common thing in packages. Maybe we'll get lucky and ddcutil can be
> updated without any breakages.
> 
>> I hope the formating turned out ok for the code blocks
> 
> Looks great.
> 

Slightly related: What do you think of the current guix package 
detection? As it is not really comparable to package count in other 
distributions.

My first implementation (in 2.14.0) is just counting lines in the output 
of "guix package -I" which only counts packages explicitly installed.

As that was kind of slow I rewrote it (as of 2.15) to count unique 
/gnu/store/* entries in the profile manifest files (e.g. 
/run/current-system/profile/manifest) directly with C which also counts 
propagated inputs and ignores the lisy syntax of the file.

The nix package detection parses the (nix equivalent) of "guix gc -R 
$(realpath PROFILE)" which gives counts similiar to other systems but 
was even slower and I haven't thought about a good way to filter out 
packages from the list (as there are also things like the computed 
info-dir , etc in there)

The nix implementation sidesteps the slowness problem by caching results.

I thought about using libguile directly but this is above my C and guile 
knowledge.

Have a nice day,
Dariqq





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#71659] Attribution
References: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
In-Reply-To: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
Resent-From: Andreas Enge <andreas@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Fri, 28 Jun 2024 12:56:02 +0000
Resent-Message-ID: <handler.71659.B71659.17195793108220 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 71659
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 71659 <at> debbugs.gnu.org
Received: via spool by 71659-submit <at> debbugs.gnu.org id=B71659.17195793108220
          (code B ref 71659); Fri, 28 Jun 2024 12:56:02 +0000
Received: (at 71659) by debbugs.gnu.org; 28 Jun 2024 12:55:10 +0000
Received: from localhost ([127.0.0.1]:44837 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sNB8A-00028W-GH
	for submit <at> debbugs.gnu.org; Fri, 28 Jun 2024 08:55:10 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:35010)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1sNB87-00028F-Rt
 for 71659 <at> debbugs.gnu.org; Fri, 28 Jun 2024 08:55:09 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 90D8CB58;
 Fri, 28 Jun 2024 14:54:31 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id QZc2aHW-9xxi; Fri, 28 Jun 2024 14:54:31 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 136202C3;
 Fri, 28 Jun 2024 14:54:31 +0200 (CEST)
Date: Fri, 28 Jun 2024 14:54:29 +0200
From: Andreas Enge <andreas@HIDDEN>
Message-ID: <Zn6yhR8A9lv0pcax@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello Dariqq,

how about submitting your patch for yyjson in a separate bug report?
In your accompanying email you could mention that it is needed for a
forthcoming v2 of the fastfetch patch.

And then there is no problem with cooperation on fastfetch, the two of
you could add a copyright line to the file, and the person suggesting the
commit can add a
Co-authored-by: Other Person <their@HIDDEN>
to the commit log.

Andreas

PS: For yyjson, running "guix lint" will show you problems (at least)
    with the synopsis; and: "iclude" -> "include".





Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Andreas Enge <andreas@HIDDEN>
Subject: bug#71659: closed ([PATCH] gnu: Add fastfetch.)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.71659.D71659.17197380726304.ackdone <at> debbugs.gnu.org>
References: <ZoEer0WEdekO7onj@jurong>
 <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
X-Gnu-PR-Message: closed 71659
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Date: Sun, 30 Jun 2024 09:02:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1719738122-6369-0"

This is a multi-part message in MIME format...

------------=_1719738122-6369-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Sun, 30 Jun 2024 11:00:31 +0200
with message-id <ZoEer0WEdekO7onj@jurong>
and subject line Close
has caused the debbugs.gnu.org bug report #71659,
regarding [PATCH] gnu: Add fastfetch.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
71659: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71659
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1719738122-6369-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 20 Jun 2024 02:33:36 +0000
Received: from localhost ([127.0.0.1]:39757 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sK7cG-0004Ey-2x
	for submit <at> debbugs.gnu.org; Wed, 19 Jun 2024 22:33:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:42674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <richard@HIDDEN>) id 1sK7cD-0004Ep-RG
 for submit <at> debbugs.gnu.org; Wed, 19 Jun 2024 22:33:34 -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 <richard@HIDDEN>)
 id 1sK7c9-0007Bz-Sj
 for guix-patches@HIDDEN; Wed, 19 Jun 2024 22:33:29 -0400
Received: from mail-108-mta254.mxroute.com ([136.175.108.254])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <richard@HIDDEN>)
 id 1sK7c7-0004G0-Uy
 for guix-patches@HIDDEN; Wed, 19 Jun 2024 22:33:29 -0400
Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com)
 (Authenticated sender: mN4UYu2MZsgR)
 by mail-108-mta254.mxroute.com (ZoneMTA) with ESMTPSA id
 190337dcdb200017a3.001 for <guix-patches@HIDDEN>
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Thu, 20 Jun 2024 02:33:21 +0000
X-Zone-Loop: bd2aeef45326d265ed62c52cf3914557d9111978dd60
X-Originating-IP: [136.175.111.3]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:Content-Type:
 MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=wVFzANWdhS6n4llqYsL+lDaux7+judA5xpU+GrXzswc=; b=rmflUAzg6zHtrEE8eEur6eDsre
 ZHSVBrEmFBAHK4ynjeP/tsukNH/NsQDtyNHU48fpNOxwzwLqRO33sV8SjotA/QaJ5te491ZDnmlU5
 z805XqSx5aWyw4H12cxYJyygOTxPNm2YcRRJwivmC/zOqu+9WBiaXKCsYPtfXmRCfBwUuiB0lYd7i
 4QbzOTke2LtRViVubyulgJ9xgQHgMT128EmjG6YJ+OU+iQqCt5oyrFoFVB8+1kvDTXZoYTugX58YC
 GgduDs85bZkohf+Zm3PLVbi+IOMBv87vETUKLG2WLwD3UfoRF2a5zXWC2+UVyVxwIehlcv2VQz3Xe
 nY+8vtig==;
From: Richard Sent <richard@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add fastfetch.
Date: Wed, 19 Jun 2024 22:33:00 -0400
Message-ID: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Authenticated-Id: richard@HIDDEN
Received-SPF: pass client-ip=136.175.108.254;
 envelope-from=richard@HIDDEN; helo=mail-108-mta254.mxroute.com
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,
 DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: Richard Sent <richard@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* gnu/packages/admin.scm (fastfetch): New variable.

Change-Id: I2c8489f0773254b0e9e631c55bf016adb7c6e89b
---
 gnu/packages/admin.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 212c2b3715..c7247b9e73 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin@HIDDEN>
 ;;; Copyright © 2024 dan <i@HIDDEN>
 ;;; Copyright © 2024 gemmaro <gemmaro.dev@HIDDEN>
+;;; Copyright © 2024 Richard Sent <richard@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4261,6 +4262,39 @@ (define-public pfetch
 information tool.")
       (license license:expat))))
 
+(define-public fastfetch
+  (package
+    (name "fastfetch")
+    (version "2.16.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fastfetch-cli/fastfetch")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m"))))
+    (build-system cmake-build-system)
+    (inputs (list dbus
+                  glib
+                  imagemagick
+                  libxcb
+                  mesa
+                  wayland
+                  zlib)) ;for imagemagick and an #ifdef
+    (native-inputs (list pkg-config))
+    (arguments
+     (list
+      #:tests? #f))
+    (home-page "https://github.com/fastfetch-cli/fastfetch")
+    (synopsis "Display system information in a stylized manner")
+    (description
+     "Fastfetch is a tool for fetching system information and displaying it in
+a stylized way.  Fastfetch displays this information next to a logo of the
+system distribution, akin to many similar tools.")
+    (license license:expat)))
+
 (define-public nnn
   (package
     (name "nnn")

base-commit: e32e3d0a03dc17c4c54a91aad053c9036998b601
-- 
2.45.1




------------=_1719738122-6369-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 71659-done) by debbugs.gnu.org; 30 Jun 2024 09:01:12 +0000
Received: from localhost ([127.0.0.1]:54988 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sNqQp-0001dc-Vz
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 05:01:12 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:46626)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1sNqQo-0001dP-A9
 for 71659-done <at> debbugs.gnu.org; Sun, 30 Jun 2024 05:01:10 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 06D62C09;
 Sun, 30 Jun 2024 11:00:34 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id mtA6ZDbGq780; Sun, 30 Jun 2024 11:00:33 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 630B8BDD;
 Sun, 30 Jun 2024 11:00:33 +0200 (CEST)
Date: Sun, 30 Jun 2024 11:00:31 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 71659-done <at> debbugs.gnu.org
Subject: Close
Message-ID: <ZoEer0WEdekO7onj@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71659-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Thanks for the patch, I have pushed it after adding a (trivial) comment
why tests are disabled.

Andreas



------------=_1719738122-6369-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Richard Sent <richard@HIDDEN>
Subject: bug#71659: closed (Close)
Message-ID: <handler.71659.D71659.17197380726304.notifdone <at> debbugs.gnu.org>
References: <ZoEer0WEdekO7onj@jurong>
 <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
X-Gnu-PR-Message: they-closed 71659
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 71659 <at> debbugs.gnu.org
Date: Sun, 30 Jun 2024 09:02:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1719738122-6369-1"

This is a multi-part message in MIME format...

------------=_1719738122-6369-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#71659: [PATCH] gnu: Add fastfetch.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 71659 <at> debbugs.gnu.org.

--=20
71659: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71659
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1719738122-6369-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 71659-done) by debbugs.gnu.org; 30 Jun 2024 09:01:12 +0000
Received: from localhost ([127.0.0.1]:54988 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sNqQp-0001dc-Vz
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 05:01:12 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:46626)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <andreas@HIDDEN>) id 1sNqQo-0001dP-A9
 for 71659-done <at> debbugs.gnu.org; Sun, 30 Jun 2024 05:01:10 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 06D62C09;
 Sun, 30 Jun 2024 11:00:34 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id mtA6ZDbGq780; Sun, 30 Jun 2024 11:00:33 +0200 (CEST)
Received: from jurong (unknown [IPv6:2001:861:c4:f2f0::c64])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 630B8BDD;
 Sun, 30 Jun 2024 11:00:33 +0200 (CEST)
Date: Sun, 30 Jun 2024 11:00:31 +0200
From: Andreas Enge <andreas@HIDDEN>
To: 71659-done <at> debbugs.gnu.org
Subject: Close
Message-ID: <ZoEer0WEdekO7onj@jurong>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 71659-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Thanks for the patch, I have pushed it after adding a (trivial) comment
why tests are disabled.

Andreas



------------=_1719738122-6369-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 20 Jun 2024 02:33:36 +0000
Received: from localhost ([127.0.0.1]:39757 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sK7cG-0004Ey-2x
	for submit <at> debbugs.gnu.org; Wed, 19 Jun 2024 22:33:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:42674)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <richard@HIDDEN>) id 1sK7cD-0004Ep-RG
 for submit <at> debbugs.gnu.org; Wed, 19 Jun 2024 22:33:34 -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 <richard@HIDDEN>)
 id 1sK7c9-0007Bz-Sj
 for guix-patches@HIDDEN; Wed, 19 Jun 2024 22:33:29 -0400
Received: from mail-108-mta254.mxroute.com ([136.175.108.254])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <richard@HIDDEN>)
 id 1sK7c7-0004G0-Uy
 for guix-patches@HIDDEN; Wed, 19 Jun 2024 22:33:29 -0400
Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com)
 (Authenticated sender: mN4UYu2MZsgR)
 by mail-108-mta254.mxroute.com (ZoneMTA) with ESMTPSA id
 190337dcdb200017a3.001 for <guix-patches@HIDDEN>
 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
 Thu, 20 Jun 2024 02:33:21 +0000
X-Zone-Loop: bd2aeef45326d265ed62c52cf3914557d9111978dd60
X-Originating-IP: [136.175.111.3]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
 d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:Content-Type:
 MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=wVFzANWdhS6n4llqYsL+lDaux7+judA5xpU+GrXzswc=; b=rmflUAzg6zHtrEE8eEur6eDsre
 ZHSVBrEmFBAHK4ynjeP/tsukNH/NsQDtyNHU48fpNOxwzwLqRO33sV8SjotA/QaJ5te491ZDnmlU5
 z805XqSx5aWyw4H12cxYJyygOTxPNm2YcRRJwivmC/zOqu+9WBiaXKCsYPtfXmRCfBwUuiB0lYd7i
 4QbzOTke2LtRViVubyulgJ9xgQHgMT128EmjG6YJ+OU+iQqCt5oyrFoFVB8+1kvDTXZoYTugX58YC
 GgduDs85bZkohf+Zm3PLVbi+IOMBv87vETUKLG2WLwD3UfoRF2a5zXWC2+UVyVxwIehlcv2VQz3Xe
 nY+8vtig==;
From: Richard Sent <richard@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH] gnu: Add fastfetch.
Date: Wed, 19 Jun 2024 22:33:00 -0400
Message-ID: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Authenticated-Id: richard@HIDDEN
Received-SPF: pass client-ip=136.175.108.254;
 envelope-from=richard@HIDDEN; helo=mail-108-mta254.mxroute.com
X-Spam_score_int: -16
X-Spam_score: -1.7
X-Spam_bar: -
X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,
 DKIM_SIGNED=0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: Richard Sent <richard@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

* gnu/packages/admin.scm (fastfetch): New variable.

Change-Id: I2c8489f0773254b0e9e631c55bf016adb7c6e89b
---
 gnu/packages/admin.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 212c2b3715..c7247b9e73 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -66,6 +66,7 @@
 ;;; Copyright © 2023 Tomás Ortín Fernández <tomasortin@HIDDEN>
 ;;; Copyright © 2024 dan <i@HIDDEN>
 ;;; Copyright © 2024 gemmaro <gemmaro.dev@HIDDEN>
+;;; Copyright © 2024 Richard Sent <richard@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4261,6 +4262,39 @@ (define-public pfetch
 information tool.")
       (license license:expat))))
 
+(define-public fastfetch
+  (package
+    (name "fastfetch")
+    (version "2.16.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/fastfetch-cli/fastfetch")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "112dvfx7gvp6n20i1lkd0jbh897jf7bxjxq96bj4099j3x313y3m"))))
+    (build-system cmake-build-system)
+    (inputs (list dbus
+                  glib
+                  imagemagick
+                  libxcb
+                  mesa
+                  wayland
+                  zlib)) ;for imagemagick and an #ifdef
+    (native-inputs (list pkg-config))
+    (arguments
+     (list
+      #:tests? #f))
+    (home-page "https://github.com/fastfetch-cli/fastfetch")
+    (synopsis "Display system information in a stylized manner")
+    (description
+     "Fastfetch is a tool for fetching system information and displaying it in
+a stylized way.  Fastfetch displays this information next to a logo of the
+system distribution, akin to many similar tools.")
+    (license license:expat)))
+
 (define-public nnn
   (package
     (name "nnn")

base-commit: e32e3d0a03dc17c4c54a91aad053c9036998b601
-- 
2.45.1




------------=_1719738122-6369-1--



Last modified: Sun, 30 Jun 2024 09:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.