Subject: CVS commit: basesrc
To: None <source-changes@netbsd.org>
From: Takuya SHIOZAKI <tshiozak@netbsd.org>
List: source-changes
Date: 03/18/2002 00:14:39
Module Name:	basesrc
Committed By:	tshiozak
Date:		Sun Mar 17 22:14:39 UTC 2002

Modified Files:
	basesrc/distrib/sets/lists/base: mi obsolete.mi shl.elf shl.mi
	basesrc/distrib/sets/lists/comp: mi shl.elf
	basesrc/distrib/syspkg/sets/base: Makefile
	basesrc/distrib/syspkg/sets/comp: Makefile
	basesrc/etc/mtree: NetBSD.dist
	basesrc/include: paths.h
	basesrc/lib: Makefile
	basesrc/lib/libc: Makefile
	basesrc/lib/libc/locale: Makefile.inc ___runetype_mb.c ___tolower_mb.c
	    ___toupper_mb.c iswctype.c nl_langinfo.c rune.c rune.h rune_local.h
	    runeglue.c runetable.c runetype.h setrunelocale.c
	basesrc/usr.bin/mklocale: yacc.y
Added Files:
	basesrc/distrib/syspkg/sets/base/base-i18n-shlib: COMMENT DESCR
	    Makefile
	basesrc/distrib/syspkg/sets/comp/comp-i18n-lib: COMMENT DESCR Makefile
	basesrc/lib/i18n_module: Makefile Makefile.inc shlib_version
	basesrc/lib/i18n_module/BIG5: Makefile
	basesrc/lib/i18n_module/EUC: Makefile
	basesrc/lib/i18n_module/EUCTW: Makefile
	basesrc/lib/i18n_module/ISO2022: Makefile
	basesrc/lib/i18n_module/MSKanji: Makefile
	basesrc/lib/i18n_module/UTF8: Makefile
	basesrc/lib/libc/citrus: Makefile.inc citrus_ctype.c citrus_ctype.h
	    citrus_ctype_local.h citrus_ctype_template.h citrus_module.c
	    citrus_module.h citrus_none.c citrus_none.h
	basesrc/lib/libc/citrus/modules: citrus_big5.c citrus_big5.h
	    citrus_euc.c citrus_euc.h citrus_euctw.c citrus_euctw.h
	    citrus_iso2022.c citrus_iso2022.h citrus_mskanji.c citrus_mskanji.h
	    citrus_utf8.c citrus_utf8.h
	basesrc/lib/libc/locale: multibyte.h multibyte_amd1.c multibyte_c90.c
Removed Files:
	basesrc/distrib/syspkg/sets/comp/comp-rune-lib: COMMENT DESCR Makefile
	basesrc/lib/libc/locale: big5.c euc.c euctw.c iso2022.c iso2022.h
	    mskanji.c multibyte.c runenone.c utf8.c
	basesrc/lib/runemodule: Makefile Makefile.inc shlib_version
	basesrc/lib/runemodule/BIG5: Makefile
	basesrc/lib/runemodule/EUC: Makefile
	basesrc/lib/runemodule/EUCTW: Makefile
	basesrc/lib/runemodule/ISO2022: Makefile
	basesrc/lib/runemodule/MSKanji: Makefile
	basesrc/lib/runemodule/UTF8: Makefile

Log Message:
refine i18n stuffs.
  - add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.


To generate a diff of this commit:
cvs rdiff -r1.311 -r1.312 basesrc/distrib/sets/lists/base/mi
cvs rdiff -r1.36 -r1.37 basesrc/distrib/sets/lists/base/obsolete.mi
cvs rdiff -r1.56 -r1.57 basesrc/distrib/sets/lists/base/shl.elf
cvs rdiff -r1.159 -r1.160 basesrc/distrib/sets/lists/base/shl.mi
cvs rdiff -r1.430 -r1.431 basesrc/distrib/sets/lists/comp/mi
cvs rdiff -r1.26 -r1.27 basesrc/distrib/sets/lists/comp/shl.elf
cvs rdiff -r1.1.1.1 -r1.2 basesrc/distrib/syspkg/sets/base/Makefile
cvs rdiff -r0 -r1.1 basesrc/distrib/syspkg/sets/base/base-i18n-shlib/COMMENT \
    basesrc/distrib/syspkg/sets/base/base-i18n-shlib/DESCR \
    basesrc/distrib/syspkg/sets/base/base-i18n-shlib/Makefile
cvs rdiff -r1.1.1.1 -r1.2 basesrc/distrib/syspkg/sets/comp/Makefile
cvs rdiff -r0 -r1.1 basesrc/distrib/syspkg/sets/comp/comp-i18n-lib/COMMENT \
    basesrc/distrib/syspkg/sets/comp/comp-i18n-lib/DESCR \
    basesrc/distrib/syspkg/sets/comp/comp-i18n-lib/Makefile
cvs rdiff -r1.1.1.1 -r0 \
    basesrc/distrib/syspkg/sets/comp/comp-rune-lib/COMMENT \
    basesrc/distrib/syspkg/sets/comp/comp-rune-lib/DESCR \
    basesrc/distrib/syspkg/sets/comp/comp-rune-lib/Makefile
cvs rdiff -r1.181 -r1.182 basesrc/etc/mtree/NetBSD.dist
cvs rdiff -r1.18 -r1.19 basesrc/include/paths.h
cvs rdiff -r1.74 -r1.75 basesrc/lib/Makefile
cvs rdiff -r0 -r1.1 basesrc/lib/i18n_module/Makefile \
    basesrc/lib/i18n_module/Makefile.inc \
    basesrc/lib/i18n_module/shlib_version
cvs rdiff -r0 -r1.1 basesrc/lib/i18n_module/BIG5/Makefile
cvs rdiff -r0 -r1.1 basesrc/lib/i18n_module/EUC/Makefile
cvs rdiff -r0 -r1.1 basesrc/lib/i18n_module/EUCTW/Makefile
cvs rdiff -r0 -r1.1 basesrc/lib/i18n_module/ISO2022/Makefile
cvs rdiff -r0 -r1.1 basesrc/lib/i18n_module/MSKanji/Makefile
cvs rdiff -r0 -r1.1 basesrc/lib/i18n_module/UTF8/Makefile
cvs rdiff -r1.102 -r1.103 basesrc/lib/libc/Makefile
cvs rdiff -r0 -r1.1 basesrc/lib/libc/citrus/Makefile.inc \
    basesrc/lib/libc/citrus/citrus_ctype.c \
    basesrc/lib/libc/citrus/citrus_ctype.h \
    basesrc/lib/libc/citrus/citrus_ctype_local.h \
    basesrc/lib/libc/citrus/citrus_ctype_template.h \
    basesrc/lib/libc/citrus/citrus_module.c \
    basesrc/lib/libc/citrus/citrus_module.h \
    basesrc/lib/libc/citrus/citrus_none.c \
    basesrc/lib/libc/citrus/citrus_none.h
cvs rdiff -r0 -r1.1 basesrc/lib/libc/citrus/modules/citrus_big5.c \
    basesrc/lib/libc/citrus/modules/citrus_big5.h \
    basesrc/lib/libc/citrus/modules/citrus_euc.c \
    basesrc/lib/libc/citrus/modules/citrus_euc.h \
    basesrc/lib/libc/citrus/modules/citrus_euctw.c \
    basesrc/lib/libc/citrus/modules/citrus_euctw.h \
    basesrc/lib/libc/citrus/modules/citrus_iso2022.c \
    basesrc/lib/libc/citrus/modules/citrus_iso2022.h \
    basesrc/lib/libc/citrus/modules/citrus_mskanji.c \
    basesrc/lib/libc/citrus/modules/citrus_mskanji.h \
    basesrc/lib/libc/citrus/modules/citrus_utf8.c \
    basesrc/lib/libc/citrus/modules/citrus_utf8.h
cvs rdiff -r1.37 -r1.38 basesrc/lib/libc/locale/Makefile.inc
cvs rdiff -r1.3 -r1.4 basesrc/lib/libc/locale/___runetype_mb.c \
    basesrc/lib/libc/locale/___tolower_mb.c \
    basesrc/lib/libc/locale/___toupper_mb.c
cvs rdiff -r1.8 -r0 basesrc/lib/libc/locale/big5.c \
    basesrc/lib/libc/locale/mskanji.c basesrc/lib/libc/locale/runenone.c
cvs rdiff -r1.9 -r0 basesrc/lib/libc/locale/euc.c \
    basesrc/lib/libc/locale/utf8.c
cvs rdiff -r1.10 -r0 basesrc/lib/libc/locale/euctw.c
cvs rdiff -r1.12 -r0 basesrc/lib/libc/locale/iso2022.c
cvs rdiff -r1.5 -r0 basesrc/lib/libc/locale/iso2022.h
cvs rdiff -r1.8 -r1.9 basesrc/lib/libc/locale/iswctype.c \
    basesrc/lib/libc/locale/runeglue.c \
    basesrc/lib/libc/locale/setrunelocale.c
cvs rdiff -r1.13 -r0 basesrc/lib/libc/locale/multibyte.c
cvs rdiff -r0 -r1.1 basesrc/lib/libc/locale/multibyte.h \
    basesrc/lib/libc/locale/multibyte_amd1.c \
    basesrc/lib/libc/locale/multibyte_c90.c
cvs rdiff -r1.7 -r1.8 basesrc/lib/libc/locale/nl_langinfo.c \
    basesrc/lib/libc/locale/runetable.c
cvs rdiff -r1.13 -r1.14 basesrc/lib/libc/locale/rune.c
cvs rdiff -r1.4 -r1.5 basesrc/lib/libc/locale/rune.h
cvs rdiff -r1.5 -r1.6 basesrc/lib/libc/locale/rune_local.h
cvs rdiff -r1.6 -r1.7 basesrc/lib/libc/locale/runetype.h
cvs rdiff -r1.2 -r0 basesrc/lib/runemodule/Makefile
cvs rdiff -r1.6 -r0 basesrc/lib/runemodule/Makefile.inc
cvs rdiff -r1.1 -r0 basesrc/lib/runemodule/shlib_version
cvs rdiff -r1.1 -r0 basesrc/lib/runemodule/BIG5/Makefile
cvs rdiff -r1.1 -r0 basesrc/lib/runemodule/EUC/Makefile
cvs rdiff -r1.1 -r0 basesrc/lib/runemodule/EUCTW/Makefile
cvs rdiff -r1.1 -r0 basesrc/lib/runemodule/ISO2022/Makefile
cvs rdiff -r1.1 -r0 basesrc/lib/runemodule/MSKanji/Makefile
cvs rdiff -r1.1 -r0 basesrc/lib/runemodule/UTF8/Makefile
cvs rdiff -r1.8 -r1.9 basesrc/usr.bin/mklocale/yacc.y

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.