From 0cb4f6fa266a6244dbd77e042e58215390d202ab Mon Sep 17 00:00:00 2001 From: Jakob Rydhof Date: Mon, 27 Apr 2020 20:36:04 +0200 Subject: [PATCH] ncurses: add libtinfo.so This change add an extra library "libtinfo.so". From the documentation: When building the ncurses library, organize this as two parts: the curses library (libncurses) and the low-level terminfo library (libtinfo). This is done to accommodate applications that use only the latter. The terminfo library is about half the size of the total. This is used by some programs, which will rather look at libtinfo, than libncurses. --- common/shlibs | 1 + srcpkgs/ncurses/template | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/common/shlibs b/common/shlibs index 4980ef58191..ff6e940aeef 100644 --- a/common/shlibs +++ b/common/shlibs @@ -72,6 +72,7 @@ libncurses.so.6 ncurses-libs-6.0_1 ignore libncurses.so.5 ncurses-libs-6.0_1 ignore libncursesw.so.6 ncurses-libs-5.8_1 ignore libncursesw.so.5 ncurses-libs-5.8_1 ignore +libtinfo.so.6 ncurses-libs-6.2_2 libnetcdf.so.15 netcdf-4.7.0_1 libformw.so.5 ncurses-libs-5.9_13 ignore libformw.so.6 ncurses-libs-5.8_1 ignore diff --git a/srcpkgs/ncurses/template b/srcpkgs/ncurses/template index 2e346236043..ca74c8fa5cd 100644 --- a/srcpkgs/ncurses/template +++ b/srcpkgs/ncurses/template @@ -1,7 +1,7 @@ # Template file for 'ncurses' pkgname=ncurses version=6.2 -revision=1 +revision=2 bootstrap=yes configure_args="--enable-big-core" short_desc="System V Release 4.0 curses emulation library" @@ -30,6 +30,7 @@ do_configure() { --with-manpage-symlinks --with-manpage-format=normal \ --without-ada --enable-ext-colors \ --without-tests --enable-pc-files \ + --with-termlib=tinfo \ --with-pkg-config-libdir=/usr/lib/pkgconfig \ ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config \ BUILD_CFLAGS="$BUILD_CFLAGS" @@ -38,6 +39,7 @@ do_configure() { # non-widec build ../configure ${configure_args} --with-shared \ --without-debug --without-ada --without-tests \ + --with-termlib=tinfo \ --enable-pc-files --with-pkg-config-libdir=/usr/lib/pkgconfig \ ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config \ BUILD_CFLAGS="$BUILD_CFLAGS" @@ -93,7 +95,7 @@ do_install() { } ncurses-libs_package() { - shlib_provides="libformw.so.5 libmenuw.so.5 libpanelw.so.5 libncursesw.so.5" + shlib_provides="libformw.so.5 libmenuw.so.5 libpanelw.so.5 libncursesw.so.5 libtinfo.so.6" short_desc+=" -- shared libraries" pkg_install() { vmove "usr/lib/*.so.*"