Discard Termcap and switch console apps to use Terminfo
* Switch bash, debugger, less, telnet[d] and top apps to use termcap functionality provided by ncurses lib instead of GNU libtermcap.so; * NetBSD version of tput utility replaced with ncurses' one. Fixes #9606; * terminfo database is provided as mandatory package installed during building target system; * Remove libtermcap module. The termcap database source and corresponding build rules are not removed to provide backward compatibility - until all optional packages will be rebuild on upcoming system version using terminfo. Note that gcc2 builds may require to provide termcap a bit longer in the sake of binary compatibility with R5 era apps.
This commit is contained in:
@@ -35,7 +35,7 @@ SYSTEM_BIN = [ FFilterByBuildFeatures
|
||||
setversion setvolume seq sha1sum shar shred shuf shutdown sleep sort
|
||||
spamdbm split stat strace stty su sum sync sysinfo
|
||||
tac tail tcpdump tcptester tee telnet telnetd test timeout top touch
|
||||
tput tr traceroute translate trash true truncate tsort tty
|
||||
<ncurses>tput tr traceroute translate trash true truncate tsort tty
|
||||
uname unchop unexpand unmount uniq unlink unshar unzip unzipsfx
|
||||
<bin>updatedb uptime urlwrapper useradd uudecode uuencode
|
||||
vdir version vmstat
|
||||
|
||||
@@ -41,4 +41,4 @@ OptionalPackageDependencies WebPositive : Curl LibXML2 SQLite WebKit WebPositive
|
||||
OptionalPackageDependencies wpa_supplicant : OpenSSL ;
|
||||
OptionalPackageDependencies XZ-Utils : Tar ;
|
||||
|
||||
OptionalPackageDependencies MandatoryPackages : Bzip Ctags Grep ICU Sed Tar ;
|
||||
OptionalPackageDependencies MandatoryPackages : Bzip Ctags Grep ICU Sed Tar TermInfo ;
|
||||
|
||||
@@ -97,6 +97,7 @@ if $(HAIKU_ADD_ALTERNATIVE_GCC_LIBS) = 1
|
||||
# System-sounds - a collection of system sounds
|
||||
# TagLib - id3 tag library
|
||||
# Tar - archiving utility
|
||||
# TermInfo - terminal capabilites database
|
||||
# TimGMSoundFont - a good quality General MIDI Sound Font
|
||||
# TrackerNewTemplates - template files for Tracker's New menu
|
||||
# Transmission - a fast, easy, and free BitTorrent Client
|
||||
@@ -961,7 +962,6 @@ if [ IsOptionalHaikuImagePackageAdded DevelopmentMin ]
|
||||
|
||||
# third party libs headers
|
||||
AddHeaderDirectoryToHaikuImage libs ncurses : 3rdparty ;
|
||||
AddHeaderDirectoryToHaikuImage libs termcap : 3rdparty ;
|
||||
AddHeaderDirectoryToHaikuImage libs tiff : 3rdparty ;
|
||||
|
||||
CopyDirectoryToHaikuImage develop headers :
|
||||
@@ -2065,6 +2065,13 @@ if [ IsOptionalHaikuImagePackageAdded Tar ] {
|
||||
}
|
||||
|
||||
|
||||
# TermInfo
|
||||
if [ IsOptionalHaikuImagePackageAdded TermInfo ] {
|
||||
InstallOptionalHaikuImagePackage terminfo-1.383-2013-05-21.zip
|
||||
: $(baseURL)/terminfo-1.383-2013-05-21.zip ;
|
||||
}
|
||||
|
||||
|
||||
# TimGMSoundFont
|
||||
if [ IsOptionalHaikuImagePackageAdded TimGMSoundFont ] {
|
||||
InstallOptionalHaikuImagePackage TimGMSoundFont-2010-06-16.zip
|
||||
|
||||
Reference in New Issue
Block a user