localedata: Fix unicode-gen check target.

After the transition to generating a distinct file for Unicode ctype
information e.g. i18n_ctype, the check target was left with the wrong
target name. This patch fixes the check target and regenerates the
files with more information than previously used, filling in the the
LC_IDENTIFICATION data.

Tested on x86_64 by regenerating from Unicode source files, and
running checks. Tested by subsequently rebuilding all locales.
No regressions in testsuite.

Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Reported-by: Rafal Luzynski <digitalfreak@lingonborough.com>
This commit is contained in:
Carlos O'Donell 2017-10-25 09:06:45 -07:00
parent 63da5cd4a0
commit 337ff3c501
10 changed files with 37 additions and 22 deletions

View File

@ -1,3 +1,17 @@
2017-10-25 Carlos O'Donell <carlos@redhat.com>
* localedata/unicode-gen/Makefile (check_i18n): Rename to
check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
file.
* localedata/locales/i18n_ctype: Regenerate.
* localedata/locales/tr_TR: Likewise.
* localedata/locales/translit_circle: Likewise.
* localedata/locales/translit_cjk_compat: Likewise.
* localedata/locales/translit_combining: Likewise.
* localedata/locales/translit_compat: Likewise.
* localedata/locales/translit_font: Likewise.
* localedata/locales/translit_fraction: Likewise.
2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
* sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace

View File

@ -8,25 +8,26 @@ comment_char %
% exempt you from the conditions of the license if your use would
% otherwise be governed by that license.
%
% The only purpose for this file is to provide the basic Unicode
% LC_CTYPE information. This way other locales that need this
% information, but with different transliterations, can include it
% directly.
%
% Generated automatically by gen_unicode_ctype.py for Unicode 10.0.0.
LC_IDENTIFICATION
title ""
source ""
address ""
contact ""
email ""
tel ""
fax ""
language ""
territory ""
revision ""
date "2017-10-11"
title "Unicode 10.0.0 FDCC-set"
source "UnicodeData.txt, DerivedCoreProperties.txt"
address ""
contact ""
email "bug-glibc-locales@gnu.org"
tel ""
fax ""
language ""
territory "Earth"
revision "10.0.0"
date "2017-10-23"
category "unicode:2014";LC_CTYPE
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE

View File

@ -43,7 +43,7 @@ fax ""
language "Turkish"
territory "Turkey"
revision "1.0"
date "2017-06-20"
date "2017-10-23"
category "i18n:2012";LC_IDENTIFICATION
category "i18n:2012";LC_CTYPE

View File

@ -9,7 +9,7 @@ comment_char %
% otherwise be governed by that license.
% Transliterations of encircled characters.
% Generated automatically from UnicodeData.txt by gen_translit_circle.py on 2017-06-01 for Unicode 10.0.0.
% Generated automatically from UnicodeData.txt by gen_translit_circle.py on 2017-10-23 for Unicode 10.0.0.
LC_CTYPE

View File

@ -9,7 +9,7 @@ comment_char %
% otherwise be governed by that license.
% Transliterations of CJK compatibility characters.
% Generated automatically from UnicodeData.txt by gen_translit_cjk_compat.py on 2017-06-01 for Unicode 10.0.0.
% Generated automatically from UnicodeData.txt by gen_translit_cjk_compat.py on 2017-10-23 for Unicode 10.0.0.
LC_CTYPE

View File

@ -10,7 +10,7 @@ comment_char %
% Transliterations that remove all combining characters (accents,
% pronounciation marks, etc.).
% Generated automatically from UnicodeData.txt by gen_translit_combining.py on 2017-06-01 for Unicode 10.0.0.
% Generated automatically from UnicodeData.txt by gen_translit_combining.py on 2017-10-23 for Unicode 10.0.0.
LC_CTYPE

View File

@ -9,7 +9,7 @@ comment_char %
% otherwise be governed by that license.
% Transliterations of compatibility characters and ligatures.
% Generated automatically from UnicodeData.txt by gen_translit_compat.py on 2017-06-01 for Unicode 10.0.0.
% Generated automatically from UnicodeData.txt by gen_translit_compat.py on 2017-10-23 for Unicode 10.0.0.
LC_CTYPE

View File

@ -9,7 +9,7 @@ comment_char %
% otherwise be governed by that license.
% Transliterations of font equivalents.
% Generated automatically from UnicodeData.txt by gen_translit_font.py on 2017-06-01 for Unicode 10.0.0.
% Generated automatically from UnicodeData.txt by gen_translit_font.py on 2017-10-23 for Unicode 10.0.0.
LC_CTYPE

View File

@ -9,7 +9,7 @@ comment_char %
% otherwise be governed by that license.
% Transliterations of fractions.
% Generated automatically from UnicodeData.txt by gen_translit_fraction.py on 2017-06-01 for Unicode 10.0.0.
% Generated automatically from UnicodeData.txt by gen_translit_fraction.py on 2017-10-23 for Unicode 10.0.0.
% The replacements have been surrounded with spaces, because fractions are
% often preceded by a decimal number and followed by a unit or a math symbol.

View File

@ -78,9 +78,9 @@ i18n_ctype-report: ctype_compatibility.py ctype_compatibility_test_cases.py
$(PYTHON3) ./ctype_compatibility.py -o ../locales/i18n_ctype \
-n i18n_ctype -a -m > $@
check-i18n: i18n-report
check-i18n_ctype: i18n_ctype-report
@if grep '\(Missing\|Added\) [^0]\|^Number of errors[^=]* = [^0]' \
i18n-report; \
i18n_ctype-report; \
then echo manual verification required; false; else true; fi
tr_TR: UnicodeData.txt DerivedCoreProperties.txt