diff --git a/sys-libs/glibc/add-en_SE.patch b/sys-libs/glibc/add-en_SE.patch deleted file mode 100644 index 1e844f9..0000000 --- a/sys-libs/glibc/add-en_SE.patch +++ /dev/null @@ -1,155 +0,0 @@ -diff -Nur a/localedata/locales/en_SE b/localedata/locales/en_SE ---- a/localedata/locales/en_SE 1969-12-31 19:00:00.000000000 -0500 -+++ b/localedata/locales/en_SE 2025-11-11 11:28:42.367611208 -0500 -@@ -0,0 +1,140 @@ -+escape_char / -+comment_char % -+ -+% English language locale for Sweden -+% Source: Datorföreningen Stacken, Kungliga Tekniska högskolan -+% Address: Datorföreningen Stacken, c/o NADA, KTH, 100 44 Stockholm, Sweden -+% Contact: Mikael Auno -+% Email: auno+en_SE@stacken.kth.se -+ -+% Language: en -+% Territory: SE -+% Revision: 0.2 -+% Date: 2009-02-02 -+ -+% *TODO/Questions* -+% -+% As this is a locale for a language that is not used in general in domestic -+% communication in the given territory (but which is used widely by computer -+% enthusiasts in computer related situations), a couple of questions arise which -+% might otherwise seem obvious. -+% -+% LC_COLLATE: Is collation a property of the language or the territory? Names of -+% local people and local places will definitely be communicated between users -+% within a territory, but how should these names be sorted with respect to -+% characters specific to that territory. -+% -+% LC_NUMERIC: Is the format of numeric expressions a property of the language or -+% the territory? -+% -+% LC_NAME: Is the format of the name representation a property of the language -+% or the territory? In Swedish in Sweden one would write a name as "Thomas -+% Andersson" whereas in English in the US one would write "Mr. Thomas Andersson", -+% which would be correct for English in Sweden? -+ -+LC_IDENTIFICATION -+title "English locale for Sweden" -+source "Datorfreningen Stacken, Kungliga Tekniska hgskolan" -+address "Datorfreningen Stacken, c/o NADA, KTH, 100 44 Stockholm, Sweden" -+contact "Mikael Auno" -+email "auno+en_SE@stacken.kth.se" -+tel "" -+fax "" -+language "en" -+territory "SE" -+revision "0.2" -+date "2009-02-02" -+% -+category "i18n:2012";LC_IDENTIFICATION -+category "i18n:2012";LC_CTYPE -+category "i18n:2012";LC_COLLATE -+category "i18n:2012";LC_TIME -+category "i18n:2012";LC_NUMERIC -+category "i18n:2012";LC_MONETARY -+category "i18n:2012";LC_MESSAGES -+category "i18n:2012";LC_PAPER -+category "i18n:2012";LC_NAME -+category "i18n:2012";LC_ADDRESS -+category "i18n:2012";LC_TELEPHONE -+END LC_IDENTIFICATION -+ -+LC_CTYPE -+copy "sv_SE" -+END LC_CTYPE -+ -+LC_COLLATE -+copy "sv_SE" -+END LC_COLLATE -+ -+LC_MONETARY -+copy "sv_SE" -+END LC_MONETARY -+ -+LC_NUMERIC -+copy "sv_SE" -+END LC_NUMERIC -+ -+LC_TIME -+abday "Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat" -+day "Sunday";/ -+ "Monday";/ -+ "Tuesday";/ -+ "Wednesday";/ -+ "Thursday";/ -+ "Friday";/ -+ "Saturday" -+abmon "Jan";"Feb";/ -+ "Mar";"Apr";/ -+ "May";"Jun";/ -+ "Jul";"Aug";/ -+ "Sep";"Oct";/ -+ "Nov";"Dec" -+mon "January";/ -+ "February";/ -+ "March";/ -+ "April";/ -+ "May";/ -+ "June";/ -+ "July";/ -+ "August";/ -+ "September";/ -+ "October";/ -+ "November";/ -+ "December" -+ -+% sv_SE -+% Appropriate date and time representation (%a %e %b %Y %H:%M:%S) -+d_t_fmt "%A W%V - %Y·%m·%d %T %Z" -+date_fmt "%A W%V - %Y·%m·%d %T %Z" -+d_fmt "%Y·%m·%d" -+t_fmt "%T" -+am_pm "";"" -+t_fmt_ampm "" -+week 7;19971130;4 -+first_weekday 2 -+first_workday 2 -+END LC_TIME -+ -+LC_MESSAGES -+copy "en_US" -+END LC_MESSAGES -+ -+LC_PAPER -+copy "sv_SE" -+END LC_PAPER -+ -+LC_TELEPHONE -+copy "sv_SE" -+END LC_TELEPHONE -+ -+LC_MEASUREMENT -+copy "sv_SE" -+END LC_MEASUREMENT -+ -+LC_NAME -+copy "sv_SE" -+END LC_NAME -+ -+LC_ADDRESS -+copy "sv_SE" -+END LC_ADDRESS -diff -Nur a/localedata/SUPPORTED b/localedata/SUPPORTED ---- a/localedata/SUPPORTED 2025-01-28 12:31:33.000000000 -0500 -+++ b/localedata/SUPPORTED 2025-11-09 10:49:56.132959347 -0500 -@@ -153,6 +153,7 @@ - en_PH.UTF-8/UTF-8 \ - en_PH/ISO-8859-1 \ - en_SC.UTF-8/UTF-8 \ -+en_SE.UTF-8/UTF-8 \ - en_SG.UTF-8/UTF-8 \ - en_SG/ISO-8859-1 \ - en_US.UTF-8/UTF-8 \ diff --git a/sys-libs/glibc/tweak-en_SE.patch b/sys-libs/glibc/tweak-en_SE.patch new file mode 100644 index 0000000..fa1ab96 --- /dev/null +++ b/sys-libs/glibc/tweak-en_SE.patch @@ -0,0 +1,16 @@ +diff -Nur a/localedata/locales/en_SE b/localedata/locales/en_SE +--- a/localedata/locales/en_SE 2026-01-23 15:54:00.000000000 -0500 ++++ b/localedata/locales/en_SE 2026-06-15 22:42:23.982719840 -0400 +@@ -90,9 +90,9 @@ + "November";/ + "December" + % date formats following ISO 8601-1988 +-d_t_fmt "%Y-%m-%dT%T%:z" +-date_fmt "%Y-%m-%dT%T%:z" +-d_fmt "%Y-%m-%d" ++d_t_fmt "%A W%V - %Y·%m·%d %T %Z" ++date_fmt "%A W%V - %Y·%m·%d %T %Z" ++d_fmt "%Y·%m·%d" + t_fmt "%T" + am_pm "";"" + t_fmt_ampm ""