wok-current rev 14903

gettext: up 0.18.3, tiny edits
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 31 14:12:39 2013 +0300 (2013-07-31)
parents aef7f0994585
children f1e757631080
files gettext-base/receipt gettext-base/stuff/gettext.sh gettext/receipt slitaz-i18n/stuff/locale-pack.conf
line diff
     1.1 --- a/gettext-base/receipt	Wed Jul 31 14:01:55 2013 +0300
     1.2 +++ b/gettext-base/receipt	Wed Jul 31 14:12:39 2013 +0300
     1.3 @@ -1,14 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="gettext-base"
     1.7 -VERSION="0.18.1.1"
     1.8 +VERSION="0.18.3"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Base tools from the GNU Translation Project."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 +LICENSE="GPL3"
    1.13 +WEB_SITE="http://www.gnu.org/software/gettext/"
    1.14 +HOST_ARCH="i486 arm"
    1.15 +
    1.16  DEPENDS="glibc-base"
    1.17  WANTED="gettext"
    1.18 -WEB_SITE="http://www.gnu.org/software/gettext/"
    1.19 -HOST_ARCH="i486 arm"
    1.20  
    1.21  # Just to be sure when cross compiling, gettext is part of base system.
    1.22  testsuite()
    1.23 @@ -20,9 +22,9 @@
    1.24  genpkg_rules()
    1.25  {
    1.26  	mkdir -p $fs/usr/bin
    1.27 -	cp -a $install/usr/bin/gettext $fs/usr/bin
    1.28 -	cp -a $install/usr/bin/gettext.sh $fs/usr/bin
    1.29 -	# These are used in gettext.sh so there needed
    1.30 -	cp -a $install/usr/bin/envsubst $fs/usr/bin
    1.31 -	cp -a $install/usr/bin/ngettext $fs/usr/bin
    1.32 +	install -m755 $install/usr/bin/gettext \
    1.33 +		$stuff/gettext.sh \
    1.34 +		$install/usr/bin/envsubst \
    1.35 +		$install/usr/bin/ngettext \
    1.36 +		$fs/usr/bin
    1.37  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/gettext-base/stuff/gettext.sh	Wed Jul 31 14:12:39 2013 +0300
     2.3 @@ -0,0 +1,7 @@
     2.4 +#!/bin/sh
     2.5 +eval_gettext() {
     2.6 +  gettext "$1" | (export PATH $(envsubst --variables "$1"); envsubst "$1")
     2.7 +}
     2.8 +eval_ngettext() {
     2.9 +  ngettext "$1" "$2" "$3" | (export PATH $(envsubst --variables "$1 $2"); envsubst "$1 $2")
    2.10 +}
     3.1 --- a/gettext/receipt	Wed Jul 31 14:01:55 2013 +0300
     3.2 +++ b/gettext/receipt	Wed Jul 31 14:12:39 2013 +0300
     3.3 @@ -1,18 +1,19 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="gettext"
     3.7 -VERSION="0.18.1.1"
     3.8 +VERSION="0.18.3"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="Utilities for the GNU Translation Project."
    3.11  MAINTAINER="pankso@slitaz.org"
    3.12 +LICENSE="GPL3"
    3.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.14  WEB_SITE="http://www.gnu.org/software/gettext/"
    3.15  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    3.16  HOST_ARCH="i486 arm"
    3.17  
    3.18  # Why deps on glib-dev ??? And glib build depends on gettext anyway...
    3.19 -DEPENDS="gettext-base libgomp ncurses gcc-lib-base glib libxml2"
    3.20 -BUILD_DEPENDS="glibc-locale ncurses-dev glib-dev libxml2-tools libxml2-dev"
    3.21 +DEPENDS="gettext-base libgomp acl-dev gcc-lib-base glib-dev libxml2-dev m4"
    3.22 +BUILD_DEPENDS="acl attr-dev glib-dev libxml2-dev ncurses-dev"
    3.23  
    3.24  # Handle cross compilation. Glibc-locale are installed in cross chroot.
    3.25  case "$ARCH" in
     4.1 --- a/slitaz-i18n/stuff/locale-pack.conf	Wed Jul 31 14:01:55 2013 +0300
     4.2 +++ b/slitaz-i18n/stuff/locale-pack.conf	Wed Jul 31 14:12:39 2013 +0300
     4.3 @@ -1,7 +1,7 @@
     4.4  
     4.5  # Packages LC_MESSAGES included in the locale pack.
     4.6  CORE_PKGS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs epdfview \
     4.7 -galculator gcc-lib-base gcolor2 gdk-pixbuf gettext-base glib glibc-base gparted \
     4.8 +galculator gcc-lib-base gcolor2 gdk-pixbuf glib glibc-base gparted \
     4.9  gtk+ isomaster kbd-base leafpad libwebkit lostirc lxappearance lxpanel lxrandr \
    4.10  lxtask mhwaveedit midori mtpaint nano obconf openbox parcellite parted pcmanfm \
    4.11  popt retawq sakura transmission viewnior yad"