Package: apt-listchanges
Version: 2.85.12~exp1
Severity: minor
Tags: patch

Hello,

I have been working on libdebconf-kde which uses the the apt-listchanges 
debconf interface which was originally meant to work with packagekit, see 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678311

If I'm not missing something, in the patch attached there I think there is a 
missing newline to separate the short description from the long description.
I have built the package from git with the attached patch and looks like it 
works fine toghether with the changes I did to libdebconf-kde.

Thank you.
commit 05df5d56020aadf72a66aff594599fea4c7b4802
Author: José Manuel Santamaría Lema <panfa...@gmail.com>
Date:   Fri Nov 9 14:59:20 2012 +0100

    Add missing newline in the debconf passtrough frontend output.

diff --git a/apt-listchanges/apt_listchanges.py b/apt-listchanges/apt_listchanges.py
index fe9f9c3..cc879e5 100644
--- a/apt-listchanges/apt_listchanges.py
+++ b/apt-listchanges/apt_listchanges.py
@@ -223,7 +223,7 @@ Description: ${title}
 
 Template: apt-listchanges/news
 Type: note
-Description: ${packages} packages''')
+Description: ${packages} packages\n''')
         for line in text.split('\n'):
             if line.strip():
                 tmp.write('  ' + line + '\n')
diff --git a/debian/changelog b/debian/changelog
index 0fcd095..0d000cd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,12 @@
 apt-listchanges (2.85.12~exp2) UNRELEASED; urgency=low
 
+  [ Sandro Tosi ]
   * Update the program Spanish PO file; thanks to Javier Fernandez-Sanguino;
     Closes: #686426
 
+  [ José Manuel Santamaría Lema ]
+  * Add missing newline in the debconf passtrough frontend output.
+
  -- Sandro Tosi <mo...@debian.org>  Sat, 01 Sep 2012 22:21:15 +0200
 
 apt-listchanges (2.85.12~exp1) experimental; urgency=low

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to