Use ncursesw to support unicode everywhere

This commit is contained in:
Wildan M 2026-03-10 07:34:41 +07:00
parent 21eb540476
commit 9bab0c1fc4
No known key found for this signature in database
GPG Key ID: 01AC53185C679C79
8 changed files with 9 additions and 12 deletions

View File

@ -24,7 +24,7 @@ dependencies = [
"libxml2",
"libiconv",
"libzip",
"ncurses",
"ncursesw",
"nghttp2",
"openssl1",
"openssl3", # put this after openssl1

View File

@ -9,7 +9,7 @@ dependencies = [
"liborbital",
"libsodium",
"libxml2",
"ncurses",
"ncursesw",
"nghttp2",
"openssl3",
"orbclient",

View File

@ -8,7 +8,7 @@ patches = [
[build]
template = "custom"
dependencies = [
"ncurses",
"ncursesw",
]
script = """
DYNAMIC_INIT

View File

@ -1,9 +1,9 @@
#TODO need testing
[source]
tar = "https://ftp.gnu.org/gnu/termcap/termcap-1.3.1.tar.gz"
[build]
template = "custom"
script = """
DYNAMIC_STATIC_INIT
COOKBOOK_CONFIGURE_FLAGS+=(
--prefix="${COOKBOOK_STAGE}/usr"
)

View File

@ -8,16 +8,13 @@ patches = [
[build]
template = "custom"
dependencies = [
"gettext",
"readline",
"termcap",
]
script = """
# compiled statically
COOKBOOK_CONFIGURE_FLAGS+=(
ac_cv_func_wcwidth=no # TODO: add more wc functions and remove this
bash_cv_func_sigsetjmp=no
bash_cv_getenv_redef=no
--disable-multibyte # TODO: add more multibyte functions and remove this
--enable-static-link # This ensures loadables are not built, which will fail
)
COOKBOOK_MAKE_JOBS=1 # workaround for parallel make bugs

View File

@ -3,7 +3,7 @@ tar = "https://www.nano-editor.org/dist/v7/nano-7.2.tar.xz"
[build]
template = "custom"
dependencies = [
"ncurses",
"ncursesw",
]
script = """
DYNAMIC_INIT

View File

@ -4,7 +4,7 @@ blake3 = "d1f5802ceb047b09143f1764bf4016f084cf7e6c026c7047919264c9f262a5dd"
patches = ["vim.patch"]
[build]
dependencies = ["ncurses"]
dependencies = ["ncursesw"]
template = "custom"
script = """
DYNAMIC_INIT
@ -20,7 +20,7 @@ export vim_cv_memmove_handles_overlap=yes
COOKBOOK_CONFIGURE="./configure"
COOKBOOK_CONFIGURE_FLAGS+=(
--with-tlib=ncurses
--with-tlib=ncursesw
)
cookbook_configure
"""

View File

@ -7,7 +7,7 @@ dependencies = ["terminfo"]
[build]
template = "custom"
dependencies = ["ncurses"]
dependencies = ["ncursesw"]
script = """
DYNAMIC_INIT
cookbook_configure