From 453b993ac19227391c577329e7327bb435bb77e6 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Thu, 21 Dec 2023 08:36:13 -0700 Subject: [PATCH] package/ncurses: install foot terminfo if foot is selected MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From foot/INSTALL.md: ``` As of ncurses 2021-07-31, ncurses includes a version of foot’s terminfo. **The recommendation is to use those**, and only install the terminfo definitions from this git repo if the system’s ncurses predates 2021-07-31. ``` So it is best to follow the instructions and install the foot terminfo provided by ncurses. Signed-off-by: Adam Duskett Signed-off-by: Yann E. MORIN --- package/ncurses/ncurses.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/ncurses/ncurses.mk b/package/ncurses/ncurses.mk index 3b805cb1fd..00e1c0d424 100644 --- a/package/ncurses/ncurses.mk +++ b/package/ncurses/ncurses.mk @@ -73,6 +73,13 @@ NCURSES_TERMINFO_FILES = \ x/xterm-xfree86 \ $(call qstrip,$(BR2_PACKAGE_NCURSES_ADDITIONAL_TERMINFO)) +ifeq ($(BR2_PACKAGE_FOOT),y) +NCURSES_TERMINFO_FILES += \ + f/foot \ + f/foot+base \ + f/foot-direct +endif + ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y) NCURSES_CONF_OPTS += --enable-widec NCURSES_LIB_SUFFIX = w