GNU bug report logs - #44106
alacritty : add terminfo fix

Previous Next

Package: guix-patches;

Reported by: Fulbert <fulbert <at> bluewin.ch>

Date: Tue, 20 Oct 2020 22:13:01 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#44106: closed (alacritty : add terminfo fix)
Date: Tue, 27 Oct 2020 16:42:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 27 Oct 2020 17:41:10 +0100
with message-id <87y2jr62qh.fsf <at> gnu.org>
and subject line Re: [bug#44106] alacritty : add terminfo fix
has caused the debbugs.gnu.org bug report #44106,
regarding alacritty : add terminfo fix
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
44106: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=44106
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Fulbert <fulbert <at> bluewin.ch>
To: guix-patches <at> gnu.org
Subject: alacritty : add terminfo fix
Date: Wed, 21 Oct 2020 00:06:52 +0200
[Message part 3 (text/plain, inline)]
  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
[0001-Apply-terminfo-fix-https-bugs.gnu.org-22138-stolen-f.patch (text/plain, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Fulbert <fulbert <at> bluewin.ch>
Cc: 44106-done <at> debbugs.gnu.org
Subject: Re: [bug#44106] alacritty : add terminfo fix
Date: Tue, 27 Oct 2020 17:41:10 +0100
Hi,

Fulbert <fulbert <at> 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’.


This bug report was last modified 4 years and 263 days ago.

Previous Next


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