From dcebf9c7f954a55350b68d0ead1935612c4e2e05 Mon Sep 17 00:00:00 2001 From: Berke Güzel Date: Thu, 15 Oct 2026 13:04:01 +0300 Subject: Rename the library to wsap_vtcore ncurses installs and defines struct term. In a file that includes both headers, an ncurses TERMINAL * and this library's terminal are silently the same type. The name wsap_vtcore avoids the clash. The public header is now . Every global symbol uses the wsap_vtcore_ prefix, every macro uses WSAP_VTCORE_, and the shared library is libwsap_vtcore.so.0. The default terminal name is now "wsap_vtcore". The ISA override variable is WSAP_VTCORE_ISA. No other behavior changes. The amalgamation writes wsap_vtcore.c and wsap_vtcore.h. Co-Authored-By: Claude Haiku 5.5 --- src/meson.build | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/meson.build') diff --git a/src/meson.build b/src/meson.build index 7684275..ce91573 100644 --- a/src/meson.build +++ b/src/meson.build @@ -2,11 +2,11 @@ subdir('osc') # The SONAME carries the major version. An ABI break bumps it, so an old # binary keeps the old library. -term_soversion = meson.project_version().split('.')[0] +wsap_vtcore_soversion = meson.project_version().split('.')[0] # The x86-64 SIMD kernels pick their level at run time (see simd.h), so the # library needs no ISA flags. -march in c_args sets the lowest level. -term_lib = both_libraries('term', +wsap_vtcore_lib = both_libraries('wsap_vtcore', 'core.c', 'escape.c', 'fastcsi.c', @@ -23,12 +23,12 @@ term_lib = both_libraries('term', 'term.c', 'text.c', 'text_run.c', - term_osc_src, - include_directories: term_private_inc, + wsap_vtcore_osc_src, + include_directories: wsap_vtcore_private_inc, dependencies: [m_dep, thread_dep], gnu_symbol_visibility: 'hidden', version: meson.project_version(), - soversion: term_soversion, + soversion: wsap_vtcore_soversion, install: true ) -- cgit v1.2.3