wok-current rev 16451

glibc-base: default locale is only en_US, other are moved to locale-** (say not to duplicate files); some locale definition files has their dependencies
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 19 12:09:55 2014 +0300 (2014-04-19)
parents 35c68ef9e128
children 2d722593894a
files glibc-base/receipt locale-de/receipt locale-es/receipt locale-fr/receipt locale-it/receipt locale-pt_BR/receipt locale-sv/receipt locale-zh_CN/receipt locale-zh_TW/receipt
line diff
     1.1 --- a/glibc-base/receipt	Sat Apr 19 06:39:44 2014 +0000
     1.2 +++ b/glibc-base/receipt	Sat Apr 19 12:09:55 2014 +0300
     1.3 @@ -10,8 +10,8 @@
     1.4  WANTED="glibc"
     1.5  HOST_ARCH="i486 arm x86_64"
     1.6  
     1.7 -# Locales include by default, other locales are in: glibc-locale
     1.8 -DEFAULT_LOCALE="de_DE en_US en_GB es_ES fr_FR it_IT pt_BR pt_PT"
     1.9 +# Locales include by default, other locales are in: locale-** and glibc-locale
    1.10 +DEFAULT_LOCALE="en_US en_GB"
    1.11  
    1.12  # Handle multiarch compilation.
    1.13  case "$ARCH" in
     2.1 --- a/locale-de/receipt	Sat Apr 19 06:39:44 2014 +0000
     2.2 +++ b/locale-de/receipt	Sat Apr 19 12:09:55 2014 +0300
     2.3 @@ -19,6 +19,9 @@
     2.4  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     2.5  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     2.6  	get_locale
     2.7 +
     2.8 +	# "de_BE" locale definition based on "fr_BE" locale definition file
     2.9 +	cp -a $WOK/glibc/install/usr/share/i18n/locales/fr_BE $fs/usr/share/i18n/locales
    2.10  }
    2.11  
    2.12  # Back to C if it's the last used locale.
     3.1 --- a/locale-es/receipt	Sat Apr 19 06:39:44 2014 +0000
     3.2 +++ b/locale-es/receipt	Sat Apr 19 12:09:55 2014 +0300
     3.3 @@ -19,6 +19,9 @@
     3.4  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     3.5  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     3.6  	get_locale
     3.7 +
     3.8 +	# "es_US" locale definition based on "en_US" locale definition file
     3.9 +	#cp -a $WOK/glibc/install/usr/share/i18n/locales/en_US $fs/usr/share/i18n/locales
    3.10  }
    3.11  
    3.12  # Back to C if it's the last used locale.
     4.1 --- a/locale-fr/receipt	Sat Apr 19 06:39:44 2014 +0000
     4.2 +++ b/locale-fr/receipt	Sat Apr 19 12:09:55 2014 +0300
     4.3 @@ -19,6 +19,11 @@
     4.4  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     4.5  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     4.6  	get_locale
     4.7 +
     4.8 +	# "fr_CA" locale definition based on "en_CA" locale definition file
     4.9 +	cp -a $WOK/glibc/install/usr/share/i18n/locales/en_CA $fs/usr/share/i18n/locales
    4.10 +	# "fr_CH" locale definition based on "de_CH" locale definition file
    4.11 +	cp -a $WOK/glibc/install/usr/share/i18n/locales/de_CH $fs/usr/share/i18n/locales
    4.12  }
    4.13  
    4.14  # Back to C if it's the last used locale.
     5.1 --- a/locale-it/receipt	Sat Apr 19 06:39:44 2014 +0000
     5.2 +++ b/locale-it/receipt	Sat Apr 19 12:09:55 2014 +0300
     5.3 @@ -19,6 +19,9 @@
     5.4  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     5.5  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     5.6  	get_locale
     5.7 +
     5.8 +	# "it_CH" locale definition based on "de_CH" locale definition file
     5.9 +	cp -a $WOK/glibc/install/usr/share/i18n/locales/de_CH $fs/usr/share/i18n/locales
    5.10  }
    5.11  
    5.12  # Back to C if it's the last used locale.
     6.1 --- a/locale-pt_BR/receipt	Sat Apr 19 06:39:44 2014 +0000
     6.2 +++ b/locale-pt_BR/receipt	Sat Apr 19 12:09:55 2014 +0300
     6.3 @@ -19,6 +19,9 @@
     6.4  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     6.5  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     6.6  	get_locale
     6.7 +
     6.8 +	# "pt_BR" locale definition based on "pt_PT" locale definition file
     6.9 +	cp -a $WOK/glibc/install/usr/share/i18n/locales/pt_PT $fs/usr/share/i18n/locales
    6.10  }
    6.11  
    6.12  # Back to C if it's the last used locale.
     7.1 --- a/locale-sv/receipt	Sat Apr 19 06:39:44 2014 +0000
     7.2 +++ b/locale-sv/receipt	Sat Apr 19 12:09:55 2014 +0300
     7.3 @@ -19,6 +19,11 @@
     7.4  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     7.5  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     7.6  	get_locale
     7.7 +
     7.8 +	# "sv_FI" locale definition based on "fi_FI" locale definition file
     7.9 +	cp -a $WOK/glibc/install/usr/share/i18n/locales/fi_FI $fs/usr/share/i18n/locales
    7.10 +	# "sv_FI@euro" locale definition based on "fi_FI" and "fi_FI@euro" locale definition files
    7.11 +	cp -a $WOK/glibc/install/usr/share/i18n/locales/fi_FI@euro $fs/usr/share/i18n/locales
    7.12  }
    7.13  
    7.14  # Back to C if it's the last used locale.
     8.1 --- a/locale-zh_CN/receipt	Sat Apr 19 06:39:44 2014 +0000
     8.2 +++ b/locale-zh_CN/receipt	Sat Apr 19 12:09:55 2014 +0300
     8.3 @@ -20,6 +20,9 @@
     8.4  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     8.5  	get_locale
     8.6  
     8.7 +	# "zh_CN" locale definition based on "iso14651_t1_pinyin" locale definition file
     8.8 +	cp -a $WOK/glibc/install/usr/share/i18n/locales/iso14651_t1_pinyin $fs/usr/share/i18n/locales
     8.9 +
    8.10  	GCONV_MODULES="
    8.11  		BIG5.so    GBBIG5.so   GBGBK.so
    8.12  		UTF-32.so  GB18030.so  EUC-CN.so
     9.1 --- a/locale-zh_TW/receipt	Sat Apr 19 06:39:44 2014 +0000
     9.2 +++ b/locale-zh_TW/receipt	Sat Apr 19 12:09:55 2014 +0300
     9.3 @@ -19,6 +19,9 @@
     9.4  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
     9.5  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
     9.6  	get_locale
     9.7 +
     9.8 +	# "zh_TW" locale definition based on "zh_CN" locale definition file
     9.9 +	cp -a $WOK/glibc/install/usr/share/i18n/locales/zh_CN $fs/usr/share/i18n/locales
    9.10  }
    9.11  
    9.12  # Back to C if it's the last used locale.