This is the mail archive of the
cygwin-apps@cygwin.com
mailing list for the Cygwin project.
setup.ini, setup.hint, and update-setup
- To: cygwin-apps at cygwin dot com
- Subject: setup.ini, setup.hint, and update-setup
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- Date: Tue, 02 Oct 2001 17:20:42 -0400
While setup.exe can handle multi-line "ldesc" entries in setup.ini, the
update-setup script used to generate that file from the setup.hint's
will not create the correct results if the hint file has a multi-line
ldesc entry.
e.g. running update-setup when setup.hint is:
---------------------------
curr 5.2-7
prev 5.2-5a
category Base Libs
requires cygwin libncurses6 terminfo
sdesc "ncurses: libraries for terminal handling (main package)"
ldesc "The curses library routines are a terminal-independent method
of updating character screens with reasonalble optimization. The ncurses
(new curses) library is a freely distributable replacement for the
discontinued 4.4BSD classic curses library. This package contains
the documentation, static libraries, utility and test programs,
and the header files."
---------------------------
results in a setup.ini entry like this:
---------------------------
@ ncurses
sdesc: "ncurses: libraries for terminal handling (main package)"
ldesc: "The curses library routines are a terminal-independent method
version: 5.2-7
install: latest/ncurses/ncurses-5.2-7.tar.bz2 621191
source: latest/ncurses/ncurses-5.2-7-src.tar.bz2 1365560
[prev]
version: 5.2-5a
install: latest/ncurses/ncurses-5.2-5a.tar.bz2 529501
source: latest/ncurses/ncurses-5.2-5a-src.tar.gz 1822746
----------------------------
(Note that only the first line of ldesc was taken, and it's missing the
trailing quotation mark)
Question:
There are two ways to address this, that I can see:
1) fix update-setup to deal with multi-line entries
2) require that all entries fit on a single line -- but it can be
very long...
I'm all for #2. Comments?
Oh, and one other thing: update-setup doesn't parse the "category" or
"requires" entry from the hint file.
--Chuck