Merge branch 'ncursesw-python' into 'master'

Use ncursesw to support unicode everywhere, Make python quicker to build

See merge request redox-os/redox!1995
This commit is contained in:
Jeremy Soller 2026-03-09 18:46:03 -06:00
commit 18707198ea
9 changed files with 19 additions and 22 deletions

View File

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

View File

@ -8,16 +8,16 @@ patches = [
[build]
template = "custom"
dependencies = [
"bzip2",
"libffi",
"libuuid",
"openssl3",
"ncursesw",
"readline",
"sqlite3",
"zlib",
"xz",
"zstd",
"target:bzip2",
"target:libffi",
"target:libuuid",
"target:openssl3",
"target:ncursesw",
"target:readline",
"target:sqlite3",
"target:zlib",
"target:xz",
"target:zstd",
]
dev-dependencies = [
"host:python312"

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