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

[SCM] Debian package checker branch, master, updated. 2.5.10-4-g750623c



The following commit has been merged in the master branch:
commit 750623c4dab40aa2044e49c67ece359e83fe4cf8
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Jul 10 14:37:16 2012 +0200

    c/manpages: Set MANROFFSEQ when calling man
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/manpages b/checks/manpages
index cdf6e74..31c97a0 100644
--- a/checks/manpages
+++ b/checks/manpages
@@ -255,6 +255,7 @@ foreach my $file ($info->sorted_index) {
             if ($dir) {
                 chdir $dir or fail "chdir $dir: $!";
             }
+            $ENV{MANROFFSEQ} = '';
             $ENV{MANWIDTH} = 80;
             exec { $cmd[0] } @cmd
                 or fail("cannot run man -E UTF-8 -l: $!");
diff --git a/checks/manpages.desc b/checks/manpages.desc
index e9c7c3e..c6ceb01 100644
--- a/checks/manpages.desc
+++ b/checks/manpages.desc
@@ -164,8 +164,11 @@ Info: This man page provokes warnings or errors from man.
  At worst, warning messages can be disabled with the .warn directive, see
  "Debugging" in the groff manual.
  .
+ Lintian also stricter in regards to declaring manpage preprocessors.
+ .
  To test this for yourself you can use the following command:
-  LC_ALL=en_US.UTF-8 MANWIDTH=80 man --warnings -E UTF-8 -l &lt;file&gt; &gt;/dev/null
+  LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 \
+         man --warnings -E UTF-8 -l &lt;file&gt; &gt;/dev/null
 
 Tag: manpage-has-errors-from-pod2man
 Severity: normal
diff --git a/debian/changelog b/debian/changelog
index e92c39d..3999266 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,9 +10,11 @@ lintian (2.5.11) UNRELEASED; urgency=low
     + [NT] Mention that cme can automate fixing some perl
       related tags.  Thanks to gregor herrmann for the report
       and patch.  (Closes: #680446)
-  * checks/manpages:
-    + [NT] Manually do redirects and chdir rather than invoking
-      a shell when calling man.
+  * checks/manpages{,.desc}:
+    + [CW,NT] Manually do redirects and chdir rather than
+      invoking a shell when calling man.
+    + [CW,NT] Be stricter with missing roff preprocessors by
+      setting MANROFFSEQ to the empty string when calling man.
 
  -- Niels Thykier <niels@thykier.net>  Tue, 10 Jul 2012 13:21:56 +0200
 

-- 
Debian package checker


Reply to: