wok rev 597

Add localedef and change the way locale is set (all done by tazlocale or locale-pack)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 17 17:32:21 2008 +0200 (2008-04-17)
parents 596e875e8374
children dbe7483485e9
files glibc-base/receipt glibc-base/stuff/mkdir.list glibc-base/stuff/wanted-files.list
line diff
     1.1 --- a/glibc-base/receipt	Thu Apr 17 14:37:56 2008 +0000
     1.2 +++ b/glibc-base/receipt	Thu Apr 17 17:32:21 2008 +0200
     1.3 @@ -27,10 +27,13 @@
     1.4      	cp -a ${_pkg}$file ${fs}$file
     1.5      done
     1.6      
     1.7 -    # Gen locale files
     1.8 -	mkdir -p $fs/usr/lib/locale
     1.9 +    # Gen locale files (done by tazlocale. Some lang needs locale-pack).
    1.10 +    #
    1.11 +	#mkdir -p $fs/usr/lib/locale
    1.12  	#localedef -i fr_CH -c -f ISO-8859-1 $fs/usr/lib/locale/fr_CH
    1.13 -    localedef -i fr_FR -c -f ISO-8859-1 $fs/usr/lib/locale/fr_FR
    1.14 +    #localedef -i fr_FR -c -f ISO-8859-1 $fs/usr/lib/locale/fr_FR
    1.15 +    #localedef -i en_US -c -f ISO-8859-1 $fs/usr/lib/locale/en_US
    1.16 +    #localedef -i es_MX -c -f ISO-8859-1 $fs/usr/lib/locale/es_MX
    1.17  }
    1.18  
    1.19  # Call ldconfig and remove old glibc-2.3.6 files.
     2.1 --- a/glibc-base/stuff/mkdir.list	Thu Apr 17 14:37:56 2008 +0000
     2.2 +++ b/glibc-base/stuff/mkdir.list	Thu Apr 17 17:32:21 2008 +0200
     2.3 @@ -7,8 +7,5 @@
     2.4  /usr/share/i18n/locales
     2.5  /usr/share/i18n/charmaps
     2.6  /usr/share/locale/fr/LC_MESSAGES
     2.7 -/usr/share/zoneinfo/America/Argentina
     2.8 -/usr/share/zoneinfo/America/Indiana
     2.9 -/usr/share/zoneinfo/America/Kentucky
    2.10 -/usr/share/zoneinfo/America/North_Dakota
    2.11 +/usr/share/zoneinfo/America
    2.12  /usr/share/zoneinfo/Europe
     3.1 --- a/glibc-base/stuff/wanted-files.list	Thu Apr 17 14:37:56 2008 +0000
     3.2 +++ b/glibc-base/stuff/wanted-files.list	Thu Apr 17 17:32:21 2008 +0200
     3.3 @@ -20,206 +20,22 @@
     3.4  /usr/lib/gconv/ANSI_X3.110.so
     3.5  /usr/lib/gconv/ISO8859-2.so
     3.6  
     3.7 -/usr/share/zoneinfo/Europe/Skopje
     3.8 -/usr/share/zoneinfo/Europe/Zaporozhye
     3.9 -/usr/share/zoneinfo/Europe/Riga
    3.10  /usr/share/zoneinfo/Europe/Madrid
    3.11 -/usr/share/zoneinfo/Europe/Athens
    3.12 -/usr/share/zoneinfo/Europe/Samara
    3.13 -/usr/share/zoneinfo/Europe/Oslo
    3.14 -/usr/share/zoneinfo/Europe/Andorra
    3.15 -/usr/share/zoneinfo/Europe/Stockholm
    3.16 -/usr/share/zoneinfo/Europe/Istanbul
    3.17 -/usr/share/zoneinfo/Europe/Nicosia
    3.18 -/usr/share/zoneinfo/Europe/Belgrade
    3.19 -/usr/share/zoneinfo/Europe/Kiev
    3.20 -/usr/share/zoneinfo/Europe/Gibraltar
    3.21 -/usr/share/zoneinfo/Europe/Vienna
    3.22 -/usr/share/zoneinfo/Europe/Malta
    3.23  /usr/share/zoneinfo/Europe/London
    3.24 -/usr/share/zoneinfo/Europe/Rome
    3.25 -/usr/share/zoneinfo/Europe/Mariehamn
    3.26 -/usr/share/zoneinfo/Europe/Luxembourg
    3.27 -/usr/share/zoneinfo/Europe/Prague
    3.28 -/usr/share/zoneinfo/Europe/Brussels
    3.29 -/usr/share/zoneinfo/Europe/Zagreb
    3.30 -/usr/share/zoneinfo/Europe/Minsk
    3.31 -/usr/share/zoneinfo/Europe/Sarajevo
    3.32 -/usr/share/zoneinfo/Europe/Bratislava
    3.33 -/usr/share/zoneinfo/Europe/Warsaw
    3.34 -/usr/share/zoneinfo/Europe/Uzhgorod
    3.35 -/usr/share/zoneinfo/Europe/Moscow
    3.36 -/usr/share/zoneinfo/Europe/Belfast
    3.37 -/usr/share/zoneinfo/Europe/Amsterdam
    3.38 -/usr/share/zoneinfo/Europe/Vatican
    3.39 -/usr/share/zoneinfo/Europe/Chisinau
    3.40 -/usr/share/zoneinfo/Europe/Lisbon
    3.41 -/usr/share/zoneinfo/Europe/Tirane
    3.42 -/usr/share/zoneinfo/Europe/San_Marino
    3.43 -/usr/share/zoneinfo/Europe/Monaco
    3.44 -/usr/share/zoneinfo/Europe/Ljubljana
    3.45 -/usr/share/zoneinfo/Europe/Budapest
    3.46 -/usr/share/zoneinfo/Europe/Sofia
    3.47 -/usr/share/zoneinfo/Europe/Vaduz
    3.48 -/usr/share/zoneinfo/Europe/Bucharest
    3.49 -/usr/share/zoneinfo/Europe/Helsinki
    3.50 -/usr/share/zoneinfo/Europe/Tallinn
    3.51 -/usr/share/zoneinfo/Europe/Dublin
    3.52 -/usr/share/zoneinfo/Europe/Vilnius
    3.53 -/usr/share/zoneinfo/Europe/Berlin
    3.54  /usr/share/zoneinfo/Europe/Zurich
    3.55  /usr/share/zoneinfo/Europe/Paris
    3.56 -/usr/share/zoneinfo/Europe/Copenhagen
    3.57 -/usr/share/zoneinfo/Europe/Simferopol
    3.58 -/usr/share/zoneinfo/Europe/Tiraspol
    3.59 -/usr/share/zoneinfo/Europe/Kaliningrad
    3.60  /usr/share/zoneinfo/UTC
    3.61  /usr/share/zoneinfo/CET
    3.62 -/usr/share/zoneinfo/America/Boise
    3.63 -/usr/share/zoneinfo/America/Cayman
    3.64 -/usr/share/zoneinfo/America/Cayenne
    3.65 -/usr/share/zoneinfo/America/Grand_Turk
    3.66 -/usr/share/zoneinfo/America/Guatemala
    3.67 -/usr/share/zoneinfo/America/Bogota
    3.68 -/usr/share/zoneinfo/America/Glace_Bay
    3.69 -/usr/share/zoneinfo/America/Grenada
    3.70 -/usr/share/zoneinfo/America/Santiago
    3.71 -/usr/share/zoneinfo/America/Martinique
    3.72 -/usr/share/zoneinfo/America/Buenos_Aires
    3.73 -/usr/share/zoneinfo/America/Dawson_Creek
    3.74 -/usr/share/zoneinfo/America/Merida
    3.75 -/usr/share/zoneinfo/America/Aruba
    3.76 -/usr/share/zoneinfo/America/Vancouver
    3.77 -/usr/share/zoneinfo/America/Cambridge_Bay
    3.78 -/usr/share/zoneinfo/America/Yakutat
    3.79 -/usr/share/zoneinfo/America/Nipigon
    3.80 -/usr/share/zoneinfo/America/Cancun
    3.81 -/usr/share/zoneinfo/America/Ensenada
    3.82 -/usr/share/zoneinfo/America/Chihuahua
    3.83 -/usr/share/zoneinfo/America/Port_of_Spain
    3.84 -/usr/share/zoneinfo/America/Eirunepe
    3.85 -/usr/share/zoneinfo/America/Santo_Domingo
    3.86 -/usr/share/zoneinfo/America/Dominica
    3.87 -/usr/share/zoneinfo/America/Swift_Current
    3.88 -/usr/share/zoneinfo/America/Montserrat
    3.89 -/usr/share/zoneinfo/America/Maceio
    3.90 -/usr/share/zoneinfo/America/Mazatlan
    3.91 -/usr/share/zoneinfo/America/Campo_Grande
    3.92 -/usr/share/zoneinfo/America/Indiana/Marengo
    3.93 -/usr/share/zoneinfo/America/Indiana/Knox
    3.94 -/usr/share/zoneinfo/America/Indiana/Vevay
    3.95 -/usr/share/zoneinfo/America/Indiana/Indianapolis
    3.96 -/usr/share/zoneinfo/America/Monterrey
    3.97 -/usr/share/zoneinfo/America/Yellowknife
    3.98 -/usr/share/zoneinfo/America/Boa_Vista
    3.99 -/usr/share/zoneinfo/America/Guadeloupe
   3.100 -/usr/share/zoneinfo/America/Regina
   3.101 -/usr/share/zoneinfo/America/Managua
   3.102 -/usr/share/zoneinfo/America/Miquelon
   3.103 -/usr/share/zoneinfo/America/Chicago
   3.104 -/usr/share/zoneinfo/America/Jamaica
   3.105 -/usr/share/zoneinfo/America/Porto_Acre
   3.106 -/usr/share/zoneinfo/America/Belize
   3.107 -/usr/share/zoneinfo/America/Juneau
   3.108 -/usr/share/zoneinfo/America/Thunder_Bay
   3.109 -/usr/share/zoneinfo/America/Scoresbysund
   3.110 -/usr/share/zoneinfo/America/Anguilla
   3.111 -/usr/share/zoneinfo/America/Paramaribo
   3.112 -/usr/share/zoneinfo/America/St_Johns
   3.113 -/usr/share/zoneinfo/America/North_Dakota/Center
   3.114 -/usr/share/zoneinfo/America/Edmonton
   3.115 -/usr/share/zoneinfo/America/Atka
   3.116 -/usr/share/zoneinfo/America/El_Salvador
   3.117 -/usr/share/zoneinfo/America/Nassau
   3.118 -/usr/share/zoneinfo/America/Bahia
   3.119  /usr/share/zoneinfo/America/Montreal
   3.120 -/usr/share/zoneinfo/America/Antigua
   3.121 -/usr/share/zoneinfo/America/St_Lucia
   3.122 -/usr/share/zoneinfo/America/Tegucigalpa
   3.123 -/usr/share/zoneinfo/America/Dawson
   3.124 -/usr/share/zoneinfo/America/Rosario
   3.125 -/usr/share/zoneinfo/America/Guayaquil
   3.126 -/usr/share/zoneinfo/America/Godthab
   3.127  /usr/share/zoneinfo/America/New_York
   3.128 -/usr/share/zoneinfo/America/Inuvik
   3.129 -/usr/share/zoneinfo/America/Cuiaba
   3.130 -/usr/share/zoneinfo/America/Louisville
   3.131 -/usr/share/zoneinfo/America/Havana
   3.132 -/usr/share/zoneinfo/America/Denver
   3.133 -/usr/share/zoneinfo/America/Adak
   3.134 -/usr/share/zoneinfo/America/Hermosillo
   3.135 -/usr/share/zoneinfo/America/Knox_IN
   3.136 -/usr/share/zoneinfo/America/Tortola
   3.137 -/usr/share/zoneinfo/America/Virgin
   3.138 -/usr/share/zoneinfo/America/Lima
   3.139 -/usr/share/zoneinfo/America/St_Vincent
   3.140 -/usr/share/zoneinfo/America/Barbados
   3.141 -/usr/share/zoneinfo/America/Caracas
   3.142 -/usr/share/zoneinfo/America/Menominee
   3.143 -/usr/share/zoneinfo/America/St_Kitts
   3.144 -/usr/share/zoneinfo/America/Rainy_River
   3.145 -/usr/share/zoneinfo/America/Belem
   3.146 -/usr/share/zoneinfo/America/Whitehorse
   3.147 -/usr/share/zoneinfo/America/Rio_Branco
   3.148 -/usr/share/zoneinfo/America/Cordoba
   3.149 -/usr/share/zoneinfo/America/Araguaina
   3.150 -/usr/share/zoneinfo/America/Rankin_Inlet
   3.151 -/usr/share/zoneinfo/America/Port-au-Prince
   3.152 -/usr/share/zoneinfo/America/Shiprock
   3.153 -/usr/share/zoneinfo/America/Tijuana
   3.154  /usr/share/zoneinfo/America/Los_Angeles
   3.155 -/usr/share/zoneinfo/America/Argentina/Buenos_Aires
   3.156 -/usr/share/zoneinfo/America/Argentina/Rio_Gallegos
   3.157 -/usr/share/zoneinfo/America/Argentina/La_Rioja
   3.158 -/usr/share/zoneinfo/America/Argentina/Tucuman
   3.159 -/usr/share/zoneinfo/America/Argentina/ComodRivadavia
   3.160 -/usr/share/zoneinfo/America/Argentina/Ushuaia
   3.161 -/usr/share/zoneinfo/America/Argentina/San_Juan
   3.162 -/usr/share/zoneinfo/America/Argentina/Cordoba
   3.163 -/usr/share/zoneinfo/America/Argentina/Catamarca
   3.164 -/usr/share/zoneinfo/America/Argentina/Jujuy
   3.165 -/usr/share/zoneinfo/America/Argentina/Mendoza
   3.166 -/usr/share/zoneinfo/America/Thule
   3.167 -/usr/share/zoneinfo/America/Puerto_Rico
   3.168 -/usr/share/zoneinfo/America/Danmarkshavn
   3.169 -/usr/share/zoneinfo/America/Porto_Velho
   3.170 -/usr/share/zoneinfo/America/Catamarca
   3.171 -/usr/share/zoneinfo/America/Fort_Wayne
   3.172 -/usr/share/zoneinfo/America/Kentucky/Monticello
   3.173 -/usr/share/zoneinfo/America/Kentucky/Louisville
   3.174 -/usr/share/zoneinfo/America/Montevideo
   3.175 -/usr/share/zoneinfo/America/Pangnirtung
   3.176 -/usr/share/zoneinfo/America/Recife
   3.177 -/usr/share/zoneinfo/America/Anchorage
   3.178 -/usr/share/zoneinfo/America/Guyana
   3.179 -/usr/share/zoneinfo/America/Toronto
   3.180  /usr/share/zoneinfo/America/Sao_Paulo
   3.181  /usr/share/zoneinfo/America/Mexico_City
   3.182 -/usr/share/zoneinfo/America/Indianapolis
   3.183 -/usr/share/zoneinfo/America/Phoenix
   3.184 -/usr/share/zoneinfo/America/Jujuy
   3.185 -/usr/share/zoneinfo/America/Costa_Rica
   3.186 -/usr/share/zoneinfo/America/Halifax
   3.187 -/usr/share/zoneinfo/America/Mendoza
   3.188 -/usr/share/zoneinfo/America/St_Thomas
   3.189 -/usr/share/zoneinfo/America/Noronha
   3.190 -/usr/share/zoneinfo/America/Goose_Bay
   3.191 -/usr/share/zoneinfo/America/Iqaluit
   3.192 -/usr/share/zoneinfo/America/Panama
   3.193 -/usr/share/zoneinfo/America/Nome
   3.194 -/usr/share/zoneinfo/America/Fortaleza
   3.195 -/usr/share/zoneinfo/America/Detroit
   3.196 -/usr/share/zoneinfo/America/Coral_Harbour
   3.197 -/usr/share/zoneinfo/America/Asuncion
   3.198 -/usr/share/zoneinfo/America/Curacao
   3.199 -/usr/share/zoneinfo/America/La_Paz
   3.200 -/usr/share/zoneinfo/America/Manaus
   3.201 -/usr/share/zoneinfo/America/Winnipeg
   3.202  
   3.203  /usr/share/i18n/locales/translit_compat
   3.204  /usr/share/i18n/locales/translit_circle
   3.205  /usr/share/i18n/locales/translit_small
   3.206 -/usr/share/i18n/locales/fr_CH
   3.207 +
   3.208  /usr/share/i18n/locales/i18n
   3.209  /usr/share/i18n/locales/translit_neutral
   3.210  /usr/share/i18n/locales/translit_hangul
   3.211 @@ -229,7 +45,6 @@
   3.212  /usr/share/i18n/locales/iso14651_t1
   3.213  /usr/share/i18n/locales/translit_wide
   3.214  /usr/share/i18n/locales/translit_narrow
   3.215 -/usr/share/i18n/locales/fr_FR
   3.216  /usr/share/i18n/locales/translit_fraction
   3.217  /usr/share/i18n/charmaps/ANSI_X3.110-1983.gz
   3.218  /usr/share/i18n/charmaps/ISO-8859-15.gz
   3.219 @@ -237,10 +52,20 @@
   3.220  /usr/share/i18n/charmaps/ISO-8859-1.gz
   3.221  /usr/share/i18n/charmaps/ANSI_X3.4-1968.gz
   3.222  
   3.223 +/usr/share/i18n/locales/fr_CH
   3.224 +/usr/share/i18n/locales/fr_FR
   3.225 +/usr/share/i18n/locales/es_MX
   3.226 +/usr/share/i18n/locales/en_GB
   3.227 +/usr/share/i18n/locales/it_IT
   3.228 +/usr/share/i18n/locales/de_DE
   3.229 +/usr/share/i18n/locales/ru_RU
   3.230 +/usr/share/i18n/locales/zh_TW
   3.231 +
   3.232  /usr/share/locale/fr/LC_MESSAGES/libc.mo
   3.233  /usr/share/locale/locale.alias
   3.234  
   3.235  /usr/bin/locale
   3.236 +/usr/bin/localedef
   3.237  
   3.238  /etc/rpc
   3.239  /etc/ld.so.conf