[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2 lintian v2.5.10.2ubuntu2.1 problems



Daniel Pfeiffer <occitan@t-online.de> writes:

> The 1st is true, but intended and in accordance with
> http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-Description
> "Successive lines of this form will be word-wrapped when displayed."
> Synaptic indeed does just that, and it looks much better than the hard
> line breaks in many descriptions.  Besides, synaptic gives more
> interline gap for a hard line break than for one it wrapped itself.
> Please remove a warning that's in contradiction to debian-policy!

Synaptic should also word-wrap any paragraph whose lines start with only
one space, so there's no need to avoid wrapping lines to get good wrapping
behavior.  (If Synaptic doesn't do this, that's a bug in Synaptic that
needs to be fixed there, rather than in your package, since practically
every Debian package in the archive wraps its description in the control
file.)

It's correct for you to wrap the paragraph with hard newlines in the
control file, and then let front-ends rewrap the paragraph to the
appropriate screen width when they need to.  Unwrappable paragraphs are
indicated by two leading spaces.

This is covered in the section of Policy that you point to:

    Those starting with a single space are part of a paragraph. Successive
    lines of this form will be word-wrapped when displayed. The leading
    space will usually be stripped off. The line must contain at least one
    non-whitespace character.

so I think you're just misreading it and/or being misled by a bug in
Synaptic.  (I don't know if Synaptic is buggy in this regard since I don't
use it.)

> The second one appeared recently, and it's nonsense.  mpp* are hard
> links to makepp* and it rightly doesn't complain about those, because
> they have a perl magic number.  Since these are hard links, they are the
> identical file, so how can they be wrong?

I think there's something going on in your package that you're not
expecting, since I know Lintian copes fine with hard links in other
packages.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>


Reply to: