ALT Linux Bugzilla – #1076
redistribute the contents of the pkg among other ones
Last modified: 2003-08-25 15:18:31
You need to
before you can comment on or make changes to this bug.
Now the pkg ncurses has very little to do with the main ncurses library (which
draws UI elements). Probably, some other packages have wrong dependencies on it
(actually, they should require some library: either libtinfo or libncurses).
The current name of the package is misleading because it suggests that if a pkg
uses libncurses, it could require ncurses, but this would be wrong: ncurses
doesn\'t depend on libncurses.
I think we should get rid of the ncurses pkg by redistributing its contents
among other pkgs and creating some new pkgs.
In general, three types of content comprise ncurses package now:
- the small utilities to perform primitive terminal manipulation
(tput, tset, reset etc.) -- a kind of wrappers around libtinfo functions, with
their man-pages. I suggest to put them in a new pkg called termutils
(analoguously to fileutils, textutils); it will be small (ca. 100K), could be
placed in / and even used by initscripts to format its output.
2. Some larger programs to compile, edit, check terminfo database entries (tic,
toe, tack etc.) with their man-pages. A normal system doesn\'t require them,
they may be required only on development systems. I suggest to put them in a
separate new pkg. I\'m not sure about its name , smth like \'terminfo-create\'
or \'terminfo-utils\' (I don\'t like the last name, because it doen\'t
emphasize that they are used to create terminfo, but not make use of it); it\'s
relation to terminfo is similar to relation of rpm-build to rpm, or apt-utils
(not quite a good name) to apt.
3. General documentation on ncurses (in /usr/share/doc/, it describes mainly
libncurses, not libtinfo): I suggest to move it to libncurses-devel (or some of
it to libncurses).
Other pkgs\' dependencies on ncurses should be changed accordingly (now I think
most of them are wrong):
I guess actaully they depend on either libncurses or libtinfo, perhaps in rare
cases on what will be termutils, and almost never on terminfo-create.
1. How to call these subpackages?
I\'d suggest termutils and termutils-devel.
2. What files to include in termutils?
- Redistributed contents of ncurses subpackage:
+ to termutils: clear, reset*, toe, tput, tset;
+ to termutils-devel: *info*, tack, tic;
+ to libncurses: documentation.
Also, I\'ll keep ncurses binary package with empty filelist and dependence on termutils-devel, to encure nothing essential gets lost after update.
Is it ok for you?
Ok, done in 5.2.20020810-alt1