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