unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Dariqq <dariqq@posteo.net>
To: richard@freakingpenguin.com
Cc: 71659@debbugs.gnu.org
Subject: [bug#71659] [PATCH] gnu: Add fastfetch.
Date: Thu, 20 Jun 2024 15:45:54 +0000	[thread overview]
Message-ID: <22c0522a-858c-48cc-91f6-c744d95af042@posteo.net> (raw)
In-Reply-To: <701288d1295a939ec9a8a1ba06d6cf3dd7b89bb3.1718850780.git.richard@freakingpenguin.com>

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




  reply	other threads:[~2024-06-20 15:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-20  2:33 [bug#71659] [PATCH] gnu: Add fastfetch Richard Sent
2024-06-20 15:45 ` Dariqq [this message]
2024-06-20 15:59   ` Richard Sent
2024-06-20 18:00     ` Dariqq
2024-06-20 18:34       ` Richard Sent
2024-06-21 10:56         ` Dariqq
2024-06-28 12:54 ` [bug#71659] Attribution Andreas Enge
2024-06-30  9:00 ` bug#71659: Close Andreas Enge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22c0522a-858c-48cc-91f6-c744d95af042@posteo.net \
    --to=dariqq@posteo.net \
    --cc=71659@debbugs.gnu.org \
    --cc=richard@freakingpenguin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).