cldr2def: Update to generate colldef replacement directory
authorJohn Marino <draco@marino.st>
Tue, 28 Jul 2015 15:55:34 +0000 (17:55 +0200)
committerJohn Marino <draco@marino.st>
Tue, 28 Jul 2015 17:57:34 +0000 (19:57 +0200)
commitf28e3132ac27de181250febe6f2b88f0093553b0
tree2384df839198e800c7a37b2b5b7cbad76d866297
parentcd1c60858dc5ce0eb760fdf2eb6eed57cb251abd
cldr2def: Update to generate colldef replacement directory

The new localedef tool needs extracts for CLDR POSIX localization
definition files, and it needs the UTF-8 character map along with
the width definitions (mainly for Asian monitor support).

Since the LC_COLLATE handling is fundamentally different from the
first four groups, new sections to the cldr2def tool had to be
written, thus requiring me to brush up on my perl skills.

The finalize script (which I had previously written) was modified
to copy the widths and charmap files over to the regenerated
colldef directory (a drop-in replacement for share/colldef).
tools/tools/locale/Makefile
tools/tools/locale/etc/charmaps/widths.txt [new file with mode: 0644]
tools/tools/locale/tools/cldr2def.pl
tools/tools/locale/tools/finalize