Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-6]: src Add support for new LC_CTYPE locales (bg_BG.CP1251, ca_...
details: https://anonhg.NetBSD.org/src/rev/fc5644f31d81
branches: netbsd-1-6
changeset: 530904:fc5644f31d81
user: jmc <jmc%NetBSD.org@localhost>
date: Mon Oct 20 06:21:59 2003 +0000
description:
Add support for new LC_CTYPE locales (bg_BG.CP1251, ca_ES.ISO8859-1,
ca_ES.ISO8859-15, el_GR.ISO8859-7, hy_AM.ARMSCII-8, lt_LT.ISO8859-13)
Also includes some fixes for the existing locales on 1.6.
(requested by tshiozak in ticket #1379)
diffstat:
distrib/sets/lists/base/mi | 14 +-
etc/mtree/NetBSD.dist | 8 +-
share/locale/bg_BG.CP1251.src | 91 +
share/locale/ctype/Makefile | 26 +-
share/locale/ctype/en_US.ASCII.src | 8 +-
share/locale/ctype/en_US.DIS_8859-15.src | 14 +-
share/locale/ctype/en_US.ISO_8859-1.src | 14 +-
share/locale/ctype/en_US.ISO_8859-2.src | 14 +-
share/locale/ctype/en_US.ISO_8859-4.src | 14 +-
share/locale/ctype/en_US.UTF-8.src | 2300 +++++++++++++++++++++++++++++-
share/locale/ctype/ru_RU.CP866.src | 14 +-
share/locale/ctype/ru_RU.ISO_8859-5.src | 8 +-
share/locale/ctype/ru_RU.KOI8-R.src | 14 +-
share/locale/ctype/uk_UA.KOI8-U.src | 14 +-
share/locale/el_GR.ISO8859-7.src | 48 +
share/locale/hy_AM.ARMSCII-8.src | 203 ++
share/locale/lt_LT.ISO8859-13.src | 52 +
17 files changed, 2768 insertions(+), 88 deletions(-)
diffs (truncated from 3149 to 300 lines):
diff -r 65e5c1a07678 -r fc5644f31d81 distrib/sets/lists/base/mi
--- a/distrib/sets/lists/base/mi Mon Oct 20 06:03:21 2003 +0000
+++ b/distrib/sets/lists/base/mi Mon Oct 20 06:21:59 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.324.2.8 2003/09/21 11:01:02 tron Exp $
+# $NetBSD: mi,v 1.324.2.9 2003/10/20 06:21:59 jmc Exp $
. base-sys-root
./altroot base-sys-root
./bin base-sys-root
@@ -978,6 +978,12 @@
./usr/share/keymaps/x68k base-sys-share
./usr/share/ldscripts base-util-share
./usr/share/locale base-locale-share
+./usr/share/locale/bg_BG.CP1251 base-locale-bg
+./usr/share/locale/bg_BG.CP1251/LC_CTYPE base-locale-bg
+./usr/share/locale/ca_ES.ISO8859-1 base-locale-ca
+./usr/share/locale/ca_ES.ISO8859-1/LC_CTYPE base-locale-ca
+./usr/share/locale/ca_ES.ISO8859-15 base-locale-ca
+./usr/share/locale/ca_ES.ISO8859-15/LC_CTYPE base-locale-ca
./usr/share/locale/cs base-locale-cs
./usr/share/locale/cs/LC_MESSAGES base-locale-cs
./usr/share/locale/cs/LC_MESSAGES/texinfo.mo base-texinfo_locale-cs
@@ -1011,6 +1017,8 @@
./usr/share/locale/el base-locale-el
./usr/share/locale/el/LC_MESSAGES base-locale-el
./usr/share/locale/el/LC_MESSAGES/grep.mo base-util_locale-el
+./usr/share/locale/el_GR.ISO8859-7 base-locale-el
+./usr/share/locale/el_GR.ISO8859-7/LC_CTYPE base-locale-el
./usr/share/locale/en_AU.ISO8859-1 base-locale-en
./usr/share/locale/en_AU.ISO8859-1/LC_CTYPE base-locale-en
./usr/share/locale/en_AU.ISO8859-15 base-locale-en
@@ -1067,6 +1075,8 @@
./usr/share/locale/hr_HR.ISO8859-2/LC_CTYPE base-locale-hr
./usr/share/locale/hu_HU.ISO8859-2 base-locale-hu
./usr/share/locale/hu_HU.ISO8859-2/LC_CTYPE base-locale-hu
+./usr/share/locale/hy_AM.ARMSCII-8 base-locale-hy
+./usr/share/locale/hy_AM.ARMSCII-8/LC_CTYPE base-locale-hy
./usr/share/locale/is_IS.ISO8859-1 base-locale-is
./usr/share/locale/is_IS.ISO8859-1/LC_CTYPE base-locale-is
./usr/share/locale/is_IS.ISO8859-15 base-locale-is
@@ -1096,6 +1106,8 @@
./usr/share/locale/ko_KR.eucKR/LC_CTYPE base-locale-ko
./usr/share/locale/lt_LT.ISO8859-4 base-locale-lt
./usr/share/locale/lt_LT.ISO8859-4/LC_CTYPE base-locale-lt
+./usr/share/locale/lt_LT.ISO8859-13 base-locale-lt
+./usr/share/locale/lt_LT.ISO8859-13/LC_CTYPE base-locale-lt
./usr/share/locale/nl base-locale-nl
./usr/share/locale/nl/LC_MESSAGES base-locale-nl
./usr/share/locale/nl/LC_MESSAGES/grep.mo base-locale-nl
diff -r 65e5c1a07678 -r fc5644f31d81 etc/mtree/NetBSD.dist
--- a/etc/mtree/NetBSD.dist Mon Oct 20 06:03:21 2003 +0000
+++ b/etc/mtree/NetBSD.dist Mon Oct 20 06:21:59 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: NetBSD.dist,v 1.192.2.1 2002/07/15 17:13:00 thorpej Exp $
+# $NetBSD: NetBSD.dist,v 1.192.2.2 2003/10/20 06:21:59 jmc Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
/set type=dir uname=root gname=wheel mode=0755
@@ -292,6 +292,9 @@
./usr/share/keymaps/x68k
./usr/share/ldscripts
./usr/share/locale
+./usr/share/locale/bg_BG.CP1251
+./usr/share/locale/ca_ES.ISO8859-1
+./usr/share/locale/ca_ES.ISO8859-15
./usr/share/locale/cs
./usr/share/locale/cs/LC_MESSAGES
./usr/share/locale/cs_CZ.ISO8859-2
@@ -311,6 +314,7 @@
./usr/share/locale/de_DE.ISO8859-15
./usr/share/locale/el
./usr/share/locale/el/LC_MESSAGES
+./usr/share/locale/el_GR.ISO8859-7
./usr/share/locale/en_AU.ISO8859-1
./usr/share/locale/en_AU.ISO8859-15
./usr/share/locale/en_CA.ISO8859-1
@@ -340,6 +344,7 @@
./usr/share/locale/fr_FR.ISO8859-15
./usr/share/locale/hr_HR.ISO8859-2
./usr/share/locale/hu_HU.ISO8859-2
+./usr/share/locale/hy_AM.ARMSCII-8
./usr/share/locale/is_IS.ISO8859-1
./usr/share/locale/is_IS.ISO8859-15
./usr/share/locale/it_CH.ISO8859-1
@@ -355,6 +360,7 @@
./usr/share/locale/ko/LC_MESSAGES
./usr/share/locale/ko_KR.eucKR
./usr/share/locale/lt_LT.ISO8859-4
+./usr/share/locale/lt_LT.ISO8859-13
./usr/share/locale/nl
./usr/share/locale/nl/LC_MESSAGES
./usr/share/locale/nl_BE.ISO8859-1
diff -r 65e5c1a07678 -r fc5644f31d81 share/locale/bg_BG.CP1251.src
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/share/locale/bg_BG.CP1251.src Mon Oct 20 06:21:59 2003 +0000
@@ -0,0 +1,91 @@
+/* $NetBSD: bg_BG.CP1251.src,v 1.1.2.1 2003/10/20 06:22:51 jmc Exp $ */
+
+/*
+ * LOCALE_CTYPE for Bulgarian Cyrillic character set (CP1251)
+ *
+ * FreeBSD: src/share/mklocale/bg_BG.CP1251.src,v 1.4 2002/03/28 01:13:04 ache Exp
+ */
+ENCODING "NONE"
+VARIABLE Bulgarian Cyrillic character set (CP1251) by <roam%ringlet.net@localhost>, CODESET=CP1251
+
+//
+// This is a comment
+//
+ALPHA 'A' - 'Z' 'a' - 'z'
+ALPHA 0x80 0x81 0x83 0x8a 0x8c - 0x90 0x9a 0x9c - 0x9f
+ALPHA 0xa1 - 0xa3 0xa5 0xa8 0xaa 0xaf 0xb2 - 0xb4 0xb8 0xba
+ALPHA 0xbc - 0xff
+CONTROL 0x00 - 0x1f 0x7f 0x98
+DIGIT '0' - '9'
+GRAPH 0x21 - 0x7e 0x80 - 0x97 0x99 - 0x9f 0xa1 - 0xff
+LOWER 'a' - 'z' 0x83 0x90 0x9a 0x9c - 0x9f 0xa2 0xb3 0xb4 0xb8
+LOWER 0xba 0xbc 0xbe 0xbf 0xe0 - 0xff
+PUNCT 0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
+PUNCT 0x82 0x84 - 0x89 0x8b 0x91 - 0x97 0x99 0x9b 0xa4
+PUNCT 0xa6 0xa7 0xa9 0xab - 0xae 0xb0 0xb1 0xb5 - 0xb7 0xb9 0xbb
+SPACE 0x09 - 0x0d 0x20 0xa0
+UPPER 'A' - 'Z' 0x80 0x81 0x8a 0x8c - 0x8f 0xa1 0xa3 0xa5 0xa8
+UPPER 0xaa 0xaf 0xb2 0xbd 0xc0 - 0xdf
+XDIGIT '0' - '9' 'a' - 'f' 'A' - 'F'
+BLANK ' ' '\t' 0xa0
+PRINT 0x20 - 0x7e 0x80 - 0x97 0x99 - 0xff
+SWIDTH1 0x20 - 0x7e 0x80 - 0x97 0x99 - 0xff
+
+MAPLOWER <'A' - 'Z' : 'a'>
+MAPLOWER <'a' - 'z' : 'a'>
+MAPLOWER <0x80 0x90>
+MAPLOWER <0x81 0x83>
+MAPLOWER <0x83 0x83>
+MAPLOWER <0x8a 0x9a>
+MAPLOWER <0x8c - 0x8f : 0x9c>
+MAPLOWER <0x90 0x90>
+MAPLOWER <0x9a 0x9a>
+MAPLOWER <0x9c - 0x9f : 0x9c>
+MAPLOWER <0xa1 0xa2>
+MAPLOWER <0xa2 0xa2>
+MAPLOWER <0xa3 0xbc>
+MAPLOWER <0xa5 0xb4>
+MAPLOWER <0xa8 0xb8>
+MAPLOWER <0xaa 0xba>
+MAPLOWER <0xaf 0xbf>
+MAPLOWER <0xb2 0xb3>
+MAPLOWER <0xb3 - 0xb4 : 0xb3>
+MAPLOWER <0xb8 0xb8>
+MAPLOWER <0xba 0xba>
+MAPLOWER <0xbc 0xbc>
+MAPLOWER <0xbd 0xbe>
+MAPLOWER <0xbe - 0xbf : 0xbe>
+MAPLOWER <0xc0 - 0xdf : 0xe0>
+MAPLOWER <0xe0 - 0xff : 0xe0>
+
+MAPUPPER <'A' - 'Z' : 'A'>
+MAPUPPER <'a' - 'z' : 'A'>
+MAPUPPER <0x80 - 0x81 : 0x80>
+MAPUPPER <0x83 0x81>
+MAPUPPER <0x8a 0x8a>
+MAPUPPER <0x8c - 0x8f : 0x8c>
+MAPUPPER <0x90 0x80>
+MAPUPPER <0x9a 0x8a>
+MAPUPPER <0x9c - 0x9f : 0x8c>
+MAPUPPER <0xa1 0xa1>
+MAPUPPER <0xa2 0xa1>
+MAPUPPER <0xa3 0xa3>
+MAPUPPER <0xa5 0xa5>
+MAPUPPER <0xa8 0xa8>
+MAPUPPER <0xaa 0xaa>
+MAPUPPER <0xaf 0xaf>
+MAPUPPER <0xb2 0xb2>
+MAPUPPER <0xb3 0xb2>
+MAPUPPER <0xb4 0xa5>
+MAPUPPER <0xb8 0xa8>
+MAPUPPER <0xba 0xaa>
+MAPUPPER <0xbc 0xa3>
+MAPUPPER <0xbd 0xbd>
+MAPUPPER <0xbe 0xbd>
+MAPUPPER <0xbf 0xaf>
+MAPUPPER <0xc0 - 0xdf : 0xc0>
+MAPUPPER <0xe0 - 0xff : 0xc0>
+
+TODIGIT <'0' - '9' : 0>
+TODIGIT <'A' - 'F' : 10>
+TODIGIT <'a' - 'f' : 10>
diff -r 65e5c1a07678 -r fc5644f31d81 share/locale/ctype/Makefile
--- a/share/locale/ctype/Makefile Mon Oct 20 06:03:21 2003 +0000
+++ b/share/locale/ctype/Makefile Mon Oct 20 06:21:59 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6.2.2 2002/12/01 12:24:26 he Exp $
+# $NetBSD: Makefile,v 1.6.2.3 2003/10/20 06:21:59 jmc Exp $
NOMAN= # defined
@@ -9,6 +9,14 @@
FILESGRP= ${LOCALEGRP}
FILESMODE= ${LOCALEMODE}
+LOCALES += ca_ES.ISO8859-1
+ LOCALESRC_ca_ES.ISO8859-1 = en_US.ISO_8859-1
+ ALIASES_ca_ES.ISO8859-1+=
+
+LOCALES += ca_ES.ISO8859-15
+ LOCALESRC_ca_ES.ISO8859-15 = en_US.DIS_8859-15
+ ALIASES_ca_ES.ISO8859-15+=
+
LOCALES += da_DK.ISO8859-1
LOCALESRC_da_DK.ISO8859-1 = en_US.ISO_8859-1
ALIASES_da_DK.ISO8859-1+=
@@ -270,6 +278,22 @@
LOCALESRC_uk_UA.KOI8-U = uk_UA.KOI8-U
ALIASES_uk_UA.KOI8-U+=
+LOCALES += bg_BG.CP1251
+ LOCALESRC_bg_BG.CP1251 = bg_BG.CP1251
+ ALIASES_bg_BG.CP1251+=
+
+LOCALES += el_GR.ISO8859-7
+ LOCALESRC_el_GR.ISO8859-7 = el_GR.ISO8859-7
+ ALIASES_el_GR.ISO8859-7+=
+
+LOCALES += hy_AM.ARMSCII-8
+ LOCALESRC_hy_AM.ARMSCII-8 = hy_AM.ARMSCII-8
+ ALIASES_hy_AM.ARMSCII-8+=
+
+LOCALES += lt_LT.ISO8859-13
+ LOCALESRC_lt_LT.ISO8859-13 = lt_LT.ISO8859-13
+ ALIASES_lt_LT.ISO8859-13+=
+
all: ${LOCALES:S/$/.out/g}
realall: ${LOCALES:S/$/.out/g}
diff -r 65e5c1a07678 -r fc5644f31d81 share/locale/ctype/en_US.ASCII.src
--- a/share/locale/ctype/en_US.ASCII.src Mon Oct 20 06:03:21 2003 +0000
+++ b/share/locale/ctype/en_US.ASCII.src Mon Oct 20 06:21:59 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: en_US.ASCII.src,v 1.2 2001/03/26 19:56:35 tshiozak Exp $ */
+/* $NetBSD: en_US.ASCII.src,v 1.2.2.1 2003/10/20 06:21:59 jmc Exp $ */
/*
* Standard LOCALE_CTYPE for the ASCII Locale
@@ -18,9 +18,9 @@
BLANK ' ' '\t'
PRINT 0x20 - 0x7e
SWIDTH1 0x20 - 0x7e
-# IDEOGRAM
-# SPECIAL
-# PHONEGRAM
+// IDEOGRAM
+// SPECIAL
+// PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
diff -r 65e5c1a07678 -r fc5644f31d81 share/locale/ctype/en_US.DIS_8859-15.src
--- a/share/locale/ctype/en_US.DIS_8859-15.src Mon Oct 20 06:03:21 2003 +0000
+++ b/share/locale/ctype/en_US.DIS_8859-15.src Mon Oct 20 06:21:59 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: en_US.DIS_8859-15.src,v 1.3 2002/01/25 23:40:42 jdolecek Exp $ */
+/* $NetBSD: en_US.DIS_8859-15.src,v 1.3.2.1 2003/10/20 06:21:59 jmc Exp $ */
/*
* Standard LOCALE_CTYPE for the dis_8859_15 Locale
@@ -6,9 +6,9 @@
ENCODING "NONE"
VARIABLE Latin-9 character set, CODESET=ISO8859-15
-#
-# This is a comment
-#
+//
+// This is a comment
+//
ALPHA 'A' - 'Z' 'a' - 'z' 0xa6 0xa8 0xb4 0xb8 0xbc - 0xbe 0xc0 - 0xd6 0xd8 - 0xf6 0xf8 - 0xff
CONTROL 0x00 - 0x1f 0x7f - 0x9f
DIGIT '0' - '9'
@@ -21,9 +21,9 @@
BLANK ' ' '\t' 0xa0
PRINT 0x20 - 0x7e 0xa0 - 0xff
SWIDTH1 0x20 - 0x7e 0xa0 - 0xff
-# IDEOGRAM
-# SPECIAL
-# PHONEGRAM
+// IDEOGRAM
+// SPECIAL
+// PHONEGRAM
MAPLOWER <'A' - 'Z' : 'a'>
MAPLOWER <'a' - 'z' : 'a'>
diff -r 65e5c1a07678 -r fc5644f31d81 share/locale/ctype/en_US.ISO_8859-1.src
--- a/share/locale/ctype/en_US.ISO_8859-1.src Mon Oct 20 06:03:21 2003 +0000
+++ b/share/locale/ctype/en_US.ISO_8859-1.src Mon Oct 20 06:21:59 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: en_US.ISO_8859-1.src,v 1.2 2001/03/26 19:56:35 tshiozak Exp $ */
+/* $NetBSD: en_US.ISO_8859-1.src,v 1.2.2.1 2003/10/20 06:21:59 jmc Exp $ */
/*
* Standard LOCALE_CTYPE for the iso_8859_1 Locale
Home |
Main Index |
Thread Index |
Old Index