Package: kdesdk-scripts
Version: 4:3.4.2-2.1
Severity: normal
Tags: patch

kdemangen.pl parses the description out of the debian/control file, but
does so incorrectly.  If the depends/recommends/suggests line is continued
on a second line, that is included in the description.  (Try package
kdissert.)  The attached patch fixes that.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages kdesdk-scripts depends on:
ii  perl                          5.8.7-7    Larry Wall's Practical Extraction 
ii  python                        2.3.5-3    An interactive high-level object-o

Versions of packages kdesdk-scripts recommends:
ii  automake1.9 [automaken]    1.9.6-1       A tool for generating GNU Standard
ii  cvs                        1:1.12.9-15   Concurrent Versions System
ii  gawk                       1:3.1.4-2.0.1 GNU awk, a pattern scanning and pr

-- no debconf information
--- kdemangen.pl.orig   2005-11-04 01:40:45.000000000 +0100
+++ kdemangen.pl        2005-11-04 01:45:40.000000000 +0100
@@ -218,7 +218,7 @@
 my $description = $shortdescription;
 if( -r "control" )
   {
-    $description = `cat control | sed -ne '/Package: $appname\$/,/^\$/p' | 
egrep -v '^\\w*:.*\$' | sed -e 's/^ //' | sed -e 's/^\\.//'`;
+    $description = `cat control | sed -ne '/^Description:/,/^\$/p' | egrep -v 
'^\\w*:.*\$' | sed -e 's/^ //' | sed -e 's/^\\.//'`;
 # leads to problems in some cases :(
 #    $description =~ s/KDE ?/\n.SM KDE\n/g;
   }

Reply via email to