Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Apr 2003 16:11:20 +0300
From:      Alexey Zelkin <phantom@FreeBSD.org.ua>
To:        lists-freebsd-i18n@biaix.org
Cc:        i18n@freebsd.org
Subject:   Re: [incomplete PATCH] help needed with misc/45874
Message-ID:  <20030423161120.A28072@phantom.cris.net>
In-Reply-To: <20030422151739.GA2097@grummit.biaix.org>; from lists-freebsd-i18n@biaix.org on Tue, Apr 22, 2003 at 05:17:39PM %2B0200
References:  <20030422151739.GA2097@grummit.biaix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 22, 2003 at 05:17:39PM +0200, Joan Picanyol i Puig wrote:
> [please honour Mail-Followup-To:, not subscribed]
> 
> Hi,
> 
> I submitted misc/45874, but did not quite make it :(
> 
> My patch modified some Makefiles in /usr/src/share/ and provided the
> translations I deemed necessary. However, applying the patch does not
> work :( The directory structure is not created, at least there's
> /usr/src/etc/locale.alias to be completed (I'm attaching a diff of my
> share and etc directories).
> 
> I'm relatively new to FreeBSD and I'm not acquainted with it's sources,
> and I ask:
> 
> 1. What files do I need to modify to make buildworld create the ca_ES
> locale (to effectively add it to FreeBSD)?

src/etc/mtree/... to create directories for new locale files

btw, you also missed 'mklocale' stuff (which also have to be done for
new locale) -- src/share/mklocale

> 2. What's the difference between the different naming conventions for
> ISO[_-]*8859-15 files? Which one should I use?

ISO8859 is default one, others are compat leftovers.

> Index: share/colldef/Makefile
> ===================================================================
> RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/colldef/Makefile,v
> retrieving revision 1.32.2.11
> diff -u -3 -p -r1.32.2.11 Makefile
> --- share/colldef/Makefile	17 Aug 2002 19:14:44 -0000	1.32.2.11
> +++ share/colldef/Makefile	6 Dec 2002 17:49:37 -0000
> @@ -11,6 +11,8 @@ LOCALES=	bg_BG.CP1251 \
>  		el_GR.ISO8859-7 \
>  		es_ES.ISO8859-1 \
>  		es_ES.ISO8859-15 \
> +		ca_ES.ISO8859-15 \

Looks like you wanted to use '-1' suffix here

> +		ca_ES.ISO8859-15 \
>  		et_EE.ISO8859-15 \
>  		hi_IN.ISCII-DEV \
>  		is_IS.ISO8859-1 \
> @@ -57,7 +59,9 @@ de_DE.ISO8859-15.out:   map.ISO8859-15
>  de_DE.ISO8859-1.out:    map.ISO8859-1
>  el_GR.ISO8859-7.out:    map.ISO8859-7
>  es_ES.ISO8859-15.out:   map.ISO8859-15
> +ca_ES.ISO8859-15.out:   map.ISO8859-15
>  es_ES.ISO8859-1.out:    map.ISO8859-1
> +ca_ES.ISO8859-1.out:    map.ISO8859-1
>  et_EE.ISO8859-15.out:   map.ISO8859-15
>  hi_IN.ISCII-DEV.out:	map.ISCII-DEV
>  is_IS.ISO8859-15.out:   map.ISO8859-15
> Index: share/monetdef/Makefile
> ===================================================================
> RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/monetdef/Makefile,v
> retrieving revision 1.37.2.3
> diff -u -3 -p -r1.37.2.3 Makefile
[..]
> Index: share/msgdef/Makefile
> ===================================================================
> RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/msgdef/Makefile,v
> retrieving revision 1.38.2.3
> diff -u -3 -p -r1.38.2.3 Makefile
> --- share/msgdef/Makefile	17 Aug 2002 19:30:37 -0000	1.38.2.3
> +++ share/msgdef/Makefile	6 Dec 2002 17:49:37 -0000
> @@ -13,6 +13,7 @@ LOCALES=	af_ZA.ISO8859-1 \
>  		en_GB.ISO8859-1 \
>  		en_US.ISO8859-1 \
>  		es_ES.ISO8859-1 \
> +		ca_ES.ISO8859-1 \

Hmm..  What about '-15' here ?

>  		et_EE.ISO8859-15 \
>  		fi_FI.ISO8859-1 \
>  		fr_BE.ISO8859-1 \
> Index: share/numericdef/Makefile
> ===================================================================
> RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/numericdef/Makefile,v
> retrieving revision 1.36.2.3
> diff -u -3 -p -r1.36.2.3 Makefile
> --- share/numericdef/Makefile	17 Aug 2002 19:34:11 -0000	1.36.2.3
> +++ share/numericdef/Makefile	6 Dec 2002 17:49:37 -0000
> @@ -11,6 +11,7 @@ LOCALES=	af_ZA.ISO8859-1 \
>  		el_GR.ISO8859-7 \
>  		en_US.ISO8859-1 \
>  		es_ES.ISO8859-1 \
> +		ca_ES.ISO8859-1 \

Same as before.

>  		et_EE.ISO8859-15 \
>  		fi_FI.ISO8859-1 \
>  		fr_BE.ISO8859-1 \
> Index: share/timedef/Makefile
> ===================================================================
> RCS file: /fs/bulk/mount/FreeBSD/CVS/src/share/timedef/Makefile,v
> retrieving revision 1.11.2.11
> diff -u -3 -p -r1.11.2.11 Makefile
> --- share/timedef/Makefile	17 Aug 2002 19:25:45 -0000	1.11.2.11
> +++ share/timedef/Makefile	6 Dec 2002 17:49:37 -0000
[..]
> Index: etc/locale.alias
> ===================================================================
> RCS file: /fs/bulk/mount/FreeBSD/CVS/src/etc/locale.alias,v
> retrieving revision 1.7.2.6
> diff -u -3 -p -r1.7.2.6 locale.alias
> --- etc/locale.alias	15 Apr 2002 00:44:13 -0000	1.7.2.6
> +++ etc/locale.alias	7 Dec 2002 20:40:23 -0000
[..]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030423161120.A28072>