wok rev 17402
Try to 'arm'-ize tzdata, slitaz-i18n, and locale-* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 28 01:22:40 2014 +0200 (2014-11-28) |
parents | 576f155d4f81 |
children | 3a3945a92524 |
files | locale-ar/receipt locale-cs/receipt locale-da/receipt locale-de/receipt locale-el/receipt locale-es/receipt locale-fr/receipt locale-hu/receipt locale-id/receipt locale-it/receipt locale-pl/receipt locale-pt/receipt locale-pt_BR/receipt locale-ru/receipt locale-sl/receipt locale-sv/receipt locale-zh_CN/receipt locale-zh_TW/receipt slitaz-i18n/receipt slitaz-i18n/stuff/locale-pack.conf slitaz-i18n/stuff/locale-pack.functions tzdata/receipt |
line diff
1.1 --- a/locale-ar/receipt Thu Nov 27 16:37:31 2014 -0500 1.2 +++ b/locale-ar/receipt Fri Nov 28 01:22:40 2014 +0200 1.3 @@ -7,6 +7,7 @@ 1.4 MAINTAINER="al.bobylev@gmail.com" 1.5 LICENSE="GPL3" 1.6 WEB_SITE="http://www.slitaz.org/" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 WANTED="glibc slitaz-i18n xorg-libX11" 1.10 DEPENDS="glibc-base"
2.1 --- a/locale-cs/receipt Thu Nov 27 16:37:31 2014 -0500 2.2 +++ b/locale-cs/receipt Fri Nov 28 01:22:40 2014 +0200 2.3 @@ -7,6 +7,7 @@ 2.4 MAINTAINER="pankso@slitaz.org" 2.5 LICENSE="GPL3" 2.6 WEB_SITE="http://www.slitaz.org/" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 WANTED="glibc slitaz-i18n xorg-libX11" 2.10 DEPENDS="glibc-base"
3.1 --- a/locale-da/receipt Thu Nov 27 16:37:31 2014 -0500 3.2 +++ b/locale-da/receipt Fri Nov 28 01:22:40 2014 +0200 3.3 @@ -7,6 +7,7 @@ 3.4 MAINTAINER="pankso@slitaz.org" 3.5 LICENSE="GPL3" 3.6 WEB_SITE="http://www.slitaz.org/" 3.7 +HOST_ARCH="i486 arm" 3.8 3.9 WANTED="glibc slitaz-i18n xorg-libX11" 3.10 DEPENDS="glibc-base"
4.1 --- a/locale-de/receipt Thu Nov 27 16:37:31 2014 -0500 4.2 +++ b/locale-de/receipt Fri Nov 28 01:22:40 2014 +0200 4.3 @@ -7,6 +7,7 @@ 4.4 MAINTAINER="pankso@slitaz.org" 4.5 LICENSE="GPL3" 4.6 WEB_SITE="http://www.slitaz.org/" 4.7 +HOST_ARCH="i486 arm" 4.8 4.9 WANTED="glibc slitaz-i18n xorg-libX11" 4.10 DEPENDS="glibc-base"
5.1 --- a/locale-el/receipt Thu Nov 27 16:37:31 2014 -0500 5.2 +++ b/locale-el/receipt Fri Nov 28 01:22:40 2014 +0200 5.3 @@ -7,6 +7,7 @@ 5.4 MAINTAINER="al.bobylev@gmail.com" 5.5 LICENSE="GPL3" 5.6 WEB_SITE="http://www.slitaz.org/" 5.7 +HOST_ARCH="i486 arm" 5.8 5.9 WANTED="glibc slitaz-i18n xorg-libX11" 5.10 DEPENDS="glibc-base"
6.1 --- a/locale-es/receipt Thu Nov 27 16:37:31 2014 -0500 6.2 +++ b/locale-es/receipt Fri Nov 28 01:22:40 2014 +0200 6.3 @@ -7,6 +7,7 @@ 6.4 MAINTAINER="pankso@slitaz.org" 6.5 LICENSE="GPL3" 6.6 WEB_SITE="http://www.slitaz.org/" 6.7 +HOST_ARCH="i486 arm" 6.8 6.9 WANTED="glibc slitaz-i18n xorg-libX11" 6.10 DEPENDS="glibc-base"
7.1 --- a/locale-fr/receipt Thu Nov 27 16:37:31 2014 -0500 7.2 +++ b/locale-fr/receipt Fri Nov 28 01:22:40 2014 +0200 7.3 @@ -7,6 +7,7 @@ 7.4 MAINTAINER="pankso@slitaz.org" 7.5 LICENSE="GPL3" 7.6 WEB_SITE="http://www.slitaz.org/" 7.7 +HOST_ARCH="i486 arm" 7.8 7.9 WANTED="glibc slitaz-i18n xorg-libX11" 7.10 DEPENDS="glibc-base"
8.1 --- a/locale-hu/receipt Thu Nov 27 16:37:31 2014 -0500 8.2 +++ b/locale-hu/receipt Fri Nov 28 01:22:40 2014 +0200 8.3 @@ -7,6 +7,7 @@ 8.4 MAINTAINER="pankso@slitaz.org" 8.5 LICENSE="GPL3" 8.6 WEB_SITE="http://www.slitaz.org/" 8.7 +HOST_ARCH="i486 arm" 8.8 8.9 WANTED="glibc slitaz-i18n xorg-libX11" 8.10 DEPENDS="glibc-base"
9.1 --- a/locale-id/receipt Thu Nov 27 16:37:31 2014 -0500 9.2 +++ b/locale-id/receipt Fri Nov 28 01:22:40 2014 +0200 9.3 @@ -7,6 +7,7 @@ 9.4 MAINTAINER="pankso@slitaz.org" 9.5 LICENSE="GPL3" 9.6 WEB_SITE="http://www.slitaz.org/" 9.7 +HOST_ARCH="i486 arm" 9.8 9.9 WANTED="glibc slitaz-i18n xorg-libX11" 9.10 DEPENDS="glibc-base"
10.1 --- a/locale-it/receipt Thu Nov 27 16:37:31 2014 -0500 10.2 +++ b/locale-it/receipt Fri Nov 28 01:22:40 2014 +0200 10.3 @@ -7,6 +7,7 @@ 10.4 MAINTAINER="pankso@slitaz.org" 10.5 LICENSE="GPL3" 10.6 WEB_SITE="http://www.slitaz.org/" 10.7 +HOST_ARCH="i486 arm" 10.8 10.9 WANTED="glibc slitaz-i18n xorg-libX11" 10.10 DEPENDS="glibc-base"
11.1 --- a/locale-pl/receipt Thu Nov 27 16:37:31 2014 -0500 11.2 +++ b/locale-pl/receipt Fri Nov 28 01:22:40 2014 +0200 11.3 @@ -7,6 +7,7 @@ 11.4 MAINTAINER="al.bobylev@gmail.com" 11.5 LICENSE="GPL3" 11.6 WEB_SITE="http://www.slitaz.org/" 11.7 +HOST_ARCH="i486 arm" 11.8 11.9 WANTED="glibc slitaz-i18n xorg-libX11" 11.10 DEPENDS="glibc-base"
12.1 --- a/locale-pt/receipt Thu Nov 27 16:37:31 2014 -0500 12.2 +++ b/locale-pt/receipt Fri Nov 28 01:22:40 2014 +0200 12.3 @@ -7,6 +7,7 @@ 12.4 MAINTAINER="pankso@slitaz.org" 12.5 LICENSE="GPL3" 12.6 WEB_SITE="http://www.slitaz.org/" 12.7 +HOST_ARCH="i486 arm" 12.8 12.9 WANTED="glibc slitaz-i18n xorg-libX11" 12.10 DEPENDS="glibc-base"
13.1 --- a/locale-pt_BR/receipt Thu Nov 27 16:37:31 2014 -0500 13.2 +++ b/locale-pt_BR/receipt Fri Nov 28 01:22:40 2014 +0200 13.3 @@ -7,6 +7,7 @@ 13.4 MAINTAINER="pankso@slitaz.org" 13.5 LICENSE="GPL3" 13.6 WEB_SITE="http://www.slitaz.org/" 13.7 +HOST_ARCH="i486 arm" 13.8 13.9 WANTED="glibc slitaz-i18n xorg-libX11" 13.10 DEPENDS="glibc-base"
14.1 --- a/locale-ru/receipt Thu Nov 27 16:37:31 2014 -0500 14.2 +++ b/locale-ru/receipt Fri Nov 28 01:22:40 2014 +0200 14.3 @@ -7,6 +7,7 @@ 14.4 MAINTAINER="pankso@slitaz.org" 14.5 LICENSE="GPL3" 14.6 WEB_SITE="http://www.slitaz.org/" 14.7 +HOST_ARCH="i486 arm" 14.8 14.9 WANTED="glibc slitaz-i18n xorg-libX11" 14.10 DEPENDS="glibc-base"
15.1 --- a/locale-sl/receipt Thu Nov 27 16:37:31 2014 -0500 15.2 +++ b/locale-sl/receipt Fri Nov 28 01:22:40 2014 +0200 15.3 @@ -7,6 +7,7 @@ 15.4 MAINTAINER="pankso@slitaz.org" 15.5 LICENSE="GPL3" 15.6 WEB_SITE="http://www.slitaz.org/" 15.7 +HOST_ARCH="i486 arm" 15.8 15.9 WANTED="glibc slitaz-i18n xorg-libX11" 15.10 DEPENDS="glibc-base"
16.1 --- a/locale-sv/receipt Thu Nov 27 16:37:31 2014 -0500 16.2 +++ b/locale-sv/receipt Fri Nov 28 01:22:40 2014 +0200 16.3 @@ -7,6 +7,7 @@ 16.4 MAINTAINER="pankso@slitaz.org" 16.5 LICENSE="GPL3" 16.6 WEB_SITE="http://www.slitaz.org/" 16.7 +HOST_ARCH="i486 arm" 16.8 16.9 WANTED="glibc slitaz-i18n xorg-libX11" 16.10 DEPENDS="glibc-base"
17.1 --- a/locale-zh_CN/receipt Thu Nov 27 16:37:31 2014 -0500 17.2 +++ b/locale-zh_CN/receipt Fri Nov 28 01:22:40 2014 +0200 17.3 @@ -7,6 +7,7 @@ 17.4 MAINTAINER="lufeng369@slitaz.org" 17.5 LICENSE="GPL3" 17.6 WEB_SITE="http://www.slitaz.org/" 17.7 +HOST_ARCH="i486 arm" 17.8 17.9 WANTED="glibc slitaz-i18n xorg-libX11" 17.10 DEPENDS="glibc-base wqy-microhei"
18.1 --- a/locale-zh_TW/receipt Thu Nov 27 16:37:31 2014 -0500 18.2 +++ b/locale-zh_TW/receipt Fri Nov 28 01:22:40 2014 +0200 18.3 @@ -7,6 +7,7 @@ 18.4 MAINTAINER="pankso@slitaz.org" 18.5 LICENSE="GPL3" 18.6 WEB_SITE="http://www.slitaz.org/" 18.7 +HOST_ARCH="i486 arm" 18.8 18.9 WANTED="glibc slitaz-i18n xorg-libX11" 18.10 DEPENDS="glibc-base pcf-uming"
19.1 --- a/slitaz-i18n/receipt Thu Nov 27 16:37:31 2014 -0500 19.2 +++ b/slitaz-i18n/receipt Fri Nov 28 01:22:40 2014 +0200 19.3 @@ -7,6 +7,7 @@ 19.4 MAINTAINER="pankso@slitaz.org" 19.5 LICENSE="GPL3" 19.6 WEB_SITE="http://www.slitaz.org/" 19.7 +HOST_ARCH="i486 arm" 19.8 19.9 # Bdeps ensure packages are built so we can get generated po files. 19.10 BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \ 19.11 @@ -17,6 +18,11 @@ 19.12 pcmanfm polkit popt sakura shared-mime-info udisks2 util-linux-blkid \ 19.13 vorbis-tools vte xorg-xkeyboard-config yad" 19.14 19.15 +# Handle slitaz arch: /etc/slitaz/slitaz.conf 19.16 +case "$SLITAZ_ARCH" in 19.17 + arm*) BUILD_DEPENDS="" ;; 19.18 +esac 19.19 + 19.20 # Rules to gen a SliTaz package suitable for Tazpkg. 19.21 genpkg_rules() 19.22 {
20.1 --- a/slitaz-i18n/stuff/locale-pack.conf Thu Nov 27 16:37:31 2014 -0500 20.2 +++ b/slitaz-i18n/stuff/locale-pack.conf Fri Nov 28 01:22:40 2014 +0200 20.3 @@ -8,5 +8,7 @@ 20.4 sakura shared-mime-info udisks2 util-linux vorbis-tools vte \ 20.5 xorg-xkeyboard-config yad" 20.6 20.7 +CORE_PKGS_ARM="acl attr dialog e2fsprogs jwm libgpg-error lynx nano" 20.8 + 20.9 # List of all locale pack (locale-xx) 20.10 LOCALE_PACK="ar cs da de el es fr hu id it pl pt pt_BR ru sl sv zh_CN zh_TW"
21.1 --- a/slitaz-i18n/stuff/locale-pack.functions Thu Nov 27 16:37:31 2014 -0500 21.2 +++ b/slitaz-i18n/stuff/locale-pack.functions Fri Nov 28 01:22:40 2014 +0200 21.3 @@ -2,15 +2,23 @@ 21.4 { 21.5 [ "x$CHARMAP" == x ] && CHARMAP=UTF-8 21.6 21.7 - # Get translated Openbox menu from SliTaz sub project slitaz-configs 21.8 - obmenu=$WOK/slitaz-configs/install/etc/xdg/openbox/menu.$LOCALE.xml 21.9 - if [ -f $obmenu ]; then 21.10 - mkdir -p $fs/etc/xdg/openbox 21.11 - echo "* Found $LOCALE translations for: openbox menu" 21.12 - cp $obmenu $fs/etc/xdg/openbox 21.13 - fi 21.14 + case "$SLITAZ_ARCH" in 21.15 + arm*) ;; 21.16 + i?86) 21.17 + # Get translated Openbox menu from SliTaz sub project slitaz-configs 21.18 + obmenu=$WOK/slitaz-configs/install/etc/xdg/openbox/menu.$LOCALE.xml 21.19 + if [ -f $obmenu ]; then 21.20 + mkdir -p $fs/etc/xdg/openbox 21.21 + echo "* Found $LOCALE translations for: openbox menu" 21.22 + cp $obmenu $fs/etc/xdg/openbox 21.23 + fi 21.24 + ;; 21.25 + esac 21.26 21.27 # Get the core packages messages. 21.28 + case "$SLITAZ_ARCH" in 21.29 + arm*) CORE_PKGS="$CORE_PKGS_ARM" ;; 21.30 + esac 21.31 mkdir -p $fs/usr/share/locale/$LOCALE 21.32 for app in $CORE_PKGS; do 21.33 app_locale=$WOK/$app/install/usr/share/locale/$LOCALE 21.34 @@ -68,6 +76,10 @@ 21.35 done 21.36 done 21.37 21.38 + case "$SLITAZ_ARCH" in 21.39 + arm*) exit 0 ;; 21.40 + esac 21.41 + 21.42 # Get country flags 21.43 echo "* Copy flag icons for countries: "$countries 21.44 usih=usr/share/icons/hicolor
22.1 --- a/tzdata/receipt Thu Nov 27 16:37:31 2014 -0500 22.2 +++ b/tzdata/receipt Fri Nov 28 01:22:40 2014 +0200 22.3 @@ -9,6 +9,8 @@ 22.4 WEB_SITE="http://www.iana.org/time-zones" 22.5 TARBALL="$PACKAGE$VERSION.tar.gz" 22.6 WGET_URL="ftp://ftp.iana.org/tz/releases/$TARBALL" 22.7 +HOST_ARCH="i486 arm" 22.8 + 22.9 DEPENDS="glibc" 22.10 BUILD_DEPENDS="glibc-dev" 22.11