From: Dariqq <dariqq@posteo.net>
To: 71968@debbugs.gnu.org
Cc: Dariqq <dariqq@posteo.net>
Subject: [bug#71968] [PATCH v3 3/5] gnu: fastfetch: Add more configure flags.
Date: Sun, 25 Aug 2024 07:45:26 +0000 [thread overview]
Message-ID: <bbf27735a725e396084aeb9cbd372eded65103d2.1724571928.git.dariqq@posteo.net> (raw)
In-Reply-To: <7209dd72bc48dc788690a2ffacc30f938f7bd1a9.1724571928.git.dariqq@posteo.net>
Most importantly the dependencies are now linked dynamically to avoid writing out a
LD_LIBRARY_PATH wrapper.
Also build the tests and skip installing the license file.
Additionally provide custom paths to pci-ids and amdgpu-ids.
* gnu/packages/admin.scm (fastfetch)
(arguments): Move above inputs.
[#:configure-flags]: Add -DBUILD_TESTS=ON, -DINSTALL_LICENSE=OFF,
-DBINARY_LINK_TYPE=dynamic and set -DCUSTOM_PCI_IDS_PATH and
-DCUSTOM_AMDGPU_IDS_PATH.
[#:tests]: Remove as now there are tests available.
[inputs]: Add hwdata and libdrm for the custom paths.
Change-Id: I9f86b49f0a116bcee91ca15b6e77cfbb3867e290
---
gnu/packages/admin.scm | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 497324c195..eb495bd25c 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -4282,18 +4282,29 @@ (define-public fastfetch
(snippet '(begin
(delete-file-recursively "src/3rdparty")))))
(build-system cmake-build-system)
+ (arguments
+ (list
+ #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES"
+ "-DBINARY_LINK_TYPE=dynamic"
+ "-DBUILD_TESTS=ON"
+ "-DINSTALL_LICENSE=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
yyjson
zlib)) ;for imagemagick and an #ifdef
(native-inputs (list pkg-config))
- (arguments
- (list #:tests? #f ; no test target
- #:configure-flags #~(list "-DENABLE_SYSTEM_YYJSON=YES")))
(home-page "https://github.com/fastfetch-cli/fastfetch")
(synopsis "Display system information in a stylized manner")
(description
--
2.45.2
next prev parent reply other threads:[~2024-08-25 7:47 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-06 7:03 [bug#71968] [PATCH 0/4] fastfetch: Unbundle yyjson and package improvements Dariqq
2024-07-06 7:29 ` [bug#71968] [PATCH 1/4] gnu: Add yyjson Dariqq
2024-07-06 7:29 ` [bug#71968] [PATCH 2/4] gnu: fastfetch: Unbundle yyjson Dariqq
2024-07-06 7:29 ` [bug#71968] [PATCH 3/4] gnu: fastfetch: Add more configure flags Dariqq
2024-07-06 7:29 ` [bug#71968] [PATCH 4/4] gnu: fastfetch: Update to 2.17.2 Dariqq
2024-07-14 7:42 ` [bug#71968] [PATCH v2 0/5] fastfetch: Unbundle yyjson and package improvements Dariqq
2024-07-14 7:42 ` [bug#71968] [PATCH v2 1/5] gnu: Add yyjson Dariqq
2024-07-14 7:42 ` [bug#71968] [PATCH v2 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-07-14 7:42 ` [bug#71968] [PATCH v2 3/5] gnu: fastfetch: Add more configure flags Dariqq
2024-07-14 7:42 ` [bug#71968] [PATCH v2 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-07-14 7:42 ` [bug#71968] [PATCH v2 5/5] gnu: fastfetch: Update to 2.18.1 Dariqq
2024-08-25 7:45 ` [bug#71968] [PATCH v3 1/5] gnu: Add yyjson Dariqq
2024-08-25 7:45 ` [bug#71968] [PATCH v3 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-08-25 7:45 ` Dariqq [this message]
2024-08-25 7:45 ` [bug#71968] [PATCH v3 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-08-25 7:45 ` [bug#71968] [PATCH v3 5/5] gnu: fastfetch: Update to 2.21.3 Dariqq
2024-08-27 15:18 ` [bug#71968] [PATCH v4 1/5] gnu: Add yyjson Dariqq
2024-08-27 15:18 ` [bug#71968] [PATCH v4 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-08-27 15:18 ` [bug#71968] [PATCH v4 3/5] gnu: fastfetch: Add more configure flags Dariqq
2024-08-27 15:18 ` [bug#71968] [PATCH v4 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-08-27 15:18 ` [bug#71968] [PATCH v4 5/5] gnu: fastfetch: Update to 2.22.0 Dariqq
2024-09-18 15:27 ` [bug#71968] [PATCH v5 1/5] gnu: Add yyjson Dariqq
2024-09-18 15:27 ` [bug#71968] [PATCH v5 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-09-18 15:27 ` [bug#71968] [PATCH v5 3/5] gnu: fastfetch: Add more configure flags Dariqq
2024-09-18 15:27 ` [bug#71968] [PATCH v5 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-09-18 15:27 ` [bug#71968] [PATCH v5 5/5] gnu: fastfetch: Update to 2.24.0 Dariqq
2024-10-19 7:56 ` [bug#71968] [PATCH v6 1/5] gnu: Add yyjson Dariqq
2024-10-19 7:56 ` [bug#71968] [PATCH v6 2/5] gnu: fastfetch: Unbundle yyjson Dariqq
2024-10-19 7:56 ` [bug#71968] [PATCH v6 3/5] gnu: fastfetch: Add more configure flags Dariqq
2024-10-19 7:56 ` [bug#71968] [PATCH v6 4/5] gnu: yyjson: Update to 0.10.0 Dariqq
2024-10-19 7:56 ` [bug#71968] [PATCH v6 5/5] gnu: fastfetch: Update to 2.27.1 Dariqq
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bbf27735a725e396084aeb9cbd372eded65103d2.1724571928.git.dariqq@posteo.net \
--to=dariqq@posteo.net \
--cc=71968@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.