From unknown Sun Jun 22 00:12:08 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#44106] alacritty : add terminfo fix Resent-From: Fulbert Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 20 Oct 2020 22:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44106 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 44106@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16032319611167 (code B ref -1); Tue, 20 Oct 2020 22:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Oct 2020 22:12:41 +0000 Received: from localhost ([127.0.0.1]:47085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUzs0-0000Ih-ER for submit@debbugs.gnu.org; Tue, 20 Oct 2020 18:12:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:37768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUzmZ-00009y-3o for submit@debbugs.gnu.org; Tue, 20 Oct 2020 18:07:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUzmY-0008Cd-VV for guix-patches@gnu.org; Tue, 20 Oct 2020 18:07:02 -0400 Received: from vimdzmsp-sfwd05.bluewin.ch ([195.186.120.133]:33237) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUzmW-0002Dq-2i for guix-patches@gnu.org; Tue, 20 Oct 2020 18:07:01 -0400 Received: from bluewin.ch ([85.5.44.62]) by vimdzmsp-sfwd05.bluewin.ch Swisscom AG with ESMTPA id UzmOkq1olHsy1UzmPkveBx; Wed, 21 Oct 2020 00:06:53 +0200 X-Bluewin-Spam-Analysis: v=2.3 cv=d6BuNSrE c=1 sm=1 tr=0 a=bLoAJnPGBKLbGpzEBMhwHQ==:117 a=YouI-sJxVyBn_dorcHkA:9 a=QEXdDO2ut3YA:10 a=mDV3o1hIAAAA:8 a=DPv1aUHZAAAA:20 a=5KkbeQLStiqhSj0GMKoA:9 a=_FVE-zBwftR9WsbkzFJk:22 X-Bluewin-Spam-Score: 0.00 X-FXIT-IP: IPv4[85.5.44.62] Epoch[1603231613] X-Bluewin-AuthAs: fulbert@bluewin.ch Date: Wed, 21 Oct 2020 00:06:52 +0200 From: Fulbert Message-ID: <20201020220652.GA9741@bluewin.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline X-CMAE-Envelope: MS4wfHryEpQqqGcc8sGADpd8BpaK6mfwxxDXK95QGFiUW+eqp24v2kteWzHvvnmTIXOgeQXqchoOxzJHQTuPNnBo59v/F7e/+N8posq0XYUj0xc96fQYB8PU oEsQYWI7ItljmB+m2XrzgMiI/CH/L1e/GGr8lgRQbjNxndgf0ncdMU30 Received-SPF: pass client-ip=195.186.120.133; envelope-from=fulbert@bluewin.ch; helo=vimdzmsp-sfwd05.bluewin.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/20 18:06:53 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Mailman-Approved-At: Tue, 20 Oct 2020 18:12:39 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=utf-8 Content-Disposition: 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 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-Apply-terminfo-fix-https-bugs.gnu.org-22138-stolen-f.patch" >From f8a5219e412b3908f59512b7fccfc4d187ee2174 Mon Sep 17 00:00:00 2001 From: Fulbert 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 --+QahgC5+KEYLbs62-- From unknown Sun Jun 22 00:12:08 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Fulbert Subject: bug#44106: closed (Re: [bug#44106] alacritty : add terminfo fix) Message-ID: References: <87y2jr62qh.fsf@gnu.org> <20201020220652.GA9741@bluewin.ch> X-Gnu-PR-Message: they-closed 44106 X-Gnu-PR-Package: guix-patches Reply-To: 44106@debbugs.gnu.org Date: Tue, 27 Oct 2020 16:42:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1603816922-28451-1" This is a multi-part message in MIME format... ------------=_1603816922-28451-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #44106: alacritty : add terminfo fix which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 44106@debbugs.gnu.org. --=20 44106: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D44106 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1603816922-28451-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 44106-done) by debbugs.gnu.org; 27 Oct 2020 16:41:20 +0000 Received: from localhost ([127.0.0.1]:45534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXS2B-0007Mn-V1 for submit@debbugs.gnu.org; Tue, 27 Oct 2020 12:41:20 -0400 Received: from eggs.gnu.org ([209.51.188.92]:52884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kXS2A-0007Ma-D1 for 44106-done@debbugs.gnu.org; Tue, 27 Oct 2020 12:41:18 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53930) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kXS24-0002xV-Ql; Tue, 27 Oct 2020 12:41:12 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39960 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kXS23-0006hF-Li; Tue, 27 Oct 2020 12:41:12 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Fulbert Subject: Re: [bug#44106] alacritty : add terminfo fix References: <20201020220652.GA9741@bluewin.ch> Date: Tue, 27 Oct 2020 17:41:10 +0100 In-Reply-To: <20201020220652.GA9741@bluewin.ch> (fulbert@bluewin.ch's message of "Wed, 21 Oct 2020 00:06:52 +0200") Message-ID: <87y2jr62qh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44106-done Cc: 44106-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Fulbert 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=E2=80=99s a precedent in this file, so s= o be it! Thanks, Ludo=E2=80=99. ------------=_1603816922-28451-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 20 Oct 2020 22:12:41 +0000 Received: from localhost ([127.0.0.1]:47085 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUzs0-0000Ih-ER for submit@debbugs.gnu.org; Tue, 20 Oct 2020 18:12:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:37768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUzmZ-00009y-3o for submit@debbugs.gnu.org; Tue, 20 Oct 2020 18:07:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUzmY-0008Cd-VV for guix-patches@gnu.org; Tue, 20 Oct 2020 18:07:02 -0400 Received: from vimdzmsp-sfwd05.bluewin.ch ([195.186.120.133]:33237) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUzmW-0002Dq-2i for guix-patches@gnu.org; Tue, 20 Oct 2020 18:07:01 -0400 Received: from bluewin.ch ([85.5.44.62]) by vimdzmsp-sfwd05.bluewin.ch Swisscom AG with ESMTPA id UzmOkq1olHsy1UzmPkveBx; Wed, 21 Oct 2020 00:06:53 +0200 X-Bluewin-Spam-Analysis: v=2.3 cv=d6BuNSrE c=1 sm=1 tr=0 a=bLoAJnPGBKLbGpzEBMhwHQ==:117 a=YouI-sJxVyBn_dorcHkA:9 a=QEXdDO2ut3YA:10 a=mDV3o1hIAAAA:8 a=DPv1aUHZAAAA:20 a=5KkbeQLStiqhSj0GMKoA:9 a=_FVE-zBwftR9WsbkzFJk:22 X-Bluewin-Spam-Score: 0.00 X-FXIT-IP: IPv4[85.5.44.62] Epoch[1603231613] X-Bluewin-AuthAs: fulbert@bluewin.ch Date: Wed, 21 Oct 2020 00:06:52 +0200 From: Fulbert To: guix-patches@gnu.org Subject: alacritty : add terminfo fix Message-ID: <20201020220652.GA9741@bluewin.ch> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="+QahgC5+KEYLbs62" Content-Disposition: inline X-CMAE-Envelope: MS4wfHryEpQqqGcc8sGADpd8BpaK6mfwxxDXK95QGFiUW+eqp24v2kteWzHvvnmTIXOgeQXqchoOxzJHQTuPNnBo59v/F7e/+N8posq0XYUj0xc96fQYB8PU oEsQYWI7ItljmB+m2XrzgMiI/CH/L1e/GGr8lgRQbjNxndgf0ncdMU30 Received-SPF: pass client-ip=195.186.120.133; envelope-from=fulbert@bluewin.ch; helo=vimdzmsp-sfwd05.bluewin.ch X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/20 18:06:53 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 20 Oct 2020 18:12:39 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=utf-8 Content-Disposition: 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 --+QahgC5+KEYLbs62 Content-Type: text/plain; charset=utf-8 Content-Disposition: attachment; filename="0001-Apply-terminfo-fix-https-bugs.gnu.org-22138-stolen-f.patch" >From f8a5219e412b3908f59512b7fccfc4d187ee2174 Mon Sep 17 00:00:00 2001 From: Fulbert 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 --+QahgC5+KEYLbs62-- ------------=_1603816922-28451-1--