From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gKKL6-0004C5-Dg for guix-patches@gnu.org; Wed, 07 Nov 2018 04:41:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gKKKh-0003HJ-Ob for guix-patches@gnu.org; Wed, 07 Nov 2018 04:41:23 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:33897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gKKKc-00033Y-DW for guix-patches@gnu.org; Wed, 07 Nov 2018 04:41:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gKKKc-0004F5-4I for guix-patches@gnu.org; Wed, 07 Nov 2018 04:41:02 -0500 Subject: [bug#33186] [PATCH 6/7] gnu: slang: Use a correct location for terminfo dirs. Resent-Message-ID: References: <20181028124043.21773-2-m.othacehe@gmail.com> <20181028124043.21773-7-m.othacehe@gmail.com> <87tvkuw6x1.fsf@gnu.org> From: Mathieu Othacehe In-reply-to: <87tvkuw6x1.fsf@gnu.org> Date: Wed, 07 Nov 2018 18:39:57 +0900 Message-ID: <87woppw7iq.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 33186@debbugs.gnu.org Hey, > Note that ncurses honors the TERMINFO_DIRS environment variable, so I > suppose it would work to just set it at run time? Slang uses this piece of code to locate terminfo directory: --8<---------------cut here---------------start------------->8--- static SLCONST char *Terminfo_Dirs [] =3D { "", /* $TERMINFO */ "", /* $HOME/.terminfo */ #ifdef MISC_TERMINFO_DIRS MISC_TERMINFO_DIRS, <---- set during configure #endif "/usr/local/etc/terminfo", "/usr/local/share/terminfo", "/usr/local/lib/terminfo", "/etc/terminfo", "/usr/share/terminfo", "/usr/lib/terminfo", "/usr/share/lib/terminfo", "/lib/terminfo", NULL, }; --8<---------------cut here---------------end--------------->8--- So TERMINFO_DIRS is not used sadly. > > Now, if this change means that Slang will work out-of-the-box by > default, it=E2=80=99s probably preferable. I'll stick with this patch then. Pushed as 8243f4e55a9f87821370eb2198fa9b5c8eac6648. Mathieu