From nobody@FreeBSD.org  Tue Jan 29 12:45:10 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CBEEB16A420
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Jan 2008 12:45:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id BAE0513C4CC
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Jan 2008 12:45:10 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0TChOmq077384
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 29 Jan 2008 12:43:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0TChODp077383;
	Tue, 29 Jan 2008 12:43:24 GMT
	(envelope-from nobody)
Message-Id: <200801291243.m0TChODp077383@www.freebsd.org>
Date: Tue, 29 Jan 2008 12:43:24 GMT
From: Simun Mikecin <numisemis@yahoo.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] Croatian locale support for hr_HR.ISO8859-2
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         120113
>Category:       conf
>Synopsis:       [patch] [locale] Croatian locale support for hr_HR.ISO8859-2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    edwin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 29 12:50:01 UTC 2008
>Closed-Date:    Wed Jun 17 03:16:50 UTC 2009
>Last-Modified:  Wed Jun 17 03:20:02 UTC 2009
>Originator:     Simun Mikecin
>Release:        7.0-RC1 amd64
>Organization:
>Environment:
FreeBSD xxx 7.0-RC1 FreeBSD 7.0-RC1 #0: Tue Jan 22 14:58:57 CET 2008     root@xxx:/usr/obj/usr/src.7.0/sys/XXX  amd64
>Description:
This is a patch that adds support for the Croatian locale support.

Without this patch /usr/share/locale/hr_HR.ISO8859-2/LC_COLLATE is a link to the ../la_LN.ISO8859-2/LC_COLLATE. It means that there is no support for Croatian locale.

P.S. I hope this gets commited to the RELENG_7_0 branch before release...

>How-To-Repeat:
Try with a simple C program by using setlocale(3) and strcoll(3).

>Fix:


Patch attached with submission follows:

diff -urN /usr/src.7.0/.zfs/snapshot/orig/share/colldef/Makefile /usr/src.7.0/share/colldef/Makefile
--- /usr/src.7.0/.zfs/snapshot/orig/share/colldef/Makefile	2006-11-09 19:10:33.000000000 +0100
+++ /usr/src.7.0/share/colldef/Makefile	2008-01-29 13:42:05.676646799 +0100
@@ -14,6 +14,7 @@
 		es_ES.ISO8859-15 \
 		et_EE.ISO8859-15 \
 		hi_IN.ISCII-DEV \
+		hr_HR.ISO8859-2 \
 		hy_AM.ARMSCII-8 \
 		is_IS.ISO8859-1 \
 		is_IS.ISO8859-15 \
@@ -68,7 +69,7 @@
 		nn_NO no_NO pt_PT
 ISO8859-15_ISO8859-15= de_DE:de_AT de_DE:de_CH ${LATIN1LINKS:C/^/la_LN:/}
 
-LATIN2LINKS=    hr_HR hu_HU ro_RO sr_YU
+LATIN2LINKS=    hu_HU ro_RO sr_YU
 ISO8859-2_ISO8859-2= ${LATIN2LINKS:C/^/la_LN:/} cs_CZ:sk_SK
 
 US-ASCII_Big5HKSCS= la_LN:zh_HK
diff -urN /usr/src.7.0/.zfs/snapshot/orig/share/colldef/hr_HR.ISO8859-2.src /usr/src.7.0/share/colldef/hr_HR.ISO8859-2.src
--- /usr/src.7.0/.zfs/snapshot/orig/share/colldef/hr_HR.ISO8859-2.src	1970-01-01 01:00:00.000000000 +0100
+++ /usr/src.7.0/share/colldef/hr_HR.ISO8859-2.src	2008-01-29 12:07:27.350025032 +0100
@@ -0,0 +1,39 @@
+#
+# Croatian collation sequence
+# 2007-01-29 numisemis at yahoo dot com
+#
+# $FreeBSD$
+#
+
+charmap map.ISO8859-2
+order \
+# controls
+	<NU>;...;<US>;<PA>;...;<AC>;\
+# 
+	<NS>;<SP>;!;\";<Nb>;\
+	<Cu>;<DO>;\
+	%;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\
+# digits
+	0;...;9;\
+# 
+	:;\;;\<;=;>;?;<SE>;<At>;\
+# capital
+	(A,<A'>,<A/>>,<A:>,<A;>,<A(>);\
+	B;(C,<C,>);<C<>;<C'>;(D,<D<>);<D//>;(E,<E'>,<E:>,<E;>,<E<>);\
+	F;G;H;(I,<I'>,<I/>>);\
+	J;K;(L,<L//>,<L<>,<L'>);M;(N,<N'>,<N<>);(O,<O'>,<O/>>,<O:>,<O">);\
+	P;Q;(R,<R'>,<R<>);(S,<S'>,<S,>);<S<>;(T,<T<>,<T,>);\
+	(U,<U'>,<U:>,<U0>,<U">);\
+	V;W;X;(Y,<Y'>);(Z,<Z'>,<Z.>);<Z<>;\
+#
+	[;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\
+# small
+	(a,<a'>,<a/>>,<a:>,<a;>,<a(>);\
+	b;(c,<c,>);<c<>;<c'>;(d,<d<>);<d//>;(e,<e'>,<e:>,<e;>,<e<>);\
+	f;g;h;(i,<i'>,<i/>>);\
+	j;k;(l,<l//>,<l<>,<l'>);m;(n,<n'>,<n<>);(o,<o'>,<o/>>,<o:>,<o">);\
+	p;q;(r,<r'>,<r<>);(s,<s'>,<s,>,<ss>);<s<>;(t,<t<>,<t,>);\
+	(u,<u'>,<u:>,<u0>,<u">);\
+	v;w;x;(y,<y'>);(z,<z'>,<z.>);<z<>;\
+#
+	\{;|;\};~;<DG>;<DT>


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-i18n 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Mon May 18 15:22:58 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120113 
State-Changed-From-To: open->patched 
State-Changed-By: edwin 
State-Changed-When: Wed Jun 10 21:55:39 UTC 2009 
State-Changed-Why:  
Commited to head, waiting for MFC. 


Responsible-Changed-From-To: freebsd-i18n->edwin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jun 10 21:55:39 UTC 2009 
Responsible-Changed-Why:  
I'll track the MFC 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120113 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/120113: commit references a PR
Date: Wed, 10 Jun 2009 21:55:53 +0000 (UTC)

 Author: edwin
 Date: Wed Jun 10 21:55:38 2009
 New Revision: 193961
 URL: http://svn.freebsd.org/changeset/base/193961
 
 Log:
   Croatian locale support for hr_HR.ISO8859-2
   
   	Without this patch /usr/share/locale/hr_HR.ISO8859-2/LC_COLLATE
   	is a link to the ../la_LN.ISO8859-2/LC_COLLATE. It means
   	that there is no support for Croatian locale.
   
   PR:		conf/120113
   Submitted by:	Simun Mikecin <numisemis@yahoo.com>
   MFC after:	1 week
 
 Added:
   head/share/colldef/hr_HR.ISO8859-2.src   (contents, props changed)
 Modified:
   head/share/colldef/Makefile
 
 Modified: head/share/colldef/Makefile
 ==============================================================================
 --- head/share/colldef/Makefile	Wed Jun 10 21:51:05 2009	(r193960)
 +++ head/share/colldef/Makefile	Wed Jun 10 21:55:38 2009	(r193961)
 @@ -14,6 +14,7 @@ LOCALES=	bg_BG.CP1251 \
  		es_ES.ISO8859-15 \
  		et_EE.ISO8859-15 \
  		hi_IN.ISCII-DEV \
 +		hr_HR.ISO8859-2 \
  		hy_AM.ARMSCII-8 \
  		is_IS.ISO8859-1 \
  		is_IS.ISO8859-15 \
 @@ -74,7 +75,7 @@ ISO8859-15_ISO8859-15= \
  	no_NO:nb_NO no_NO:nn_NO \
  	${LATIN1LINKS:C/^/la_LN:/}
  
 -LATIN2LINKS=    hr_HR hu_HU ro_RO sr_YU
 +LATIN2LINKS=    hu_HU ro_RO sr_YU
  ISO8859-2_ISO8859-2= ${LATIN2LINKS:C/^/la_LN:/} cs_CZ:sk_SK
  
  US-ASCII_Big5HKSCS= la_LN:zh_HK
 
 Added: head/share/colldef/hr_HR.ISO8859-2.src
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/share/colldef/hr_HR.ISO8859-2.src	Wed Jun 10 21:55:38 2009	(r193961)
 @@ -0,0 +1,39 @@
 +#
 +# Croatian collation sequence
 +# 2007-01-29 numisemis at yahoo dot com
 +#
 +# $FreeBSD$
 +#
 +
 +charmap map.ISO8859-2
 +order \
 +# controls
 +        <NU>;...;<US>;<PA>;...;<AC>;\
 +#
 +        <NS>;<SP>;!;\";<Nb>;\
 +        <Cu>;<DO>;\
 +        %;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\
 +# digits
 +        0;...;9;\
 +#
 +        :;\;;\<;=;>;?;<SE>;<At>;\
 +# capital
 +        (A,<A'>,<A/>>,<A:>,<A;>,<A(>);\
 +        B;(C,<C,>);<C<>;<C'>;(D,<D<>);<D//>;(E,<E'>,<E:>,<E;>,<E<>);\
 +        F;G;H;(I,<I'>,<I/>>);\
 +        J;K;(L,<L//>,<L<>,<L'>);M;(N,<N'>,<N<>);(O,<O'>,<O/>>,<O:>,<O">);\
 +        P;Q;(R,<R'>,<R<>);(S,<S'>,<S,>);<S<>;(T,<T<>,<T,>);\
 +        (U,<U'>,<U:>,<U0>,<U">);\
 +        V;W;X;(Y,<Y'>);(Z,<Z'>,<Z.>);<Z<>;\
 +#
 +        [;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\
 +# small
 +        (a,<a'>,<a/>>,<a:>,<a;>,<a(>);\
 +        b;(c,<c,>);<c<>;<c'>;(d,<d<>);<d//>;(e,<e'>,<e:>,<e;>,<e<>);\
 +        f;g;h;(i,<i'>,<i/>>);\
 +        j;k;(l,<l//>,<l<>,<l'>);m;(n,<n'>,<n<>);(o,<o'>,<o/>>,<o:>,<o">);\
 +        p;q;(r,<r'>,<r<>);(s,<s'>,<s,>,<ss>);<s<>;(t,<t<>,<t,>);\
 +        (u,<u'>,<u:>,<u0>,<u">);\
 +        v;w;x;(y,<y'>);(z,<z'>,<z.>);<z<>;\
 +#
 +        \{;|;\};~;<DG>;<DT>
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: edwin 
State-Changed-When: Wed Jun 17 03:16:16 UTC 2009 
State-Changed-Why:  
MFC done, thank you! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=120113 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: conf/120113: commit references a PR
Date: Wed, 17 Jun 2009 03:14:43 +0000 (UTC)

 Author: edwin
 Date: Wed Jun 17 03:14:18 2009
 New Revision: 194326
 URL: http://svn.freebsd.org/changeset/base/194326
 
 Log:
   Croatian locale support for hr_HR.ISO8859-2
   
   	Without this patch /usr/share/locale/hr_HR.ISO8859-2/LC_COLLATE
   	is a link to the ../la_LN.ISO8859-2/LC_COLLATE. It means
   	that there is no support for Croatian locale.
   
   PR:		conf/120113
   Submitted by:	Simun Mikecin <numisemis@yahoo.com>
 
 Added:
   stable/7/share/colldef/hr_HR.ISO8859-2.src
      - copied unchanged from r193961, head/share/colldef/hr_HR.ISO8859-2.src
 Modified:
   stable/7/share/colldef/   (props changed)
   stable/7/share/colldef/Makefile
 
 Modified: stable/7/share/colldef/Makefile
 ==============================================================================
 --- stable/7/share/colldef/Makefile	Wed Jun 17 03:09:13 2009	(r194325)
 +++ stable/7/share/colldef/Makefile	Wed Jun 17 03:14:18 2009	(r194326)
 @@ -14,6 +14,7 @@ LOCALES=	bg_BG.CP1251 \
  		es_ES.ISO8859-15 \
  		et_EE.ISO8859-15 \
  		hi_IN.ISCII-DEV \
 +		hr_HR.ISO8859-2 \
  		hy_AM.ARMSCII-8 \
  		is_IS.ISO8859-1 \
  		is_IS.ISO8859-15 \
 @@ -74,7 +75,7 @@ ISO8859-15_ISO8859-15= \
  	no_NO:nb_NO no_NO:nn_NO \
  	${LATIN1LINKS:C/^/la_LN:/}
  
 -LATIN2LINKS=    hr_HR hu_HU ro_RO sr_YU
 +LATIN2LINKS=    hu_HU ro_RO sr_YU
  ISO8859-2_ISO8859-2= ${LATIN2LINKS:C/^/la_LN:/} cs_CZ:sk_SK
  
  US-ASCII_Big5HKSCS= la_LN:zh_HK
 
 Copied: stable/7/share/colldef/hr_HR.ISO8859-2.src (from r193961, head/share/colldef/hr_HR.ISO8859-2.src)
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ stable/7/share/colldef/hr_HR.ISO8859-2.src	Wed Jun 17 03:14:18 2009	(r194326, copy of r193961, head/share/colldef/hr_HR.ISO8859-2.src)
 @@ -0,0 +1,39 @@
 +#
 +# Croatian collation sequence
 +# 2007-01-29 numisemis at yahoo dot com
 +#
 +# $FreeBSD$
 +#
 +
 +charmap map.ISO8859-2
 +order \
 +# controls
 +        <NU>;...;<US>;<PA>;...;<AC>;\
 +#
 +        <NS>;<SP>;!;\";<Nb>;\
 +        <Cu>;<DO>;\
 +        %;&;<',>;<';>;';\(;\);*;+;<-:>;<*X>;\,;<-->;-;.;<'.>;/;\
 +# digits
 +        0;...;9;\
 +#
 +        :;\;;\<;=;>;?;<SE>;<At>;\
 +# capital
 +        (A,<A'>,<A/>>,<A:>,<A;>,<A(>);\
 +        B;(C,<C,>);<C<>;<C'>;(D,<D<>);<D//>;(E,<E'>,<E:>,<E;>,<E<>);\
 +        F;G;H;(I,<I'>,<I/>>);\
 +        J;K;(L,<L//>,<L<>,<L'>);M;(N,<N'>,<N<>);(O,<O'>,<O/>>,<O:>,<O">);\
 +        P;Q;(R,<R'>,<R<>);(S,<S'>,<S,>);<S<>;(T,<T<>,<T,>);\
 +        (U,<U'>,<U:>,<U0>,<U">);\
 +        V;W;X;(Y,<Y'>);(Z,<Z'>,<Z.>);<Z<>;\
 +#
 +        [;\\;];^;<':>;<'">;<'<>;<'(>;_;<''>;`;\
 +# small
 +        (a,<a'>,<a/>>,<a:>,<a;>,<a(>);\
 +        b;(c,<c,>);<c<>;<c'>;(d,<d<>);<d//>;(e,<e'>,<e:>,<e;>,<e<>);\
 +        f;g;h;(i,<i'>,<i/>>);\
 +        j;k;(l,<l//>,<l<>,<l'>);m;(n,<n'>,<n<>);(o,<o'>,<o/>>,<o:>,<o">);\
 +        p;q;(r,<r'>,<r<>);(s,<s'>,<s,>,<ss>);<s<>;(t,<t<>,<t,>);\
 +        (u,<u'>,<u:>,<u0>,<u">);\
 +        v;w;x;(y,<y'>);(z,<z'>,<z.>);<z<>;\
 +#
 +        \{;|;\};~;<DG>;<DT>
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
>Unformatted:
