patches/glibc/2.9/340-new-valencian-locale.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Jan 17 23:06:02 2010 +0100 (2010-01-17)
changeset 1740 c57458bb354d
parent 1201 c9967a6e3b25
permissions -rw-r--r--
configure: do not require hg when configuring in an hg clone

When configuring in an hg clone, we need hg to compute the version string.
It can happen that users do not have Mercurial (eg. if they got a snapshot
rather that they did a full clone). In this case, we can still run, of
course, so simply fill the version string with a sufficiently explicit
value, that does not require hg. The date is a good candidate.
     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