wok-current rev 14902

Add locale-pl, tiny edits.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 31 14:01:55 2013 +0300 (2013-07-31)
parents 1af999926109
children c40da21aa3a1
files locale-hu/receipt locale-pl/receipt slitaz-i18n/stuff/locale-pack.conf slitaz-menus/receipt
line diff
     1.1 --- a/locale-hu/receipt	Wed Jul 31 11:54:19 2013 +0200
     1.2 +++ b/locale-hu/receipt	Wed Jul 31 14:01:55 2013 +0300
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="locale-hu"
     1.5  VERSION="4.0"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="Hungry locale pack."
     1.8 +SHORT_DESC="Hungarian locale pack."
     1.9  MAINTAINER="pankso@slitaz.org"
    1.10  DEPENDS="glibc-base"
    1.11  BUILD_DEPENDS="glibc glibc-locale slitaz-i18n"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/locale-pl/receipt	Wed Jul 31 14:01:55 2013 +0300
     2.3 @@ -0,0 +1,36 @@
     2.4 +# SliTaz package receipt
     2.5 +
     2.6 +PACKAGE="locale-pl"
     2.7 +VERSION="4.0"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="Polish locale pack"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +WEB_SITE="http://www.slitaz.org/"
    2.12 +
    2.13 +WANTED="slitaz-i18n xorg-libX11"
    2.14 +DEPENDS="glibc-base"
    2.15 +BUILD_DEPENDS="glibc glibc-locale slitaz-i18n"
    2.16 +
    2.17 +LOCALE="pl"
    2.18 +LOCALEDEF="pl_PL"
    2.19 +CHARMAP="UTF-8"
    2.20 +
    2.21 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.22 +genpkg_rules()
    2.23 +{
    2.24 +	. $WOK/slitaz-i18n/stuff/locale-pack.functions
    2.25 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    2.26 +	mk_locale_dir
    2.27 +	get_slitaz_messages
    2.28 +	get_core_messages
    2.29 +	get_x11_locale
    2.30 +}
    2.31 +
    2.32 +# Back to C if it's the last used locale.
    2.33 +post_remove()
    2.34 +{
    2.35 +	if grep -q $LOCALEDEF /etc/locale.conf; then
    2.36 +		echo "LANG=C" > /etc/locale.conf
    2.37 +		echo "LC_ALL=C" >> /etc/locale.conf
    2.38 +	fi
    2.39 +}
     3.1 --- a/slitaz-i18n/stuff/locale-pack.conf	Wed Jul 31 11:54:19 2013 +0200
     3.2 +++ b/slitaz-i18n/stuff/locale-pack.conf	Wed Jul 31 14:01:55 2013 +0300
     3.3 @@ -7,4 +7,4 @@
     3.4  popt retawq sakura transmission viewnior yad"
     3.5  
     3.6  # List of all locale pack (locale-xx)
     3.7 -LOCALE_PACK="cs da de el es fr hu id it pt pt_BR ru sl sv zh_CN zh_TW"
     3.8 +LOCALE_PACK="cs da de el es fr hu id it pl pt pt_BR ru sl sv zh_CN zh_TW"
     4.1 --- a/slitaz-menus/receipt	Wed Jul 31 11:54:19 2013 +0200
     4.2 +++ b/slitaz-menus/receipt	Wed Jul 31 14:01:55 2013 +0300
     4.3 @@ -3,7 +3,7 @@
     4.4  PACKAGE="slitaz-menus"
     4.5  VERSION="2.4"
     4.6  CATEGORY="x-window"
     4.7 -SHORT_DESC="SliTaz i18n Freedesktop menus and SliTaz Network menu."
     4.8 +SHORT_DESC="SliTaz i18n Freedesktop menus"
     4.9  MAINTAINER="pankso@slitaz.org"
    4.10  WEB_SITE="http://www.slitaz.org/"
    4.11  
    4.12 @@ -14,4 +14,3 @@
    4.13  	cp -a $stuff/desktop-directories $fs/usr/share
    4.14  	cp -a $stuff/menus $fs/etc/xdg
    4.15  }
    4.16 -