1. move GB*.esdb from i18n/esdb/MISC to i18n/esdb/GB directory.

2. add iconv support for Chinese Tradisional GB12345.
This commit is contained in:
tnozaki 2006-11-23 03:25:24 +00:00
parent 1ee989e6be
commit dec2eb4c9d
16 changed files with 15288 additions and 18 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.674 2006/11/22 23:38:25 tnozaki Exp $
# $NetBSD: mi,v 1.675 2006/11/23 03:25:24 tnozaki Exp $
. base-sys-root
./altroot base-sys-root
./bin base-sys-root
@ -1965,6 +1965,10 @@
./usr/share/i18n/esdb/EUC/EUC-JP.esdb base-sysutil-share nls
./usr/share/i18n/esdb/EUC/EUC-KR.esdb base-sysutil-share nls
./usr/share/i18n/esdb/EUC/EUC-TW.esdb base-sysutil-share nls
./usr/share/i18n/esdb/GB base-sysutil-share
./usr/share/i18n/esdb/GB/GB12345.esdb base-sysutil-share nls
./usr/share/i18n/esdb/GB/GB18030.esdb base-sysutil-share nls
./usr/share/i18n/esdb/GB/GBK.esdb base-sysutil-share nls
./usr/share/i18n/esdb/GEORGIAN base-sysutil-share
./usr/share/i18n/esdb/GEORGIAN/GEORGIAN-ACADEMY-OldCapital.esdb base-sysutil-share nls
./usr/share/i18n/esdb/GEORGIAN/GEORGIAN-ACADEMY.esdb base-sysutil-share nls
@ -2035,8 +2039,8 @@
./usr/share/i18n/esdb/MISC/Big5.esdb base-obsolete obsolete
./usr/share/i18n/esdb/MISC/C99.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/CTEXT.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/GB18030.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/GBK.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/GB18030.esdb base-obsolete obsolete
./usr/share/i18n/esdb/MISC/GBK.esdb base-obsolete obsolete
./usr/share/i18n/esdb/MISC/HP-ROMAN8.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/HZ.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/HZ8.esdb base-sysutil-share nls

View File

@ -1,4 +1,4 @@
# $NetBSD: NetBSD.dist,v 1.329 2006/11/13 22:28:47 dogcow Exp $
# $NetBSD: NetBSD.dist,v 1.330 2006/11/23 03:25:24 tnozaki Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
/set type=dir uname=root gname=wheel mode=0755
@ -498,6 +498,7 @@
./usr/share/i18n/esdb/CP
./usr/share/i18n/esdb/EBCDIC
./usr/share/i18n/esdb/EUC
./usr/share/i18n/esdb/GB
./usr/share/i18n/esdb/GEORGIAN
./usr/share/i18n/esdb/ISO-2022
./usr/share/i18n/esdb/ISO-8859

File diff suppressed because it is too large Load Diff

View File

@ -1,11 +1,12 @@
# $NetBSD: Makefile.inc,v 1.6 2006/10/26 15:06:18 tnozaki Exp $
# $NetBSD: Makefile.inc,v 1.7 2006/11/23 03:25:24 tnozaki Exp $
.PATH: ${.CURDIR}/GB
SRCS_mapper.dir+= mapper.dir.GB
SRCS_charset.pivot+= charset.pivot.GB
CLEANFILES+= mapper.dir.GB charset.pivot.GB
MAPS_GB= GB18030%UCS@BMP.mps \
MAPS_GB= GB12345%UCS.mps \
GB18030%UCS@BMP.mps \
GB2312%UCS.mps \
GB2312EXT%UCS.mps \
GB2312UDA1%UCS.mps \
@ -14,6 +15,7 @@ MAPS_GB= GB18030%UCS@BMP.mps \
GBKUDA%UCS.mps \
ISO-IR-165EXT%UCS.mps \
UCS@BMP%GB18030.mps \
UCS%GB12345.mps \
UCS%GB2312.mps \
UCS%GB2312EXT.mps \
UCS%GB2312UDA1.mps \

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,6 @@
# $NetBSD: charset.pivot.GB.src,v 1.4 2006/10/26 15:06:18 tnozaki Exp $
# $NetBSD: charset.pivot.GB.src,v 1.5 2006/11/23 03:25:24 tnozaki Exp $
GB12345 UCS 1
GB2312 UCS 1
GB2312:GBK UCS 1
GB2312:GB18030 UCS 1
@ -7,6 +8,7 @@ GBK UCS 1
GBK:GB18030 UCS 1
GBKUCS UCS 1
ISO-IR-165 UCS 1
UCS GB12345 1
UCS GB2312 1
UCS GB2312:GBK 1
UCS GB2312:GB18030 1

View File

@ -1,5 +1,6 @@
# $NetBSD: mapper.dir.GB.src,v 1.5 2006/10/26 15:06:18 tnozaki Exp $
# $NetBSD: mapper.dir.GB.src,v 1.6 2006/11/23 03:25:24 tnozaki Exp $
GB12345/UCS mapper_std GB/GB12345%UCS.mps
GB2312/UCS mapper_std GB/GB2312%UCS.mps
GB2312EXT/UCS mapper_std GB/GB2312EXT%UCS.mps
GB2312UDA1/UCS mapper_std GB/GB2312UDA1%UCS.mps
@ -15,6 +16,7 @@ GBK/UCS mapper_parallel GBKEXT/UCS,CP936EXT/UCS
GBK:GB18030/UCS mapper_parallel GBKUDA/UCS,GBK/UCS
GBKUCS/UCS mapper_parallel GB18030/UCS:BMP
ISO-IR-165/UCS mapper_parallel ISO-IR-165EXT/UCS,GB2312/UCS
UCS/GB12345 mapper_std GB/UCS%GB12345.mps
UCS/GB2312 mapper_std GB/UCS%GB2312.mps
UCS/GB2312EXT mapper_std GB/UCS%GB2312EXT.mps
UCS/GB2312UDA1 mapper_std GB/UCS%GB2312UDA1.mps

View File

@ -0,0 +1,5 @@
# $NetBSD: GB.alias,v 1.1 2006/11/23 03:25:24 tnozaki Exp $
12345 gb12345
18030 gb18030
K gbk

View File

@ -0,0 +1,5 @@
# $NetBSD: GB.part,v 1.1 2006/11/23 03:25:24 tnozaki Exp $
12345
18030
K

View File

@ -0,0 +1,8 @@
# $NetBSD: GB12345.src,v 1.1 2006/11/23 03:25:24 tnozaki Exp $
NAME "GB12345"
ENCODING "EUC"
VARIABLE "1 0x0000 2 0x8080 2 0x0080 3 0x8000 0x8080"
DEFCSID "ISO646-US" 0
DEFCSID "GB12345" 0x8080
INVALID 0x3F # '?'

View File

@ -1,4 +1,4 @@
# $NetBSD: GB18030.src,v 1.3 2006/09/09 15:43:05 tnozaki Exp $
# $NetBSD: GB18030.src,v 1.1 2006/11/23 03:25:25 tnozaki Exp $
NAME "GB18030"
ENCODING "GBK2K"

View File

@ -1,4 +1,4 @@
# $NetBSD: GBK.src,v 1.1 2006/08/19 10:58:41 tnozaki Exp $
# $NetBSD: GBK.src,v 1.1 2006/11/23 03:25:25 tnozaki Exp $
NAME "GBK"
ENCODING "GBK2K"

View File

@ -0,0 +1,7 @@
# $NetBSD: Makefile.inc,v 1.1 2006/11/23 03:25:25 tnozaki Exp $
.PATH: ${.CURDIR}/GB
CODE:= GB
SEP_GB=
.include "${.CURDIR}/Makefile.part"

View File

@ -1,9 +1,7 @@
# $NetBSD: esdb.alias.MISC.src,v 1.12 2006/11/22 23:38:27 tnozaki Exp $
# $NetBSD: esdb.alias.MISC.src,v 1.13 2006/11/23 03:25:25 tnozaki Exp $
c99 C99
ctext CTEXT
gb18030 GB18030
gbk GBK
HZ-GB2312 HZ
java JAVA
CP1361 JOHAB

View File

@ -1,10 +1,8 @@
# $NetBSD: esdb.dir.MISC.src,v 1.12 2006/11/22 23:38:27 tnozaki Exp $
# $NetBSD: esdb.dir.MISC.src,v 1.13 2006/11/23 03:25:25 tnozaki Exp $
ATARIST MISC/ATARIST.esdb
C99 MISC/C99.esdb
CTEXT MISC/CTEXT.esdb
GB18030 MISC/GB18030.esdb
GBK MISC/GBK.esdb
HP-ROMAN8 MISC/HP-ROMAN8.esdb
HZ MISC/HZ.esdb
HZ8 MISC/HZ8.esdb

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2006/11/13 15:16:30 tnozaki Exp $
# $NetBSD: Makefile,v 1.11 2006/11/23 03:25:24 tnozaki Exp $
NOMAN=
@ -12,7 +12,7 @@ BINDIR?= /usr/share/i18n/esdb
${_MKTARGET_CREATE}
${TOOL_MKESDB} -o $@ $>
SUBDIR= APPLE AST BIG5 CP EUC EBCDIC GEORGIAN ISO-2022 \
SUBDIR= APPLE AST BIG5 CP EUC EBCDIC GB GEORGIAN ISO-2022 \
ISO-8859 ISO646 KOI MISC UTF TCVN
.for i in ${SUBDIR}