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

Re: Bug#387044: wrong rendering of newlines in description



On Tue, 12 Sep 2006 19:05:00 +0200, tpo@sourcepole.ch wrote:

> > I can confirm this behaviour (independent of the terminal width).
> > The interesting point is that (besides debian/control looking as
> > expected) debc and dkpkg --info present the long description in a
> > sane way.
> probably it's not aptitude, but the description is really wrong, since I've
> seen the same problem many times in various packages and he maintainer
> probably just needs to read up the spec on how sane descriptions are allowed
> to be formated.

I've been reading the specs (as part of the Debian Perl Group which
maintains the package) and haven't found any hint yet.
And - as mentioned above - the problem does not appear with debc or
dpkg.

Here's the stanza from the original debian/control:

#v+

Description:  Parses simple configuration files
 ConfigFile parses simple configuration files and store its values in
 an anonymous hash reference. The syntax of the configuration file is
 quite simple:
 .
 # This is a comment
 VALUE_ONE = foo
 VALUE_TWO = $VALUE_ONE/bar
 VALUE_THREE = The value contains a \# (hash). # This is a comment.
 COMPOSED_VALUE[one] = The first component of a clustered value
 COMPOSED_VALUE[two] = The second component of a clustered value

#v-

Thinking about it the behaviour is not that unexpected anymore:
aptitude just wraps everything that does not start with _2_ spaces.

*test*

Yup, adding an additional space fixes the problem.


Alright, I've commited the changes to the DPG's svn repository, could
some DD please upload the new revision?

gregor

-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Ostbahn-Kurti & Die Chefpartie: Arbeit

Attachment: signature.asc
Description: Digital signature


Reply to: