patches/glibc/ports-2.10.1/280-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
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 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.10.1.orig/localedata/SUPPORTED glibc-2.10.1/localedata/SUPPORTED
     5 --- glibc-2.10.1.orig/localedata/SUPPORTED	2009-04-18 10:43:52.000000000 +0200
     6 +++ glibc-2.10.1/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.10.1.orig/localedata/locales/ca_ES@valencia glibc-2.10.1/localedata/locales/ca_ES@valencia
    17 --- glibc-2.10.1.orig/localedata/locales/ca_ES@valencia	1970-01-01 01:00:00.000000000 +0100
    18 +++ glibc-2.10.1/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