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

Bug#968437: marked as done (xindy-rules: Incorrect Norwegian sorting of č and š)



Your message dated Sat, 16 Jan 2021 21:33:49 +0000
with message-id <E1l0tCf-0008A7-CR@fasolo.debian.org>
and subject line Bug#968437: fixed in xindy 2.5.1.20160104-9
has caused the Debian Bug report #968437,
regarding xindy-rules: Incorrect Norwegian sorting of č and š
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 owner@bugs.debian.org
immediately.)


-- 
968437: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968437
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: xindy-rules
Version: 2.5.1.20160104-5
Severity: important
Tags: patch upstream

Dear xindy-rules maintainers,

I ran into this problem when using dblatex and xindy to typeset a book,
where the index ended up with the wrong sorting order.  This is a
Norwegian book with some North Saami words in the body and index.  Every
Saami word starting with č and š are incorrectly sorted as starting with
a symbol, while they should be sorted with c and s, respectively.

Setting severity to important, as there is no known workaround and the
problem is fatal when trying to create a print ready book using xindy.

I had a look at the code, but do not really know how this is supposed to
work.  I suspect the correct fix is the untested patch below.  Am I on
the right track here?  I verified the ordering of č and ç by comparing
it with the nb_NO locale.

diff --git a/make-rules/alphabets/norwegian/utf8.pl.in b/make-rules/alphabets/norwegian/utf8.pl.in
index 902b07b..9b30a88 100644
--- a/make-rules/alphabets/norwegian/utf8.pl.in
+++ b/make-rules/alphabets/norwegian/utf8.pl.in
@@ -11,10 +11,9 @@ $alphabet = [
                    [], # a with ogonek (polish)
 ['B',  ['b','B']],
                    [], # b with hook (hausa)
-['C',  ['c','C'],['ç','Ç']],
+['C',  ['c','C'],['č','Č'],['ç','Ç']],
                    [], # ch (spanish/traditional)
                    [], # cs (hungarian)
-                   [], # c with caron (many)
                    [], # c with acute (croatian, lower sorbian, polish)
                    [], # c with circumflex (esperanto)
                    [], # c with cedilla (albanian, kurdish, turkish)
@@ -85,10 +84,9 @@ $alphabet = [
                    [], # r with caron (czech, slovak/large, upper sorbian)
                    [], # r with acute (lower sorbian)
                    [], # r with cedilla/comma (latvian)
-['S',  ['s','S']],
+['S',  ['s','S'], ['š', 'Š']],
                    [], # sh (albanian)
                    [], # sz (hungarian)
-                   [], # s with caron (many)
                    [], # s with acute (lower sorbian, polish)
                    [], # s with circumflex (esperanto)
                    [], # s with comma below (romanian)

-- 
Happy hacking
Petter Reinholdtsen

--- End Message ---
--- Begin Message ---
Source: xindy
Source-Version: 2.5.1.20160104-9
Done: Hilmar Preusse <hille42@web.de>

We believe that the bug you reported is fixed in the latest version of
xindy, which is due to be installed in the Debian FTP archive.

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 968437@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hilmar Preusse <hille42@web.de> (supplier of updated xindy 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 16 Jan 2021 21:56:30 +0100
Source: xindy
Architecture: source
Version: 2.5.1.20160104-9
Distribution: unstable
Urgency: medium
Maintainer: Debian TeX Task Force <debian-tex-maint@lists.debian.org>
Changed-By: Hilmar Preusse <hille42@web.de>
Closes: 968437
Changes:
 xindy (2.5.1.20160104-9) unstable; urgency=medium
 .
   [ Debian Janitor ]
   * Bump debhelper dependency to >= 9, since that's what is used in
     debian/compat.
   * Bump debhelper from deprecated 9 to 12.
   * Set debhelper-compat version in Build-Depends.
   * Rely on pre-initialized dpkg-architecture variables.
   * Update standards version to 4.5.1, no changes needed.
   * Apply multi-arch hints.
     + xindy-rules: Add Multi-Arch: foreign.
 .
   [ Hilmar Preusse ]
   * Apply patch for #968437, thanks to
     Petter Reinholdtsen <pere@hungry.com>, (Closes: #968437).
   * Lintian:
     W: xindy source: useless-autoreconf-build-depends autotools-dev
     W: xindy source: useless-autoreconf-build-depends dh-autoreconf
     W: national-encoding
     P: copyright-refers-to-symlink-license
   * Lintian Override for Xindy input files:
     W: xindy-rules: national-encoding
Checksums-Sha1:
 d8781c1e4c70299d690fb90d4bfefb10f7997a01 2314 xindy_2.5.1.20160104-9.dsc
 51a604e577fbcde96da177c973aa44e383d91951 11592 xindy_2.5.1.20160104-9.debian.tar.xz
 2d1b4c1c14461c0248c53bb90b2e5609379e8928 5745 xindy_2.5.1.20160104-9_source.buildinfo
Checksums-Sha256:
 3f888f057df69582a838fae8e1791494fbad3135f79c4fdcb1f33f8c16b693b7 2314 xindy_2.5.1.20160104-9.dsc
 88cbff0699b5170350cc46845327e88832c137565c07114d716a2c34a12edb86 11592 xindy_2.5.1.20160104-9.debian.tar.xz
 bc67bd1d358f25af91243098426621b53e8b96c19b120e57c0129c33ed7d29de 5745 xindy_2.5.1.20160104-9_source.buildinfo
Files:
 16a9ee031ffc380cc2cd6be69001f1b7 2314 text optional xindy_2.5.1.20160104-9.dsc
 330e0690a53897e8b82892b4c495436b 11592 text optional xindy_2.5.1.20160104-9.debian.tar.xz
 86baba2a24029a7fec253f6a3ad4fa02 5745 text optional xindy_2.5.1.20160104-9_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEEaXGmC/nkbIhxf16kxiZYRqvgLIsFAmADVRRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDY5
NzFBNjBCRjlFNDZDODg3MTdGNUVBNEM2MjY1ODQ2QUJFMDJDOEIACgkQxiZYRqvg
LItnChAAk5uEZLYXT+q4ZFq1sIvVe5n2gLRpvdWLbbvl4G6ny3MfyAvRB14Vr6Ow
9Mh7Ra7POIAgWTRfRxu2G64QwI+SfCUcrVhXD6prdT8rWSdTrZGXtn/mXjWNJCgJ
uahqj24wV4DM0Wozm9zXbX51pewcWRvPsxRsrVXjoJ0Pfv72iY51POSOZ3KF1D7p
JBgd075l8wAiMstO7psg9AhM4wdmHFjwAMMU+iyujfN1+rTV1kV8iPgekPTKtkE4
l3r+ay3fF8PPZJYBjCYDu4mBX0ykPkiDHrbS8wImjL/0YumiF3GJ/tOJPY1dZdm8
f634B7zCKkNQdjULIbE09FfLHkf+X4vdCN7rMQ8XKxlPM3F5KU2/BXHT9GDedC8Z
M4zCGSYu77173vfvVjISLWoBhjzVqxea89mEIrM08DHn2qmPbVzlBzB6EUjU+/+z
318f+8YS/jRRZBzeTlC8Vj/QIh+D+f/krsgf5/gFpnM5SWz6RJ+n01VwVfV9Ksry
2YGdB6J//PffJMANyROb69F9Iivysh6fTaLz32Zdr/tEQVjK6bF4YQqa/+eWSzpe
kF6T0Ukj+hK1q/fcPnrR6vGD+belEOJTkm+C0BQQZs7lchRgs7DDLIaTuARADpl3
IYfCwrgXvA+6OFWD6Gl9LA7DJNgS/Yfw0fR2/eJsIAU4lK7OrVY=
=gbdZ
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: