www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/10/02/17:25:20

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <3BBA2FAA.7060805@ece.gatech.edu>
Date: Tue, 02 Oct 2001 17:20:42 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010815
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin-apps AT cygwin DOT com
Subject: setup.ini, setup.hint, and update-setup

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019