Bug 1076 - redistribute the contents of the pkg among other ones
Summary: redistribute the contents of the pkg among other ones
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: ncurses (show other bugs)
Version: unstable
Hardware: all Linux
: P4 enhancement
Assignee: Fr. Br. George
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-12 13:24 MSD by imz
Modified: 2003-08-25 15:18 MSD (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description imz 2002-07-12 13:24:33 MSD
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).

---

---
ncurses-5.2.20020622-alt1

Other pkgs\' dependencies on ncurses should be changed accordingly (now I think most of them are wrong):
  basesystem
  Eterm
  gdm
  interactivesystem
  libncurses
  licq-console
  mrtg
  msec
  nessus-client
  nessus-server
  terminfo

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.

Comment 1 Dmitry V. Levin 2002-08-12 13:07:59 MSD
1. How to call these subpackages?
I\'d suggest termutils and termutils-devel.

2. What files to include in termutils?
Comment 2 Dmitry V. Levin 2002-08-12 13:07:59 MSD
1. How to call these subpackages?
I\'d suggest termutils and termutils-devel.

2. What files to include in termutils?
Comment 3 Dmitry V. Levin 2002-08-13 18:11:00 MSD
- 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?
Comment 4 Dmitry V. Levin 2002-08-13 18:11:00 MSD
- 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?
Comment 5 Dmitry V. Levin 2002-08-14 21:52:59 MSD
Ok, done in 5.2.20020810-alt1
Comment 6 Dmitry V. Levin 2002-08-14 21:52:59 MSD
Ok, done in 5.2.20020810-alt1