On 05/08/2020 22:50, Lemures Lemniscati via Cygwin-apps wrote:
On Wed, 5 Aug 2020 20:34:24 +0100, Jon Turney

However, I think there is a consistency problem here, as other variables which 
should only produce a single line in the .hint file (e.g. REQUIRES, etc.) don't 
get whitespace canonicalized (as least, that's how it seemed to me when I 
briefly looked at this).

Thanks for the patch.

Thank you for reviewing.

It would be easy to canonicalize through a functiion like
__single_line_list () in the commit
https://github.com/cygwin-lem/cygport/commit/7607782d3d1972aef6b88ee32f5211f21abbbcfb

I'll check later for 'category:', 'requires:', 'obsoletes:',
'provides:', and 'conflicts:'.

Any other field to be checked for canonicalization?

Although it's not very clearly specified in [1], the only keys in a .hint file for which multiline values are currently permitted are ldesc: and message:

[1] https://cygwin.com/packaging-hint-files.html

Reply via email to