Your message dated Wed, 09 May 2012 17:47:32 +0000
with message-id <[email protected]>
and subject line Bug#394511: fixed in docbook-utils 0.6.14-2
has caused the Debian Bug report #394511,
regarding docbook-utils: docbook2man should translate the NAME section 
according to the REFENTRY's lang attribute
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
394511: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394511
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: docbook-utils
Version: 0.6.14-1
Severity: normal
Tags: patch l10n

Hello,

Currently, docbook2man translates the NAME section according to the lang
attribute provided to the REFNAMEDIV tag.
When a lang attribute is specified in the REFENTRY tag and no lang
attribute is specified with the REFNAMEDIV, the lang attribute of the
REFENTRY should be used.

A patch is attached.

Kind Regards,
-- 
Nekral
diff -rauN ../orig/docbook-utils-0.6.14/helpers/docbook2man-spec.pl 
./docbook-utils-0.6.14/helpers/docbook2man-spec.pl
--- ../orig/docbook-utils-0.6.14/helpers/docbook2man-spec.pl    2003-06-10 
10:30:30.000000000 +0200
+++ ./docbook-utils-0.6.14/helpers/docbook2man-spec.pl  2006-10-21 
00:48:33.000000000 +0200
@@ -358,11 +358,14 @@
 # NAME section
 man_sgml('<REFNAMEDIV>', sub {
        my %words = qw( fr NOM es NOMBRE de NAME );
-       if (defined($_[0]->attribute('LANG')->value)) {
-       my $id = $_[0]->attribute('LANG')->value;
-       my $ad = $words{$id};
-       output("\n.SH $ad\n");}
-       else {output("\n.SH NAME\n");}
+       # Use the REFNAMEDIV's lang attribute, and default to the
+       # REFENTRY's lang attribute.
+       my $lang = $_[0]->attribute('LANG')->value;
+       $lang = $manpage_lang unless defined $lang;
+       if (defined($lang) and defined $words{lc($lang)}) {
+               my $ad = $words{lc($lang)};
+               output("\n.SH $ad\n");}
+       else {  output("\n.SH NAME\n");}
 });
 
 sgml('<REFNAME>', \&save_cdata);

--- End Message ---
--- Begin Message ---
Source: docbook-utils
Source-Version: 0.6.14-2

We believe that the bug you reported is fixed in the latest version of
docbook-utils, which is due to be installed in the Debian FTP archive:

docbook-utils_0.6.14-2.debian.tar.gz
  to main/d/docbook-utils/docbook-utils_0.6.14-2.debian.tar.gz
docbook-utils_0.6.14-2.dsc
  to main/d/docbook-utils/docbook-utils_0.6.14-2.dsc
docbook-utils_0.6.14-2_all.deb
  to main/d/docbook-utils/docbook-utils_0.6.14-2_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mathieu Malaterre <[email protected]> (supplier of updated docbook-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 09 May 2012 19:23:52 +0200
Source: docbook-utils
Binary: docbook-utils
Architecture: source all
Version: 0.6.14-2
Distribution: unstable
Urgency: low
Maintainer: Debian XML/SGML Group <[email protected]>
Changed-By: Mathieu Malaterre <[email protected]>
Description: 
 docbook-utils - Convert DocBook files to other formats (HTML, RTF, PS, man, 
PDF)
Closes: 212088 214982 394511 472330 528334 665991
Changes: 
 docbook-utils (0.6.14-2) unstable; urgency=low
 .
   * Bump Std-Vers to 3.9.3, no changes needed
   * Switch to dpkg-source 3.0 (quilt) format
   * Add Multi-Arch: foreign. Closes: #665991
   * Add myself as Uploaders
   * support links2. Closes: #472330
   * Apply patches from the bug trackers:
     Closes: #212088, #214982, #394511, #528334
Checksums-Sha1: 
 d0c06725f7eefa6b664249a2fcfcda08334b864e 2115 docbook-utils_0.6.14-2.dsc
 8dececdd12c2e47f6b767d6026e8db7459c57886 12282 
docbook-utils_0.6.14-2.debian.tar.gz
 8dfa1424c92939593c51d093976e51cf2dd6b394 68182 docbook-utils_0.6.14-2_all.deb
Checksums-Sha256: 
 8fa57e7b3b00277a8cdad59e709ce9be4ee7b934dd89f2fc1afd7f18eafa0cd5 2115 
docbook-utils_0.6.14-2.dsc
 996ddb99e17d121bd856a9f8d60a614b9d81d929a6007abbd116e5f610aaa689 12282 
docbook-utils_0.6.14-2.debian.tar.gz
 df66de8929cc5772aabe7ea12d35426d7790be0dc54026edc6fb05a412d00ad3 68182 
docbook-utils_0.6.14-2_all.deb
Files: 
 31747127684fee8c7e5ba3e012490132 2115 text optional docbook-utils_0.6.14-2.dsc
 81675cff617f587c7f3b67d7a6dd61d2 12282 text optional 
docbook-utils_0.6.14-2.debian.tar.gz
 8d4f097586c9a6afe25b674df44bd823 68182 text optional 
docbook-utils_0.6.14-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBAgAGBQJPqqo7AAoJEAFx4YKK4JNFxasQAIN/4ZRvSMLAymWuWnbbAcYI
nbjq0xFlsC4dti++vnkSxOoVEfa8Cg2jR+ZkQy93r+FALsqbHn+Q77Yg3CvSCdaN
6XdeLSE1xOOpA7bHWAX//HxK49l00ByYva7J269EyfEaByRDfoxlSUGQudD40yf1
768mmSA7LFZB4VYFPpEZ0bg3iH+4sW1LfrsvJVWLxETLgaR4aA4RvFw2NnSqFrpV
EJGgnq8ST8fyzH+ti0frP/008wOrWcuC6oedp20uDVLTWo1dUKcorup3tqL8ZC9F
b6H1xEEBHaJJLK1va5pMIrX0dYr6hdJ/iWzMD6Bjaa0aDYNoEArwOIQfyyeSbDWC
gKfScm9la2YirjuCWi3rxw0D2pthp/q/klWa++lEJA2AXpc0ckVVFM7VLlP12miK
Wp3Eq3pzMBITC7nNS763+PkgRTQaV/Ix8Xw3/kRra85IYA/rY2qnEnEZqpVbZjfp
AnJsR8M6sgj81t6E+jlple1b+IRGiev0Xjafh0dmYjNHfDWS1uoE+uAJFbM/eBsu
oLUtk5ZxsRcvxctCwrFNTVClWyAcA2d/csA4VW1c5RdW02ofgREJ/bsIkBxrvLOK
ACxidpvgo+DkEe8RKi106rgN6AhEUbVfgoAXzRLKuVvrk4ky26AQLHdgGi9/BZ4/
JwSsOUrChu/Wt3Fut9Ih
=3v/x
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to