[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with wattr_set()

From: Bryan Christ
Subject: Re: Trouble with wattr_set()
Date: Sun, 27 Jan 2019 12:27:46 -0600

Thomas, Timothy,

Thanks for explaining the situation with Ubuntu.  Is there anyway to distinguish ABI 5 from ABI 6 at runtime or compile time?  I assumed the ncurses version (6.1) would be congruent with ABI 6.  Right now I am doing #ifdef NCURSES_EXT_COLOR but maybe there's a better way?

On Sat, Jan 26, 2019 at 8:42 PM Thomas Dickey <address@hidden> wrote:
On Sun, Jan 27, 2019 at 12:35:01PM +1100, Timothy Allen wrote:
> On Sat, 2019-01-26 at 18:28 -0600, Bryan Christ wrote:
> > On a related noted, I think Bionic 18.04 *might* come with ABI 5, but
> > 18.04.1 is most definitely 6.1 *and* the conditional #if 0 is used
> > not #if 1.
> The official Ubuntu package list[1] says that the libncursesw6 package
> is only available on Cosmic and Disco. Bionic and Bionic-updates only
> have the libncursesw5 package.
> The libncursesw5 package is *version* 6.1, but it's configured to be
> compatible with ABI 5, not ABI 6. ABI 6 has been available as an option
> since ncurses 5.4 or something, I think.

yes... but: the Debian packagers were reluctant to upgrade to ABI 6
until I changed ncurses to support versioned symbols.  I did that in
2015 with ncurses 6.0:


The Ubuntu developers have provided no changes for ncurses; from my
standpoint, they're essentially end-users who (see the bug reports) have
trouble applying the Debian build scripts.  I see that in 2009 I made
two minor fixes based on Ubuntu bug-reports.  There's nothing more
recent than that.

(Perhaps someone will point out a counter example).

Thomas E. Dickey <address@hidden>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]