unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Fulbert <fulbert@bluewin.ch>
To: 44106@debbugs.gnu.org
Subject: [bug#44106] alacritty : add terminfo fix
Date: Wed, 21 Oct 2020 00:06:52 +0200	[thread overview]
Message-ID: <20201020220652.GA9741@bluewin.ch> (raw)

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


             reply	other threads:[~2020-10-20 22:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-20 22:06 Fulbert [this message]
2020-10-27 16:41 ` bug#44106: alacritty : add terminfo fix Ludovic Courtès

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=20201020220652.GA9741@bluewin.ch \
    --to=fulbert@bluewin.ch \
    --cc=44106@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 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).