[Reproducible-commits] [dpkg] 16/105: man: Switch output encoding to UTF-8

Niko Tyni ntyni at moszumanska.debian.org
Mon May 2 13:49:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

ntyni pushed a commit to branch ntyni/reproducible_builds
in repository dpkg.

commit 140f6e31a841b658502217950d8252589de8ccff
Author: Guillem Jover <guillem at debian.org>
Date:   Tue Mar 29 09:35:51 2016 +0200

    man: Switch output encoding to UTF-8
    
    Recent man-db implementations support man pages encoded in UTF-8, so
    there's no point anymore in generating man pages with legacy encodings.
---
 debian/changelog |  1 +
 man/po/po4a.cfg  | 24 ++++++++++++------------
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index cfeb5cf..dfaddfe 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -95,6 +95,7 @@ dpkg (1.18.5) UNRELEASED; urgency=medium
     - Update field requirements of control file formats to match dpkg reality.
     - Document the format of the origins filename in deb-origin(5).
     - Add list of flags set by bug feature area to dpkg-buildflags(1).
+    - Switch output encoding of man pages to UTF-8.
 
   [ Updated programs translations ]
   * Portuguese (Miguel Figueiredo).
diff --git a/man/po/po4a.cfg b/man/po/po4a.cfg
index 64d00ae..ba0599d 100644
--- a/man/po/po4a.cfg
+++ b/man/po/po4a.cfg
@@ -2,18 +2,18 @@
 [po4a_paths] po/dpkg-man.pot $lang:po/$lang.po
 
 # Make sure the man pages are generated with the right encoding.
-[po4a_alias:man] man                                      \
-                 opt_de:"-L ISO-8859-1     -A utf-8"      \
-                 opt_es:"-L ISO-8859-1     -A utf-8"      \
-                 opt_fr:"-L ISO-8859-1     -A utf-8"      \
-                 opt_hu:"-L ISO-8859-2     -A utf-8"      \
-                 opt_it:"-L ISO-8859-1     -A utf-8"      \
-                 opt_ja:"-L euc-jp         -A utf-8"      \
-                 opt_pl:"-L ISO-8859-2     -A utf-8"      \
-                 opt_pt_BR:"-L ISO-8859-1  -A utf-8"      \
-                 opt_ru:"-L koi8-r         -A utf-8"      \
-                 opt_sv:"-L ISO-8859-1     -A utf-8"      \
-                 opt_zh_CN:"-L UTF-8       -A utf-8"
+[po4a_alias:man] man                           \
+                 opt_de:"-L UTF-8    -A UTF-8" \
+                 opt_es:"-L UTF-8    -A UTF-8" \
+                 opt_fr:"-L UTF-8    -A UTF-8" \
+                 opt_hu:"-L UTF-8    -A UTF-8" \
+                 opt_it:"-L UTF-8    -A UTF-8" \
+                 opt_ja:"-L UTF-8    -A UTF-8" \
+                 opt_pl:"-L UTF-8    -A UTF-8" \
+                 opt_pt_BR:"-L UTF-8 -A UTF-8" \
+                 opt_ru:"-L UTF-8    -A UTF-8" \
+                 opt_sv:"-L UTF-8    -A UTF-8" \
+                 opt_zh_CN:"-L UTF-8 -A UTF-8"
 
 [type:man] deb.5 $lang:$lang/deb.5 \
            add_$lang:po/$lang.add

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git



More information about the Reproducible-commits mailing list