GNU bug report logs - #54182
[PATCH] gnu: foot: Add TERMINFO_DIRS to the search paths

Previous Next

Package: guix-patches;

Reported by: Kevin Boulain <kevinboulain <at> gmail.com>

Date: Sun, 27 Feb 2022 14:37:02 UTC

Severity: normal

Tags: patch

Done: Kevin Boulain <kevinboulain <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kevin Boulain <kevinboulain <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Kevin Boulain <kevinboulain <at> gmail.com>
Subject: [PATCH] gnu: foot: Add TERMINFO_DIRS to the search paths
Date: Sun, 27 Feb 2022 15:37:01 +0100
A few other terminals in this file already do that to expose the
terminfo database. Without it, other programs will complain about
the "unknown terminal: foot".

* gnu/packages/terminals.scm (foot): Export TERMINFO_DIRS.
---
 gnu/packages/terminals.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 06fa341472..a9500d6626 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -858,6 +858,12 @@ (define-public foot
            pkg-config scdoc wayland-protocols))
     (inputs
      (list fcft libxkbcommon wayland))
+    (native-search-paths
+     ;; FIXME: This should only be located in 'ncurses'.  Nonetheless it is
+     ;; provided for usability reasons.  See <https://bugs.gnu.org/22138>.
+     (list (search-path-specification
+            (variable "TERMINFO_DIRS")
+            (files '("share/terminfo")))))
     (synopsis "Wayland-native terminal emulator")
     (description
      "@command{foot} is a terminal emulator for systems using the Wayland
-- 
2.34.0





This bug report was last modified 3 years and 166 days ago.

Previous Next


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