patches/glibc/2.9/340-new-valencian-locale.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:28:10 2011 +0200 (2011-08-02)
changeset 2590 b64cfb67944e
parent 1201 c9967a6e3b25
permissions -rw-r--r--
scripts/functions: svn retrieval first tries the mirror for tarballs

The svn download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via svn.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard svn retrieval will kick in.

Reported-by: ANDY KENNEDY <ANDY.KENNEDY@adtran.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 Original patch from: gentoo/src/patchsets/glibc/2.9/1103_all_glibc-new-valencian-locale.patch
     2 
     3 -= BEGIN original header =-
     4 http://bugs.gentoo.org/show_bug.cgi?id=131815
     5 http://sourceware.org/bugzilla/show_bug.cgi?id=2522
     6 
     7 -= END original header =-
     8 
     9 diff -durN glibc-2_9.orig/localedata/SUPPORTED glibc-2_9/localedata/SUPPORTED
    10 --- glibc-2_9.orig/localedata/SUPPORTED	2008-09-16 23:24:57.000000000 +0200
    11 +++ glibc-2_9/localedata/SUPPORTED	2009-02-02 22:01:08.000000000 +0100
    12 @@ -72,6 +72,8 @@
    13  ca_ES.UTF-8/UTF-8 \
    14  ca_ES/ISO-8859-1 \
    15  ca_ES@euro/ISO-8859-15 \
    16 +ca_ES.UTF-8@valencia/UTF-8 \
    17 +ca_ES@valencia/ISO-8859-15 \
    18  ca_FR.UTF-8/UTF-8 \
    19  ca_FR/ISO-8859-15 \
    20  ca_IT.UTF-8/UTF-8 \
    21 diff -durN glibc-2_9.orig/localedata/locales/ca_ES@valencia glibc-2_9/localedata/locales/ca_ES@valencia
    22 --- glibc-2_9.orig/localedata/locales/ca_ES@valencia	1970-01-01 01:00:00.000000000 +0100
    23 +++ glibc-2_9/localedata/locales/ca_ES@valencia	2009-02-02 22:01:08.000000000 +0100
    24 @@ -0,0 +1,96 @@
    25 +comment_char %
    26 +escape_char  /
    27 +%
    28 +% Valencian (southern Catalan) locale for Spain with Euro
    29 +%
    30 +% Note that this locale is almost the same as ca_ES@euro.  The point of having
    31 +% a separate locale is only for PO translations, which have a lot of social
    32 +% support and are very appreciated by the Valencian-speaking community.
    33 +%
    34 +% Contact: Jordi Mallach
    35 +% Email: jordi@gnu.org
    36 +% Tel:
    37 +% Fax:
    38 +% Language: ca
    39 +% Territory: ES
    40 +% Option: euro
    41 +% Revision: 1.0
    42 +% Date: 2006-04-06
    43 +% Application: general
    44 +% Users: general
    45 +% Repertoiremap: mnemonic,ds
    46 +% Charset: ISO-8859-15
    47 +% Distribution and use is free, also
    48 +% for commercial purposes.
    49 +
    50 +LC_IDENTIFICATION
    51 +title      "Valencian (southern Catalan) locale for Spain with Euro"
    52 +source     ""
    53 +address    ""
    54 +contact    "Jordi Mallach"
    55 +email      "jordi@gnu.org"
    56 +tel        ""
    57 +fax        ""
    58 +language   "Catalan"
    59 +territory  "Spain"
    60 +revision   "1.0"
    61 +date       "2006-04-06"
    62 +%
    63 +category  "ca_ES@valencia:2006";LC_IDENTIFICATION
    64 +category  "ca_ES@valencia:2006";LC_CTYPE
    65 +category  "ca_ES@valencia:2006";LC_COLLATE
    66 +category  "ca_ES@valencia:2006";LC_MONETARY
    67 +category  "ca_ES@valencia:2006";LC_NUMERIC
    68 +category  "ca_ES@valencia:2006";LC_TIME
    69 +category  "ca_ES@valencia:2006";LC_MESSAGES
    70 +category  "ca_ES@valencia:2006";LC_PAPER
    71 +category  "ca_ES@valencia:2006";LC_NAME
    72 +category  "ca_ES@valencia:2006";LC_ADDRESS
    73 +category  "ca_ES@valencia:2006";LC_TELEPHONE
    74 +category  "ca_ES@valencia:2006";LC_MEASUREMENT
    75 +
    76 +END LC_IDENTIFICATION
    77 +
    78 +LC_CTYPE
    79 +copy "i18n"
    80 +END LC_CTYPE
    81 +
    82 +LC_COLLATE
    83 +copy "ca_ES"
    84 +END LC_COLLATE
    85 +
    86 +LC_MONETARY
    87 +copy "ca_ES"
    88 +END LC_MONETARY
    89 +
    90 +LC_NUMERIC
    91 +copy "ca_ES"
    92 +END LC_NUMERIC
    93 +
    94 +LC_TIME
    95 +copy "ca_ES"
    96 +END LC_TIME
    97 +
    98 +LC_MESSAGES
    99 +copy "ca_ES"
   100 +END LC_MESSAGES
   101 +
   102 +LC_PAPER
   103 +copy "ca_ES"
   104 +END LC_PAPER
   105 +
   106 +LC_NAME
   107 +copy "ca_ES"
   108 +END LC_NAME
   109 +
   110 +LC_ADDRESS
   111 +copy "ca_ES"
   112 +END LC_ADDRESS
   113 +
   114 +LC_TELEPHONE
   115 +copy "ca_ES"
   116 +END LC_TELEPHONE
   117 +
   118 +LC_MEASUREMENT
   119 +copy "ca_ES"
   120 +END LC_MEASUREMENT