On Mon, 30 May 2011, Matthias Klose wrote:
On 05/30/2011 11:26 AM, Thomas Dickey wrote:
On Mon, 30 May 2011, Matthias Klose wrote:
not yet decided what to do about this. In sid, the curses module is forced
to
link with libncursesw.
Redhat and SuSE are using the feature (of ncurses) which allows the
terminfo-level part to be built as a separate library. For low-level
users such as readline, that helps since they can be linked against
a library which is independent of ncurses/ncursesw differences.
from the ncurses INSTALL:
--disable-tic-depends
When building shared libraries, normally the tic library is linked to
depend upon the ncurses library (and in turn, on the term-library if
the --with-termlib option was given). The tic- and term-libraries
ABI does not depend on the --enable-widec option. Some packagers have
used this to reduce the number of library files which are packaged
by using only one copy of those libraries. To make this work
properly,
the tic library must be built without an explicit dependency on the
ncurses (or ncursesw) library. Use this configure option to do that.
For example
configure --with-ticlib --with-shared --disable-tic-depends
Is the Debian package doing this part?
I was mainly talking about the other programs such as readline,
which use the terminfo-level library.
However...
tic (and the other ncurses utilities such as infocmp, as well as tack) use
a third part of the ncurses library, which is complicated by whatever
commands are used to link. As I recall it, those _could_ be linked
without the middle-level ncurses library, since they require only features
from the tic-library and the low-level terminfo-library. (At the moment I
don't recall if I've set this up in the makefile to handle that
combination).
The terminfo-level library as I've seen it in the other systems is made
into one version by adjusting the linkage commands in their packages. So
I thought it would be something useful to investigate.
but:
$ ldd /usr/lib/libtic.so.5.9 | grep curses
libncurses.so.5 => /lib/libncurses.so.5 (0x00110000)
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]