Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/toolchain/glibc-patches:master commit in: 9999/
Date: Wed, 01 Dec 2021 16:30:44
Message-Id: 1638375813.f6fb1f58ff4e8f52d7872e4a7e1a40100ceaf660.dilfridge@gentoo
1 commit: f6fb1f58ff4e8f52d7872e4a7e1a40100ceaf660
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 1 16:23:33 2021 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 1 16:23:33 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/toolchain/glibc-patches.git/commit/?id=f6fb1f58
7
8 Drop C.UTF8 patch, finally that locale has been added upstream
9
10 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
11
12 9999/0004-Add-C.UTF-8-locale.patch | 287 -------------------------------------
13 1 file changed, 287 deletions(-)
14
15 diff --git a/9999/0004-Add-C.UTF-8-locale.patch b/9999/0004-Add-C.UTF-8-locale.patch
16 deleted file mode 100644
17 index a9c3e22..0000000
18 --- a/9999/0004-Add-C.UTF-8-locale.patch
19 +++ /dev/null
20 @@ -1,287 +0,0 @@
21 -From 5d65bb98c9ec8d3657b5566e9fb50d46319f65a3 Mon Sep 17 00:00:00 2001
22 -From: Mike FABIAN <mfabian@××××××.com>
23 -Date: Mon, 10 Aug 2015 15:58:12 +0200
24 -Subject: [PATCH 4/6] Add C.UTF-8 locale
25 -
26 -Source:
27 -https://src.fedoraproject.org/rpms/glibc/raw/master/f/glibc-c-utf8-locale.patch
28 -
29 -Notes from there:
30 -This patch needs to upstream as part of Carlos O'Donell
31 -<carlos@××××××.com>'s work on enabling upstream C.UTF-8 support. This
32 -work is currently blocked on cleaning up the test results to prove that
33 -full code-point sorting is working as intended.
34 -Note that this patch does not provide full code-point sorting as
35 -expected.
36 -This patch needs to upstream as soon as possible since it would be nice
37 -to have this in F29 and fixed.
38 -
39 -Further information:
40 -https://bugzilla.redhat.com/show_bug.cgi?id=902094
41 -https://sourceware.org/bugzilla/show_bug.cgi?id=17318
42 -https://bugs.gentoo.org/671024
43 ----
44 - localedata/SUPPORTED | 1 +
45 - localedata/locales/C | 238 +++++++++++++++++++++++++++++++++++++++++++
46 - 2 files changed, 239 insertions(+)
47 - create mode 100644 localedata/locales/C
48 -
49 -diff --git a/localedata/SUPPORTED b/localedata/SUPPORTED
50 -index 1ee5b5e8c8..5fa87f1315 100644
51 ---- a/localedata/SUPPORTED
52 -+++ b/localedata/SUPPORTED
53 -@@ -1,6 +1,7 @@
54 - # This file names the currently supported and somewhat tested locales.
55 - # If you have any additions please file a glibc bug report.
56 - SUPPORTED-LOCALES=\
57 -+C.UTF-8/UTF-8 \
58 - aa_DJ.UTF-8/UTF-8 \
59 - aa_DJ/ISO-8859-1 \
60 - aa_ER/UTF-8 \
61 -diff --git a/localedata/locales/C b/localedata/locales/C
62 -new file mode 100644
63 -index 0000000000..b2c2d1dc41
64 ---- /dev/null
65 -+++ b/localedata/locales/C
66 -@@ -0,0 +1,238 @@
67 -+escape_char /
68 -+comment_char %
69 -+% Locale for C locale in UTF-8
70 -+
71 -+LC_IDENTIFICATION
72 -+title "C locale"
73 -+source ""
74 -+address ""
75 -+contact ""
76 -+email "mfabian@××××××.com"
77 -+tel ""
78 -+fax ""
79 -+language "C"
80 -+territory ""
81 -+revision "1.0"
82 -+date "2015-08-10"
83 -+%
84 -+category "i18n:2012";LC_IDENTIFICATION
85 -+category "i18n:2012";LC_CTYPE
86 -+category "i18n:2012";LC_COLLATE
87 -+category "i18n:2012";LC_TIME
88 -+category "i18n:2012";LC_NUMERIC
89 -+category "i18n:2012";LC_MONETARY
90 -+category "i18n:2012";LC_MESSAGES
91 -+category "i18n:2012";LC_PAPER
92 -+category "i18n:2012";LC_NAME
93 -+category "i18n:2012";LC_ADDRESS
94 -+category "i18n:2012";LC_TELEPHONE
95 -+category "i18n:2012";LC_MEASUREMENT
96 -+END LC_IDENTIFICATION
97 -+
98 -+LC_CTYPE
99 -+copy "i18n"
100 -+
101 -+translit_start
102 -+include "translit_combining";""
103 -+translit_end
104 -+
105 -+END LC_CTYPE
106 -+
107 -+LC_COLLATE
108 -+order_start forward
109 -+<U0000>
110 -+..
111 -+<UFFFF>
112 -+<U10000>
113 -+..
114 -+<U1FFFF>
115 -+<U20000>
116 -+..
117 -+<U2FFFF>
118 -+<UE0000>
119 -+..
120 -+<UEFFFF>
121 -+<UF0000>
122 -+..
123 -+<UFFFFF>
124 -+<U100000>
125 -+..
126 -+<U10FFFF>
127 -+UNDEFINED
128 -+order_end
129 -+END LC_COLLATE
130 -+
131 -+LC_MONETARY
132 -+% This is the 14652 i18n fdcc-set definition for
133 -+% the LC_MONETARY category
134 -+% (except for the int_curr_symbol and currency_symbol, they are empty in
135 -+% the 14652 i18n fdcc-set definition and also empty in
136 -+% glibc/locale/C-monetary.c. But localedef complains in that case).
137 -+%
138 -+% Using "USD" for int_curr_symbol. But maybe "XXX" would be better?
139 -+% XXX is "No currency" (https://en.wikipedia.org/wiki/ISO_4217)
140 -+int_curr_symbol "<U0055><U0053><U0044><U0020>"
141 -+% Using "$" for currency_symbol. But maybe <U00A4> would be better?
142 -+% U+00A4 is the "generic currency symbol"
143 -+% (https://en.wikipedia.org/wiki/Currency_sign_%28typography%29)
144 -+currency_symbol "<U0024>"
145 -+mon_decimal_point "<U002E>"
146 -+mon_thousands_sep ""
147 -+mon_grouping -1
148 -+positive_sign ""
149 -+negative_sign "<U002D>"
150 -+int_frac_digits -1
151 -+frac_digits -1
152 -+p_cs_precedes -1
153 -+int_p_sep_by_space -1
154 -+p_sep_by_space -1
155 -+n_cs_precedes -1
156 -+int_n_sep_by_space -1
157 -+n_sep_by_space -1
158 -+p_sign_posn -1
159 -+n_sign_posn -1
160 -+%
161 -+END LC_MONETARY
162 -+
163 -+LC_NUMERIC
164 -+% This is the POSIX Locale definition for
165 -+% the LC_NUMERIC category.
166 -+%
167 -+decimal_point "<U002E>"
168 -+thousands_sep ""
169 -+grouping -1
170 -+END LC_NUMERIC
171 -+
172 -+LC_TIME
173 -+% This is the POSIX Locale definition for
174 -+% the LC_TIME category.
175 -+%
176 -+% Abbreviated weekday names (%a)
177 -+abday "<U0053><U0075><U006E>";"<U004D><U006F><U006E>";/
178 -+ "<U0054><U0075><U0065>";"<U0057><U0065><U0064>";/
179 -+ "<U0054><U0068><U0075>";"<U0046><U0072><U0069>";/
180 -+ "<U0053><U0061><U0074>"
181 -+
182 -+% Full weekday names (%A)
183 -+day "<U0053><U0075><U006E><U0064><U0061><U0079>";/
184 -+ "<U004D><U006F><U006E><U0064><U0061><U0079>";/
185 -+ "<U0054><U0075><U0065><U0073><U0064><U0061><U0079>";/
186 -+ "<U0057><U0065><U0064><U006E><U0065><U0073><U0064><U0061><U0079>";/
187 -+ "<U0054><U0068><U0075><U0072><U0073><U0064><U0061><U0079>";/
188 -+ "<U0046><U0072><U0069><U0064><U0061><U0079>";/
189 -+ "<U0053><U0061><U0074><U0075><U0072><U0064><U0061><U0079>"
190 -+
191 -+% Abbreviated month names (%b)
192 -+abmon "<U004A><U0061><U006E>";"<U0046><U0065><U0062>";/
193 -+ "<U004D><U0061><U0072>";"<U0041><U0070><U0072>";/
194 -+ "<U004D><U0061><U0079>";"<U004A><U0075><U006E>";/
195 -+ "<U004A><U0075><U006C>";"<U0041><U0075><U0067>";/
196 -+ "<U0053><U0065><U0070>";"<U004F><U0063><U0074>";/
197 -+ "<U004E><U006F><U0076>";"<U0044><U0065><U0063>"
198 -+
199 -+% Full month names (%B)
200 -+mon "<U004A><U0061><U006E><U0075><U0061><U0072><U0079>";/
201 -+ "<U0046><U0065><U0062><U0072><U0075><U0061><U0072><U0079>";/
202 -+ "<U004D><U0061><U0072><U0063><U0068>";/
203 -+ "<U0041><U0070><U0072><U0069><U006C>";/
204 -+ "<U004D><U0061><U0079>";/
205 -+ "<U004A><U0075><U006E><U0065>";/
206 -+ "<U004A><U0075><U006C><U0079>";/
207 -+ "<U0041><U0075><U0067><U0075><U0073><U0074>";/
208 -+ "<U0053><U0065><U0070><U0074><U0065><U006D><U0062><U0065><U0072>";/
209 -+ "<U004F><U0063><U0074><U006F><U0062><U0065><U0072>";/
210 -+ "<U004E><U006F><U0076><U0065><U006D><U0062><U0065><U0072>";/
211 -+ "<U0044><U0065><U0063><U0065><U006D><U0062><U0065><U0072>"
212 -+
213 -+% Week description, consists of three fields:
214 -+% 1. Number of days in a week.
215 -+% 2. Gregorian date that is a first weekday (19971130 for Sunday, 19971201 for Monday).
216 -+% 3. The weekday number to be contained in the first week of the year.
217 -+%
218 -+% ISO 8601 conforming applications should use the values 7, 19971201 (a
219 -+% Monday), and 4 (Thursday), respectively.
220 -+week 7;19971201;4
221 -+first_weekday 1
222 -+first_workday 1
223 -+
224 -+% Appropriate date and time representation (%c)
225 -+% "%a %b %e %H:%M:%S %Y"
226 -+d_t_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0059>"
227 -+
228 -+% Appropriate date representation (%x)
229 -+% "%m/%d/%y"
230 -+d_fmt "<U0025><U006D><U002F><U0025><U0064><U002F><U0025><U0079>"
231 -+
232 -+% Appropriate time representation (%X)
233 -+% "%H:%M:%S"
234 -+t_fmt "<U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>"
235 -+
236 -+% Appropriate AM/PM time representation (%r)
237 -+% "%I:%M:%S %p"
238 -+t_fmt_ampm "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070>"
239 -+
240 -+% Equivalent of AM/PM (%p) "AM"/"PM"
241 -+%
242 -+am_pm "<U0041><U004D>";"<U0050><U004D>"
243 -+
244 -+% Appropriate date representation (date(1)) "%a %b %e %H:%M:%S %Z %Y"
245 -+date_fmt "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065><U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U005A><U0020><U0025><U0059>"
246 -+END LC_TIME
247 -+
248 -+LC_MESSAGES
249 -+% This is the POSIX Locale definition for
250 -+% the LC_NUMERIC category.
251 -+%
252 -+yesexpr "<U005E><U005B><U0079><U0059><U005D>"
253 -+noexpr "<U005E><U005B><U006E><U004E><U005D>"
254 -+yesstr "<U0059><U0065><U0073>"
255 -+nostr "<U004E><U006F>"
256 -+END LC_MESSAGES
257 -+
258 -+LC_PAPER
259 -+% This is the ISO/IEC 14652 "i18n" definition for
260 -+% the LC_PAPER category.
261 -+% (A4 paper, this is also used in the built in C/POSIX
262 -+% locale in glibc/locale/C-paper.c)
263 -+height 297
264 -+width 210
265 -+END LC_PAPER
266 -+
267 -+LC_NAME
268 -+% This is the ISO/IEC 14652 "i18n" definition for
269 -+% the LC_NAME category.
270 -+% "%p%t%g%t%m%t%f"
271 -+% (also used in the built in C/POSIX locale in glibc/locale/C-name.c)
272 -+name_fmt "<U0025><U0070><U0025><U0074><U0025><U0067><U0025><U0074>/
273 -+<U0025><U006D><U0025><U0074><U0025><U0066>"
274 -+END LC_NAME
275 -+
276 -+LC_ADDRESS
277 -+% This is the ISO/IEC 14652 "i18n" definition for
278 -+% the LC_ADDRESS category.
279 -+% "%a%N%f%N%d%N%b%N%s %h %e %r%N%C-%z %T%N%c%N"
280 -+% (also used in the built in C/POSIX locale in glibc/locale/C-address.c)
281 -+postal_fmt "<U0025><U0061><U0025><U004E><U0025><U0066><U0025><U004E>/
282 -+<U0025><U0064><U0025><U004E><U0025><U0062><U0025><U004E><U0025><U0073>/
283 -+<U0020><U0025><U0068><U0020><U0025><U0065><U0020><U0025><U0072><U0025>/
284 -+<U004E><U0025><U0043><U002D><U0025><U007A><U0020><U0025><U0054><U0025>/
285 -+<U004E><U0025><U0063><U0025><U004E>"
286 -+END LC_ADDRESS
287 -+
288 -+LC_TELEPHONE
289 -+% This is the ISO/IEC 14652 "i18n" definition for
290 -+% the LC_TELEPHONE category.
291 -+% "+%c %a %l"
292 -+tel_int_fmt "<U002B><U0025><U0063><U0020><U0025><U0061><U0020><U0025>/
293 -+<U006C>"
294 -+% (also used in the built in C/POSIX locale in glibc/locale/C-telephone.c)
295 -+END LC_TELEPHONE
296 -+
297 -+LC_MEASUREMENT
298 -+% This is the ISO/IEC 14652 "i18n" definition for
299 -+% the LC_MEASUREMENT category.
300 -+% (same as in the built in C/POSIX locale in glibc/locale/C-measurement.c)
301 -+%metric
302 -+measurement 1
303 -+END LC_MEASUREMENT
304 -+
305 ---
306 -2.31.1
307 -