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

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




Is there a reason why there is no watch file here Gunnar?

Carlo


On Tue, 12 Sep 2006, gregor herrmann wrote:

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



--
Carlo U. Segre -- Professor of Physics
Associate Dean for Special Projects, Graduate College
Illinois Institute of Technology
Voice: 312.567.3498            Fax: 312.567.3494
segre@iit.edu    http://www.iit.edu/~segre    segre@debian.org



Reply to: