From owner-freebsd-hackers Tue Dec 22 03:28:55 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA01970 for freebsd-hackers-outgoing; Tue, 22 Dec 1998 03:28:55 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from ics.com (ics.com [140.186.40.192]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA01963 for ; Tue, 22 Dec 1998 03:28:47 -0800 (PST) (envelope-from kaleb@ics.com) Received: from kaleb.keithley.belmont.ma.us (pmdialin1.ics.com [140.186.40.175]) by ics.com (8.9.0.Beta5/8.9.0.Beta5) with ESMTP id GAA13428; Tue, 22 Dec 1998 06:28:37 -0500 (EST) Received: from kaleb.keithley.belmont.ma.us (localhost [127.0.0.1]) by kaleb.keithley.belmont.ma.us (8.9.1/8.9.1) with SMTP id HAA05238; Tue, 22 Dec 1998 07:53:07 -0500 (EST) (envelope-from kaleb@ics.com) Message-ID: <367F9630.13728473@ics.com> Date: Tue, 22 Dec 1998 07:53:04 -0500 From: "Kaleb S. KEITHLEY" Reply-To: kaleb@ics.com Organization: Integrated Computer Solutions X-Mailer: Mozilla 3.04Gold (X11; I; FreeBSD 3.0-RELEASE i386) MIME-Version: 1.0 To: hackers@FreeBSD.ORG CC: kaleb@ics.com Subject: Euro support part 2 Content-Type: multipart/mixed; boundary="------------2C67412E284797A9500F9F30" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------2C67412E284797A9500F9F30 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit The attached patch adds more changes necessary to support for the Euro. Specifically it adds the following: o) Adds creation of /usr/share/locale/*.DIS_8859-15 subdirs to /usr/src/etc/mtree/BSD.usr.dist. o) Adds installation of LC_TIME specs for 8859-15 locales (symlinks from 8859-1 version) to /usr/src/share/timedef/data/Makefile o) Adds an 8859-15 charmap and LC_COLLATE specifications to /usr/src/usr.bin/colldef/data. Adds installation of generated LC_COLLATE files to the Makefile. I don't recall that 2.x systems needed LC_TIME and LC_COLLATE. The first item is definitely necessary on both 2.x and 3.0 systems. The second two items may be optional on a 2.x system. -- Kaleb --------------2C67412E284797A9500F9F30 Content-Type: text/plain; charset=us-ascii; name="euro.patch2" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="euro.patch2" *** /usr/src/etc/mtree/BSD.usr.dist.orig Mon Dec 21 21:24:49 1998 --- /usr/src/etc/mtree/BSD.usr.dist Mon Dec 21 21:22:56 1998 *************** *** 401,442 **** --- 401,476 ---- locale da_DK.ISO_8859-1 .. + da_DK.DIS_8859-15 + .. de_AT.ISO_8859-1 .. + de_AT.DIS_8859-15 + .. de_CH.ISO_8859-1 .. + de_CH.DIS_8859-15 + .. de_DE.ISO_8859-1 .. + de_DE.DIS_8859-15 + .. en_AU.ISO_8859-1 .. + en_AU.DIS_8859-15 + .. en_CA.ISO_8859-1 .. + en_CA.DIS_8859-15 + .. en_GB.ISO_8859-1 .. + en_GB.DIS_8859-15 + .. en_US.ISO_8859-1 .. + en_US.DIS_8859-15 + .. es_ES.ISO_8859-1 .. + es_ES.DIS_8859-15 + .. fi_FI.ISO_8859-1 .. + fi_FI.DIS_8859-15 + .. fr_BE.ISO_8859-1 .. + fr_BE.DIS_8859-15 + .. fr_CA.ISO_8859-1 .. + fr_CA.DIS_8859-15 + .. fr_CH.ISO_8859-1 .. + fr_CH.DIS_8859-15 + .. fr_FR.ISO_8859-1 .. + fr_FR.DIS_8859-15 + .. hr_HR.ISO_8859-2 .. hu_HU.ISO_8859-2 .. is_IS.ISO_8859-1 .. + is_IS.DIS_8859-15 + .. it_CH.ISO_8859-1 .. + it_CH.DIS_8859-15 + .. it_IT.ISO_8859-1 .. + it_IT.DIS_8859-15 + .. ja_JP.EUC .. ja_JP.SJIS *************** *** 447,464 **** --- 481,508 ---- .. lt_LN.ISO_8859-1 .. + lt_LN.DIS_8859-15 + .. lt_LN.ISO_8859-2 .. nl_BE.ISO_8859-1 .. + nl_BE.DIS_8859-15 + .. nl_NL.ISO_8859-1 .. + nl_NL.DIS_8859-15 + .. no_NO.ISO_8859-1 .. + no_NO.DIS_8859-15 + .. pl_PL.ISO_8859-2 .. pt_PT.ISO_8859-1 .. + pt_PT.DIS_8859-15 + .. ru_SU.CP866 .. ru_SU.KOI8-R *************** *** 466,471 **** --- 510,517 ---- sl_SI.ISO_8859-2 .. sv_SE.ISO_8859-1 + .. + sv_SE.DIS_8859-15 .. zh_CN.EUC .. *** /usr/src/share/timedef/data/Makefile.orig Mon Dec 21 22:32:43 1998 --- /usr/src/share/timedef/data/Makefile Tue Dec 22 07:20:29 1998 *************** *** 31,36 **** --- 31,38 ---- LOCALEDIR= ${DESTDIR}/usr/share/locale + 8859_15_LINKS = da_DK de_AT de_DE en_GB en_US es_ES fi_FI fr_FR is_IS \ + it_IT lt_LN nl_NL no_NO pt_PT sv_SE DE_LINKS = de_CH FR_LINKS = fr_BE fr_CA fr_CH IT_LINKS = it_CH *************** *** 51,68 **** --- 53,86 ---- ${INSTALL} ${COPY} -m 644 -o ${BINOWN} -g ${BINGRP} $$l.out \ ${LOCALEDIR}/$$l/LC_TIME; \ done + for l in ${8859_15_LINKS}; do \ + ln -fs ../$$l.ISO_8859-1/LC_TIME \ + ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \ + done for l in ${DE_LINKS}; do \ ln -fs ../de_DE.ISO_8859-1/LC_TIME \ ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \ done + for l in ${DE_LINKS}; do \ + ln -fs ../de_DE.ISO_8859-1/LC_TIME \ + ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \ + done for l in ${IT_LINKS}; do \ ln -fs ../it_IT.ISO_8859-1/LC_TIME \ ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \ done + for l in ${IT_LINKS}; do \ + ln -fs ../it_IT.ISO_8859-1/LC_TIME \ + ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \ + done for l in ${FR_LINKS}; do \ ln -fs ../fr_FR.ISO_8859-1/LC_TIME \ ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \ done + for l in ${FR_LINKS}; do \ + ln -fs ../fr_FR.ISO_8859-1/LC_TIME \ + ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \ + done for l in ${LN_LINKS}; do \ ln -fs ../lt_LN.ISO_8859-1/LC_TIME \ ${LOCALEDIR}/$$l/LC_TIME; \ *************** *** 71,83 **** --- 89,113 ---- ln -fs ../nl_NL.ISO_8859-1/LC_TIME \ ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \ done + for l in ${NL_LINKS}; do \ + ln -fs ../nl_NL.ISO_8859-1/LC_TIME \ + ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \ + done for l in ${US_LINKS}; do \ ln -fs ../en_US.ISO_8859-1/LC_TIME \ ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \ done + for l in ${US_LINKS}; do \ + ln -fs ../en_US.ISO_8859-1/LC_TIME \ + ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \ + done for l in ${GB_LINKS}; do \ ln -fs ../en_GB.ISO_8859-1/LC_TIME \ ${LOCALEDIR}/$$l.ISO_8859-1/LC_TIME; \ + done + for l in ${GB_LINKS}; do \ + ln -fs ../en_GB.ISO_8859-1/LC_TIME \ + ${LOCALEDIR}/$$l.DIS_8859-15/LC_TIME; \ done .include *** /usr/src/usr.bin/colldef/data/Makefile.orig Sun Dec 20 09:36:35 1998 --- /usr/src/usr.bin/colldef/data/Makefile Tue Dec 22 07:29:59 1998 *************** *** 10,16 **** lt_LN.ISO_8859-1 \ lt_LN.ISO_8859-2 \ ru_SU.CP866 \ ! ru_SU.KOI8-R LOCALEDIR= ${DESTDIR}/usr/share/locale --- 10,20 ---- lt_LN.ISO_8859-1 \ lt_LN.ISO_8859-2 \ ru_SU.CP866 \ ! ru_SU.KOI8-R \ ! de_DE.DIS_8859-15 \ ! es_ES.DIS_8859-15 \ ! is_IS.DIS_8859-15 \ ! lt_LN.DIS_8859-15 LOCALEDIR= ${DESTDIR}/usr/share/locale *************** *** 41,46 **** --- 45,55 ---- lt_LN.ISO_8859-2.out: map.ISO_8859-2 es_ES.ISO_8859-1.out: map.ISO_8859-1 de_DE.ISO_8859-1.out: map.ISO_8859-1 + is_IS.ISO_8859-1.out: map.ISO_8859-1 + lt_LN.DIS_8859-15.out: map.DIS_8859-15 + es_ES.DIS_8859-15.out: map.DIS_8859-15 + de_DE.DIS_8859-15.out: map.DIS_8859-15 + is_IS.DIS_8859-15.out: map.DIS_8859-15 .if !defined(_BUILD_TOOLS) afterinstall: *************** *** 56,61 **** --- 65,74 ---- ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \ ${LOCALEDIR}/${link}.ISO_8859-1/LC_COLLATE .endfor + .for link in ${LATIN1LINKS} + ln -fs ../lt_LN.DIS_8859-15/LC_COLLATE \ + ${LOCALEDIR}/${link}.DIS_8859-15/LC_COLLATE + .endfor .for link in ${LATIN2LINKS} ln -fs ../lt_LN.ISO_8859-2/LC_COLLATE \ ${LOCALEDIR}/${link}.ISO_8859-2/LC_COLLATE *************** *** 63,68 **** --- 76,85 ---- .for link in ${DELINKS} ln -fs ../de_DE.ISO_8859-1/LC_COLLATE \ ${LOCALEDIR}/${link}.ISO_8859-1/LC_COLLATE + .endfor + .for link in ${DELINKS} + ln -fs ../de_DE.DIS_8859-15/LC_COLLATE \ + ${LOCALEDIR}/${link}.DIS_8859-15/LC_COLLATE .endfor .endif *** /dev/null Tue Dec 22 02:02:53 1998 --- /usr/src/usr.bin/colldef/data/de_DE.DIS_8859-15.src Mon Dec 21 22:13:28 1998 *************** *** 0 **** --- 1,38 ---- + # German/ISO 8859-1 (backward compatible with ASCII) + # + # $Id: de_DE.DIS_8859-15.src,v 1.4 1997/03/10 21:59:53 ache Exp $ + # + charmap map.DIS_8859-15 + order \ + # controls + ;...;;;...;;\ + # + ;;!;;\";<<<>;/>>;;\ + ;;;;;\ + %;&;';\(;\);*;+;<+->;<-:>;<*X>;\,;<-->;-;.;/;\ + # digits + 0;(1,<1S>);(2,<2S>);(3,<3S>);4;...;9;\ + # + :;\;;\<;=;>;?;;;;;;;\ + # capital + (A,,,>,,,,);\ + B;(C,);D;(E,,,>,);\ + F;G;H;(I,,,>,);\ + J;...;M;(N,);(O,,,>,,,,);\ + P;...;R;(S,);T;(U,,,>,);\ + V;W;X;(Y,,);(Z,);\ + ;;\ + # + [;\\;];^;_;<'m>;`;\ + # small + (a,,,>,,,,);\ + b;(c,);d;(e,,,>,);\ + f;g;h;(i,,,>,);\ + j;...;m;(n,);(o,,,>,,,,);\ + p;...;r;(s,);(,ss);t;(u,,,>,);\ + v;w;x;(y,,);(z,);\ + ;;\ + # + \{;;|;\};~;<.M>;;;
;\ + # remains + <-a>;<-o> *** /dev/null Tue Dec 22 02:02:53 1998 --- /usr/src/usr.bin/colldef/data/is_IS.DIS_8859-15.src Mon Dec 21 22:14:08 1998 *************** *** 0 **** --- 1,38 ---- + # icelandic (backward compatible with ASCII) + # + # $Id: is_IS.DIS_8859-15.src,v 1.4 1997/02/22 19:54:38 peter Exp $ + # + charmap map.DIS_8859-15 + order \ + # controls + ;...;;;...;;\ + # + ;;!;;\";<<<>;/>>;;\ + ;;;;;\ + %;&;';\(;\);*;+;<+->;<-:>;<*X>;\,;<-->;-;.;/;\ + # digits + 0;(1,<1S>);(2,<2S>);(3,<3S>);4;...;9;\ + # + :;\;;\<;=;>;?;;;;;;;\ + # capital + (A,,,>,,,);\ + B;(C,);(D,);(E,,,>,);\ + F;G;H;(I,,,>,);\ + J;...;M;(N,);(O,,,>,,,);\ + P;...;R;(S,);T;(U,,,>,);\ + V;W;X;(Y,,);(Z,);\ + ;;;\ + # + [;\\;];^;_;<'m>;`;\ + # small + (a,,,>,,,);\ + b;(c,);(d,);(e,,,>,);\ + f;g;h;(i,,,>,);\ + j;...;m;(n,);(o,,,>,,,);\ + p;...;r;(s,);t;(u,,,>,);\ + v;w;x;(y,,);(z,);\ + ;;;;\ + # + \{;;|;\};~;<.M>;;;
;\ + # remains + <-a>;<-o> *** /dev/null Tue Dec 22 02:02:53 1998 --- /usr/src/usr.bin/colldef/data/lt_LN.DIS_8859-15.src Mon Dec 21 22:14:49 1998 *************** *** 0 **** --- 1,38 ---- + # latin1 (backward compatible with ASCII) + # + # $Id: lt_LN.DIS_8859-15.src,v 1.8 1997/02/22 19:54:39 peter Exp $ + # + charmap map.DIS_8859-15 + order \ + # controls + ;...;;;...;;\ + # + ;;!;;\";<<<>;/>>;;\ + ;;;;;\ + %;&;';\(;\);*;+;<+->;<-:>;<*X>;\,;<-->;-;.;/;\ + # digits + 0;(1,<1S>);(2,<2S>);(3,<3S>);4;...;9;\ + # + :;\;;\<;=;>;?;;;;;;;\ + # capital + (A,,,>,,,,);\ + B;(C,);D;(E,,,>,);\ + F;G;H;(I,,,>,);\ + J;...;M;(N,);(O,,,>,,,,);\ + P;...;R;(S,);T;(U,,,>,);\ + V;W;X;(Y,,);(Z,);\ + ;;\ + # + [;\\;];^;_;<'m>;`;\ + # small + (a,,,>,,,,);\ + b;(c,);d;(e,,,>,);\ + f;g;h;(i,,,>,);\ + j;...;m;(n,);(o,,,>,,,,);\ + p;...;r;(s,);t;(u,,,>,);\ + v;w;x;(y,,);(z,);\ + ;;;\ + # + \{;;|;\};~;<.M>;;;
;\ + # remains + <-a>;<-o> *** /dev/null Tue Dec 22 02:02:53 1998 --- /usr/src/usr.bin/colldef/data/map.DIS_8859-15 Mon Dec 21 21:41:30 1998 *************** *** 0 **** --- 1,174 ---- + NU \x00 + SH \x01 + SX \x02 + EX \x03 + ET \x04 + EQ \x05 + AK \x06 + BL \x07 + BS \x08 + HT \x09 + LF \x0a + VT \x0b + FF \x0c + CR \x0d + SO \x0e + SI \x0f + DL \x10 + D1 \x11 + D2 \x12 + D3 \x13 + D4 \x14 + NK \x15 + SY \x16 + EB \x17 + CN \x18 + EM \x19 + SB \x1a + EC \x1b + FS \x1c + GS \x1d + RS \x1e + US \x1f + SP \x20 + Nb \x23 + DO \x24 + At \x40 + <( \x5b + // \x5c + )> \x5d + '> \x5e + '! \x60 + (! \x7b + !! \x7c + !) \x7d + '? \x7e + DT \x7f + PA \x80 + HO \x81 + BH \x82 + NH \x83 + IN \x84 + NL \x85 + SA \x86 + ES \x87 + HS \x88 + HJ \x89 + VS \x8a + PD \x8b + PU \x8c + RI \x8d + S2 \x8e + S3 \x8f + DC \x90 + P1 \x91 + P2 \x92 + TS \x93 + CC \x94 + MW \x95 + SG \x96 + EG \x97 + SS \x98 + GC \x99 + SC \x9a + CI \x9b + ST \x9c + OC \x9d + PM \x9e + AC \x9f + NS \xa0 + !I \xa1 + Ct \xa2 + Pd \xa3 + Eu \xa4 + Ye \xa5 + S< \xa6 + SE \xa7 + s< \xa8 + Co \xa9 + -a \xaa + << \xab + NO \xac + -- \xad + Rg \xae + 'm \xaf + DG \xb0 + +- \xb1 + 2S \xb2 + 3S \xb3 + Z< \xb4 + My \xb5 + PI \xb6 + .M \xb7 + z< \xb8 + 1S \xb9 + -o \xba + >> \xbb + OE \xbc + oe \xbd + Y: \xbe + ?I \xbf + A! \xc0 + A' \xc1 + A> \xc2 + A? \xc3 + A: \xc4 + AA \xc5 + AE \xc6 + C, \xc7 + E! \xc8 + E' \xc9 + E> \xca + E: \xcb + I! \xcc + I' \xcd + I> \xce + I: \xcf + D- \xd0 + N? \xd1 + O! \xd2 + O' \xd3 + O> \xd4 + O? \xd5 + O: \xd6 + *X \xd7 + O/ \xd8 + U! \xd9 + U' \xda + U> \xdb + U: \xdc + Y' \xdd + TH \xde + ss \xdf + a! \xe0 + a' \xe1 + a> \xe2 + a? \xe3 + a: \xe4 + aa \xe5 + ae \xe6 + c, \xe7 + e! \xe8 + e' \xe9 + e> \xea + e: \xeb + i! \xec + i' \xed + i> \xee + i: \xef + d- \xf0 + n? \xf1 + o! \xf2 + o' \xf3 + o> \xf4 + o? \xf5 + o: \xf6 + -: \xf7 + o/ \xf8 + u! \xf9 + u' \xfa + u> \xfb + u: \xfc + y' \xfd + th \xfe + y: \xff --------------2C67412E284797A9500F9F30-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
;\ + # remains + <-a>;<-o> *** /dev/null Tue Dec 22 02:02:53 1998 --- /usr/src/usr.bin/colldef/data/es_ES.DIS_8859-15.src Mon Dec 21 22:13:46 1998 *************** *** 0 **** --- 1,38 ---- + # Espan~ol (backward compatible with ASCII) + # + # $Id: es_ES.DIS_8859-15.src,v 1.3 1997/02/22 19:54:35 peter Exp $ + # + charmap map.DIS_8859-15 + order \ + # controls + ;...;;;...;;\ + # + ;;!;;\";<<<>;/>>;;\ + ;;;;;\ + %;&;';\(;\);*;+;<+->;<-:>;<*X>;\,;<-->;-;.;/;\ + # digits + 0;(1,<1S>);(2,<2S>);(3,<3S>);4;...;9;\ + # + :;\;;\<;=;>;?;;;;;;;\ + # capital + (A,,,>,,,,);\ + B;(C,);{CH,Ch};D;(E,,,>,);\ + F;G;H;(I,,,>,);\ + J;...;K;L;{LL,Ll};M;(N,);(O,,,>,,,,);\ + P;Q;R;{RR,Rr};(S,);T;(U,,,>,);\ + V;W;X;(Y,,);(Z,);\ + ;;\ + # + [;\\;];^;_;<'m>;`;\ + # small + (a,,,>,,,,);\ + b;(c,);ch;d;(e,,,>,);\ + f;g;h;(i,,,>,);\ + j;...;k;l;ll;m;(n,);(o,,,>,,,,);\ + p;q;r;rr;(s,);t;(u,,,>,);\ + v;w;x;(y,,);(z,);\ + ;;;\ + # + \{;;|;\};~;<.M>;;;