Bug#387044: wrong rendering of newlines in description
gregor herrmann
gregor+debian at comodo.priv.at
Tue Sep 12 17:49:42 UTC 2006
On Tue, 12 Sep 2006 19:05:00 +0200, tpo at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20060912/f05df1a0/attachment.pgp
More information about the pkg-perl-maintainers
mailing list