Bug 25472 - add bg_BG.CP1251 locale support
Summary: add bg_BG.CP1251 locale support
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: 4.2-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-01 08:00 UTC by Peter Pentchev
Modified: 2001-12-10 09:11 UTC (History)
0 users

See Also:


Attachments
file.diff (10.32 KB, patch)
2001-03-01 08:00 UTC, Peter Pentchev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pentchev 2001-03-01 08:00:07 UTC
Definitions for the Bulgarian CP-1251 locale.

How-To-Repeat: 
env LC_ALL=bg_BG.CP1251 date ;)
Comment 1 Peter Pentchev 2001-03-01 09:09:51 UTC
On Wed, Feb 28, 2001 at 06:56:05PM -0000, Peter Pentchev wrote:
> 
> >Number:         25472
> >Category:       conf
> >Synopsis:       add bg_BG.CP1251 locale support
> >Originator:     Peter Pentchev
> >Description:
> 
> Definitions for the Bulgarian CP-1251 locale.
> 
> >How-To-Repeat:
> 
> env LC_ALL=bg_BG.CP1251 date ;)
> 
> >Fix:

Hmm.  OK, so I sent an old version of the patch, which does not update
the etc/mtree/ files.

A 'real' version is at http://people.FreeBSD.org/~roam/bg/  (the -current
version).

G'luck,
Peter

-- 
This sentence was in the past tense.
Comment 2 Андрей Чернов 2001-03-01 12:38:16 UTC
On Wed, Feb 28, 2001 at 18:56:05 -0000, Peter Pentchev wrote:

> >Synopsis:       add bg_BG.CP1251 locale support

There is no CP1251 charset name in
ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets
list. Use existen standard "windows-1251" name instead.

> +	<80>;<81>;<82>;<83>;<84>;<85>;<86>;<87>;\

Use standard RFC1345 symbolic names here.

> +80 \x80
> +81 \x81
> +82 \x82

The same here. Digits are not standard predefined names.

-- 
Andrey A. Chernov
http://ache.pp.ru/
Comment 3 Peter Pentchev 2001-04-20 12:59:27 UTC
OK, points taken, I'm redoing the patch now.  Thanks a lot for
the URL and RFC references!  (and for your patience in not dismissing
this PR right away, but actually trying to help :)

However, I've stumbled into some problems.  The windows-1251 document
on IANA's ftp site points at http://www.microsoft.com/globaldev/
as the authoritative source for information about the windows-1251
charset.  From that site, I found:

  http://www.microsoft.com/globaldev/reference/sbcs/1251.htm

which lists the code -> Unicode mapping for the charset.

However, RFC 1345 does not list the following three characters:

   85 = U+2026 : HORIZONTAL ELLIPSIS
   88 = U+20AC : EURO SIGN
   95 = U+2022 : BULLET

Is RFC 1345 obsoleted by some other, which includes these three codes?
If not, can you tell me where I can find the names I should use for them?
Many thanks again!


G'luck,
Peter

-- 
If there were no counterfactuals, this sentence would not have been paradoxical.

On Thu, Mar 01, 2001 at 04:40:04AM -0800, Andrey A. Chernov wrote:
> The following reply was made to PR conf/25472; it has been noted by GNATS.
> 
> From: "Andrey A. Chernov" <ache@nagual.pp.ru>
> To: Peter Pentchev <roam@orbitel.bg>
> Cc: FreeBSD-gnats-submit@FreeBSD.ORG
> Subject: Re: conf/25472: add bg_BG.CP1251 locale support
> Date: Thu, 1 Mar 2001 15:38:16 +0300
> 
>  On Wed, Feb 28, 2001 at 18:56:05 -0000, Peter Pentchev wrote:
>  
>  > >Synopsis:       add bg_BG.CP1251 locale support
>  
>  There is no CP1251 charset name in
>  ftp://ftp.isi.edu/in-notes/iana/assignments/character-sets
>  list. Use existen standard "windows-1251" name instead.
>  
>  > +	<80>;<81>;<82>;<83>;<84>;<85>;<86>;<87>;\
>  
>  Use standard RFC1345 symbolic names here.
>  
>  > +80 \x80
>  > +81 \x81
>  > +82 \x82
>  
>  The same here. Digits are not standard predefined names.
Comment 4 Андрей Чернов 2001-04-20 13:22:42 UTC
On Fri, Apr 20, 2001 at 14:59:27 +0300, Peter Pentchev wrote:
> Is RFC 1345 obsoleted by some other, which includes these three codes?
> If not, can you tell me where I can find the names I should use for them?
> Many thanks again!

Yes, RFC1345 is known to be obsoleted at this moment. Use ISO 9945-2
two-letters mnemonics extensions available somewhere at
ftp://std.dkuug.dk/i18n/

-- 
Andrey A. Chernov
http://ache.pp.ru/
Comment 5 Peter Pentchev 2001-04-20 13:47:01 UTC
Hm, forgot to CC GNATS.

G'luck,
Peter

-- 
I am jealous of the first word in this sentence.

----- Forwarded message from Peter Pentchev <roam@orbitel.bg> -----

Date: Fri, 20 Apr 2001 15:45:39 +0300
From: Peter Pentchev <roam@orbitel.bg>
To: "Andrey A. Chernov" <ache@nagual.pp.ru>
Cc: freebsd-bugs@FreeBSD.ORG
Subject: Re: conf/25472: add bg_BG.CP1251 locale support

On Fri, Apr 20, 2001 at 04:36:02PM +0400, Andrey A. Chernov wrote:
> On Fri, Apr 20, 2001 at 05:30:06 -0700, Andrey A. Chernov wrote:
> >  
> >  Yes, RFC1345 is known to be obsoleted at this moment. Use ISO 9945-2
> >  two-letters mnemonics extensions available somewhere at
> >  ftp://std.dkuug.dk/i18n/
> 
> Exact name for windows-1251 charset is:
> ftp://std.dkuug.dk/i18n/charmaps/CP1251

Thanks again; this almost exactly coincides with my workarounds - though
not quite :)  It lists '.3' (midline horizonal ellipsis) for 85, nothing
for 88 (the Euro sign), and 'sb' (nonexistent) for 95 (bullet).

So what now? :)  I can live with .3 and sb, although .3 is a mid-line
ellipsis, and char 85 is a bottom ellipsis; and I would prefer to use
Sb, which exists, for the bullet.  What do I put for the Euro sign? :)

----- End forwarded message -----
Comment 6 Peter Pentchev 2001-10-29 17:49:27 UTC
OK, here's another attempt at a patch.  I've been running with
the RELENG_4 version of this for almost an year now, and I've
tested the -current-specific portions a couple of months ago.
I also tested it just now to make sure it builds on ref5.FreeBSD.org
and it passes a couple of character, time and date tests I tried
after setting PATH_LOCALE to /home/roam/tmp/bg/usr/share/locale.

Pending any serious objections, there are a couple of people who
would very much like to see bg_BG locale support in 4.5 :)
I hope I've done most of it correctly this time around :)
And thanks again for your help and pointers!

G'luck,
Peter

-- 
What would this sentence be like if it weren't self-referential?
Comment 7 Peter Pentchev 2001-10-29 17:50:09 UTC
On Mon, Oct 29, 2001 at 07:49:27PM +0200, Peter Pentchev wrote:
> OK, here's another attempt at a patch.  I've been running with
> the RELENG_4 version of this for almost an year now, and I've
> tested the -current-specific portions a couple of months ago.
> I also tested it just now to make sure it builds on ref5.FreeBSD.org
> and it passes a couple of character, time and date tests I tried
> after setting PATH_LOCALE to /home/roam/tmp/bg/usr/share/locale.
> 
> Pending any serious objections, there are a couple of people who
> would very much like to see bg_BG locale support in 4.5 :)
> I hope I've done most of it correctly this time around :)
> And thanks again for your help and pointers!

Oh well, I think it would *really* help if I would actually attach
the patch itself..

G'luck,
Peter

-- 
This would easier understand fewer had omitted.

Index: src/etc/mtree/BSD.local.dist
===================================================================
RCS file: /home/ncvs/src/etc/mtree/BSD.local.dist,v
retrieving revision 1.80
diff -u -r1.80 BSD.local.dist
--- src/etc/mtree/BSD.local.dist	25 Oct 2001 12:16:51 -0000	1.80
+++ src/etc/mtree/BSD.local.dist	29 Oct 2001 17:05:59 -0000
@@ -241,6 +241,8 @@
             ..
             af_ZA.ISO8859-15
             ..
+            bg_BG.windows-1251
+            ..
             cs_CZ.ISO8859-2
             ..
             da_DK.ISO8859-1
Index: src/etc/mtree/BSD.usr.dist
===================================================================
RCS file: /home/ncvs/src/etc/mtree/BSD.usr.dist,v
retrieving revision 1.238
diff -u -r1.238 BSD.usr.dist
--- src/etc/mtree/BSD.usr.dist	25 Oct 2001 12:16:51 -0000	1.238
+++ src/etc/mtree/BSD.usr.dist	29 Oct 2001 17:10:39 -0000
@@ -485,6 +485,8 @@
             ..
             af_ZA.ISO8859-15
             ..
+            bg_BG.windows-1251
+            ..
             cs_CZ.ISO8859-2
             ..
             da_DK.ISO8859-1
@@ -796,6 +798,8 @@
             af_ZA.ISO8859-1
             ..
             af_ZA.ISO8859-15
+            ..
+            bg_BG.windows-1251
             ..
             cs_CZ.ISO8859-2
             ..
Index: src/share/colldef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/colldef/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- src/share/colldef/Makefile	10 Jun 2001 18:57:27 -0000	1.39
+++ src/share/colldef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -3,7 +3,8 @@
 NOMAN=YES
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
-LOCALES=        cs_CZ.ISO8859-2 \
+LOCALES=	bg_BG.windows-1251 \
+		cs_CZ.ISO8859-2 \
 		de_DE.ISO8859-15 \
 		de_DE.ISO8859-1 \
 		el_GR.ISO8859-7 \
Index: src/share/colldef/bg_BG.windows-1251.src
===================================================================
RCS file: src/share/colldef/bg_BG.windows-1251.src
diff -N src/share/colldef/bg_BG.windows-1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/colldef/bg_BG.windows-1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,40 @@
+# windows-1251 (backward compatible with ASCII)
+#
+# $FreeBSD$
+#
+charmap map.windows-1251
+order \
+# controls
+	<NU>;...;<US>;\
+#
+	<SP>;!;\";<Nb>;<DO>;\
+	%;&;';\(;\);*;+;\,;-;.;/;\
+# digits
+	0;1;2;3;...;9;\
+#
+	:;\;;\<;=;>;?;<At>;\
+# uppercase
+	A;...;Z;\
+	<A=>;<B=>;<V=>;<G=>;<D=>;<E=>;<Z%>;<Z=>;\
+	<I=>;<J=>;<K=>;<L=>;<M=>;<N=>;<O=>;<P=>;<R=>;\
+	<S=>;<T=>;<U=>;<F=>;<H=>;<C=>;<C%>;<S%>;<Sc>;\
+	<=">;<Y=>;<%">;<JE>;<JU>;<JA>;\
+#
+	[;\\;];^;_;`;\
+# lowercase
+	a;...;z;\
+	<a=>;<b=>;<v=>;<g=>;<d=>;<e=>;<z%>;<z=>;\
+	<i=>;<j=>;<k=>;<l=>;<m=>;<n=>;<o=>;<p=>;<r=>;\
+	<s=>;<t=>;<u=>;<f=>;<h=>;<c=>;<c%>;<s%>;<sc>;\
+	<='>;<y=>;<%'>;<je>;<ju>;<ja>;\
+#
+	\{;|;\};~;<DT>;\
+#
+	<D%>;<G%>;<.9>;<g%>;<:9>;<.3>;</->;</=>;\
+	<Eu>;<%0>;<LJ>;<<1>;<NJ>;<KJ>;<Ts>;<DZ>;\
+	<d%>;<'6>;<'9>;<"6>;<"9>;<sb>;<-N>;<-M>;\
+	<FB>;<TM>;<lj>;</>1>;<nj>;<kj>;<ts>;<dz>;\
+	<NS>;<V%>;<v%>;<J%>;<Cu>;<G3>;<BB>;<SE>;\
+	<IO>;<Co>;<IE>;<<<>;<NO>;<-->;<Rg>;<YI>;\
+	<DG>;<+->;<II>;<ii>;<g3>;<My>;<PI>;<.M>;\
+	<io>;<N0>;<ie>;</>/>>;<j%>;<DS>;<ds>;<yi>
Index: src/share/colldef/map.windows-1251
===================================================================
RCS file: src/share/colldef/map.windows-1251
diff -N src/share/colldef/map.windows-1251
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/colldef/map.windows-1251	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,256 @@
+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
+! \x21
+" \x22
+Nb \x23
+DO \x24
+% \x25
+& \x26
+' \x27
+( \x28
+) \x29
+* \x2a
++ \x2b
+, \x2c
+- \x2d
+. \x2e
+/ \x2f
+0 \x30
+1 \x31
+2 \x32
+3 \x33
+4 \x34
+5 \x35
+6 \x36
+7 \x37
+8 \x38
+9 \x39
+: \x3a
+; \x3b
+< \x3c
+= \x3d
+> \x3e
+? \x3f
+At \x40
+A \x41
+B \x42
+C \x43
+D \x44
+E \x45
+F \x46
+G \x47
+H \x48
+I \x49
+J \x4a
+K \x4b
+L \x4c
+M \x4d
+N \x4e
+O \x4f
+P \x50
+Q \x51
+R \x52
+S \x53
+T \x54
+U \x55
+V \x56
+W \x57
+X \x58
+Y \x59
+Z \x5a
+<( \x5b
+// \x5c
+)> \x5d
+'> \x5e
+_ \x5f
+'! \x60
+a \x61
+b \x62
+c \x63
+d \x64
+e \x65
+f \x66
+g \x67
+h \x68
+i \x69
+j \x6a
+k \x6b
+l \x6c
+m \x6d
+n \x6e
+o \x6f
+p \x70
+q \x71
+r \x72
+s \x73
+t \x74
+u \x75
+v \x76
+w \x77
+x \x78
+y \x79
+z \x7a
+(! \x7b
+!! \x7c
+!) \x7d
+'? \x7e
+DT \x7f
+D% \x80
+G% \x81
+.9 \x82
+g% \x83
+:9 \x84
+.3 \x85
+/- \x86
+/= \x87
+Eu \x88
+%0 \x89
+LJ \x8a
+<1 \x8b
+NJ \x8c
+KJ \x8d
+Ts \x8e
+DZ \x8f
+d% \x90
+'6 \x91
+'9 \x92
+"6 \x93
+"9 \x94
+sb \x95
+-N \x96
+-M \x97
+FB \x98
+TM \x99
+lj \x9a
+>1 \x9b
+nj \x9c
+kj \x9d
+ts \x9e
+dz \x9f
+NS \xa0
+V% \xa1
+v% \xa2
+J% \xa3
+Cu \xa4
+G3 \xa5
+BB \xa6
+SE \xa7
+IO \xa8
+Co \xa9
+IE \xaa
+<< \xab
+NO \xac
+-- \xad
+Rg \xae
+YI \xaf
+DG \xb0
++- \xb1
+II \xb2
+ii \xb3
+g3 \xb4
+My \xb5
+PI \xb6
+.M \xb7
+io \xb8
+N0 \xb9
+ie \xba
+>> \xbb
+j% \xbc
+DS \xbd
+ds \xbe
+yi \xbf
+A= \xc0
+B= \xc1
+V= \xc2
+G= \xc3
+D= \xc4
+E= \xc5
+Z% \xc6
+Z= \xc7
+I= \xc8
+J= \xc9
+K= \xca
+L= \xcb
+M= \xcc
+N= \xcd
+O= \xce
+P= \xcf
+R= \xd0
+S= \xd1
+T= \xd2
+U= \xd3
+F= \xd4
+H= \xd5
+C= \xd6
+C% \xd7
+S% \xd8
+Sc \xd9
+=" \xda
+Y= \xdb
+%" \xdc
+JE \xdd
+JU \xde
+JA \xdf
+a= \xe0
+b= \xe1
+v= \xe2
+g= \xe3
+d= \xe4
+e= \xe5
+z% \xe6
+z= \xe7
+i= \xe8
+j= \xe9
+k= \xea
+l= \xeb
+m= \xec
+n= \xed
+o= \xee
+p= \xef
+r= \xf0
+s= \xf1
+t= \xf2
+u= \xf3
+f= \xf4
+h= \xf5
+c= \xf6
+c% \xf7
+s% \xf8
+sc \xf9
+=' \xfa
+y= \xfb
+%' \xfc
+je \xfd
+ju \xfe
+ja \xff
Index: src/share/mklocale/Makefile
===================================================================
RCS file: /home/ncvs/src/share/mklocale/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- src/share/mklocale/Makefile	10 Jun 2001 18:53:43 -0000	1.37
+++ src/share/mklocale/Makefile	29 Oct 2001 17:05:59 -0000
@@ -3,7 +3,8 @@
 NOMAN=YES
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
-LOCALES=        el_GR.ISO8859-7 \
+LOCALES=        bg_BG.windows-1251 \
+		el_GR.ISO8859-7 \
 		ja_JP.eucJP \
 		ja_JP.SJIS \
 		ko_KR.eucKR \
Index: src/share/mklocale/bg_BG.windows-1251.src
===================================================================
RCS file: src/share/mklocale/bg_BG.windows-1251.src
diff -N src/share/mklocale/bg_BG.windows-1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/mklocale/bg_BG.windows-1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,35 @@
+/*
+ * LOCALE_CTYPE for Bulgarian Cyrillic character set (windows-1251)
+ */
+ENCODING	"NONE"
+VARIABLE        Bulgarian Cyrillic character set (windows-1251) by roam@orbitel.bg
+
+#
+# This is a comment
+#
+ALPHA           'A' - 'Z' 'a' - 'z' 0xc0 - 0xdf 0xe0 - 0xff
+CONTROL		0x00 - 0x1f 0x7f
+DIGIT		'0' - '9'
+GRAPH           0x21 - 0x7e 0x80 - 0xff
+LOWER           'a' - 'z' 0xe0 - 0xff
+PUNCT		0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
+SPACE		0x09 - 0x0d 0x20
+UPPER           'A' - 'Z' 0xc0 - 0xdf
+XDIGIT          '0' - '9' 'a' - 'f' 'A' - 'F'
+BLANK		' ' '\t'
+PRINT		0x20 - 0x7e 0x80 - 0xff
+# IDEOGRAM
+# SPECIAL
+# PHONEGRAM
+
+MAPLOWER       	<'A' - 'Z' : 'a'>
+MAPLOWER       	<'a' - 'z' : 'a'>
+MAPLOWER        <0xc0 - 0xdf : 0xe0>
+MAPLOWER        <0xe0 - 0xff : 0xe0>
+MAPUPPER       	<'A' - 'Z' : 'A'>
+MAPUPPER       	<'a' - 'z' : 'A'>
+MAPUPPER        <0xc0 - 0xdf : 0xc0>
+MAPUPPER        <0xe0 - 0xff : 0xc0>
+TODIGIT       	<'0' - '9' : 0>
+TODIGIT       	<'A' - 'F' : 10>
+TODIGIT       	<'a' - 'f' : 10>
Index: src/share/monetdef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/monetdef/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- src/share/monetdef/Makefile	10 Jun 2001 19:47:57 -0000	1.27
+++ src/share/monetdef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -4,6 +4,7 @@
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
 LOCALES=        af_ZA.ISO8859-1 \
+		bg_BG.windows-1251 \
 		cs_CZ.ISO8859-2 \
 		da_DK.ISO8859-1 \
 		de_AT.ISO8859-1 \
Index: src/share/monetdef/bg_BG.windows-1251.src
===================================================================
RCS file: src/share/monetdef/bg_BG.windows-1251.src
diff -N src/share/monetdef/bg_BG.windows-1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/monetdef/bg_BG.windows-1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,36 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol (last character always SPACE)
+BGN 
+# currency_symbol
+ëâ.
+# mon_decimal_point
+,
+# mon_thousands_sep
+ 
+# mon_grouping
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+2
+# frac_digits
+2
+# p_cs_precedes
+0
+# p_sep_by_space
+1
+# n_cs_precedes
+0
+# n_sep_by_space
+1
+# p_sign_posn
+1
+# n_sign_posn
+1
+# EOF
Index: src/share/msgdef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/msgdef/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- src/share/msgdef/Makefile	10 Jun 2001 19:41:17 -0000	1.26
+++ src/share/msgdef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -4,6 +4,7 @@
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
 LOCALES=        af_ZA.ISO8859-1 \
+		bg_BG.windows-1251 \
 		cs_CZ.ISO8859-2 \
 		da_DK.ISO8859-1 \
 		de_DE.ISO8859-1 \
Index: src/share/msgdef/bg_BG.windows-1251.src
===================================================================
RCS file: src/share/msgdef/bg_BG.windows-1251.src
diff -N src/share/msgdef/bg_BG.windows-1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/msgdef/bg_BG.windows-1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,14 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# yesexpr
+^[äÄyY].*
+# noexpr
+^[íÍnN].*
+# yesstr
+äà
+# nostr
+íå
+# EOF
Index: src/share/numericdef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/numericdef/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- src/share/numericdef/Makefile	10 Jun 2001 20:11:05 -0000	1.27
+++ src/share/numericdef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -4,6 +4,7 @@
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
 LOCALES=        af_ZA.ISO8859-1 \
+		bg_BG.windows-1251 \
 		cs_CZ.ISO8859-2 \
 		da_DK.ISO8859-1 \
 		de_DE.ISO8859-1 \
Index: src/share/numericdef/bg_BG.windows-1251.src
===================================================================
RCS file: src/share/numericdef/bg_BG.windows-1251.src
diff -N src/share/numericdef/bg_BG.windows-1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/numericdef/bg_BG.windows-1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,12 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+,
+# thousands_sep
+ 
+# grouping
+3;3
+# EOF
Index: src/share/timedef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/timedef/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- src/share/timedef/Makefile	10 Jun 2001 19:16:43 -0000	1.20
+++ src/share/timedef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -3,7 +3,8 @@
 NOMAN=YES
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
-LOCALES=        cs_CZ.ISO8859-2 \
+LOCALES=	bg_BG.windows-1251 \
+		cs_CZ.ISO8859-2 \
 		da_DK.ISO8859-1 \
 		de_AT.ISO8859-1 \
 		de_DE.ISO8859-1 \
Index: src/share/timedef/bg_BG.windows-1251.src
===================================================================
RCS file: src/share/timedef/bg_BG.windows-1251.src
diff -N src/share/timedef/bg_BG.windows-1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/timedef/bg_BG.windows-1251.src	29 Oct 2001 17:07:24 -0000
@@ -0,0 +1,101 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# Short months names
+#
+ßíó
+Ôåâ
+Ìàð
+Àïð
+Ìàé
+Þíè
+Þëè
+Àâã
+Ñåï
+Îêò
+Íîâ
+Äåê
+#
+# Long months names
+#
+ßíóàðè
+Ôåâðóàðè
+Ìàðò
+Àïðèë
+Ìàé
+Þíè
+Þëè
+Àâãóñò
+Ñåïòåìâðè
+Îêòîìâðè
+Íîåìâðè
+Äåêåìâðè
+#
+# Short weekdays names
+# (padded with a space to conform with other languages)
+Íä 
+Ïí 
+Âò 
+Ñð 
+×ò 
+Ïò 
+Ñá 
+#
+# Long weekdays names
+#
+Íåäåëÿ
+Ïîíåäåëíèê
+Âòîðíèê
+Ñðÿäà
+×åòâúðòúê
+Ïåòúê
+Ñúáîòà
+#
+# X_fmt
+#
+%H:%M:%S
+#
+# x_fmt
+#
+%d.%m.%y
+#
+# c_fmt
+#
+%a %e %b %X %Y
+#
+# am
+#
+am
+#
+# pm
+#
+pm
+#
+# date_fmt
+#
+%a %e %b %Y %X %Z
+#
+# Long months names (alternative)
+#
+ßíóàðè
+Ôåâðóàðè
+Ìàðò
+Àïðèë
+Ìàé
+Þíè
+Þëè
+Àâãóñò
+Ñåïòåìâðè
+Îêòîìâðè
+Íîåìâðè
+Äåêåìâðè
+#
+# md_order
+#
+dm
+#
+# ampm_fmt
+%I:%M:%S %p
+# EOF
Comment 8 Peter Pentchev 2001-10-29 18:07:18 UTC
On Mon, Oct 29, 2001 at 09:00:03AM -0800, Peter Pentchev wrote:
> The following reply was made to PR conf/25472; it has been noted by GNATS.
> 
> From: Peter Pentchev <roam@ringlet.net>
> To: "Andrey A. Chernov" <ache@nagual.pp.ru>
> Cc: freebsd-gnats-submit@FreeBSD.org
> Subject: Re: conf/25472: add bg_BG.CP1251 locale support
> Date: Mon, 29 Oct 2001 19:50:09 +0200
> 
>  On Mon, Oct 29, 2001 at 07:49:27PM +0200, Peter Pentchev wrote:
>  > OK, here's another attempt at a patch.  I've been running with
>  > the RELENG_4 version of this for almost an year now, and I've
>  > tested the -current-specific portions a couple of months ago.
>  > I also tested it just now to make sure it builds on ref5.FreeBSD.org
>  > and it passes a couple of character, time and date tests I tried
>  > after setting PATH_LOCALE to /home/roam/tmp/bg/usr/share/locale.
>  > 
>  > Pending any serious objections, there are a couple of people who
>  > would very much like to see bg_BG locale support in 4.5 :)
>  > I hope I've done most of it correctly this time around :)
>  > And thanks again for your help and pointers!
>  
>  Oh well, I think it would *really* help if I would actually attach
>  the patch itself..

And then again, if somebody should actually consider committing any
of this, please change roam@orbitel.bg to roam@ringlet.net, since
I have not been on Orbitel's payroll for more than a year now :)

G'luck,
Peter

-- 
If the meanings of 'true' and 'false' were switched, then this sentence wouldn't be false.
Comment 9 Андрей Чернов 2001-10-29 19:46:48 UTC
On Mon, Oct 29, 2001 at 19:49:27 +0200, Peter Pentchev wrote:
> OK, here's another attempt at a patch.  I've been running with

Well, time passes and what was incorrect becomes correct :-)
I mean the name, bg_BG.CP1251. After long discussion we decide to switch 
to X11-based name convention here, so no MIME charsets in the names 
required.

Please re-submit your patch, changing bg_BG.windows-1251 to bg_BG.CP1251,
in other aspects it looks correct by first look.

-- 
Andrey A. Chernov
http://ache.pp.ru/
Comment 10 Peter Pentchev 2001-10-30 10:02:37 UTC
On Mon, Oct 29, 2001 at 10:46:48PM +0300, Andrey A. Chernov wrote:
> On Mon, Oct 29, 2001 at 19:49:27 +0200, Peter Pentchev wrote:
> > OK, here's another attempt at a patch.  I've been running with
> 
> Well, time passes and what was incorrect becomes correct :-)
> I mean the name, bg_BG.CP1251. After long discussion we decide to switch 
> to X11-based name convention here, so no MIME charsets in the names 
> required.
> 
> Please re-submit your patch, changing bg_BG.windows-1251 to bg_BG.CP1251,
> in other aspects it looks correct by first look.

OK, here it is again, with the charset name changed and my e-mail
address fixed.

G'luck,
Peter

-- 
If there were no counterfactuals, this sentence would not have been paradoxical.

Index: src/etc/mtree/BSD.local.dist
===================================================================
RCS file: /home/ncvs/src/etc/mtree/BSD.local.dist,v
retrieving revision 1.80
diff -u -r1.80 BSD.local.dist
--- src/etc/mtree/BSD.local.dist	25 Oct 2001 12:16:51 -0000	1.80
+++ src/etc/mtree/BSD.local.dist	29 Oct 2001 17:05:59 -0000
@@ -241,6 +241,8 @@
             ..
             af_ZA.ISO8859-15
             ..
+            bg_BG.CP1251
+            ..
             cs_CZ.ISO8859-2
             ..
             da_DK.ISO8859-1
Index: src/etc/mtree/BSD.usr.dist
===================================================================
RCS file: /home/ncvs/src/etc/mtree/BSD.usr.dist,v
retrieving revision 1.238
diff -u -r1.238 BSD.usr.dist
--- src/etc/mtree/BSD.usr.dist	25 Oct 2001 12:16:51 -0000	1.238
+++ src/etc/mtree/BSD.usr.dist	29 Oct 2001 17:10:39 -0000
@@ -485,6 +485,8 @@
             ..
             af_ZA.ISO8859-15
             ..
+            bg_BG.CP1251
+            ..
             cs_CZ.ISO8859-2
             ..
             da_DK.ISO8859-1
@@ -796,6 +798,8 @@
             af_ZA.ISO8859-1
             ..
             af_ZA.ISO8859-15
+            ..
+            bg_BG.CP1251
             ..
             cs_CZ.ISO8859-2
             ..
Index: src/share/colldef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/colldef/Makefile,v
retrieving revision 1.39
diff -u -r1.39 Makefile
--- src/share/colldef/Makefile	10 Jun 2001 18:57:27 -0000	1.39
+++ src/share/colldef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -3,7 +3,8 @@
 NOMAN=YES
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
-LOCALES=        cs_CZ.ISO8859-2 \
+LOCALES=	bg_BG.CP1251 \
+		cs_CZ.ISO8859-2 \
 		de_DE.ISO8859-15 \
 		de_DE.ISO8859-1 \
 		el_GR.ISO8859-7 \
Index: src/share/colldef/bg_BG.CP1251.src
===================================================================
RCS file: src/share/colldef/bg_BG.CP1251.src
diff -N src/share/colldef/bg_BG.CP1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/colldef/bg_BG.CP1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,40 @@
+# CP1251 (backward compatible with ASCII)
+#
+# $FreeBSD$
+#
+charmap map.CP1251
+order \
+# controls
+	<NU>;...;<US>;\
+#
+	<SP>;!;\";<Nb>;<DO>;\
+	%;&;';\(;\);*;+;\,;-;.;/;\
+# digits
+	0;1;2;3;...;9;\
+#
+	:;\;;\<;=;>;?;<At>;\
+# uppercase
+	A;...;Z;\
+	<A=>;<B=>;<V=>;<G=>;<D=>;<E=>;<Z%>;<Z=>;\
+	<I=>;<J=>;<K=>;<L=>;<M=>;<N=>;<O=>;<P=>;<R=>;\
+	<S=>;<T=>;<U=>;<F=>;<H=>;<C=>;<C%>;<S%>;<Sc>;\
+	<=">;<Y=>;<%">;<JE>;<JU>;<JA>;\
+#
+	[;\\;];^;_;`;\
+# lowercase
+	a;...;z;\
+	<a=>;<b=>;<v=>;<g=>;<d=>;<e=>;<z%>;<z=>;\
+	<i=>;<j=>;<k=>;<l=>;<m=>;<n=>;<o=>;<p=>;<r=>;\
+	<s=>;<t=>;<u=>;<f=>;<h=>;<c=>;<c%>;<s%>;<sc>;\
+	<='>;<y=>;<%'>;<je>;<ju>;<ja>;\
+#
+	\{;|;\};~;<DT>;\
+#
+	<D%>;<G%>;<.9>;<g%>;<:9>;<.3>;</->;</=>;\
+	<Eu>;<%0>;<LJ>;<<1>;<NJ>;<KJ>;<Ts>;<DZ>;\
+	<d%>;<'6>;<'9>;<"6>;<"9>;<sb>;<-N>;<-M>;\
+	<FB>;<TM>;<lj>;</>1>;<nj>;<kj>;<ts>;<dz>;\
+	<NS>;<V%>;<v%>;<J%>;<Cu>;<G3>;<BB>;<SE>;\
+	<IO>;<Co>;<IE>;<<<>;<NO>;<-->;<Rg>;<YI>;\
+	<DG>;<+->;<II>;<ii>;<g3>;<My>;<PI>;<.M>;\
+	<io>;<N0>;<ie>;</>/>>;<j%>;<DS>;<ds>;<yi>
Index: src/share/colldef/map.CP1251
===================================================================
RCS file: src/share/colldef/map.CP1251
diff -N src/share/colldef/map.CP1251
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/colldef/map.CP1251	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,256 @@
+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
+! \x21
+" \x22
+Nb \x23
+DO \x24
+% \x25
+& \x26
+' \x27
+( \x28
+) \x29
+* \x2a
++ \x2b
+, \x2c
+- \x2d
+. \x2e
+/ \x2f
+0 \x30
+1 \x31
+2 \x32
+3 \x33
+4 \x34
+5 \x35
+6 \x36
+7 \x37
+8 \x38
+9 \x39
+: \x3a
+; \x3b
+< \x3c
+= \x3d
+> \x3e
+? \x3f
+At \x40
+A \x41
+B \x42
+C \x43
+D \x44
+E \x45
+F \x46
+G \x47
+H \x48
+I \x49
+J \x4a
+K \x4b
+L \x4c
+M \x4d
+N \x4e
+O \x4f
+P \x50
+Q \x51
+R \x52
+S \x53
+T \x54
+U \x55
+V \x56
+W \x57
+X \x58
+Y \x59
+Z \x5a
+<( \x5b
+// \x5c
+)> \x5d
+'> \x5e
+_ \x5f
+'! \x60
+a \x61
+b \x62
+c \x63
+d \x64
+e \x65
+f \x66
+g \x67
+h \x68
+i \x69
+j \x6a
+k \x6b
+l \x6c
+m \x6d
+n \x6e
+o \x6f
+p \x70
+q \x71
+r \x72
+s \x73
+t \x74
+u \x75
+v \x76
+w \x77
+x \x78
+y \x79
+z \x7a
+(! \x7b
+!! \x7c
+!) \x7d
+'? \x7e
+DT \x7f
+D% \x80
+G% \x81
+.9 \x82
+g% \x83
+:9 \x84
+.3 \x85
+/- \x86
+/= \x87
+Eu \x88
+%0 \x89
+LJ \x8a
+<1 \x8b
+NJ \x8c
+KJ \x8d
+Ts \x8e
+DZ \x8f
+d% \x90
+'6 \x91
+'9 \x92
+"6 \x93
+"9 \x94
+sb \x95
+-N \x96
+-M \x97
+FB \x98
+TM \x99
+lj \x9a
+>1 \x9b
+nj \x9c
+kj \x9d
+ts \x9e
+dz \x9f
+NS \xa0
+V% \xa1
+v% \xa2
+J% \xa3
+Cu \xa4
+G3 \xa5
+BB \xa6
+SE \xa7
+IO \xa8
+Co \xa9
+IE \xaa
+<< \xab
+NO \xac
+-- \xad
+Rg \xae
+YI \xaf
+DG \xb0
++- \xb1
+II \xb2
+ii \xb3
+g3 \xb4
+My \xb5
+PI \xb6
+.M \xb7
+io \xb8
+N0 \xb9
+ie \xba
+>> \xbb
+j% \xbc
+DS \xbd
+ds \xbe
+yi \xbf
+A= \xc0
+B= \xc1
+V= \xc2
+G= \xc3
+D= \xc4
+E= \xc5
+Z% \xc6
+Z= \xc7
+I= \xc8
+J= \xc9
+K= \xca
+L= \xcb
+M= \xcc
+N= \xcd
+O= \xce
+P= \xcf
+R= \xd0
+S= \xd1
+T= \xd2
+U= \xd3
+F= \xd4
+H= \xd5
+C= \xd6
+C% \xd7
+S% \xd8
+Sc \xd9
+=" \xda
+Y= \xdb
+%" \xdc
+JE \xdd
+JU \xde
+JA \xdf
+a= \xe0
+b= \xe1
+v= \xe2
+g= \xe3
+d= \xe4
+e= \xe5
+z% \xe6
+z= \xe7
+i= \xe8
+j= \xe9
+k= \xea
+l= \xeb
+m= \xec
+n= \xed
+o= \xee
+p= \xef
+r= \xf0
+s= \xf1
+t= \xf2
+u= \xf3
+f= \xf4
+h= \xf5
+c= \xf6
+c% \xf7
+s% \xf8
+sc \xf9
+=' \xfa
+y= \xfb
+%' \xfc
+je \xfd
+ju \xfe
+ja \xff
Index: src/share/mklocale/Makefile
===================================================================
RCS file: /home/ncvs/src/share/mklocale/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- src/share/mklocale/Makefile	10 Jun 2001 18:53:43 -0000	1.37
+++ src/share/mklocale/Makefile	29 Oct 2001 17:05:59 -0000
@@ -3,7 +3,8 @@
 NOMAN=YES
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
-LOCALES=        el_GR.ISO8859-7 \
+LOCALES=	bg_BG.CP1251 \
+		el_GR.ISO8859-7 \
 		ja_JP.eucJP \
 		ja_JP.SJIS \
 		ko_KR.eucKR \
Index: src/share/mklocale/bg_BG.CP1251.src
===================================================================
RCS file: src/share/mklocale/bg_BG.CP1251.src
diff -N src/share/mklocale/bg_BG.CP1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/mklocale/bg_BG.CP1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,35 @@
+/*
+ * LOCALE_CTYPE for Bulgarian Cyrillic character set (CP1251)
+ */
+ENCODING	"NONE"
+VARIABLE        Bulgarian Cyrillic character set (CP1251) by roam@ringlet.net
+
+#
+# This is a comment
+#
+ALPHA           'A' - 'Z' 'a' - 'z' 0xc0 - 0xdf 0xe0 - 0xff
+CONTROL		0x00 - 0x1f 0x7f
+DIGIT		'0' - '9'
+GRAPH           0x21 - 0x7e 0x80 - 0xff
+LOWER           'a' - 'z' 0xe0 - 0xff
+PUNCT		0x21 - 0x2f 0x3a - 0x40 0x5b - 0x60 0x7b - 0x7e
+SPACE		0x09 - 0x0d 0x20
+UPPER           'A' - 'Z' 0xc0 - 0xdf
+XDIGIT          '0' - '9' 'a' - 'f' 'A' - 'F'
+BLANK		' ' '\t'
+PRINT		0x20 - 0x7e 0x80 - 0xff
+# IDEOGRAM
+# SPECIAL
+# PHONEGRAM
+
+MAPLOWER       	<'A' - 'Z' : 'a'>
+MAPLOWER       	<'a' - 'z' : 'a'>
+MAPLOWER        <0xc0 - 0xdf : 0xe0>
+MAPLOWER        <0xe0 - 0xff : 0xe0>
+MAPUPPER       	<'A' - 'Z' : 'A'>
+MAPUPPER       	<'a' - 'z' : 'A'>
+MAPUPPER        <0xc0 - 0xdf : 0xc0>
+MAPUPPER        <0xe0 - 0xff : 0xc0>
+TODIGIT       	<'0' - '9' : 0>
+TODIGIT       	<'A' - 'F' : 10>
+TODIGIT       	<'a' - 'f' : 10>
Index: src/share/monetdef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/monetdef/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- src/share/monetdef/Makefile	10 Jun 2001 19:47:57 -0000	1.27
+++ src/share/monetdef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -4,6 +4,7 @@
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
 LOCALES=        af_ZA.ISO8859-1 \
+		bg_BG.CP1251 \
 		cs_CZ.ISO8859-2 \
 		da_DK.ISO8859-1 \
 		de_AT.ISO8859-1 \
Index: src/share/monetdef/bg_BG.CP1251.src
===================================================================
RCS file: src/share/monetdef/bg_BG.CP1251.src
diff -N src/share/monetdef/bg_BG.CP1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/monetdef/bg_BG.CP1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,36 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# int_curr_symbol (last character always SPACE)
+BGN 
+# currency_symbol
+ëâ.
+# mon_decimal_point
+,
+# mon_thousands_sep
+ 
+# mon_grouping
+3;3
+# positive_sign
+
+# negative_sign
+-
+# int_frac_digits
+2
+# frac_digits
+2
+# p_cs_precedes
+0
+# p_sep_by_space
+1
+# n_cs_precedes
+0
+# n_sep_by_space
+1
+# p_sign_posn
+1
+# n_sign_posn
+1
+# EOF
Index: src/share/msgdef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/msgdef/Makefile,v
retrieving revision 1.26
diff -u -r1.26 Makefile
--- src/share/msgdef/Makefile	10 Jun 2001 19:41:17 -0000	1.26
+++ src/share/msgdef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -4,6 +4,7 @@
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
 LOCALES=        af_ZA.ISO8859-1 \
+		bg_BG.CP1251 \
 		cs_CZ.ISO8859-2 \
 		da_DK.ISO8859-1 \
 		de_DE.ISO8859-1 \
Index: src/share/msgdef/bg_BG.CP1251.src
===================================================================
RCS file: src/share/msgdef/bg_BG.CP1251.src
diff -N src/share/msgdef/bg_BG.CP1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/msgdef/bg_BG.CP1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,14 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# yesexpr
+^[äÄyY].*
+# noexpr
+^[íÍnN].*
+# yesstr
+äà
+# nostr
+íå
+# EOF
Index: src/share/numericdef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/numericdef/Makefile,v
retrieving revision 1.27
diff -u -r1.27 Makefile
--- src/share/numericdef/Makefile	10 Jun 2001 20:11:05 -0000	1.27
+++ src/share/numericdef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -4,6 +4,7 @@
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
 LOCALES=        af_ZA.ISO8859-1 \
+		bg_BG.CP1251 \
 		cs_CZ.ISO8859-2 \
 		da_DK.ISO8859-1 \
 		de_DE.ISO8859-1 \
Index: src/share/numericdef/bg_BG.CP1251.src
===================================================================
RCS file: src/share/numericdef/bg_BG.CP1251.src
diff -N src/share/numericdef/bg_BG.CP1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/numericdef/bg_BG.CP1251.src	29 Oct 2001 17:05:59 -0000
@@ -0,0 +1,12 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# decimal_point
+,
+# thousands_sep
+ 
+# grouping
+3;3
+# EOF
Index: src/share/timedef/Makefile
===================================================================
RCS file: /home/ncvs/src/share/timedef/Makefile,v
retrieving revision 1.20
diff -u -r1.20 Makefile
--- src/share/timedef/Makefile	10 Jun 2001 19:16:43 -0000	1.20
+++ src/share/timedef/Makefile	29 Oct 2001 17:05:59 -0000
@@ -3,7 +3,8 @@
 NOMAN=YES
 CLEANFILES+= ${LOCALES:S/$/.out/g}
 
-LOCALES=        cs_CZ.ISO8859-2 \
+LOCALES=	bg_BG.CP1251 \
+		cs_CZ.ISO8859-2 \
 		da_DK.ISO8859-1 \
 		de_AT.ISO8859-1 \
 		de_DE.ISO8859-1 \
Index: src/share/timedef/bg_BG.CP1251.src
===================================================================
RCS file: src/share/timedef/bg_BG.CP1251.src
diff -N src/share/timedef/bg_BG.CP1251.src
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ src/share/timedef/bg_BG.CP1251.src	29 Oct 2001 17:07:24 -0000
@@ -0,0 +1,101 @@
+# $FreeBSD$
+#
+# WARNING: spaces may be essential at the end of lines
+# WARNING: empty lines are essential too
+#
+# Short months names
+#
+ßíó
+Ôåâ
+Ìàð
+Àïð
+Ìàé
+Þíè
+Þëè
+Àâã
+Ñåï
+Îêò
+Íîâ
+Äåê
+#
+# Long months names
+#
+ßíóàðè
+Ôåâðóàðè
+Ìàðò
+Àïðèë
+Ìàé
+Þíè
+Þëè
+Àâãóñò
+Ñåïòåìâðè
+Îêòîìâðè
+Íîåìâðè
+Äåêåìâðè
+#
+# Short weekdays names
+# (padded with a space to conform with other languages)
+Íä 
+Ïí 
+Âò 
+Ñð 
+×ò 
+Ïò 
+Ñá 
+#
+# Long weekdays names
+#
+Íåäåëÿ
+Ïîíåäåëíèê
+Âòîðíèê
+Ñðÿäà
+×åòâúðòúê
+Ïåòúê
+Ñúáîòà
+#
+# X_fmt
+#
+%H:%M:%S
+#
+# x_fmt
+#
+%d.%m.%y
+#
+# c_fmt
+#
+%a %e %b %X %Y
+#
+# am
+#
+am
+#
+# pm
+#
+pm
+#
+# date_fmt
+#
+%a %e %b %Y %X %Z
+#
+# Long months names (alternative)
+#
+ßíóàðè
+Ôåâðóàðè
+Ìàðò
+Àïðèë
+Ìàé
+Þíè
+Þëè
+Àâãóñò
+Ñåïòåìâðè
+Îêòîìâðè
+Íîåìâðè
+Äåêåìâðè
+#
+# md_order
+#
+dm
+#
+# ampm_fmt
+%I:%M:%S %p
+# EOF
Comment 11 Andrey A. Chernov freebsd_committer freebsd_triage 2001-11-05 07:22:55 UTC
State Changed
From-To: open->analyzed

Commited into -current
Comment 12 Peter Pentchev 2001-12-07 10:56:38 UTC
On Sun, Nov 04, 2001 at 11:23:21PM -0800, ache@FreeBSD.org wrote:
> Synopsis: add bg_BG.CP1251 locale support
> 
> State-Changed-From-To: open->analyzed
> State-Changed-By: ache
> State-Changed-When: Sun Nov 4 23:22:55 PST 2001
> State-Changed-Why: 
> Commited into -current

Would it be possible to have this MFC'd before December 20 (the feature
freeze date for 4.5)?  The patches needed are at
http://people.FreeBSD.org/~roam/bg/

Thank you for your work and advice! :)

G'luck,
Peter

-- 
I've heard that this sentence is a rumor.
Comment 13 Андрей Чернов 2001-12-07 11:04:47 UTC
On Fri, Dec 07, 2001 at 12:56:38 +0200, Peter Pentchev wrote:
> On Sun, Nov 04, 2001 at 11:23:21PM -0800, ache@FreeBSD.org wrote:
> > Synopsis: add bg_BG.CP1251 locale support
> > 
> > State-Changed-From-To: open->analyzed
> > State-Changed-By: ache
> > State-Changed-When: Sun Nov 4 23:22:55 PST 2001
> > State-Changed-Why: 
> > Commited into -current
> 
> Would it be possible to have this MFC'd before December 20 (the feature
> freeze date for 4.5)?  The patches needed are at
> http://people.FreeBSD.org/~roam/bg/

Yes, but not for me, I not have -stable available for convenient testing.

-- 
Andrey A. Chernov
http://ache.pp.ru/
Comment 14 Peter Pentchev 2001-12-07 11:09:12 UTC
On Fri, Dec 07, 2001 at 02:04:47PM +0300, Andrey A. Chernov wrote:
> On Fri, Dec 07, 2001 at 12:56:38 +0200, Peter Pentchev wrote:
> > On Sun, Nov 04, 2001 at 11:23:21PM -0800, ache@FreeBSD.org wrote:
> > > Synopsis: add bg_BG.CP1251 locale support
> > > 
> > > State-Changed-From-To: open->analyzed
> > > State-Changed-By: ache
> > > State-Changed-When: Sun Nov 4 23:22:55 PST 2001
> > > State-Changed-Why: 
> > > Commited into -current
> > 
> > Would it be possible to have this MFC'd before December 20 (the feature
> > freeze date for 4.5)?  The patches needed are at
> > http://people.FreeBSD.org/~roam/bg/
> 
> Yes, but not for me, I not have -stable available for convenient testing.

Any objections to me MFC'ing the bg_BG.CP1251 locale info?
Half a dozen boxes have been running fine with it at my workplace,
and a couple of friends have also been running with it both at home
and at work.

G'luck,
Peter

-- 
I am jealous of the first word in this sentence.
Comment 15 Андрей Чернов 2001-12-07 11:24:06 UTC
On Fri, Dec 07, 2001 at 13:09:12 +0200, Peter Pentchev wrote:
> 
> Any objections to me MFC'ing the bg_BG.CP1251 locale info?

No objections, in its current form (with recent fonts & mklocale fixes) it 
is in good enough shape.

-- 
Andrey A. Chernov
http://ache.pp.ru/
Comment 16 Peter Pentchev freebsd_committer freebsd_triage 2001-12-10 09:09:00 UTC
State Changed
From-To: analyzed->closed

I merged the relevant parts into 4.x-stable. 
Many thanks to Andrey Chernov for his help and advice along the way!