Package: devscripts
Version: 2.11.0
Severity: minor
Tags: patch

Hi,

While translating the newly added manpages, I noticed that the last
description was not displayed in devscripts(1). The attached naive patch
take care of that.

BTW, don't bother to update the po4a config file: I've already prepared
a patch and will join it with the translation once reviewed.

Regards

David

-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
Not present

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'oldstable'), (500, 'stable'), (150, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-1-amd64 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev                      1.16.0.3   Debian package development tools
ii  libc6                         2.13-4     Embedded GNU C Library: Shared lib
ii  perl                          5.12.3-7   Larry Wall's Practical Extraction 
ii  python                        2.6.6-14   interactive high-level object-orie
ii  python2.6                     2.6.6-10   An interactive high-level object-o
ii  python2.7                     2.7.1-9    An interactive high-level object-o

Versions of packages devscripts recommends:
ii  at                       3.1.12-1        Delayed job execution and batch pr
ii  curl                     7.21.6-1        Get a file from an HTTP, HTTPS or 
ii  dctrl-tools              2.19            Command-line tools to process Debi
ii  debian-keyring [debian-m 2011.03.03      GnuPG keys of Debian Developers
ii  dput                     0.9.6.2         Debian package upload tool
pn  equivs                   <none>          (no description available)
ii  fakeroot                 1.15.1-1        tool for simulating superuser priv
ii  gnupg                    1.4.11-3        GNU privacy guard - a free PGP rep
ii  libcrypt-ssleay-perl     0.57-2+b2       Support for https protocol in LWP
ii  libjson-perl             2.53-1          module for manipulating JSON-forma
ii  libparse-debcontrol-perl 2.005-3         parser for debian control-like fil
ii  libsoap-lite-perl        0.712-3         Perl implementation of a SOAP clie
ii  liburi-perl              1.58-1          module to manipulate and access UR
ii  libwww-perl              6.02-1          simple and consistent interface to
ii  lintian                  2.5.0           Debian package checker
ii  man-db                   2.6.0.2-1       on-line manual pager
ii  patch                    2.6.1.85-423d-3 Apply a diff file to an original
ii  patchutils               0.3.2-1         Utilities to work with patches
ii  python-debian            0.1.20          Python modules to work with Debian
ii  python-magic             5.04-5+b1       File type determination library us
ii  sensible-utils           0.0.6           Utilities for sensible alternative
ii  strace                   4.5.20-2.3      A system call tracer
ii  unzip                    6.0-4           De-archiver for .zip files
ii  wdiff                    0.6.5-1         Compares two files word by word
ii  wget                     1.12-3.1        retrieves files from the web
ii  xz-utils                 5.0.0-2         XZ-format compression utilities

Versions of packages devscripts suggests:
ii  build-essential         11.5             Informational list of build-essent
pn  cvs-buildpackage        <none>           (no description available)
pn  devscripts-el           <none>           (no description available)
ii  gnuplot                 4.4.0-1.1        A command-line driven interactive 
pn  libauthen-sasl-perl     <none>           (no description available)
ii  libfile-desktopentry-pe 0.04-2           Perl module to handle freedesktop 
pn  libnet-smtp-ssl-perl    <none>           (no description available)
ii  libterm-size-perl       0.2-4+b2         Perl extension for retrieving term
ii  libtimedate-perl        1.2000-1         collection of modules to manipulat
ii  libyaml-syck-perl       1.17-1+b1        Perl module providing a fast, ligh
ii  mailutils [mailx]       1:2.2+dfsg1-3+b1 GNU mailutils utilities for handli
ii  mutt                    1.5.21-5         text-based mailreader supporting M
ii  openssh-client [ssh-cli 1:5.8p1-4        secure shell (SSH) client, for sec
ii  svn-buildpackage        0.8.3            helper programs to maintain Debian
ii  w3m                     0.5.3-2+b1       WWW browsable pager with excellent

-- no debconf information
>From a8f1a6327a6b40834519c0c422ff53715d377fde Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Pr=C3=A9vot?= <taf...@debian.org>
Date: Thu, 26 May 2011 22:46:51 -0400
Subject: [PATCH] Handle the last description in devscripts(1)

---
 debian/genmanpage.pl |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/debian/genmanpage.pl b/debian/genmanpage.pl
index 806b77b..f4b2a55 100644
--- a/debian/genmanpage.pl
+++ b/debian/genmanpage.pl
@@ -26,6 +26,11 @@ while(<CONTROL>) {
        $package = $1;
        $description = $2
     }
+    # Handle the last description
+    elsif (/^ \./ and $package and $description) {
+        print $ITEM_LEADIN . $package . $ITEM_LEADOUT . "\n";
+        print $description . "\n";
+    }
     else {
        s/^.{3}//;
        $description .= $_;
-- 
1.7.5.1

Reply via email to