Splitting the ncurses RPM

Arnd Bergmann arnd at arndb.de
Wed Jun 6 09:34:33 EDT 2007


On Wednesday 06 June 2007, Miroslav Lichvar wrote:
> On Tue, Jun 05, 2007 at 07:34:30PM -0400, Bernardo Innocenti wrote:
>
> This list is far too short, xterm-256color, gnome, teraterm, jfbterm,
> mrxvt and others should be included. I guess it will be pretty hard to
> select from descriptions so the extra terminfo package won't have to
> be installed by default.

Actually, we already have a small subset defined in /lib/terminfo,
as opposed to the full set that gets installed to /usr/share/terminfo.
Maybe it's enough to review the list of files in the former directory
and then use only those by default, with /usr/share/terminfo in an
optional package.

> Installing all descriptions by default (and removing the package only
> when it's sure it's not needed) might be a better choice. Although
> there will be a problem with upgrading from old ncurses as nothing
> will depend on the new package.

I'd vote for splitting it into more subpackages at the same time,
and keep the 'ncurses' name for a package that has dependencies
on all of them, so that another package that currently depends on
ncurses will no break, but we can change them to include the fine
grained dependencies as the next step.

There is also the problem of 32 and 64 bit libraries, so it makes
sense to have the lib files separated from the binaries and data
files.

What now is in the ncurses package would then become

libncurses: {,/usr}/lib{,64}/*.so.* /lib/terminfo/*
ncurses-bin: /usr/bin/*, requires: libncurses.%{arch}
ncurses-data: /usr/share/terminfo/, requires: libncurses
ncurses: requires: ncurses-bin, ncurses-data.

	Arnd <><



More information about the Devel mailing list