From 7b11b138b95e04c8bf3b8a8d962f81d32b234b40 Mon Sep 17 00:00:00 2001 From: Mario Fetka Date: Sun, 14 Jun 2026 03:54:49 +0000 Subject: [PATCH] 0496 build: drop obsolete ncurses local dependency --- prepare-local-deps.sh | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/prepare-local-deps.sh b/prepare-local-deps.sh index 5d50d1e..1b5b93f 100755 --- a/prepare-local-deps.sh +++ b/prepare-local-deps.sh @@ -5,7 +5,9 @@ # the generated dependency trees to git. The mars-nwe root repository remains the # only superproject; mars-* bundles are materialized as the configured submodule # working trees, while selected upstream release tarballs are unpacked into the -# submodule paths that the build already expects. +# submodule paths that the build already expects. FLAIM no longer needs a +# staged ncurses header snapshot; its CMake import uses the bundled curses +# compatibility shim, and termbox2 is unpacked as its terminal UI dependency. set -eu @@ -108,11 +110,6 @@ extract_headers() { tar -xf "$tarball" -C "$work" --strip-components=1 case "$name" in - ncurses) - echo "==> extracting ncurses headers -> $PREFIX/include" - install_header_tree "$work/include" "$PREFIX/include" - install_header_tree "$work/ncurses" "$PREFIX/include/ncurses" - ;; pam) echo "==> extracting PAM headers -> $PREFIX/include/security" install_header_tree "$work/libpam/include/security" "$PREFIX/include/security" @@ -134,7 +131,7 @@ print_cmake_hints() { Prepared local dependency prefix: $PREFIX -Use the local GDBM build and extracted PAM/ncurses headers like this: +Use the local GDBM build and extracted PAM headers like this: cmake -S . -B build \\ -DCMAKE_PREFIX_PATH=$PWD/$PREFIX \\ @@ -143,9 +140,9 @@ Use the local GDBM build and extracted PAM/ncurses headers like this: -DPAM_INCLUDE_DIR=$PWD/$PREFIX/include \\ -DPAM_LIBRARY=$pam_lib -PAM_LIBRARY above was auto-detected for this host. PAM and -ncurses are not vendored libraries here: only their headers are staged for -compile checks, and final linking is against the system libraries. +PAM_LIBRARY above was auto-detected for this host. PAM is not vendored +here: only its headers are staged for compile checks, and final linking is +against the system library. HINTS } @@ -169,7 +166,6 @@ copy_tree_from_tar "$(find_one 'termbox2-2.5.0.tar*.gz')" third_party/termbox2 copy_tree_from_tar "$(find_one 'iniparser-4.2.6.tar*.gz')" third_party/iniparser build_gdbm "$(find_one 'gdbm-1.26.tar*.gz')" -extract_headers "$(find_one 'ncurses-snapshots-6_6_20260608.tar*.gz')" ncurses extract_headers "$(find_one 'Linux-PAM-1.7.2.tar*.xz')" pam print_cmake_hints