Your message dated Wed, 25 Jan 2006 20:32:22 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#349938: fixed in rpm 4.4.1-6
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 26 Jan 2006 00:12:14 +0000
>From [EMAIL PROTECTED] Wed Jan 25 16:12:14 2006
Return-path: <[EMAIL PROTECTED]>
Received: from smtp6-g19.free.fr ([212.27.42.36])
by spohr.debian.org with esmtp (Exim 4.50)
id 1F1ukI-00050u-0d
for [EMAIL PROTECTED]; Wed, 25 Jan 2006 16:12:14 -0800
Received: from nekral (gam75-2-82-224-24-210.fbx.proxad.net [82.224.24.210])
by smtp6-g19.free.fr (Postfix) with ESMTP id E104517EFC;
Thu, 26 Jan 2006 01:12:10 +0100 (CET)
Received: from fzt by nekral with local (Exim 4.60)
(envelope-from <[EMAIL PROTECTED]>)
id 1F1ukG-0000nJ-R1; Thu, 26 Jan 2006 01:12:12 +0100
Date: Thu, 26 Jan 2006 01:12:12 +0100
From: Nicolas =?iso-8859-1?Q?Fran=E7ois?= <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: rpm: The Japanese, Korean and Russian man pages should not be encoded
in UTF-8
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="oyUTqETQ0mS9luUI"
Content-Disposition: inline
X-Reportbug-Version: 3.18
User-Agent: Mutt/1.5.11
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Package: rpm
Version: 4.4.1-5
Severity: minor
Tags: patch
Hello,
Redhat distributes UTF-8 man pages. On Debian, the man pages must be
encoded according to the charset defined in man-db (src/encodings.c).
That is to say EUC-JP, EUC-KR and KOI8-R respectively for the Japanese,
Korean and Russian man pages.
I don't think there is a problem with the other languages.
The attached patch adds a debian/recode_manpages.sh script, called in the
binary-arch: rule of debian/rules.
Presently,
LANG=ja LC_ALL=ja_JP.UTF-8 man -Lja rpm > /dev/null
returns tons of
"warning: can't find numbered character"
Recoding the manpage fixes these warnings.
Best Regards,
--
Nekral
--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="rpm_UTF8_manpages.patch"
diff -rauN ../orig/rpm-4.4.1/debian/recode_manpages.sh
./rpm-4.4.1/debian/recode_manpages.sh
--- ../orig/rpm-4.4.1/debian/recode_manpages.sh 1970-01-01 01:00:00.000000000
+0100
+++ ./rpm-4.4.1/debian/recode_manpages.sh 2006-01-25 22:04:54.000000000
+0100
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# Upstream man pages are UTF-8encoded.
+# The man pages need to be recoded according to the encodings used in Debian.
+# (defined in src/encodings.c in man-db)
+
+echo "ja EUC-JP
+ ko EUC-KR
+ ru KOI8-R" |
+while read lang encoding
+do
+ echo "recoding lang: $lang to $encoding"
+ for page in debian/tmp/usr/share/man/$lang/man[1-8]/*
+ do
+ echo "recoding $page"
+ iconv -t $encoding -f UTF8 < $page > $page.recoded
+ mv $page.recoded $page
+ done
+done
+
diff -rauN ../orig/rpm-4.4.1/debian/rules ./rpm-4.4.1/debian/rules
--- ../orig/rpm-4.4.1/debian/rules 2006-01-25 21:23:57.000000000 +0100
+++ ./rpm-4.4.1/debian/rules 2006-01-26 00:53:03.000000000 +0100
@@ -78,6 +78,9 @@
chmod 644 debian/tmp/usr/lib/rpm/Specfile.pm
chmod -R 644 debian/tmp/usr/lib/python2.3/site-packages/rpmdb/
chmod 644 debian/tmp/usr/lib/python2.3/site-packages/rpm/__init__.py
+ # Recode the (translated) manpages according to the encoding expected
+ # on Debian
+ /bin/sh debian/recode_manpages.sh
# rpmdiff.cgi is crap that I don't want installed
dh_install -X rpmdiff.cgi
dh_link usr/share/man/man8/rpm.8 usr/share/man/man8/rpmdb.8 \
--oyUTqETQ0mS9luUI--
---------------------------------------
Received: (at 349938-close) by bugs.debian.org; 26 Jan 2006 04:40:22 +0000
>From [EMAIL PROTECTED] Wed Jan 25 20:40:22 2006
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
id 1F1yo2-0001xV-Il; Wed, 25 Jan 2006 20:32:22 -0800
From: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#349938: fixed in rpm 4.4.1-6
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 25 Jan 2006 20:32:22 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level:
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
Source: rpm
Source-Version: 4.4.1-6
We believe that the bug you reported is fixed in the latest version of
rpm, which is due to be installed in the Debian FTP archive:
librpm-dev_4.4.1-6_i386.deb
to pool/main/r/rpm/librpm-dev_4.4.1-6_i386.deb
librpm4_4.4.1-6_i386.deb
to pool/main/r/rpm/librpm4_4.4.1-6_i386.deb
lsb-rpm_4.4.1-6_i386.deb
to pool/main/r/rpm/lsb-rpm_4.4.1-6_i386.deb
python2.3-rpm_4.4.1-6_i386.deb
to pool/main/r/rpm/python2.3-rpm_4.4.1-6_i386.deb
rpm_4.4.1-6.diff.gz
to pool/main/r/rpm/rpm_4.4.1-6.diff.gz
rpm_4.4.1-6.dsc
to pool/main/r/rpm/rpm_4.4.1-6.dsc
rpm_4.4.1-6_i386.deb
to pool/main/r/rpm/rpm_4.4.1-6_i386.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.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (supplier of updated rpm 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.7
Date: Thu, 26 Jan 2006 12:44:55 +1100
Source: rpm
Binary: python2.3-rpm rpm librpm-dev lsb-rpm librpm4
Architecture: source i386
Version: 4.4.1-6
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description:
librpm-dev - RPM shared library, development kit
librpm4 - RPM shared library
lsb-rpm - Red Hat package manager for LSB package building
python2.3-rpm - Python bindings for RPM
rpm - Red Hat package manager
Closes: 349935 349938
Changes:
rpm (4.4.1-6) unstable; urgency=low
.
* Fixed "FTBFS: undefined references in libselinux", closes: #349935.
Patch thanks to Nicolas Francois <[EMAIL PROTECTED]>.
* Fixed "The Japanese, Korean and Russian man pages should not be encoded
in UTF-8", closes: #349938. Patch thanks to Nicolas Francois
<[EMAIL PROTECTED]>.
* Merged the two uploaders lines in debian/control.
* Added homepage to package description.
* Updated watch file.
Files:
d0510350fddd05c09cbd1835d9aa195d 957 admin optional rpm_4.4.1-6.dsc
d360ed6bbcd3791742e84464b5a9c8c2 138309 admin optional rpm_4.4.1-6.diff.gz
c758b34dad074a82b9892fa722c223eb 822518 admin optional rpm_4.4.1-6_i386.deb
98c5c0a800fcea38b6d4d90c62b99600 2360602 devel optional
lsb-rpm_4.4.1-6_i386.deb
702de02fade242dea4dae2c857ee02bc 986492 libs optional librpm4_4.4.1-6_i386.deb
23900c703a9804a9eaf210882f58e31e 1321038 libdevel extra
librpm-dev_4.4.1-6_i386.deb
d12265915d1a302c5ec8649afb8937c4 483852 python extra
python2.3-rpm_4.4.1-6_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFD2ExeipBneRiAKDwRArz4AJ47ZHgT4Zt7BIFkiJoSMOrSLnDuNwCgsEvH
dKBEcFod4VKC9C7VlKDAzl8=
=qLrq
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]