unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Fulbert <fulbert@bluewin.ch>
Cc: 44106-done@debbugs.gnu.org
Subject: bug#44106: alacritty : add terminfo fix
Date: Tue, 27 Oct 2020 17:41:10 +0100	[thread overview]
Message-ID: <87y2jr62qh.fsf@gnu.org> (raw)
In-Reply-To: <20201020220652.GA9741@bluewin.ch> (fulbert@bluewin.ch's message of "Wed, 21 Oct 2020 00:06:52 +0200")

Hi,

Fulbert <fulbert@bluewin.ch> skribis:

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

[...]

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

I committed it (with a commit log that follows our conventions), but
added a FIXME as can be seen above in the file.  We usually avoid
workarounds for this bug but there’s a precedent in this file, so so be it!

Thanks,
Ludo’.




      reply	other threads:[~2020-10-27 16:49 UTC|newest]

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

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=87y2jr62qh.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=44106-done@debbugs.gnu.org \
    --cc=fulbert@bluewin.ch \
    /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).