# HG changeset patch # User Aleksej Bobylev # Date 1375268515 -10800 # Node ID aef7f09945857f960aec51976b935d9f26acaa60 # Parent 1af9999261096679ea305f553ab3444f74032d67 Add locale-pl, tiny edits. diff -r 1af999926109 -r aef7f0994585 locale-hu/receipt --- a/locale-hu/receipt Wed Jul 31 11:54:19 2013 +0200 +++ b/locale-hu/receipt Wed Jul 31 14:01:55 2013 +0300 @@ -3,7 +3,7 @@ PACKAGE="locale-hu" VERSION="4.0" CATEGORY="system-tools" -SHORT_DESC="Hungry locale pack." +SHORT_DESC="Hungarian locale pack." MAINTAINER="pankso@slitaz.org" DEPENDS="glibc-base" BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" diff -r 1af999926109 -r aef7f0994585 locale-pl/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/locale-pl/receipt Wed Jul 31 14:01:55 2013 +0300 @@ -0,0 +1,36 @@ +# SliTaz package receipt + +PACKAGE="locale-pl" +VERSION="4.0" +CATEGORY="system-tools" +SHORT_DESC="Polish locale pack" +MAINTAINER="al.bobylev@gmail.com" +WEB_SITE="http://www.slitaz.org/" + +WANTED="slitaz-i18n xorg-libX11" +DEPENDS="glibc-base" +BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" + +LOCALE="pl" +LOCALEDEF="pl_PL" +CHARMAP="UTF-8" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + . $WOK/slitaz-i18n/stuff/locale-pack.functions + . $WOK/slitaz-i18n/stuff/locale-pack.conf + mk_locale_dir + get_slitaz_messages + get_core_messages + get_x11_locale +} + +# Back to C if it's the last used locale. +post_remove() +{ + if grep -q $LOCALEDEF /etc/locale.conf; then + echo "LANG=C" > /etc/locale.conf + echo "LC_ALL=C" >> /etc/locale.conf + fi +} diff -r 1af999926109 -r aef7f0994585 slitaz-i18n/stuff/locale-pack.conf --- a/slitaz-i18n/stuff/locale-pack.conf Wed Jul 31 11:54:19 2013 +0200 +++ b/slitaz-i18n/stuff/locale-pack.conf Wed Jul 31 14:01:55 2013 +0300 @@ -7,4 +7,4 @@ popt retawq sakura transmission viewnior yad" # List of all locale pack (locale-xx) -LOCALE_PACK="cs da de el es fr hu id it pt pt_BR ru sl sv zh_CN zh_TW" +LOCALE_PACK="cs da de el es fr hu id it pl pt pt_BR ru sl sv zh_CN zh_TW" diff -r 1af999926109 -r aef7f0994585 slitaz-menus/receipt --- a/slitaz-menus/receipt Wed Jul 31 11:54:19 2013 +0200 +++ b/slitaz-menus/receipt Wed Jul 31 14:01:55 2013 +0300 @@ -3,7 +3,7 @@ PACKAGE="slitaz-menus" VERSION="2.4" CATEGORY="x-window" -SHORT_DESC="SliTaz i18n Freedesktop menus and SliTaz Network menu." +SHORT_DESC="SliTaz i18n Freedesktop menus" MAINTAINER="pankso@slitaz.org" WEB_SITE="http://www.slitaz.org/" @@ -14,4 +14,3 @@ cp -a $stuff/desktop-directories $fs/usr/share cp -a $stuff/menus $fs/etc/xdg } -