[PATCH] localedata: Reorganize Unicode LC_CTYPE inclusion.

Carlos O'Donell carlos@redhat.com
Fri Oct 13 06:50:00 GMT 2017


I'm working on a C.UTF-8 locale for upstream.

One thing we need is a way to include Unicode LC_CTYPE information
but *without* i18n's transliteration requirements.

The patch does the following things:

* Move non-transliteration Unicode generated data to i18n_ctype.
* Copy the i18n_ctype data into i18n and add transliteration.

In the future, any locale which needs Unicode LC_CTYPE data can
also just use `copy i18n_ctype` and get the base character classes
and maps without transliteration.

Tested by compiling all the locales and my prototype C.UTF-8 which
uses it.

OK to checkin?

2017-10-12  Carlos O'Donell  <carlos@redhat.com>

	* localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
	(REPORTS): Likewise.
	(check): Likewise.
	(i18n): Rename to...
	(i18n_ctype): ...this.
	(i18n-report): Rename to...
	(i18n_ctype-report): ...this.
	* localedata/locales/i18n_ctype: Regenerate.
	* localedata/locales/i18n: copy i18n_ctype.

-- 
Cheers,
Carlos.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ut8-reorg.patch
Type: text/x-patch
Size: 317940 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20171013/30ec18f4/attachment.bin>


More information about the Libc-alpha mailing list