This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated terminfo and termcap definitions [Was: Re: 1.7.1 release date? (termcap)]


Charles Wilson wrote:
> ...this will require a rather tricky setup.hint, and I'm not sure
> it will actually work:
> 
> category: Utils
> requires:
> sdesc: "Old-style database for terminal handling"
> ldesc: "This database provides the terminal descriptions necessary
> for proper operation of obsolete programs that use termcap"
> prev: 20050421-1
> curr: 5.7_20091114-11
> external-source: terminfo
> 
> I'm hoping that the "external-source" will be attached to the
> 5.7_20090228-11 version only, and that the 20050421-1 entry will "know"
> that it has its own install: and source: tarball. (This is also why I
> haven't tried to use the mirrors and test:).
> 
> I know that 'genini' chokes on the structure above, but I don't know
> about upset.  Can anybody say, definitively, whether it will work (short
> of just trying it).

Well, in the absence of any response, here's what I did.  Hopefully it
will work, won't cause upset any heartburn, and is an acceptable approach.

On cygwin-1.5, I moved all of the pre-existing termcap tarballs, -src
and all, into terminfo/termcap, and deleted release/termcap.  I *copied*
    terminfo/terminfo-5.7_20091114-3-src.tar.bz2
to
    terminfo/termcap/termcap-5.7_20091114-3-src.tar.bz2
and removed the external-source: specification from
terminfo/termcap/setup.hint.  So, as far as upset is concerned, termcap
is (still) just another standalone package.  In the file listing below,
'N' means new file for these release(s), 'm' means moved (from
release/termcap), and 'C' means a renamed copy of another file elsewhere
under release/.

    terminfo/terminfo-5.5_20060323-1.tar.bz2
    terminfo/terminfo-5.5_20060323-1-src.tar.bz2
    terminfo/terminfo-5.7_20090228-1.tar.bz2
    terminfo/terminfo-5.7_20090228-1-src.tar.bz2
    terminfo/terminfo-5.5_20061104-1.tar.bz2
    terminfo/terminfo-5.5_20061104-1-src.tar.bz2
N   terminfo/terminfo-5.7_20091114-3.tar.bz2
N   terminfo/terminfo-5.7_20091114-3-src.tar.bz2
    terminfo/terminfo-extra/terminfo-extra-5.7_20090228-1.tar.bz2
N   terminfo/terminfo-extra/terminfo-extra-5.7_20091114-3.tar.bz2
    terminfo/terminfo0/terminfo0-5.5_20061104-2.tar.bz2
    terminfo/terminfo0/terminfo0-5.5_20061104-2-src.tar.bz2
N   terminfo/terminfo0/terminfo0-5.5_20061104-3.tar.bz2
N   terminfo/terminfo0/terminfo0-5.5_20061104-3-src.tar.bz2
    terminfo/terminfo0-extra/terminfo0-extra-5.5_20061104-2.tar.bz2
N   terminfo/terminfo0-extra/terminfo0-extra-5.5_20061104-3.tar.bz2
m   terminfo/termcap/termcap-20020930-1.tar.bz2
m   terminfo/termcap/termcap-20020930-1-src.tar.bz2
m   terminfo/termcap/termcap-20050421-1.tar.bz2
m   terminfo/termcap/termcap-20050421-1-src.tar.bz2
m   terminfo/termcap/termcap-20021106-2.tar.bz2
m   terminfo/termcap/termcap-20021106-2-src.tar.bz2
N   terminfo/termcap/termcap-5.7_20091114-3.tar.bz2
C   terminfo/termcap/termcap-5.7_20091114-3-src.tar.bz2

Here's the terminfo/termcap/setup.hint file for cygwin-1.5:
category: Utils
requires:
sdesc: "Old-style database for terminal handling"
ldesc: "This database provides the terminal descriptions necessary
for proper operation of obsolete programs that use termcap"
prev: 20050421-1
curr: 5.7_20091114-3



However, for cygwin-1.7, I chose a different path: since libtermcap.a
and friends are obsolete, and not needed at runtime by anybody...I just
removed them completely.  So, I rm -rf'ed release-2/termcap/, and the
release-2/terminfo structure looks like this:

    terminfo/terminfo-5.5_20061104-1-src.tar.bz2
    terminfo/terminfo-5.5_20061104-1.tar.bz2
    terminfo/terminfo-5.7_20090228-10-src.tar.bz2
    terminfo/terminfo-5.7_20090228-10.tar.bz2
N   terminfo/terminfo-5.7_20091114-12-src.tar.bz2
N   terminfo/terminfo-5.7_20091114-12.tar.bz2
    terminfo/terminfo-extra/terminfo-extra-5.7_20090228-10.tar.bz2
N   terminfo/terminfo-extra/terminfo-extra-5.7_20091114-12.tar.bz2
    terminfo/terminfo0/terminfo0-5.5_20061104-10-src.tar.bz2
    terminfo/terminfo0/terminfo0-5.5_20061104-10.tar.bz2
N   terminfo/terminfo0/terminfo0-5.5_20061104-11-src.tar.bz2
N   terminfo/terminfo0/terminfo0-5.5_20061104-11.tar.bz2
    terminfo/terminfo0-extra/terminfo0-extra-5.5_20061104-10.tar.bz2
N   terminfo/terminfo0-extra/terminfo0-extra-5.5_20061104-11.tar.bz2
N   terminfo/termcap/termcap-5.7_20091114-12.tar.bz2

And the terminfo/termcap/setup.hint file for cygwin-1.7:
category: Utils
requires:
external-source: terminfo
sdesc: "Old-style database for terminal handling"
ldesc: "This database provides the terminal descriptions necessary
for proper operation of obsolete programs that use termcap"


Hopefully that approach will meet with sufficient, even if not
unanimous, approval.

--
Chuck


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]