2013-08-20 02:34:41 +04:00
|
|
|
# $NetBSD: Makefile.locale,v 1.4 2013/08/19 22:34:41 joerg Exp $
|
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 03:20:18 +03:00
|
|
|
|
|
|
|
LANGUAGE= af be bg ca cs da de el en es \
|
|
|
|
et eu fi fr hr hu hy is it ja \
|
2013-08-12 02:09:40 +04:00
|
|
|
kk ko lt nb nl nn pt pl ro ru \
|
2013-08-20 02:34:41 +04:00
|
|
|
sk sl sr_Cyrl sr_Latn sv tr uk zh
|
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 03:20:18 +03:00
|
|
|
|
|
|
|
TERRITORY= AM AT AU BE BG BR BY CA CH CN \
|
|
|
|
CZ DE DK EE ES FI FR GB GR HK \
|
|
|
|
HR HU IS IT JP KR KZ LT ME NL \
|
|
|
|
NO NZ PL PT RO RS RU SE SI SK \
|
|
|
|
TR TW US UA ZA
|
|
|
|
|
|
|
|
LANGUAGE_AM= hy
|
|
|
|
LANGUAGE_AT= de
|
|
|
|
LANGUAGE_AU= en
|
|
|
|
LANGUAGE_BE= fr nl
|
|
|
|
LANGUAGE_BG= bg
|
|
|
|
LANGUAGE_BR= pt
|
|
|
|
LANGUAGE_BY= be ru
|
|
|
|
LANGUAGE_CA= en fr
|
|
|
|
LANGUAGE_CH= de fr it
|
|
|
|
LANGUAGE_CN= zh
|
|
|
|
LANGUAGE_CZ= cs
|
|
|
|
LANGUAGE_DE= de
|
|
|
|
LANGUAGE_DK= da
|
|
|
|
LANGUAGE_EE= et
|
|
|
|
LANGUAGE_ES= ca es au
|
|
|
|
LANGUAGE_FI= fi
|
|
|
|
LANGUAGE_FR= fr
|
|
|
|
LANGUAGE_GB= en
|
|
|
|
LANGUAGE_GR= el
|
|
|
|
LANGUAGE_HK= zh
|
|
|
|
LANGUAGE_HR= hr
|
|
|
|
LANGUAGE_HU= hu
|
|
|
|
LANGUAGE_IS= is
|
|
|
|
LANGUAGE_IT= it
|
|
|
|
LANGUAGE_JP= ja
|
|
|
|
LANGUAGE_KR= ko
|
|
|
|
LANGUAGE_KZ= kk
|
|
|
|
LANGUAGE_LT= lt
|
2013-08-12 02:09:40 +04:00
|
|
|
LANGUAGE_ME= sr_Cyrl sr_Latn
|
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 03:20:18 +03:00
|
|
|
LANGUAGE_NL= nl
|
2013-08-12 02:09:40 +04:00
|
|
|
LANGUAGE_NO= nb nn
|
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 03:20:18 +03:00
|
|
|
LANGUAGE_NZ= en
|
|
|
|
LANGUAGE_PL= pl
|
|
|
|
LANGUAGE_PT= pt
|
|
|
|
LANGUAGE_RO= ro
|
2013-08-12 02:09:40 +04:00
|
|
|
LANGUAGE_RS= sr_Cyrl sr_Latn
|
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 03:20:18 +03:00
|
|
|
LANGUAGE_RU= ru
|
|
|
|
LANGUAGE_SE= sv
|
|
|
|
LANGUAGE_SI= sl
|
|
|
|
LANGUAGE_SK= sk
|
|
|
|
LANGUAGE_TR= tr
|
|
|
|
LANGUAGE_TW= zh
|
|
|
|
LANGUAGE_US= en
|
|
|
|
LANGUAGE_UA= uk
|
|
|
|
LANGUAGE_ZA= af
|
|
|
|
|
|
|
|
TERRITORY_af= ZA
|
|
|
|
TERRITORY_be= BY
|
|
|
|
TERRITORY_bg= BG
|
|
|
|
TERRITORY_ca= ES
|
|
|
|
TERRITORY_cs= CZ
|
|
|
|
TERRITORY_da= DK
|
|
|
|
TERRITORY_de= AT CH DE
|
|
|
|
TERRITORY_el= GR
|
|
|
|
TERRITORY_en= AU CA GB NZ US
|
|
|
|
TERRITORY_es= ES
|
|
|
|
TERRITORY_et= EE
|
|
|
|
TERRITORY_eu= ES
|
|
|
|
TERRITORY_fi= FI
|
|
|
|
TERRITORY_fr= BE CA CH FR
|
|
|
|
TERRITORY_hr= HR
|
|
|
|
TERRITORY_hu= HU
|
|
|
|
TERRITORY_hy= AM
|
|
|
|
TERRITORY_is= IS
|
|
|
|
TERRITORY_it= CH IT
|
|
|
|
TERRITORY_ja= JP
|
|
|
|
TERRITORY_kk= KZ
|
|
|
|
TERRITORY_ko= KR
|
|
|
|
TERRITORY_lt= LT
|
2013-08-12 02:09:40 +04:00
|
|
|
TERRITORY_nb= NO
|
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 03:20:18 +03:00
|
|
|
TERRITORY_nl= BE NL
|
|
|
|
TERRITORY_nn= NO
|
|
|
|
TERRITORY_pt= BR PT
|
|
|
|
TERRITORY_pl= PL
|
|
|
|
TERRITORY_ro= RO
|
|
|
|
TERRITORY_ru= BY RU
|
|
|
|
TERRITORY_sk= SK
|
|
|
|
TERRITORY_sl= SI
|
2013-08-12 02:09:40 +04:00
|
|
|
TERRITORY_sr_Cyrl= ME RS
|
|
|
|
TERRITORY_sr_Latn= ME RS
|
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 03:20:18 +03:00
|
|
|
TERRITORY_sv= SE
|
|
|
|
TERRITORY_tr= TR
|
|
|
|
TERRITORY_uk= UA
|
|
|
|
TERRITORY_zh= CN HK TW
|
|
|
|
|
2013-08-12 02:09:40 +04:00
|
|
|
CODESET_af_ZA= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_be_BY= ISO8859-5 CP1251 UTF-8
|
|
|
|
CODESET_bg_BG= CP1251 UTF-8
|
|
|
|
CODESET_ca_ES= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_cs_CZ= ISO8859-2 UTF-8
|
|
|
|
CODESET_da_DK= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_de_AT= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_de_CH= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_de_DE= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_el_GR= ISO8859-7 UTF-8
|
|
|
|
CODESET_en_AU= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_en_CA= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_en_GB= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_en_NZ= ISO8859-1 ISO8859-15 UTF-8
|
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 03:20:18 +03:00
|
|
|
CODESET_en_US= US-ASCII UTF-8 ISO8859-1 ISO8859-15
|
2013-08-12 02:09:40 +04:00
|
|
|
CODESET_es_ES= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_et_EE= ISO8859-15 UTF-8
|
|
|
|
CODESET_eu_ES= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_fi_FI= ISO8859-1 ISO8859-15 UTF-8
|
2009-06-03 22:47:05 +04:00
|
|
|
CODESET_fr_BE= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_fr_CA= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_fr_CH= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_fr_FR= ISO8859-1 ISO8859-15 UTF-8
|
2013-08-12 02:09:40 +04:00
|
|
|
CODESET_hr_HR= ISO8859-2 UTF-8
|
|
|
|
CODESET_hu_HU= ISO8859-2 UTF-8
|
|
|
|
CODESET_hy_AM= ARMSCII-8 UTF-8
|
|
|
|
CODESET_is_IS= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_it_CH= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_it_IT= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_ja_JP= ct eucJP SJIS ISO-2022-JP ISO-2022-JP-2 UTF-8
|
|
|
|
CODESET_kk_KZ= PT154 UTF-8
|
|
|
|
CODESET_ko_KR= eucKR UTF-8
|
|
|
|
CODESET_lt_LT= ISO8859-4 ISO8859-13 UTF-8
|
|
|
|
CODESET_nb_NO= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_nl_BE= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_nl_NL= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_nn_NO= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_pt_BR= ISO8859-1 UTF-8
|
|
|
|
CODESET_pl_PL= ISO8859-2 UTF-8
|
|
|
|
CODESET_pt_PT= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_ro_RO= ISO8859-2 UTF-8
|
|
|
|
CODESET_ru_BY= CP1251 UTF-8
|
|
|
|
CODESET_ru_RU= ISO8859-5 CP866 CP1251 KOI8-R UTF-8
|
|
|
|
CODESET_sk_SK= ISO8859-2 UTF-8
|
|
|
|
CODESET_sl_SI= ISO8859-2 UTF-8
|
|
|
|
CODESET_sr_Cyrl_ME= ISO8859-5 UTF-8
|
|
|
|
CODESET_sr_Cyrl_RS= ISO8859-5 UTF-8
|
|
|
|
CODESET_sr_Latn_ME= ISO8859-2 UTF-8
|
|
|
|
CODESET_sr_Latn_RS= ISO8859-2 UTF-8
|
|
|
|
CODESET_sv_SE= ISO8859-1 ISO8859-15 UTF-8
|
|
|
|
CODESET_tr_TR= ISO8859-9 UTF-8
|
|
|
|
CODESET_uk_UA= ISO8859-5 CP1251 KOI8-U UTF-8
|
|
|
|
CODESET_zh_CN= eucCN GB18030 UTF-8
|
|
|
|
CODESET_zh_HK= Big5hkscs UTF-8
|
|
|
|
CODESET_zh_TW= Big5 eucTW UTF-8
|
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 03:20:18 +03:00
|
|
|
|
|
|
|
.for language in ${LANGUAGE}
|
|
|
|
.for territory in ${TERRITORY_${language}}
|
|
|
|
.for codeset in ${CODESET_${language}_${territory}}
|
|
|
|
LOCALES+=${language}_${territory}.${codeset}
|
|
|
|
.if empty(LOCALESRC_${language}_${territory}.${codeset})
|
|
|
|
LOCALESRC_${language}_${territory}.${codeset}= \
|
|
|
|
${language}_${territory}.${codeset}
|
|
|
|
.endif
|
|
|
|
FILESDIR_${language}_${territory}.${codeset}.out= \
|
|
|
|
${LOCALEDIR}/${language}_${territory}.${codeset}
|
|
|
|
FILESNAME_${language}_${territory}.${codeset}.out= \
|
|
|
|
${LOCALEFILE}
|
|
|
|
.endfor
|
|
|
|
.endfor
|
|
|
|
.endfor
|