wok-current rev 10739

locale-*: Up to 4.0 version string, had core pkgs to french pack (we dont have any po file now!) and add nano, mtpaint, midori to all languages pack
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 00:54:30 2011 +0200 (2011-05-30)
parents 72639dcc9523
children 6a16e4339314
files locale-cs/receipt locale-de/receipt locale-es/receipt locale-fr/receipt locale-hu/receipt locale-id/receipt locale-it/receipt locale-pt/receipt locale-ru/receipt locale-sl/receipt locale-zh_CN/receipt locale-zh_TW/receipt slitaz-i18n/stuff/locale-pack.conf
line diff
     1.1 --- a/locale-cs/receipt	Sun May 29 22:42:22 2011 +0200
     1.2 +++ b/locale-cs/receipt	Mon May 30 00:54:30 2011 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6  PACKAGE="locale-cs"
     1.7 -VERSION="2.0"
     1.8 +VERSION="4.0"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Czech locale pack."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/locale-de/receipt	Sun May 29 22:42:22 2011 +0200
     2.2 +++ b/locale-de/receipt	Mon May 30 00:54:30 2011 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt
     2.5  
     2.6  PACKAGE="locale-de"
     2.7 -VERSION="2.0"
     2.8 +VERSION="4.0"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="German locale pack."
    2.11  MAINTAINER="pankso@slitaz.org"
     3.1 --- a/locale-es/receipt	Sun May 29 22:42:22 2011 +0200
     3.2 +++ b/locale-es/receipt	Mon May 30 00:54:30 2011 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt
     3.5  
     3.6  PACKAGE="locale-es"
     3.7 -VERSION="1.1"
     3.8 +VERSION="4.0"
     3.9  CATEGORY="system-tools"
    3.10  SHORT_DESC="Spanish locale pack."
    3.11  MAINTAINER="pankso@slitaz.org"
     4.1 --- a/locale-fr/receipt	Sun May 29 22:42:22 2011 +0200
     4.2 +++ b/locale-fr/receipt	Mon May 30 00:54:30 2011 +0200
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt
     4.5  
     4.6  PACKAGE="locale-fr"
     4.7 -VERSION="2.1"
     4.8 +VERSION="4.0"
     4.9  CATEGORY="system-tools"
    4.10  SHORT_DESC="French locale pack."
    4.11  MAINTAINER="pankso@slitaz.org"
    4.12 @@ -16,8 +16,7 @@
    4.13  # Rules to configure and make the package.
    4.14  compile_rules()
    4.15  {
    4.16 -	# French messages are directly include in all packages by tazwok.
    4.17 -	CORE_PKGS=""
    4.18 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    4.19  	# Ensure packages are built.
    4.20  	for pkg in $CORE_PKGS
    4.21  	do
    4.22 @@ -29,15 +28,12 @@
    4.23  genpkg_rules()
    4.24  {
    4.25  	. $WOK/slitaz-i18n/stuff/locale-pack.functions
    4.26 -	CORE_PKGS=""
    4.27 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    4.28  	PKG_NAME="$PACKAGE"
    4.29  	PKG_VERS="$VERSION"
    4.30  	mk_locale_dir
    4.31  	get_slitaz_messages
    4.32  	get_core_messages
    4.33 -	ver=`grep ^VERSION $WOK/glibc/receipt | cut -d "\"" -f 2`
    4.34 -	cp -a $WOK/glibc/install/usr/share/locale/$LOCALE/* \
    4.35 -		$fs/usr/share/locale/$LOCALE
    4.36  	PACKAGE="$PKG_NAME"
    4.37  	VERSION="$PKG_VERS"
    4.38  }
     5.1 --- a/locale-hu/receipt	Sun May 29 22:42:22 2011 +0200
     5.2 +++ b/locale-hu/receipt	Mon May 30 00:54:30 2011 +0200
     5.3 @@ -1,7 +1,7 @@
     5.4  # SliTaz package receipt
     5.5  
     5.6  PACKAGE="locale-hu"
     5.7 -VERSION="2.0"
     5.8 +VERSION="4.0"
     5.9  CATEGORY="system-tools"
    5.10  SHORT_DESC="Hungry locale pack."
    5.11  MAINTAINER="pankso@slitaz.org"
     6.1 --- a/locale-id/receipt	Sun May 29 22:42:22 2011 +0200
     6.2 +++ b/locale-id/receipt	Mon May 30 00:54:30 2011 +0200
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt
     6.5  
     6.6  PACKAGE="locale-id"
     6.7 -VERSION="1.1"
     6.8 +VERSION="4.0"
     6.9  CATEGORY="system-tools"
    6.10  SHORT_DESC="Indonesian locale pack."
    6.11  MAINTAINER="pankso@slitaz.org"
     7.1 --- a/locale-it/receipt	Sun May 29 22:42:22 2011 +0200
     7.2 +++ b/locale-it/receipt	Mon May 30 00:54:30 2011 +0200
     7.3 @@ -1,7 +1,7 @@
     7.4  # SliTaz package receipt
     7.5  
     7.6  PACKAGE="locale-it"
     7.7 -VERSION="1.1"
     7.8 +VERSION="4.0"
     7.9  CATEGORY="system-tools"
    7.10  SHORT_DESC="Italian locale pack."
    7.11  MAINTAINER="pankso@slitaz.org"
     8.1 --- a/locale-pt/receipt	Sun May 29 22:42:22 2011 +0200
     8.2 +++ b/locale-pt/receipt	Mon May 30 00:54:30 2011 +0200
     8.3 @@ -1,7 +1,7 @@
     8.4  # SliTaz package receipt
     8.5  
     8.6  PACKAGE="locale-pt"
     8.7 -VERSION="2.1"
     8.8 +VERSION="4.0"
     8.9  CATEGORY="system-tools"
    8.10  SHORT_DESC="Portuguese/Brazilian locale pack."
    8.11  MAINTAINER="pankso@slitaz.org"
     9.1 --- a/locale-ru/receipt	Sun May 29 22:42:22 2011 +0200
     9.2 +++ b/locale-ru/receipt	Mon May 30 00:54:30 2011 +0200
     9.3 @@ -1,7 +1,7 @@
     9.4  # SliTaz package receipt
     9.5  
     9.6  PACKAGE="locale-ru"
     9.7 -VERSION="1.1"
     9.8 +VERSION="4.0"
     9.9  CATEGORY="system-tools"
    9.10  SHORT_DESC="Russian locale pack."
    9.11  MAINTAINER="pankso@slitaz.org"
    10.1 --- a/locale-sl/receipt	Sun May 29 22:42:22 2011 +0200
    10.2 +++ b/locale-sl/receipt	Mon May 30 00:54:30 2011 +0200
    10.3 @@ -1,7 +1,7 @@
    10.4  # SliTaz package receipt
    10.5  
    10.6  PACKAGE="locale-sl"
    10.7 -VERSION="1.1"
    10.8 +VERSION="4.0"
    10.9  CATEGORY="system-tools"
   10.10  SHORT_DESC="Slovenian locale pack."
   10.11  MAINTAINER="pankso@slitaz.org"
    11.1 --- a/locale-zh_CN/receipt	Sun May 29 22:42:22 2011 +0200
    11.2 +++ b/locale-zh_CN/receipt	Mon May 30 00:54:30 2011 +0200
    11.3 @@ -1,9 +1,7 @@
    11.4  # SliTaz package receipt
    11.5  
    11.6 -PACKED_SIZE="508K"
    11.7 -UNPACKED_SIZE="2.4M"
    11.8  PACKAGE="locale-zh_CN"
    11.9 -VERSION="2.0"
   11.10 +VERSION="4.0"
   11.11  CATEGORY="system-tools"
   11.12  SHORT_DESC="Chinese Simplified locale pack."
   11.13  MAINTAINER="lufeng369@slitaz.org"
   11.14 @@ -11,13 +9,10 @@
   11.15  BUILD_DEPENDS="glibc-locale xorg-libX11"
   11.16  WEB_SITE="http://www.slitaz.org/"
   11.17  
   11.18 -
   11.19 -
   11.20  LOCALE="zh_CN"
   11.21  LOCALEDEF="zh_CN"
   11.22  CHARMAP="UTF-8"
   11.23  
   11.24 -
   11.25  # Rules to gen a SliTaz package suitable for Tazpkg.
   11.26  # Genereted locale files are in /usr/lib/locale.
   11.27  genpkg_rules()
   11.28 @@ -28,20 +23,23 @@
   11.29  	GCONV_MODULES="
   11.30  		BIG5.so             GBBIG5.so   GBGBK.so
   11.31  		UTF-32.so           GB18030.so	EUC-CN.so
   11.32 -		GBK.so              UTF-7.so		libGB.so"
   11.33 +		GBK.so              UTF-7.so	libGB.so"
   11.34  	mkdir -p $fs/usr/bin
   11.35  	mkdir -p $fs/usr/lib/gconv
   11.36  
   11.37 -
   11.38  	cp /usr/bin/iconv $fs/usr/bin
   11.39  	for i in $GCONV_MODULES; do
   11.40  		cp /usr/lib/gconv/$i $fs/usr/lib/gconv
   11.41  	done
   11.42  	
   11.43 -	install  -D /usr/share/zoneinfo/Asia/Shanghai $fs/usr/share/zoneinfo/Asia/Shanghai -m 644
   11.44 -	install  -D /usr/share/zoneinfo/posix/Asia/Shanghai $fs/usr/share/posix/zoneinfo/Asia/Shanghai -m 644
   11.45 -	install  -D /usr/share/zoneinfo/right/Asia/Shanghai $fs/usr/share/right/zoneinfo/Asia/Shanghai -m 644
   11.46 +	install  -D /usr/share/zoneinfo/Asia/Shanghai \
   11.47 +		$fs/usr/share/zoneinfo/Asia/Shanghai -m 644
   11.48 +	install  -D /usr/share/zoneinfo/posix/Asia/Shanghai \
   11.49 +		$fs/usr/share/posix/zoneinfo/Asia/Shanghai -m 644
   11.50 +	install  -D /usr/share/zoneinfo/right/Asia/Shanghai \
   11.51 +		$fs/usr/share/right/zoneinfo/Asia/Shanghai -m 644
   11.52  }
   11.53 +
   11.54  post_install()
   11.55  {
   11.56  	echo LANG=zh_CN.UTF-8 > /etc/locale.conf
   11.57 @@ -49,6 +47,7 @@
   11.58  	export TZ=Asia/Shanghai
   11.59  	hwclock --hctosys
   11.60  }
   11.61 +
   11.62  # Back to C if it's the last used locale.
   11.63  post_remove()
   11.64  {
    12.1 --- a/locale-zh_TW/receipt	Sun May 29 22:42:22 2011 +0200
    12.2 +++ b/locale-zh_TW/receipt	Mon May 30 00:54:30 2011 +0200
    12.3 @@ -1,7 +1,7 @@
    12.4  # SliTaz package receipt
    12.5  
    12.6  PACKAGE="locale-zh_TW"
    12.7 -VERSION="1.1"
    12.8 +VERSION="4.0"
    12.9  CATEGORY="system-tools"
   12.10  SHORT_DESC="Chinese Traditional locale pack."
   12.11  MAINTAINER="pankso@slitaz.org"
    13.1 --- a/slitaz-i18n/stuff/locale-pack.conf	Sun May 29 22:42:22 2011 +0200
    13.2 +++ b/slitaz-i18n/stuff/locale-pack.conf	Mon May 30 00:54:30 2011 +0200
    13.3 @@ -1,7 +1,7 @@
    13.4  
    13.5  # Packages translations included in the language pack.
    13.6 -CORE_PKGS="asunder alsaplayer epdfview galculator viewnior gparted \
    13.7 -glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm"
    13.8 +CORE_PKGS="asunder alsaplayer epdfview galculator viewnior gparted nano \
    13.9 +glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm midori mtpaint"
   13.10  
   13.11  # List of all locale pack (locale-xx)
   13.12  LOCALE_PACK="cs de es fr hu id it pt ru sl zh_CN zh_TW"