Page MenuHomeFreeBSD

Update tools/tools/locale
ClosedPublic

Authored by hrs on Jun 29 2020, 5:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Mar 17, 9:21 PM
Unknown Object (File)
Feb 1 2024, 7:54 AM
Unknown Object (File)
Dec 3 2023, 6:07 PM
Unknown Object (File)
Oct 19 2023, 3:09 AM
Unknown Object (File)
Oct 10 2023, 12:39 AM
Unknown Object (File)
Aug 25 2023, 1:43 AM
Unknown Object (File)
Jul 30 2023, 4:42 PM
Unknown Object (File)
Jul 1 2023, 3:24 AM
Subscribers

Details

Summary

Update tools/tools/locale to add make targets to automatically generate locale source files. With this patch, just typing "make obj && make" should build them.

Fix issues in ja_JP ctypedef and range specification support in utf8-rollup.pl.

Details are as follows:

Makefile:

  • Support .OBJDIR.
  • Support pararell build.
  • Add a check of the installed tools.
  • Update to use CLDR v35.

tools/cldr2def.pl:

  • Use eucJP for ja_JP ctypedef because eucJP is not compatible with UTF-8.

tools/convert_map.pl:

  • Add a verbose error message.

tools/utf8-rollup.pl:

  • Normalize entries to use Unicode, not UTF-8.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

hrs requested review of this revision.Jun 29 2020, 5:37 AM

It looks good to me. Don't forget to mention in the commit log that it updates also Unicode to Unicode 13

This revision is now accepted and ready to land.Jul 4 2020, 7:57 PM
This revision was automatically updated to reflect the committed changes.

As I was going through MFCing locale changes, I noticed one little (BIG) problem with this review/commit -- it forgot to actually install the updated sources to share/ subdirectories, so we currently ship what was previous version in share/.

I'll take care of this in upcoming changes, no action required.

tools/tools/locale/patch/patch-UnicodeData.txt
1 ↗(On Diff #73860)

Was this submitted upstream as it's pretty hard to maintain such patches?