unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#44106] alacritty : add terminfo fix
@ 2020-10-20 22:06 Fulbert
  2020-10-27 16:41 ` bug#44106: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Fulbert @ 2020-10-20 22:06 UTC (permalink / raw)
  To: 44106

[-- Attachment #1: Type: text/plain, Size: 227 bytes --]

  Hello Guix !

  When installed on an user extra-profile, `alacritty` does not add to
$TERMINFO_DIRS. Solved by using the attached patch. I have stolen this
fix from the guix `rxvt-unicode` package.

  Best regards,
  Fulbert

[-- Attachment #2: 0001-Apply-terminfo-fix-https-bugs.gnu.org-22138-stolen-f.patch --]
[-- Type: text/plain, Size: 923 bytes --]

From f8a5219e412b3908f59512b7fccfc4d187ee2174 Mon Sep 17 00:00:00 2001
From: Fulbert <fulbert@bluewin.ch>
Date: Tue, 20 Oct 2020 23:51:19 +0200
Subject: [PATCH] Apply terminfo fix (https://bugs.gnu.org/22138) (stolen from
 rxvt-unicode package)

---
 gnu/packages/terminals.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index e596c1b81f..fc30550e3b 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1312,6 +1312,10 @@ made by suckless.")
        ("ncurses" ,ncurses)
        ("pkg-config" ,pkg-config)
        ("python3" ,python)))
+    (native-search-paths
+      (list (search-path-specification
+              (variable "TERMINFO_DIRS")
+              (files '("share/terminfo")))))
     (home-page "https://github.com/alacritty/alacritty")
     (synopsis "GPU-accelerated terminal emulator")
     (description
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-27 16:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-20 22:06 [bug#44106] alacritty : add terminfo fix Fulbert
2020-10-27 16:41 ` bug#44106: " Ludovic Courtès

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