Mantis - ncurses
Viewing Issue Advanced Details
4397 packaging minor N/A 2010-04-15 23:41 2010-05-25 22:43
skayser  
dam  
normal  
closed  
fixed  
none    
none  
0004397: Split off CSWterminfo package?
What do you think about wrapping a separate CSWterminfo package for the terminfo database that comes with CSWncurses? Reason being: the terminfo db is - even without CSWncurses - usable by the system curses library. Packages like screen could then depend on CSWterminfo (without pulling in ncurses) and use its "screen" terminfo description (which isn't present in the Solaris terminfo db). See Note: 0007860, Phil favours screen w/o a dependency on ncurses.

Maciej already adjusted the ncurses GAR build description to do exactly this a while ago, but I am neither aware about the current state of affairs nor do I know whether this makes sense to you.
Although I think this is more a semantical split than one rooted in size considerations, following are some figures for the fun of it.

* Complete ncurses pkg: 7.5 MB uncompressed, 1.6 MB compressed
* Just the terminfo bit: 1.6 MB uncompressed, ~300K compressed

Complete ncurses pkg, uncompressed:

$ grep 'CSWncurses$' /var/sadm/install/contents | \
    awk '$2 == "f" { size += $7 } END { print size }'
7541756

Complete ncurses pkg, packaged and compressed:

$ grep 'CSWncurses$' /var/sadm/install/contents | \
    awk '$2 == "f" { print $1 }' | \
    cpio -o 2>/dev/null | gzip | wc -c
 1580643

Just the terminfo bit, uncompressed:

$ grep 'CSWncurses$' /var/sadm/install/contents | \
    grep /opt/csw/share/terminfo/ | \
    awk '$2 == "f" { size += $7 } END { print size }'
1644926

Just the terminfo bit, packaged and compressed:

$ grep 'CSWncurses$' /var/sadm/install/contents | \
    grep /opt/csw/share/terminfo/ | \
    awk '$2 == "f" { print $1 }' | \
    cpio -o 2>/dev/null | gzip | wc -c
  269926
related to 0004133closed yann screen Color support impaired, screen windows default to TERM=vt100 
Issue History
2010-04-15 23:41 skayser New Issue
2010-04-15 23:41 skayser Relationship added related to 0004133
2010-05-21 08:04 skayser Note Added: 0007939
2010-05-21 10:39 dam Status new => assigned
2010-05-21 10:39 dam Assigned To => dam
2010-05-21 14:30 dam Note Added: 0007942
2010-05-21 14:30 dam Status assigned => feedback
2010-05-25 22:43 dam Note Added: 0007946
2010-05-25 22:43 dam Status feedback => closed
2010-05-25 22:43 dam Resolution open => fixed

Notes
(0007939)
skayser   
2010-05-21 08:04   
Can we get any progress on this so that an updated screen can be published? I don't mind either way (screen linked against ncurses or terminfo split off).
(0007942)
dam   
2010-05-21 14:30   
Split packages ready at
  http://mirror.opencsw.org/experimental.html#dam [^]
Please verify.
(0007946)
dam   
2010-05-25 22:43   
Both packages released to current as 5.7,REV=2010.05.21.