On 2011-10-10 02:55 +0200, Craig Small wrote:
> On Wed, Oct 05, 2011 at 09:09:54PM +0200, Sven Joachim wrote:
>> I wonder whether it would be a good idea to instead provide symlinks in
>> libtinfo-dev, i.e.
>> libtermcap.so -> libtinfo.so and libtermcap.a -> libtinfo.a .
> I assume that the functions required in libtermcap are provided by
> libtinfo.
That's my assumption as well, and Thomas has not contradicted.
> I also noticed there are no header files for libtinfo-dev which doesn't
> appear correct to me. Surely there are some functions in libtinfo that
> you could use and they need headers to reference them? The ncurses
> headers appear in libncurses5-dev package, but there might be cases
> where that isn't installed.
The problem is that we have two versions of the headers, one in
libncurses5-dev and one in libncursesw5-dev, and there does not seem to
be a shareable subset suitable for libtinfo-dev.
E.g. /usr/include/term.h #includes <ncurses_dll.h>, and
/usr/include/ncursesw/term.h #includes <ncursesw/ncurses_dll.h>.
The sole reason for even having a libtinfo-dev package is that both
libncurses5-dev and libncursesw5-dev need libtinfo.so. If we manage to
get rid of the non-wide development packages, libtinfo-dev should be
merged back into libncursesw5-dev like I did for the 64-bit version in
commit 4bbaa7cd3.
Cheers,
Sven
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]