wok-next rev 19759

Up cpufrequtils, dhcp, dhcp6, fontforge, glibc, libspiro, libuninameslist, slitaz-i18n, ttf-dejavu, ttf-roboto, tzdata, ucl.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 09 22:24:52 2017 +0300 (2017-06-09)
parents 262c31dd52eb
children 0abbdf485a8d
files cpufrequtils-dev/receipt cpufrequtils/receipt dhcp-client/receipt dhcp-dev/receipt dhcp-relay/receipt dhcp/receipt dhcp6-client/receipt dhcp6-relay/receipt dhcp6/receipt fontforge/receipt glibc/receipt libspiro-dev/receipt libspiro/receipt libuninameslist-dev/receipt libuninameslist/receipt locale-ar/receipt locale-ca/receipt locale-cs/receipt locale-da/receipt locale-de/receipt locale-el/receipt locale-en/receipt locale-es/receipt locale-fi/receipt locale-fr/receipt locale-hr/receipt locale-hu/receipt locale-id/receipt locale-is/receipt locale-it/receipt locale-ja/receipt locale-nb/receipt locale-nl/receipt locale-nn/receipt locale-pl/receipt locale-pt/receipt locale-pt_BR/receipt locale-ro/receipt locale-ru/receipt locale-sl/receipt locale-sv/receipt locale-tr/receipt locale-uk/receipt locale-zh_CN/receipt locale-zh_TW/receipt slitaz-i18n/receipt slitaz-i18n/stuff/locale-pack.functions ttf-dejavu-extra/description.txt ttf-dejavu-extra/receipt ttf-dejavu/description.ttf-dejavu-extra.txt ttf-dejavu/description.ttf-dejavu.txt ttf-dejavu/description.txt ttf-dejavu/receipt ttf-dejavu/stuff/compile.rules ttf-roboto-base/receipt ttf-roboto/receipt tzdata/receipt ucl-dev/receipt ucl/receipt
line diff
     1.1 --- a/cpufrequtils-dev/receipt	Fri Jun 09 09:36:44 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,20 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="cpufrequtils-dev"
     1.7 -VERSION="008"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="Userspace tools for the kernel cpufreq subsystem devel files."
    1.10 -MAINTAINER="gokhlayeh@slitaz.org"
    1.11 -LICENSE="GPL2"
    1.12 -WANTED="cpufrequtils"
    1.13 -WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" 
    1.14 -
    1.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.16 -genpkg_rules()
    1.17 -{
    1.18 -	mkdir -p $fs/usr
    1.19 -	cp -a $install/usr/include $fs/usr
    1.20 -	cp -a $install/usr/lib $fs/usr
    1.21 -	# Remove non-devel files
    1.22 -	rm $fs/usr/lib/libcpufreq.so*
    1.23 -}
     2.1 --- a/cpufrequtils/receipt	Fri Jun 09 09:36:44 2017 +0200
     2.2 +++ b/cpufrequtils/receipt	Fri Jun 09 22:24:52 2017 +0300
     2.3 @@ -1,30 +1,35 @@
     2.4 -# SliTaz package receipt.
     2.5 +# SliTaz package receipt v2.
     2.6  
     2.7  PACKAGE="cpufrequtils"
     2.8  VERSION="008"
     2.9  CATEGORY="system-tools"
    2.10 -SHORT_DESC="Userspace tools for the kernel cpufreq subsystem."
    2.11 +SHORT_DESC="Userspace tools for the kernel cpufreq subsystem"
    2.12  MAINTAINER="gokhlayeh@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 -WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html" 
    2.16 +WEB_SITE="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/cpufrequtils.html"
    2.17 +
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.19  WGET_URL="http://www.kernel.org/pub/linux/utils/kernel/cpufreq/$TARBALL"
    2.20 +TARBALL_SHA256="a2149db551f83112209b1a8e79bd50d386979bbf64edbc69126f4e0b4f0a4cab"
    2.21  
    2.22 -DEPENDS="sysfsutils linux-cpufreq"
    2.23  BUILD_DEPENDS="libtool gettext sed"
    2.24 +SPLIT="cpufrequtils-dev"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28  {
    2.29  	make LIBTOOL_OPT="--silent --tag=CC" &&
    2.30 -	make DESTDIR=$DESTDIR mandir=/usr/share/man install	
    2.31 +	make DESTDIR=$DESTDIR mandir=/usr/share/man install
    2.32  }
    2.33  
    2.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.35  genpkg_rules()
    2.36  {
    2.37 -	mkdir -p $fs/usr/share
    2.38 -	cp -a $install/usr/bin $fs/usr
    2.39 -	cp -a $install/usr/lib $fs/usr
    2.40 -	cp -a $install/usr/share/locale $fs/usr/share
    2.41 +	case $PACKAGE in
    2.42 +		cpufrequtils)
    2.43 +			copy @std *.mo
    2.44 +			DEPENDS="sysfsutils linux-cpufreq"
    2.45 +			;;
    2.46 +		*-dev) copy @dev;;
    2.47 +	esac
    2.48  }
     3.1 --- a/dhcp-client/receipt	Fri Jun 09 09:36:44 2017 +0200
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,23 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="dhcp-client"
     3.7 -VERSION="4.2.2"
     3.8 -CATEGORY="network"
     3.9 -SHORT_DESC="Dynamic Host Configuration Protocol ISC client."
    3.10 -MAINTAINER="pascal.bellard@slitaz.org"
    3.11 -LICENSE="ISC"
    3.12 -WEB_SITE="http://www.isc.org/products/DHCP/"
    3.13 -WANTED="dhcp"
    3.14 -DEPENDS="libcrypto"
    3.15 -CONFIG_FILES="/etc/dhclient.conf"
    3.16 -
    3.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.18 -genpkg_rules()
    3.19 -{
    3.20 -	mkdir -p $fs/usr/sbin $fs/usr/bin $fs/etc
    3.21 -	cp $install/etc/dhclient.conf $fs/etc
    3.22 -	cp $src/client/scripts/linux $fs/etc/dhclient-script
    3.23 -	cp $install/usr/sbin/dhclient $fs/usr/sbin
    3.24 -	cp $install/usr/bin/omshell $fs/usr/bin
    3.25 -}
    3.26 -
     4.1 --- a/dhcp-dev/receipt	Fri Jun 09 09:36:44 2017 +0200
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,19 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="dhcp-dev"
     4.7 -VERSION="4.2.2"
     4.8 -CATEGORY="development"
     4.9 -SHORT_DESC="Dynamic Host Configuration Protocol development files."
    4.10 -MAINTAINER="pascal.bellard@slitaz.org"
    4.11 -LICENSE="ISC"
    4.12 -WEB_SITE="http://www.isc.org/products/DHCP/"
    4.13 -WANTED="dhcp"
    4.14 -
    4.15 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.16 -genpkg_rules()
    4.17 -{
    4.18 -	mkdir -p $fs/usr
    4.19 -	cp -a $install/usr/lib $fs/usr
    4.20 -	cp -a $install/usr/include $fs/usr
    4.21 -}
    4.22 -
     5.1 --- a/dhcp-relay/receipt	Fri Jun 09 09:36:44 2017 +0200
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,20 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="dhcp-relay"
     5.7 -VERSION="4.2.2"
     5.8 -CATEGORY="network"
     5.9 -SHORT_DESC="Dynamic Host Configuration Protocol relay."
    5.10 -MAINTAINER="pascal.bellard@slitaz.org"
    5.11 -LICENSE="ISC"
    5.12 -WEB_SITE="http://www.isc.org/products/DHCP/"
    5.13 -WANTED="dhcp"
    5.14 -
    5.15 -DEPENDS="libcrypto"
    5.16 -
    5.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.18 -genpkg_rules()
    5.19 -{
    5.20 -	mkdir -p $fs/usr/sbin
    5.21 -	cp -a $install/usr/sbin/dhcrelay $fs/usr/sbin
    5.22 -}
    5.23 -
     6.1 --- a/dhcp/receipt	Fri Jun 09 09:36:44 2017 +0200
     6.2 +++ b/dhcp/receipt	Fri Jun 09 22:24:52 2017 +0300
     6.3 @@ -1,39 +1,59 @@
     6.4 -# SliTaz package receipt.
     6.5 +# SliTaz package receipt v2.
     6.6  
     6.7  PACKAGE="dhcp"
     6.8  VERSION="4.2.2"
     6.9  CATEGORY="network"
    6.10 -SHORT_DESC="Dynamic Host Configuration Protocol server."
    6.11 +SHORT_DESC="Dynamic Host Configuration Protocol"
    6.12  MAINTAINER="pascal.bellard@slitaz.org"
    6.13  LICENSE="ISC"
    6.14 +WEB_SITE="https://www.isc.org/downloads/DHCP/"
    6.15 +
    6.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.17 -WEB_SITE="http://www.isc.org/products/DHCP/"
    6.18 -WGET_URL="http://ftp.isc.org/isc/$PACKAGE/$TARBALL"
    6.19 -CONFIG_FILES="/etc/dhcpd.conf"
    6.20 +WGET_URL="https://ftp.isc.org/isc/dhcp/$TARBALL"
    6.21  
    6.22 -DEPENDS="libcrypto"
    6.23  BUILD_DEPENDS="perl"
    6.24 +SPLIT="dhcp-client dhcp-relay dhcp-dev"
    6.25 +SIBLINGS="dhcp6"
    6.26  
    6.27  # Rules to configure and make the package.
    6.28  compile_rules()
    6.29  {
    6.30 -	cd $src
    6.31  	grep -q MYEOL includes/dhctoken.h ||
    6.32  	sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \
    6.33  		includes/dhctoken.h
    6.34  	sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c
    6.35 -	./configure --prefix=/usr --infodir=/usr/share/info \
    6.36 -	--disable-dhcpv6 \
    6.37 -	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
    6.38 +
    6.39 +	./configure \
    6.40 +		--disable-dhcpv6 \
    6.41 +		--sysconfdir=/etc \
    6.42 +		$CONFIGURE_ARGS &&
    6.43  	make && make DESTDIR=$DESTDIR install
    6.44 +
    6.45 +	mkdir -p $install/etc/init.d
    6.46 +	cp $stuff/dhcpd $install/etc/init.d
    6.47 +	cp $src/client/scripts/linux $install/etc/dhclient-script
    6.48  }
    6.49  
    6.50  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.51  genpkg_rules()
    6.52  {
    6.53 -	mkdir -p $fs/usr/sbin $fs/etc/init.d
    6.54 -	cp $install/etc/dhcpd.conf $fs/etc
    6.55 -	cp $install/usr/sbin/dhcpd $fs/usr/sbin
    6.56 -	cp $stuff/dhcpd $fs/etc/init.d
    6.57 +	case $PACKAGE in
    6.58 +		dhcp)
    6.59 +			copy dhcpd.conf dhcpd
    6.60 +			CONFIG_FILES="/etc/dhcpd.conf"
    6.61 +			;;
    6.62 +		dhcp-client)
    6.63 +			copy dhclient.conf dhclient-script dhclient omshell
    6.64 +			CAT="network|ISC client"
    6.65 +			DEPENDS=" "
    6.66 +			CONFIG_FILES="/etc/dhclient.conf"
    6.67 +			;;
    6.68 +		dhcp-relay)
    6.69 +			copy dhcrelay
    6.70 +			CAT="network|relay"
    6.71 +			DEPENDS=" "
    6.72 +			;;
    6.73 +		*-dev) copy @dev;;
    6.74 +	esac
    6.75  }
    6.76  
     7.1 --- a/dhcp6-client/receipt	Fri Jun 09 09:36:44 2017 +0200
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,24 +0,0 @@
     7.4 -# SliTaz package receipt.
     7.5 -
     7.6 -PACKAGE="dhcp6-client"
     7.7 -VERSION="4.2.2"
     7.8 -CATEGORY="network"
     7.9 -SHORT_DESC="Dynamic Host Configuration Protocol ISC client with ipv6 support."
    7.10 -MAINTAINER="pascal.bellard@slitaz.org"
    7.11 -LICENSE="ISC"
    7.12 -WEB_SITE="http://www.isc.org/products/DHCP/"
    7.13 -WANTED="dhcp6"
    7.14 -DEPENDS="libcrypto"
    7.15 -CONFIG_FILES="/etc/dhclient.conf"
    7.16 -PROVIDE="dhcp-client"
    7.17 -
    7.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.19 -genpkg_rules()
    7.20 -{
    7.21 -	mkdir -p $fs/usr/sbin $fs/usr/bin $fs/etc
    7.22 -	cp $install/etc/dhclient.conf $fs/etc
    7.23 -	cp $src/client/scripts/linux $fs/etc/dhclient-script
    7.24 -	cp $install/usr/sbin/dhclient $fs/usr/sbin
    7.25 -	cp $install/usr/bin/omshell $fs/usr/bin
    7.26 -}
    7.27 -
     8.1 --- a/dhcp6-relay/receipt	Fri Jun 09 09:36:44 2017 +0200
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,20 +0,0 @@
     8.4 -# SliTaz package receipt.
     8.5 -
     8.6 -PACKAGE="dhcp6-relay"
     8.7 -VERSION="4.2.2"
     8.8 -CATEGORY="network"
     8.9 -SHORT_DESC="Dynamic Host Configuration Protocol relay with ipv6 support."
    8.10 -MAINTAINER="pascal.bellard@slitaz.org"
    8.11 -LICENSE="ISC"
    8.12 -WEB_SITE="http://www.isc.org/products/DHCP/"
    8.13 -WANTED="dhcp6"
    8.14 -PROVIDE="dhcp-relay"
    8.15 -
    8.16 -DEPENDS="libcrypto"
    8.17 -
    8.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
    8.19 -genpkg_rules()
    8.20 -{
    8.21 -	mkdir -p $fs/usr/sbin
    8.22 -	cp -a $install/usr/sbin/dhcrelay $fs/usr/sbin
    8.23 -}
     9.1 --- a/dhcp6/receipt	Fri Jun 09 09:36:44 2017 +0200
     9.2 +++ b/dhcp6/receipt	Fri Jun 09 22:24:52 2017 +0300
     9.3 @@ -1,41 +1,61 @@
     9.4 -# SliTaz package receipt.
     9.5 +# SliTaz package receipt v2.
     9.6  
     9.7  PACKAGE="dhcp6"
     9.8  VERSION="4.2.2"
     9.9  CATEGORY="network"
    9.10 -SHORT_DESC="Dynamic Host Configuration Protocol server with ipv6 support."
    9.11 +SHORT_DESC="Dynamic Host Configuration Protocol with IPv6 support"
    9.12  MAINTAINER="pascal.bellard@slitaz.org"
    9.13  LICENSE="ISC"
    9.14 -SOURCE="dhcp"
    9.15 -TARBALL="$SOURCE-$VERSION.tar.gz"
    9.16 -WEB_SITE="http://www.isc.org/products/DHCP/"
    9.17 -WGET_URL="http://ftp.isc.org/isc/$SOURCE/$TARBALL"
    9.18 -CONFIG_FILES="/etc/dhcpd.conf"
    9.19 -PROVIDE="dhcp"
    9.20 +WEB_SITE="https://www.isc.org/downloads/DHCP/"
    9.21  
    9.22 -DEPENDS="libcrypto"
    9.23 +TARBALL="dhcp-$VERSION.tar.gz"
    9.24 +WGET_URL="https://ftp.isc.org/isc/dhcp/$TARBALL"
    9.25 +
    9.26  BUILD_DEPENDS="perl"
    9.27 +SPLIT="dhcp6-client dhcp6-relay dhcp6-dev"
    9.28 +SIBLINGS="dhcp"
    9.29  
    9.30  # Rules to configure and make the package.
    9.31  compile_rules()
    9.32  {
    9.33 -	ln -s $src $PACKAGE-$VERSION 2> /dev/null
    9.34 -	cd $src
    9.35  	grep -q MYEOL includes/dhctoken.h ||
    9.36  	sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \
    9.37  		includes/dhctoken.h
    9.38  	sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c
    9.39 -	./configure --prefix=/usr --infodir=/usr/share/info \
    9.40 -	--sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \
    9.41 +
    9.42 +	./configure \
    9.43 +		--sysconfdir=/etc \
    9.44 +		$CONFIGURE_ARGS &&
    9.45  	make && make DESTDIR=$DESTDIR install
    9.46 +
    9.47 +	mkdir -p $install/etc/init.d
    9.48 +	cp $WOK/dhcp/stuff/dhcpd $install/etc/init.d
    9.49 +	cp $src/client/scripts/linux $install/etc/dhclient-script
    9.50  }
    9.51  
    9.52  # Rules to gen a SliTaz package suitable for Tazpkg.
    9.53  genpkg_rules()
    9.54  {
    9.55 -	mkdir -p $fs/usr/sbin $fs/etc/init.d
    9.56 -	cp $install/etc/dhcpd.conf $fs/etc
    9.57 -	cp $install/usr/sbin/dhcpd $fs/usr/sbin
    9.58 -	cp $WOK/dhcp/stuff/dhcpd $fs/etc/init.d
    9.59 +	case $PACKAGE in
    9.60 +		dhcp6)
    9.61 +			copy dhcpd.conf dhcpd
    9.62 +			CONFIG_FILES="/etc/dhcpd.conf"
    9.63 +			PROVIDE="dhcp"
    9.64 +			;;
    9.65 +		dhcp6-client)
    9.66 +			copy dhclient.conf dhclient-script dhclient omshell
    9.67 +			CAT="network|ISC client"
    9.68 +			DEPENDS=" "
    9.69 +			CONFIG_FILES="/etc/dhclient.conf"
    9.70 +			PROVIDE="dhcp-client"
    9.71 +			;;
    9.72 +		dhcp6-relay)
    9.73 +			copy dhcrelay
    9.74 +			CAT="network|relay"
    9.75 +			DEPENDS=" "
    9.76 +			PROVIDE="dhcp-relay"
    9.77 +			;;
    9.78 +		*-dev) copy @dev;;
    9.79 +	esac
    9.80  }
    9.81  
    10.1 --- a/fontforge/receipt	Fri Jun 09 09:36:44 2017 +0200
    10.2 +++ b/fontforge/receipt	Fri Jun 09 22:24:52 2017 +0300
    10.3 @@ -12,8 +12,8 @@
    10.4  TAGS="editor font"
    10.5  
    10.6  DEPENDS="gtk+ libuninameslist python libspiro libltdl"
    10.7 -BUILD_DEPENDS="wget cacerts libtool git perl tar autoconf automake bash \
    10.8 -coreutils-line xorg-libX11-dev zlib-dev freetype-dev jpeg-dev libpng-dev \
    10.9 +BUILD_DEPENDS="libtool git perl-dev tar autoconf automake bash coreutils-line \
   10.10 +xorg-libX11-dev zlib-dev freetype-dev libjpeg-turbo-dev libpng-dev \
   10.11  readline-dev cairo-dev pango-dev xorg-libXft-dev gtk+-dev python-dev \
   10.12  libuninameslist-dev libspiro-dev util-linux-uuid-dev"
   10.13  
    11.1 --- a/glibc/receipt	Fri Jun 09 09:36:44 2017 +0200
    11.2 +++ b/glibc/receipt	Fri Jun 09 22:24:52 2017 +0300
    11.3 @@ -221,7 +221,7 @@
    11.4  			CAT="base-system|name-server caching daemon"
    11.5  			;;
    11.6  		glibc-dev)
    11.7 -			cp -a $install/* $fs
    11.8 +			cp @dev
    11.9  			remove_already_packed
   11.10  			DEPENDS="glibc-base"
   11.11  			;;
    12.1 --- a/libspiro-dev/receipt	Fri Jun 09 09:36:44 2017 +0200
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,21 +0,0 @@
    12.4 -# SliTaz package receipt.
    12.5 -
    12.6 -PACKAGE="libspiro-dev"
    12.7 -VERSION="0.3.20150131"
    12.8 -CATEGORY="development"
    12.9 -SHORT_DESC="Development files for libspiro"
   12.10 -MAINTAINER="al.bobylev@gmail.com"
   12.11 -LICENSE="GPL3"
   12.12 -WEB_SITE="https://github.com/fontforge/libspiro"
   12.13 -
   12.14 -DEPENDS="libspiro"
   12.15 -WANTED="libspiro"
   12.16 -
   12.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   12.18 -genpkg_rules()
   12.19 -{
   12.20 -	mkdir -p $fs/usr/lib
   12.21 -	cp -a $install/usr/include $fs/usr
   12.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   12.23 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   12.24 -}
    13.1 --- a/libspiro/receipt	Fri Jun 09 09:36:44 2017 +0200
    13.2 +++ b/libspiro/receipt	Fri Jun 09 22:24:52 2017 +0300
    13.3 @@ -1,17 +1,18 @@
    13.4 -# SliTaz package receipt.
    13.5 +# SliTaz package receipt v2.
    13.6  
    13.7  PACKAGE="libspiro"
    13.8  VERSION="0.3.20150131"
    13.9  CATEGORY="misc"
   13.10 -SHORT_DESC="Spiro simplifies the drawing of beautiful curves."
   13.11 +SHORT_DESC="Spiro simplifies the drawing of beautiful curves"
   13.12  MAINTAINER="al.bobylev@gmail.com"
   13.13  LICENSE="GPL3"
   13.14  WEB_SITE="https://github.com/fontforge/libspiro"
   13.15 +
   13.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
   13.17  WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
   13.18  
   13.19 -DEPENDS=""
   13.20 -BUILD_DEPENDS="wget cacerts autoconf automake libtool bash"
   13.21 +BUILD_DEPENDS="autoconf automake libtool bash"
   13.22 +SPLIT="libspiro-dev"
   13.23  
   13.24  # Rules to configure and make the package.
   13.25  compile_rules()
   13.26 @@ -24,6 +25,8 @@
   13.27  # Rules to gen a SliTaz package suitable for Tazpkg.
   13.28  genpkg_rules()
   13.29  {
   13.30 -	mkdir -p $fs/usr/lib
   13.31 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   13.32 +	case $PACKAGE in
   13.33 +		libspiro) copy @std;;
   13.34 +		*-dev) copy @dev;;
   13.35 +	esac
   13.36  }
    14.1 --- a/libuninameslist-dev/receipt	Fri Jun 09 09:36:44 2017 +0200
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,21 +0,0 @@
    14.4 -# SliTaz package receipt.
    14.5 -
    14.6 -PACKAGE="libuninameslist-dev"
    14.7 -VERSION="0.4.20140731"
    14.8 -CATEGORY="development"
    14.9 -SHORT_DESC="Development files for libuninameslist"
   14.10 -MAINTAINER="al.bobylev@gmail.com"
   14.11 -LICENSE="other"
   14.12 -WEB_SITE="https://github.com/fontforge/libuninameslist"
   14.13 -
   14.14 -DEPENDS="libuninameslist"
   14.15 -WANTED="libuninameslist"
   14.16 -
   14.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   14.18 -genpkg_rules()
   14.19 -{
   14.20 -	mkdir -p $fs/usr/lib
   14.21 -	cp -a $install/usr/include $fs/usr
   14.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
   14.23 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
   14.24 -}
    15.1 --- a/libuninameslist/receipt	Fri Jun 09 09:36:44 2017 +0200
    15.2 +++ b/libuninameslist/receipt	Fri Jun 09 22:24:52 2017 +0300
    15.3 @@ -1,4 +1,4 @@
    15.4 -# SliTaz package receipt.
    15.5 +# SliTaz package receipt v2.
    15.6  
    15.7  PACKAGE="libuninameslist"
    15.8  VERSION="0.4.20140731"
    15.9 @@ -7,11 +7,12 @@
   15.10  MAINTAINER="al.bobylev@gmail.com"
   15.11  LICENSE="other"
   15.12  WEB_SITE="https://github.com/fontforge/libuninameslist"
   15.13 +
   15.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
   15.15  WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
   15.16  
   15.17 -DEPENDS=""
   15.18 -BUILD_DEPENDS="wget cacerts autoconf automake libtool bash"
   15.19 +BUILD_DEPENDS="autoconf automake libtool bash"
   15.20 +SPLIT="libuninameslist-dev"
   15.21  
   15.22  # Rules to configure and make the package.
   15.23  compile_rules()
   15.24 @@ -24,6 +25,8 @@
   15.25  # Rules to gen a SliTaz package suitable for Tazpkg.
   15.26  genpkg_rules()
   15.27  {
   15.28 -	mkdir -p $fs/usr/lib
   15.29 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
   15.30 +	case $PACKAGE in
   15.31 +		libuninameslist) copy @std;;
   15.32 +		*-dev) copy @dev;;
   15.33 +	esac
   15.34  }
    16.1 --- a/locale-ar/receipt	Fri Jun 09 09:36:44 2017 +0200
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,32 +0,0 @@
    16.4 -# SliTaz package receipt
    16.5 -
    16.6 -PACKAGE="locale-ar"
    16.7 -VERSION="6.0"
    16.8 -CATEGORY="localization"
    16.9 -SHORT_DESC="Arabic locale pack"
   16.10 -MAINTAINER="al.bobylev@gmail.com"
   16.11 -LICENSE="GPL3"
   16.12 -WEB_SITE="http://www.slitaz.org/"
   16.13 -HOST_ARCH="i486 arm"
   16.14 -
   16.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata"
   16.16 -DEPENDS="glibc-base"
   16.17 -
   16.18 -LOCALE="ar"
   16.19 -LOCALE_DEPENDS=""
   16.20 -KB_FLAGS="SA:ara US:us"
   16.21 -GCONV="ISO8859-6 IBM864 CP1256"
   16.22 -
   16.23 -# Rules to gen a SliTaz package suitable for Tazpkg.
   16.24 -genpkg_rules()
   16.25 -{
   16.26 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   16.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   16.28 -	get_locale
   16.29 -}
   16.30 -
   16.31 -# Back to C if it's the last used locale.
   16.32 -post_remove()
   16.33 -{
   16.34 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   16.35 -}
    17.1 --- a/locale-ca/receipt	Fri Jun 09 09:36:44 2017 +0200
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,33 +0,0 @@
    17.4 -# SliTaz package receipt
    17.5 -
    17.6 -PACKAGE="locale-ca"
    17.7 -VERSION="6.0"
    17.8 -CATEGORY="localization"
    17.9 -SHORT_DESC="Catalan locale pack"
   17.10 -MAINTAINER="al.bobylev@gmail.com"
   17.11 -LICENSE="GPL3"
   17.12 -WEB_SITE="http://www.slitaz.org/"
   17.13 -HOST_ARCH="i486 arm"
   17.14 -
   17.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   17.16 -DEPENDS="glibc-base"
   17.17 -
   17.18 -LOCALE="ca"
   17.19 -LOCALE_DEPENDS="it_IT" # for ca_IT
   17.20 -KBD=""
   17.21 -KB_FLAGS="AD:ad"
   17.22 -GCONV="CP1252 ISO8859-1 ISO8859-3 ISO8859-9 ISO8859-9E ISO8859-15"
   17.23 -
   17.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   17.25 -genpkg_rules()
   17.26 -{
   17.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   17.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   17.29 -	get_locale
   17.30 -}
   17.31 -
   17.32 -# Back to C if it's the last used locale.
   17.33 -post_remove()
   17.34 -{
   17.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   17.36 -}
    18.1 --- a/locale-cs/receipt	Fri Jun 09 09:36:44 2017 +0200
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,33 +0,0 @@
    18.4 -# SliTaz package receipt
    18.5 -
    18.6 -PACKAGE="locale-cs"
    18.7 -VERSION="6.0"
    18.8 -CATEGORY="localization"
    18.9 -SHORT_DESC="Czech locale pack"
   18.10 -MAINTAINER="pankso@slitaz.org"
   18.11 -LICENSE="GPL3"
   18.12 -WEB_SITE="http://www.slitaz.org/"
   18.13 -HOST_ARCH="i486 arm"
   18.14 -
   18.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   18.16 -DEPENDS="glibc-base"
   18.17 -
   18.18 -LOCALE="cs"
   18.19 -LOCALE_DEPENDS=""
   18.20 -KBD="cz-lat2"
   18.21 -KB_FLAGS="CZ:cz"
   18.22 -GCONV="ISO8859-2 IBM852 CP1250"
   18.23 -
   18.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   18.25 -genpkg_rules()
   18.26 -{
   18.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   18.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   18.29 -	get_locale
   18.30 -}
   18.31 -
   18.32 -# Back to C if it's the last used locale.
   18.33 -post_remove()
   18.34 -{
   18.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   18.36 -}
    19.1 --- a/locale-da/receipt	Fri Jun 09 09:36:44 2017 +0200
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,33 +0,0 @@
    19.4 -# SliTaz package receipt
    19.5 -
    19.6 -PACKAGE="locale-da"
    19.7 -VERSION="6.0"
    19.8 -CATEGORY="localization"
    19.9 -SHORT_DESC="Danish locale pack"
   19.10 -MAINTAINER="pankso@slitaz.org"
   19.11 -LICENSE="GPL3"
   19.12 -WEB_SITE="http://www.slitaz.org/"
   19.13 -HOST_ARCH="i486 arm"
   19.14 -
   19.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   19.16 -DEPENDS="glibc-base"
   19.17 -
   19.18 -LOCALE="da"
   19.19 -LOCALE_DEPENDS=""
   19.20 -KBD="dk-latin1"
   19.21 -KB_FLAGS="DK:dk"
   19.22 -GCONV="IBM865 ISO8859-1 ISO8859-15"
   19.23 -
   19.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   19.25 -genpkg_rules()
   19.26 -{
   19.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   19.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   19.29 -	get_locale
   19.30 -}
   19.31 -
   19.32 -# Back to C if it's the last used locale.
   19.33 -post_remove()
   19.34 -{
   19.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   19.36 -}
    20.1 --- a/locale-de/receipt	Fri Jun 09 09:36:44 2017 +0200
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,33 +0,0 @@
    20.4 -# SliTaz package receipt
    20.5 -
    20.6 -PACKAGE="locale-de"
    20.7 -VERSION="6.0"
    20.8 -CATEGORY="localization"
    20.9 -SHORT_DESC="German locale pack"
   20.10 -MAINTAINER="pankso@slitaz.org"
   20.11 -LICENSE="GPL3"
   20.12 -WEB_SITE="http://www.slitaz.org/"
   20.13 -HOST_ARCH="i486 arm"
   20.14 -
   20.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   20.16 -DEPENDS="glibc-base"
   20.17 -
   20.18 -LOCALE="de"
   20.19 -LOCALE_DEPENDS="fr_BE" # for de_BE
   20.20 -KBD="de-latin1 de_CH-latin1 sg-latin1"
   20.21 -KB_FLAGS="DE:de AT:at CH:ch"
   20.22 -GCONV="ISO8859-1 ISO8859-15"
   20.23 -
   20.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   20.25 -genpkg_rules()
   20.26 -{
   20.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   20.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   20.29 -	get_locale
   20.30 -}
   20.31 -
   20.32 -# Back to C if it's the last used locale.
   20.33 -post_remove()
   20.34 -{
   20.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   20.36 -}
    21.1 --- a/locale-el/receipt	Fri Jun 09 09:36:44 2017 +0200
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,33 +0,0 @@
    21.4 -# SliTaz package receipt
    21.5 -
    21.6 -PACKAGE="locale-el"
    21.7 -VERSION="6.0"
    21.8 -CATEGORY="localization"
    21.9 -SHORT_DESC="Greek locale pack"
   21.10 -MAINTAINER="al.bobylev@gmail.com"
   21.11 -LICENSE="GPL3"
   21.12 -WEB_SITE="http://www.slitaz.org/"
   21.13 -HOST_ARCH="i486 arm"
   21.14 -
   21.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   21.16 -DEPENDS="glibc-base"
   21.17 -
   21.18 -LOCALE="el"
   21.19 -LOCALE_DEPENDS=""
   21.20 -KBD="gr"
   21.21 -KB_FLAGS="GR:gr US:us"
   21.22 -GCONV="ISO8859-7 IBM869 CP1253 ISO8859-15"
   21.23 -
   21.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   21.25 -genpkg_rules()
   21.26 -{
   21.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   21.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   21.29 -	get_locale
   21.30 -}
   21.31 -
   21.32 -# Back to C if it's the last used locale.
   21.33 -post_remove()
   21.34 -{
   21.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   21.36 -}
    22.1 --- a/locale-en/receipt	Fri Jun 09 09:36:44 2017 +0200
    22.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.3 @@ -1,33 +0,0 @@
    22.4 -# SliTaz package receipt
    22.5 -
    22.6 -PACKAGE="locale-en"
    22.7 -VERSION="6.0"
    22.8 -CATEGORY="localization"
    22.9 -SHORT_DESC="English locale pack"
   22.10 -MAINTAINER="al.bobylev@gmail.com"
   22.11 -LICENSE="GPL3"
   22.12 -WEB_SITE="http://www.slitaz.org/"
   22.13 -HOST_ARCH="i486 arm"
   22.14 -
   22.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   22.16 -DEPENDS="glibc-base"
   22.17 -
   22.18 -LOCALE="en"
   22.19 -LOCALE_DEPENDS=""
   22.20 -KBD="uk us us-acentos dvorak dvorak-l dvorak-r"
   22.21 -KB_FLAGS="CM:cm GH:gh NG:ng ZA:za GB:gb US:us"
   22.22 -GCONV="ISO8859-1 ISO8859-15"
   22.23 -
   22.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   22.25 -genpkg_rules()
   22.26 -{
   22.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   22.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   22.29 -	get_locale
   22.30 -}
   22.31 -
   22.32 -# Back to C if it's the last used locale.
   22.33 -post_remove()
   22.34 -{
   22.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   22.36 -}
    23.1 --- a/locale-es/receipt	Fri Jun 09 09:36:44 2017 +0200
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,33 +0,0 @@
    23.4 -# SliTaz package receipt
    23.5 -
    23.6 -PACKAGE="locale-es"
    23.7 -VERSION="6.0"
    23.8 -CATEGORY="localization"
    23.9 -SHORT_DESC="Spanish locale pack"
   23.10 -MAINTAINER="pankso@slitaz.org"
   23.11 -LICENSE="GPL3"
   23.12 -WEB_SITE="http://www.slitaz.org/"
   23.13 -HOST_ARCH="i486 arm"
   23.14 -
   23.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   23.16 -DEPENDS="glibc-base"
   23.17 -
   23.18 -LOCALE="es"
   23.19 -LOCALE_DEPENDS=""
   23.20 -KBD="es"
   23.21 -KB_FLAGS="ES:es ES:latam"
   23.22 -GCONV="ISO8859-1 ISO8859-15"
   23.23 -
   23.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   23.25 -genpkg_rules()
   23.26 -{
   23.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   23.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   23.29 -	get_locale
   23.30 -}
   23.31 -
   23.32 -# Back to C if it's the last used locale.
   23.33 -post_remove()
   23.34 -{
   23.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   23.36 -}
    24.1 --- a/locale-fi/receipt	Fri Jun 09 09:36:44 2017 +0200
    24.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.3 @@ -1,33 +0,0 @@
    24.4 -# SliTaz package receipt
    24.5 -
    24.6 -PACKAGE="locale-fi"
    24.7 -VERSION="6.0"
    24.8 -CATEGORY="localization"
    24.9 -SHORT_DESC="Finnish locale pack"
   24.10 -MAINTAINER="al.bobylev@gmail.com"
   24.11 -LICENSE="GPL3"
   24.12 -WEB_SITE="http://www.slitaz.org/"
   24.13 -HOST_ARCH="i486 arm"
   24.14 -
   24.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   24.16 -DEPENDS="glibc-base"
   24.17 -
   24.18 -LOCALE="fi"
   24.19 -LOCALE_DEPENDS=""
   24.20 -KBD="fi"
   24.21 -KB_FLAGS="FI:fi"
   24.22 -GCONV="ISO8859-1 ISO8859-15"
   24.23 -
   24.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   24.25 -genpkg_rules()
   24.26 -{
   24.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   24.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   24.29 -	get_locale
   24.30 -}
   24.31 -
   24.32 -# Back to C if it's the last used locale.
   24.33 -post_remove()
   24.34 -{
   24.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   24.36 -}
    25.1 --- a/locale-fr/receipt	Fri Jun 09 09:36:44 2017 +0200
    25.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.3 @@ -1,34 +0,0 @@
    25.4 -# SliTaz package receipt
    25.5 -
    25.6 -PACKAGE="locale-fr"
    25.7 -VERSION="6.0"
    25.8 -CATEGORY="localization"
    25.9 -SHORT_DESC="French locale pack"
   25.10 -MAINTAINER="pankso@slitaz.org"
   25.11 -LICENSE="GPL3"
   25.12 -WEB_SITE="http://www.slitaz.org/"
   25.13 -HOST_ARCH="i486 arm"
   25.14 -
   25.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   25.16 -DEPENDS="glibc-base"
   25.17 -
   25.18 -LOCALE="fr"
   25.19 -LOCALE_DEPENDS="en_CA de_CH" # for fr_CA and fr_CH
   25.20 -KBD="fr-latin1 be-latin1 cf fr_CH-latin1"
   25.21 -KB_FLAGS="FR:fr CA:ca CD:cd GN:gn"
   25.22 -GCONV="ISO8859-1 ISO8859-15"
   25.23 -
   25.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   25.25 -genpkg_rules()
   25.26 -{
   25.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   25.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   25.29 -	get_locale
   25.30 -}
   25.31 -
   25.32 -# Back to C if it's the last used locale.
   25.33 -post_remove()
   25.34 -{
   25.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   25.36 -}
   25.37 -
    26.1 --- a/locale-hr/receipt	Fri Jun 09 09:36:44 2017 +0200
    26.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.3 @@ -1,33 +0,0 @@
    26.4 -# SliTaz package receipt
    26.5 -
    26.6 -PACKAGE="locale-hr"
    26.7 -VERSION="6.0"
    26.8 -CATEGORY="localization"
    26.9 -SHORT_DESC="Croatian locale pack"
   26.10 -MAINTAINER="al.bobylev@gmail.com"
   26.11 -LICENSE="GPL3"
   26.12 -WEB_SITE="http://www.slitaz.org/"
   26.13 -HOST_ARCH="i486 arm"
   26.14 -
   26.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   26.16 -DEPENDS="glibc-base"
   26.17 -
   26.18 -LOCALE="hr"
   26.19 -LOCALE_DEPENDS=""
   26.20 -KBD="croat"
   26.21 -KB_FLAGS="HR:hr"
   26.22 -GCONV="ISO8859-2"
   26.23 -
   26.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   26.25 -genpkg_rules()
   26.26 -{
   26.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   26.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   26.29 -	get_locale
   26.30 -}
   26.31 -
   26.32 -# Back to C if it's the last used locale.
   26.33 -post_remove()
   26.34 -{
   26.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   26.36 -}
    27.1 --- a/locale-hu/receipt	Fri Jun 09 09:36:44 2017 +0200
    27.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.3 @@ -1,34 +0,0 @@
    27.4 -# SliTaz package receipt
    27.5 -
    27.6 -PACKAGE="locale-hu"
    27.7 -VERSION="6.0"
    27.8 -CATEGORY="localization"
    27.9 -SHORT_DESC="Hungarian locale pack"
   27.10 -MAINTAINER="pankso@slitaz.org"
   27.11 -LICENSE="GPL3"
   27.12 -WEB_SITE="http://www.slitaz.org/"
   27.13 -HOST_ARCH="i486 arm"
   27.14 -
   27.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   27.16 -DEPENDS="glibc-base"
   27.17 -
   27.18 -LOCALE="hu"
   27.19 -LOCALE_DEPENDS=""
   27.20 -KBD="hu"
   27.21 -KB_FLAGS="HU:hu"
   27.22 -GCONV="ISO8859-2 IBM852 CP1250"
   27.23 -
   27.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   27.25 -genpkg_rules()
   27.26 -{
   27.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   27.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   27.29 -	get_locale
   27.30 -}
   27.31 -
   27.32 -# Back to C if it's the last used locale.
   27.33 -post_remove()
   27.34 -{
   27.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   27.36 -}
   27.37 -
    28.1 --- a/locale-id/receipt	Fri Jun 09 09:36:44 2017 +0200
    28.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.3 @@ -1,33 +0,0 @@
    28.4 -# SliTaz package receipt
    28.5 -
    28.6 -PACKAGE="locale-id"
    28.7 -VERSION="6.0"
    28.8 -CATEGORY="localization"
    28.9 -SHORT_DESC="Indonesian locale pack"
   28.10 -MAINTAINER="pankso@slitaz.org"
   28.11 -LICENSE="GPL3"
   28.12 -WEB_SITE="http://www.slitaz.org/"
   28.13 -HOST_ARCH="i486 arm"
   28.14 -
   28.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata"
   28.16 -DEPENDS="glibc-base"
   28.17 -
   28.18 -LOCALE="id"
   28.19 -LOCALE_DEPENDS=""
   28.20 -KBD=""
   28.21 -KB_FLAGS=""
   28.22 -GCONV="ISO8859-1 ISO8859-15"
   28.23 -
   28.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   28.25 -genpkg_rules()
   28.26 -{
   28.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   28.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   28.29 -	get_locale
   28.30 -}
   28.31 -
   28.32 -# Back to C if it's the last used locale.
   28.33 -post_remove()
   28.34 -{
   28.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   28.36 -}
    29.1 --- a/locale-is/receipt	Fri Jun 09 09:36:44 2017 +0200
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,33 +0,0 @@
    29.4 -# SliTaz package receipt
    29.5 -
    29.6 -PACKAGE="locale-is"
    29.7 -VERSION="6.0"
    29.8 -CATEGORY="localization"
    29.9 -SHORT_DESC="Icelandic locale pack"
   29.10 -MAINTAINER="al.bobylev@gmail.com"
   29.11 -LICENSE="GPL3"
   29.12 -WEB_SITE="http://www.slitaz.org/"
   29.13 -HOST_ARCH="i486 arm"
   29.14 -
   29.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   29.16 -DEPENDS="glibc-base"
   29.17 -
   29.18 -LOCALE="is"
   29.19 -LOCALE_DEPENDS=""
   29.20 -KBD="is-latin1"
   29.21 -KB_FLAGS="IS:is"
   29.22 -GCONV="ISO8859-1 ISO8859-15"
   29.23 -
   29.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   29.25 -genpkg_rules()
   29.26 -{
   29.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   29.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   29.29 -	get_locale
   29.30 -}
   29.31 -
   29.32 -# Back to C if it's the last used locale.
   29.33 -post_remove()
   29.34 -{
   29.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   29.36 -}
    30.1 --- a/locale-it/receipt	Fri Jun 09 09:36:44 2017 +0200
    30.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.3 @@ -1,33 +0,0 @@
    30.4 -# SliTaz package receipt
    30.5 -
    30.6 -PACKAGE="locale-it"
    30.7 -VERSION="6.0"
    30.8 -CATEGORY="localization"
    30.9 -SHORT_DESC="Italian locale pack"
   30.10 -MAINTAINER="pankso@slitaz.org"
   30.11 -LICENSE="GPL3"
   30.12 -WEB_SITE="http://www.slitaz.org/"
   30.13 -HOST_ARCH="i486 arm"
   30.14 -
   30.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   30.16 -DEPENDS="glibc-base"
   30.17 -
   30.18 -LOCALE="it"
   30.19 -LOCALE_DEPENDS="de_CH" # for it_CH
   30.20 -KBD="it"
   30.21 -KB_FLAGS="IT:it"
   30.22 -GCONV="ISO8859-1 ISO8859-15"
   30.23 -
   30.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   30.25 -genpkg_rules()
   30.26 -{
   30.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   30.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   30.29 -	get_locale
   30.30 -}
   30.31 -
   30.32 -# Back to C if it's the last used locale.
   30.33 -post_remove()
   30.34 -{
   30.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   30.36 -}
    31.1 --- a/locale-ja/receipt	Fri Jun 09 09:36:44 2017 +0200
    31.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.3 @@ -1,33 +0,0 @@
    31.4 -# SliTaz package receipt
    31.5 -
    31.6 -PACKAGE="locale-ja"
    31.7 -VERSION="6.0"
    31.8 -CATEGORY="localization"
    31.9 -SHORT_DESC="Japanese locale pack"
   31.10 -MAINTAINER="al.bobylev@gmail.com"
   31.11 -LICENSE="GPL3"
   31.12 -WEB_SITE="http://www.slitaz.org/"
   31.13 -HOST_ARCH="i486 arm"
   31.14 -
   31.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   31.16 -DEPENDS="glibc-base"
   31.17 -
   31.18 -LOCALE="ja"
   31.19 -LOCALE_DEPENDS="translit_cjk_variants"
   31.20 -KBD="jp106"
   31.21 -KB_FLAGS="JP:jp US:us"
   31.22 -GCONV="EUC-JP EUC-JP-MS SJIS   libJIS"
   31.23 -
   31.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   31.25 -genpkg_rules()
   31.26 -{
   31.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   31.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   31.29 -	get_locale
   31.30 -}
   31.31 -
   31.32 -# Back to C if it's the last used locale.
   31.33 -post_remove()
   31.34 -{
   31.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   31.36 -}
    32.1 --- a/locale-nb/receipt	Fri Jun 09 09:36:44 2017 +0200
    32.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.3 @@ -1,33 +0,0 @@
    32.4 -# SliTaz package receipt
    32.5 -
    32.6 -PACKAGE="locale-nb"
    32.7 -VERSION="6.0"
    32.8 -CATEGORY="localization"
    32.9 -SHORT_DESC="Norwegian locale pack (Bokmål)"
   32.10 -MAINTAINER="al.bobylev@gmail.com"
   32.11 -LICENSE="GPL3"
   32.12 -WEB_SITE="http://www.slitaz.org/"
   32.13 -HOST_ARCH="i486 arm"
   32.14 -
   32.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   32.16 -DEPENDS="glibc-base"
   32.17 -
   32.18 -LOCALE="nb"
   32.19 -LOCALE_DEPENDS=""
   32.20 -KBD="no-latin1"
   32.21 -KB_FLAGS="NO:no"
   32.22 -GCONV="ISO8859-1 ISO8859-15"
   32.23 -
   32.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   32.25 -genpkg_rules()
   32.26 -{
   32.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   32.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   32.29 -	get_locale
   32.30 -}
   32.31 -
   32.32 -# Back to C if it's the last used locale.
   32.33 -post_remove()
   32.34 -{
   32.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   32.36 -}
    33.1 --- a/locale-nl/receipt	Fri Jun 09 09:36:44 2017 +0200
    33.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.3 @@ -1,33 +0,0 @@
    33.4 -# SliTaz package receipt
    33.5 -
    33.6 -PACKAGE="locale-nl"
    33.7 -VERSION="6.0"
    33.8 -CATEGORY="localization"
    33.9 -SHORT_DESC="Dutch locale pack"
   33.10 -MAINTAINER="al.bobylev@gmail.com"
   33.11 -LICENSE="GPL3"
   33.12 -WEB_SITE="http://www.slitaz.org/"
   33.13 -HOST_ARCH="i486 arm"
   33.14 -
   33.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   33.16 -DEPENDS="glibc-base"
   33.17 -
   33.18 -LOCALE="nl"
   33.19 -LOCALE_DEPENDS=""
   33.20 -KBD="nl2"
   33.21 -KB_FLAGS="NL:nl"
   33.22 -GCONV="ISO8859-1 ISO8859-15"
   33.23 -
   33.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   33.25 -genpkg_rules()
   33.26 -{
   33.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   33.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   33.29 -	get_locale
   33.30 -}
   33.31 -
   33.32 -# Back to C if it's the last used locale.
   33.33 -post_remove()
   33.34 -{
   33.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   33.36 -}
    34.1 --- a/locale-nn/receipt	Fri Jun 09 09:36:44 2017 +0200
    34.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.3 @@ -1,33 +0,0 @@
    34.4 -# SliTaz package receipt
    34.5 -
    34.6 -PACKAGE="locale-nn"
    34.7 -VERSION="6.0"
    34.8 -CATEGORY="localization"
    34.9 -SHORT_DESC="Norwegian locale pack (Nynorsk)"
   34.10 -MAINTAINER="al.bobylev@gmail.com"
   34.11 -LICENSE="GPL3"
   34.12 -WEB_SITE="http://www.slitaz.org/"
   34.13 -HOST_ARCH="i486 arm"
   34.14 -
   34.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   34.16 -DEPENDS="glibc-base"
   34.17 -
   34.18 -LOCALE="nn"
   34.19 -LOCALE_DEPENDS=""
   34.20 -KBD="no-latin1"
   34.21 -KB_FLAGS="NO:no"
   34.22 -GCONV="ISO8859-1 ISO8859-15"
   34.23 -
   34.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   34.25 -genpkg_rules()
   34.26 -{
   34.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   34.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   34.29 -	get_locale
   34.30 -}
   34.31 -
   34.32 -# Back to C if it's the last used locale.
   34.33 -post_remove()
   34.34 -{
   34.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   34.36 -}
    35.1 --- a/locale-pl/receipt	Fri Jun 09 09:36:44 2017 +0200
    35.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.3 @@ -1,33 +0,0 @@
    35.4 -# SliTaz package receipt
    35.5 -
    35.6 -PACKAGE="locale-pl"
    35.7 -VERSION="5.0"
    35.8 -CATEGORY="localization"
    35.9 -SHORT_DESC="Polish locale pack"
   35.10 -MAINTAINER="al.bobylev@gmail.com"
   35.11 -LICENSE="GPL3"
   35.12 -WEB_SITE="http://www.slitaz.org/"
   35.13 -HOST_ARCH="i486 arm"
   35.14 -
   35.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   35.16 -DEPENDS="glibc-base"
   35.17 -
   35.18 -LOCALE="pl"
   35.19 -LOCALE_DEPENDS=""
   35.20 -KBD="pl2"
   35.21 -KB_FLAGS="PL:pl"
   35.22 -GCONV="ISO8859-2 IBM852 CP1250"
   35.23 -
   35.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   35.25 -genpkg_rules()
   35.26 -{
   35.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   35.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   35.29 -	get_locale
   35.30 -}
   35.31 -
   35.32 -# Back to C if it's the last used locale.
   35.33 -post_remove()
   35.34 -{
   35.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   35.36 -}
    36.1 --- a/locale-pt/receipt	Fri Jun 09 09:36:44 2017 +0200
    36.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    36.3 @@ -1,34 +0,0 @@
    36.4 -# SliTaz package receipt
    36.5 -
    36.6 -PACKAGE="locale-pt"
    36.7 -VERSION="6.0"
    36.8 -CATEGORY="localization"
    36.9 -SHORT_DESC="Portuguese locale pack"
   36.10 -MAINTAINER="pankso@slitaz.org"
   36.11 -LICENSE="GPL3"
   36.12 -WEB_SITE="http://www.slitaz.org/"
   36.13 -HOST_ARCH="i486 arm"
   36.14 -
   36.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   36.16 -DEPENDS="glibc-base"
   36.17 -
   36.18 -LOCALE="pt"
   36.19 -LOCALE_DEPENDS=""
   36.20 -LOCALEDEF="pt_PT pt_PT@euro"
   36.21 -KBD="pt-latin1"
   36.22 -KB_FLAGS="PT:pt"
   36.23 -GCONV="ISO8859-1 ISO8859-15"
   36.24 -
   36.25 -# Rules to gen a SliTaz package suitable for Tazpkg.
   36.26 -genpkg_rules()
   36.27 -{
   36.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   36.29 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   36.30 -	get_locale
   36.31 -}
   36.32 -
   36.33 -# Back to C if it's the last used locale.
   36.34 -post_remove()
   36.35 -{
   36.36 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   36.37 -}
    37.1 --- a/locale-pt_BR/receipt	Fri Jun 09 09:36:44 2017 +0200
    37.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    37.3 @@ -1,33 +0,0 @@
    37.4 -# SliTaz package receipt
    37.5 -
    37.6 -PACKAGE="locale-pt_BR"
    37.7 -VERSION="6.0"
    37.8 -CATEGORY="localization"
    37.9 -SHORT_DESC="Portuguese/Brazilian locale pack"
   37.10 -MAINTAINER="pankso@slitaz.org"
   37.11 -LICENSE="GPL3"
   37.12 -WEB_SITE="http://www.slitaz.org/"
   37.13 -HOST_ARCH="i486 arm"
   37.14 -
   37.15 -WANTED="glibc slitaz-i18n xorg-libX11"
   37.16 -DEPENDS="glibc-base"
   37.17 -
   37.18 -LOCALE="pt_BR"
   37.19 -LOCALE_DEPENDS="pt_PT" # for pt_BR
   37.20 -KBD="br-abnt2 us-acentos"
   37.21 -KB_FLAGS="BR:br"
   37.22 -GCONV="ISO8859-1 ISO8859-15"
   37.23 -
   37.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   37.25 -genpkg_rules()
   37.26 -{
   37.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   37.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   37.29 -	get_locale
   37.30 -}
   37.31 -
   37.32 -# Back to C if it's the last used locale.
   37.33 -post_remove()
   37.34 -{
   37.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   37.36 -}
    38.1 --- a/locale-ro/receipt	Fri Jun 09 09:36:44 2017 +0200
    38.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    38.3 @@ -1,33 +0,0 @@
    38.4 -# SliTaz package receipt
    38.5 -
    38.6 -PACKAGE="locale-ro"
    38.7 -VERSION="6.0"
    38.8 -CATEGORY="localization"
    38.9 -SHORT_DESC="Romanian locale pack"
   38.10 -MAINTAINER="al.bobylev@gmail.com"
   38.11 -LICENSE="GPL3"
   38.12 -WEB_SITE="http://www.slitaz.org/"
   38.13 -HOST_ARCH="i486 arm"
   38.14 -
   38.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   38.16 -DEPENDS="glibc-base"
   38.17 -
   38.18 -LOCALE="ro"
   38.19 -LOCALE_DEPENDS=""
   38.20 -KBD="ro ro_std ro_win"
   38.21 -KB_FLAGS="RO:ro"
   38.22 -GCONV="IBM852 CP1250 ISO8859-2 ISO8859-16"
   38.23 -
   38.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   38.25 -genpkg_rules()
   38.26 -{
   38.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   38.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   38.29 -	get_locale
   38.30 -}
   38.31 -
   38.32 -# Back to C if it's the last used locale.
   38.33 -post_remove()
   38.34 -{
   38.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   38.36 -}
    39.1 --- a/locale-ru/receipt	Fri Jun 09 09:36:44 2017 +0200
    39.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    39.3 @@ -1,33 +0,0 @@
    39.4 -# SliTaz package receipt
    39.5 -
    39.6 -PACKAGE="locale-ru"
    39.7 -VERSION="6.0"
    39.8 -CATEGORY="localization"
    39.9 -SHORT_DESC="Russian locale pack"
   39.10 -MAINTAINER="pankso@slitaz.org"
   39.11 -LICENSE="GPL3"
   39.12 -WEB_SITE="http://www.slitaz.org/"
   39.13 -HOST_ARCH="i486 arm"
   39.14 -
   39.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   39.16 -DEPENDS="glibc-base"
   39.17 -
   39.18 -LOCALE="ru"
   39.19 -LOCALE_DEPENDS=""
   39.20 -KBD="ru"
   39.21 -KB_FLAGS="US:us RU:ru UA:ua"
   39.22 -GCONV="ISO8859-5 KOI8-R KOI8-U IBM866 CP1251"
   39.23 -
   39.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   39.25 -genpkg_rules()
   39.26 -{
   39.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   39.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   39.29 -	get_locale
   39.30 -}
   39.31 -
   39.32 -# Back to C if it's the last used locale.
   39.33 -post_remove()
   39.34 -{
   39.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   39.36 -}
    40.1 --- a/locale-sl/receipt	Fri Jun 09 09:36:44 2017 +0200
    40.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    40.3 @@ -1,33 +0,0 @@
    40.4 -# SliTaz package receipt
    40.5 -
    40.6 -PACKAGE="locale-sl"
    40.7 -VERSION="6.0"
    40.8 -CATEGORY="localization"
    40.9 -SHORT_DESC="Slovenian locale pack"
   40.10 -MAINTAINER="pankso@slitaz.org"
   40.11 -LICENSE="GPL3"
   40.12 -WEB_SITE="http://www.slitaz.org/"
   40.13 -HOST_ARCH="i486 arm"
   40.14 -
   40.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   40.16 -DEPENDS="glibc-base"
   40.17 -
   40.18 -LOCALE="sl"
   40.19 -LOCALE_DEPENDS=""
   40.20 -KBD="slovene"
   40.21 -KB_FLAGS="SI:si"
   40.22 -GCONV="ISO8859-2 IBM852 CP1250"
   40.23 -
   40.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   40.25 -genpkg_rules()
   40.26 -{
   40.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   40.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   40.29 -	get_locale
   40.30 -}
   40.31 -
   40.32 -# Back to C if it's the last used locale.
   40.33 -post_remove()
   40.34 -{
   40.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   40.36 -}
    41.1 --- a/locale-sv/receipt	Fri Jun 09 09:36:44 2017 +0200
    41.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    41.3 @@ -1,33 +0,0 @@
    41.4 -# SliTaz package receipt
    41.5 -
    41.6 -PACKAGE="locale-sv"
    41.7 -VERSION="6.0"
    41.8 -CATEGORY="localization"
    41.9 -SHORT_DESC="Swedish locale pack"
   41.10 -MAINTAINER="pankso@slitaz.org"
   41.11 -LICENSE="GPL3"
   41.12 -WEB_SITE="http://www.slitaz.org/"
   41.13 -HOST_ARCH="i486 arm"
   41.14 -
   41.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   41.16 -DEPENDS="glibc-base"
   41.17 -
   41.18 -LOCALE="sv"
   41.19 -LOCALE_DEPENDS="fi_FI fi_FI@euro" # for sv_FI and sv_FI@euro
   41.20 -KBD="se-lat6"
   41.21 -KB_FLAGS="SE:se"
   41.22 -GCONV="ISO8859-1 ISO8859-15"
   41.23 -
   41.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   41.25 -genpkg_rules()
   41.26 -{
   41.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   41.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   41.29 -	get_locale
   41.30 -}
   41.31 -
   41.32 -# Back to C if it's the last used locale.
   41.33 -post_remove()
   41.34 -{
   41.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   41.36 -}
    42.1 --- a/locale-tr/receipt	Fri Jun 09 09:36:44 2017 +0200
    42.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    42.3 @@ -1,33 +0,0 @@
    42.4 -# SliTaz package receipt
    42.5 -
    42.6 -PACKAGE="locale-tr"
    42.7 -VERSION="6.0"
    42.8 -CATEGORY="localization"
    42.9 -SHORT_DESC="Turkish locale pack"
   42.10 -MAINTAINER="al.bobylev@gmail.com"
   42.11 -LICENSE="GPL3"
   42.12 -WEB_SITE="http://www.slitaz.org/"
   42.13 -HOST_ARCH="i486 arm"
   42.14 -
   42.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   42.16 -DEPENDS="glibc-base"
   42.17 -
   42.18 -LOCALE="tr"
   42.19 -LOCALE_DEPENDS=""
   42.20 -KBD="trq tr_q-latin5"
   42.21 -KB_FLAGS="TR:tr"
   42.22 -GCONV="ISO8859-9"
   42.23 -
   42.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   42.25 -genpkg_rules()
   42.26 -{
   42.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   42.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   42.29 -	get_locale
   42.30 -}
   42.31 -
   42.32 -# Back to C if it's the last used locale.
   42.33 -post_remove()
   42.34 -{
   42.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   42.36 -}
    43.1 --- a/locale-uk/receipt	Fri Jun 09 09:36:44 2017 +0200
    43.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    43.3 @@ -1,33 +0,0 @@
    43.4 -# SliTaz package receipt
    43.5 -
    43.6 -PACKAGE="locale-uk"
    43.7 -VERSION="6.0"
    43.8 -CATEGORY="localization"
    43.9 -SHORT_DESC="Ukrainian locale pack"
   43.10 -MAINTAINER="al.bobylev@gmail.com"
   43.11 -LICENSE="GPL3"
   43.12 -WEB_SITE="http://www.slitaz.org/"
   43.13 -HOST_ARCH="i486 arm"
   43.14 -
   43.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
   43.16 -DEPENDS="glibc-base"
   43.17 -
   43.18 -LOCALE="uk"
   43.19 -LOCALE_DEPENDS=""
   43.20 -KBD="ua"
   43.21 -KB_FLAGS="US:us RU:ru UA:ua"
   43.22 -GCONV="ISO8859-5 KOI8-R KOI8-U IBM866 CP1251"
   43.23 -
   43.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   43.25 -genpkg_rules()
   43.26 -{
   43.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   43.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   43.29 -	get_locale
   43.30 -}
   43.31 -
   43.32 -# Back to C if it's the last used locale.
   43.33 -post_remove()
   43.34 -{
   43.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   43.36 -}
    44.1 --- a/locale-zh_CN/receipt	Fri Jun 09 09:36:44 2017 +0200
    44.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    44.3 @@ -1,57 +0,0 @@
    44.4 -# SliTaz package receipt
    44.5 -
    44.6 -PACKAGE="locale-zh_CN"
    44.7 -VERSION="6.0"
    44.8 -CATEGORY="localization"
    44.9 -SHORT_DESC="Chinese Simplified locale pack."
   44.10 -MAINTAINER="lufeng369@slitaz.org"
   44.11 -LICENSE="GPL3"
   44.12 -WEB_SITE="http://www.slitaz.org/"
   44.13 -HOST_ARCH="i486 arm"
   44.14 -
   44.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata"
   44.16 -DEPENDS="glibc-base wqy-microhei"
   44.17 -
   44.18 -LOCALE="zh_CN"
   44.19 -LOCALE_DEPENDS="iso14651_t1_pinyin" # for zh_CN
   44.20 -KBD=""
   44.21 -KB_FLAGS="CN:cn"
   44.22 -GCONV="EUC-CN GBK GB18030   libGB"
   44.23 -
   44.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   44.25 -genpkg_rules()
   44.26 -{
   44.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   44.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   44.29 -	get_locale
   44.30 -
   44.31 -	# do really zh_CN locale need this?
   44.32 -	#GCONV_MODULES="
   44.33 -	#	BIG5.so    GBBIG5.so   GBGBK.so
   44.34 -	#	UTF-32.so  GB18030.so  EUC-CN.so
   44.35 -	#	GBK.so     UTF-7.so    libGB.so"
   44.36 -	#mkdir -p $fs/usr/bin
   44.37 -	#mkdir -p $fs/usr/lib/gconv
   44.38 -
   44.39 -	#cp /usr/bin/iconv $fs/usr/bin
   44.40 -	#for i in $GCONV_MODULES; do
   44.41 -	#	cp $WOK/glibc/install/usr/lib/gconv/$i $fs/usr/lib/gconv
   44.42 -	#done
   44.43 -}
   44.44 -
   44.45 -post_install()
   44.46 -{
   44.47 -	if [ -z "$1" ]; then
   44.48 -		echo LANG=zh_CN.UTF-8 > /etc/locale.conf
   44.49 -		echo Asia/Shanghai > /etc/TZ
   44.50 -		export TZ=Asia/Shanghai
   44.51 -		[ -e /dev/misc/rtc ] && hwclock --hctosys
   44.52 -	fi
   44.53 -	:
   44.54 -}
   44.55 -
   44.56 -# Back to C if it's the last used locale.
   44.57 -post_remove()
   44.58 -{
   44.59 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   44.60 -}
    45.1 --- a/locale-zh_TW/receipt	Fri Jun 09 09:36:44 2017 +0200
    45.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    45.3 @@ -1,33 +0,0 @@
    45.4 -# SliTaz package receipt
    45.5 -
    45.6 -PACKAGE="locale-zh_TW"
    45.7 -VERSION="6.0"
    45.8 -CATEGORY="localization"
    45.9 -SHORT_DESC="Chinese Traditional locale pack."
   45.10 -MAINTAINER="pankso@slitaz.org"
   45.11 -LICENSE="GPL3"
   45.12 -WEB_SITE="http://www.slitaz.org/"
   45.13 -HOST_ARCH="i486 arm"
   45.14 -
   45.15 -WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata"
   45.16 -DEPENDS="glibc-base pcf-uming"
   45.17 -
   45.18 -LOCALE="zh_TW"
   45.19 -LOCALE_DEPENDS="zh_CN" # for zh_TW
   45.20 -KBD=""
   45.21 -KB_FLAGS="TW:tw"
   45.22 -GCONV="BIG5 EUC-TW   libCNS"
   45.23 -
   45.24 -# Rules to gen a SliTaz package suitable for Tazpkg.
   45.25 -genpkg_rules()
   45.26 -{
   45.27 -	. $WOK/slitaz-i18n/stuff/locale-pack.functions
   45.28 -	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   45.29 -	get_locale
   45.30 -}
   45.31 -
   45.32 -# Back to C if it's the last used locale.
   45.33 -post_remove()
   45.34 -{
   45.35 -	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
   45.36 -}
    46.1 --- a/slitaz-i18n/receipt	Fri Jun 09 09:36:44 2017 +0200
    46.2 +++ b/slitaz-i18n/receipt	Fri Jun 09 22:24:52 2017 +0300
    46.3 @@ -1,49 +1,36 @@
    46.4 -# SliTaz package receipt
    46.5 +# SliTaz package receipt v2.
    46.6  
    46.7  PACKAGE="slitaz-i18n"
    46.8 -VERSION="161124"
    46.9 +VERSION="6.0"
   46.10  CATEGORY="meta"
   46.11 -SHORT_DESC="SliTaz internationalization meta package to build locale pack."
   46.12 -MAINTAINER="pankso@slitaz.org"
   46.13 +SHORT_DESC="SliTaz internationalization"
   46.14 +MAINTAINER="devel@slitaz.org"
   46.15  LICENSE="GPL3"
   46.16  WEB_SITE="http://www.slitaz.org/"
   46.17  HOST_ARCH="i486 arm"
   46.18  
   46.19 -# Bdeps ensure packages are built so we can get generated po files.
   46.20 -BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \
   46.21 -elfutils epdfview galculator gdk-pixbuf glib glibc-base glib-networking \
   46.22 -gparted gpicview gtk+ gvfs kbd-base leafpad libfm libgnutls libgpg-error \
   46.23 -libidn liblzma libwebkit lxappearance lxinput lxpanel lxrandr lxsession \
   46.24 -lxsession-edit lxtask mhwaveedit midori mtpaint nano obconf openbox parted \
   46.25 -pcmanfm polkit popt sakura shared-mime-info udisks2 util-linux-blkid \
   46.26 -vorbis-tools vte xorg-xkeyboard-config yad tzdata"
   46.27 -
   46.28 -# Handle slitaz arch: /etc/slitaz/slitaz.conf
   46.29 -case "$SLITAZ_ARCH" in
   46.30 -	arm*) BUILD_DEPENDS="" ;;
   46.31 -esac
   46.32 +BUILD_DEPENDS_arm=" "
   46.33 +SPLIT="locale-ar locale-ca locale-cs locale-da locale-de locale-el locale-en \
   46.34 +locale-es locale-fi locale-fr locale-hr locale-hu locale-id locale-is \
   46.35 +locale-it locale-ja locale-nb locale-nl locale-nn locale-pl locale-pt \
   46.36 +locale-pt_BR locale-ro locale-ru locale-sl locale-sv locale-tr locale-uk \
   46.37 +locale-zh_CN locale-zh_TW slitaz-i18n"
   46.38  
   46.39  # Rules to gen a SliTaz package suitable for Tazpkg.
   46.40  genpkg_rules()
   46.41  {
   46.42 -	# Allow to build the packages who want me...
   46.43 -	sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true
   46.44 +	. $stuff/locale-pack.functions
   46.45 +	. $stuff/locale-pack.conf
   46.46 +	case $PACKAGE in
   46.47 +		*-i18n)
   46.48 +			# Allow to build the packages who want me...
   46.49 +			sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true
   46.50  
   46.51 -	mkdir -p $fs/usr/share/doc/slitaz
   46.52 -	. $stuff/locale-pack.conf
   46.53 -	for p in $CORE_PKGS; do
   46.54 -		[ ! -d "$WOK/$p/install" ] && cook $p
   46.55 -	done
   46.56 +			# Recook tzdata package: we move files from tzdata to locale-* packages
   46.57 +			cook tzdata
   46.58  
   46.59 -	# Cook all locale-* packages
   46.60 -	for i in $LOCALE_PACK; do
   46.61 -		[ -d "$WOK/locale-$i" ] && cook locale-$i
   46.62 -	done
   46.63 -
   46.64 -	# Recook tzdata package: we move files from tzdata to locale-* packages
   46.65 -	cook tzdata
   46.66 -
   46.67 -	cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT
   46.68 +			mkdir -p $fs/usr/share/doc/slitaz
   46.69 +			cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT
   46.70  SliTaz i18n information
   46.71  ================================================================================
   46.72  
   46.73 @@ -64,4 +51,159 @@
   46.74  
   46.75  ================================================================================
   46.76  EOT
   46.77 +			;;
   46.78 +		*-ar) C="Arabic"
   46.79 +			get_locale "ar" "" "" \
   46.80 +			"" "SA:ara US:us" \
   46.81 +			"ISO8859-6 IBM864 CP1256";;
   46.82 +		*-ca) C="Catalan"
   46.83 +			# it_IT for ca_IT
   46.84 +			get_locale "ca" "it_IT" "" \
   46.85 +			"" "AD:ad" \
   46.86 +			"CP1252 ISO8859-1 ISO8859-3 ISO8859-9 ISO8859-9E ISO8859-15";;
   46.87 +		*-cs) C="Czech"
   46.88 +			get_locale "cs" "" "" \
   46.89 +			"cz-lat2" "CZ:cz" \
   46.90 +			"ISO8859-2 IBM852 CP1250";;
   46.91 +		*-da) C="Danish"
   46.92 +			get_locale "da" "" "" \
   46.93 +			"dk-latin1" "DK:dk" \
   46.94 +			"IBM865 ISO8859-1 ISO8859-15";;
   46.95 +		*-de) C="German"
   46.96 +			# fr_BE for de_BE
   46.97 +			get_locale "de" "fr_BE" "" \
   46.98 +			"de-latin1 de_CH-latin1 sg-latin1" "DE:de AT:at CH:ch" \
   46.99 +			"ISO8859-1 ISO8859-15";;
  46.100 +		*-el) C="Greek"
  46.101 +			get_locale "el" "" "" \
  46.102 +			"gr" "GR:gr US:us" \
  46.103 +			"ISO8859-7 IBM869 CP1253 ISO8859-15";;
  46.104 +		*-en) C="English"
  46.105 +			get_locale "en" "" "" \
  46.106 +			"uk us us-acentos dvorak dvorak-l dvorak-r" "CM:cm GH:gh NG:ng ZA:za GB:gb US:us" \
  46.107 +			"ISO8859-1 ISO8859-15";;
  46.108 +		*-es) C="Spanish"
  46.109 +			get_locale "es" "" "" \
  46.110 +			"es" "ES:es ES:latam" \
  46.111 +			"ISO8859-1 ISO8859-15";;
  46.112 +		*-fi) C="Finnish"
  46.113 +			get_locale "fi" "" "" \
  46.114 +			"fi" "FI:fi" \
  46.115 +			"ISO8859-1 ISO8859-15";;
  46.116 +		*-fr) C="French"
  46.117 +			# en_CA for fr_CA; de_CH for fr_CH
  46.118 +			get_locale "fr" "en_CA de_CH" "" \
  46.119 +			"fr-latin1 be-latin1 cf fr_CH-latin1" "FR:fr CA:ca CD:cd GN:gn" \
  46.120 +			"ISO8859-1 ISO8859-15";;
  46.121 +		*-hr) C="Croatian"
  46.122 +			get_locale "hr" "" "" \
  46.123 +			"croat" "HR:hr" \
  46.124 +			"ISO8859-2";;
  46.125 +		*-hu) C="Hungarian"
  46.126 +			get_locale "hu" "" "" \
  46.127 +			"hu" "HU:hu" \
  46.128 +			"ISO8859-2 IBM852 CP1250";;
  46.129 +		*-id) C="Indonesian"
  46.130 +			get_locale "id" "" "" \
  46.131 +			"" "" \
  46.132 +			"ISO8859-1 ISO8859-15";;
  46.133 +		*-is) C="Icelandic"
  46.134 +			get_locale "is" "" "" \
  46.135 +			"is-latin1" "IS:is" \
  46.136 +			"ISO8859-1 ISO8859-15";;
  46.137 +		*-it) C="Italian"
  46.138 +			# de_CH for it_CH
  46.139 +			get_locale "it" "de_CH" "" \
  46.140 +			"it" "IT:it" \
  46.141 +			"ISO8859-1 ISO8859-15";;
  46.142 +		*-ja) C="Japanese"
  46.143 +			get_locale "ja" "translit_cjk_variants" "" \
  46.144 +			"jp106" "JP:jp US:us" \
  46.145 +			"EUC-JP EUC-JP-MS SJIS   libJIS";;
  46.146 +		*-nb) C="Norwegian (Bokmål)"
  46.147 +			get_locale "nb" "" "" \
  46.148 +			"no-latin1" "NO:no" \
  46.149 +			"ISO8859-1 ISO8859-15";;
  46.150 +		*-nl) C="Dutch"
  46.151 +			get_locale "nl" "" "" \
  46.152 +			"nl2" "NL:nl" \
  46.153 +			"ISO8859-1 ISO8859-15";;
  46.154 +		*-nn) C="Norwegian (Nynorsk)"
  46.155 +			get_locale "nn" "" "" \
  46.156 +			"no-latin1" "NO:no" \
  46.157 +			"ISO8859-1 ISO8859-15";;
  46.158 +		*-pl) C="Polish"
  46.159 +			get_locale "pl" "" "" \
  46.160 +			"pl2" "PL:pl" \
  46.161 +			"ISO8859-2 IBM852 CP1250";;
  46.162 +		*-pt) C="Portuguese"
  46.163 +			get_locale "pt" "" "pt_PT pt_PT@euro" \
  46.164 +			"pt-latin1" "PT:pt" \
  46.165 +			"ISO8859-1 ISO8859-15";;
  46.166 +		*-pt_BR) C="Portuguese/Brazilian"
  46.167 +			# pt_PT for pt_BR
  46.168 +			get_locale "pt_BR" "pt_PT" "" \
  46.169 +			"br-abnt2 us-acentos" "BR:br" \
  46.170 +			"ISO8859-1 ISO8859-15";;
  46.171 +		*-ro) C="Romanian"
  46.172 +			get_locale "ro" "" "" \
  46.173 +			"ro ro_std ro_win" "RO:ro" \
  46.174 +			"IBM852 CP1250 ISO8859-2 ISO8859-16";;
  46.175 +		*-ru) C="Russian"
  46.176 +			get_locale "ru" "" "" \
  46.177 +			"ru" "US:us RU:ru UA:ua" \
  46.178 +			"ISO8859-5 KOI8-R KOI8-U IBM866 CP1251";;
  46.179 +		*-sl) C="Slovenian"
  46.180 +			get_locale "sl" "" "" \
  46.181 +			"slovene" "SI:si" \
  46.182 +			"ISO8859-2 IBM852 CP1250";;
  46.183 +		*-sv) C="Swedish"
  46.184 +			# fi_FI for sv_FI; fi_FI@euro for sv_FI@euro
  46.185 +			get_locale "sv" "fi_FI fi_FI@euro" "" \
  46.186 +			"se-lat6" "SE:se" \
  46.187 +			"ISO8859-1 ISO8859-15";;
  46.188 +		*-tr) C="Turkish"
  46.189 +			get_locale "tr" "" "" \
  46.190 +			"trq tr_q-latin5" "TR:tr" \
  46.191 +			"ISO8859-9";;
  46.192 +		*-uk) C="Ukrainian"
  46.193 +			get_locale "uk" "" "" \
  46.194 +			"ua" "US:us RU:ru UA:ua" \
  46.195 +			"ISO8859-5 KOI8-R KOI8-U IBM866 CP1251";;
  46.196 +		*-zh_CN) C="Chinese Simplified"
  46.197 +			get_locale "zh_CN" "iso14651_t1_pinyin" "" \
  46.198 +			"" "CN:cn" \
  46.199 +			"EUC-CN GBK GB18030   libGB";;
  46.200 +		*-zh_TW) C="Chinese Traditional"
  46.201 +			get_locale "zh_TW" "zh_CN" "" \
  46.202 +			"" "TW:tw" \
  46.203 +			"BIG5 EUC-TW   libCNS";;
  46.204 +	esac
  46.205 +
  46.206 +	case $PACKAGE in
  46.207 +		*-i18n)   DEPENDS="";;
  46.208 +		*-zh_CN)  DEPENDS="glibc-base wqy-microhei";;
  46.209 +		*-zh_TW)  DEPENDS="glibc-base pcf-uming";;
  46.210 +		*)        DEPENDS="glibc-base";;
  46.211 +	esac
  46.212 +
  46.213 +	case $PACKAGE in
  46.214 +		locale-*) CAT="localization|$C locale pack";;
  46.215 +	esac
  46.216  }
  46.217 +
  46.218 +# Back to C if it's the last used locale.
  46.219 +post_remove() {
  46.220 +	[ "$PACKAGE" == 'slitaz-i18n' ] ||
  46.221 +	echo -e "LANG=C\nLC_ALL=C" > "$1/etc/locale.conf"
  46.222 +}
  46.223 +
  46.224 +post_install_locale_zh_CN() {
  46.225 +	if [ -z "$1" ]; then
  46.226 +		echo LANG=zh_CN.UTF-8 > /etc/locale.conf
  46.227 +		echo Asia/Shanghai > /etc/TZ
  46.228 +		export TZ=Asia/Shanghai
  46.229 +		[ -e /dev/misc/rtc ] && hwclock --hctosys
  46.230 +	fi
  46.231 +	:
  46.232 +}
    47.1 --- a/slitaz-i18n/stuff/locale-pack.functions	Fri Jun 09 09:36:44 2017 +0200
    47.2 +++ b/slitaz-i18n/stuff/locale-pack.functions	Fri Jun 09 22:24:52 2017 +0300
    47.3 @@ -1,5 +1,7 @@
    47.4  get_locale()
    47.5  {
    47.6 +	LOCALE="$1"; LOCALE_DEPENDS="$2"; LOCALEDEF="$3"
    47.7 +	KBD="$4"; KB_FLAGS="$5"; GCONV="$6"
    47.8  	[ -z "$CHARMAP" ] && CHARMAP='UTF-8'
    47.9  
   47.10  	case "$SLITAZ_ARCH" in
   47.11 @@ -29,8 +31,12 @@
   47.12  	done
   47.13  
   47.14  	# List of available locales
   47.15 -	cd $WOK/glibc/install/usr/share/i18n/locales
   47.16 -	locales=$(ls -1 | sed -n '/^'$LOCALE'$/p; /^'$LOCALE'_.*/p' | sed '/translit/d')
   47.17 +	if [ -d "$WOK/glibc/install" ]; then
   47.18 +		cd $WOK/glibc/install/usr/share/i18n/locales
   47.19 +		locales=$(ls -1 | sed -n '/^'$LOCALE'$/p; /^'$LOCALE'_.*/p' | sed '/translit/d')
   47.20 +	else
   47.21 +		locales=''
   47.22 +	fi
   47.23  	[ -n "$LOCALEDEF" ] && locales="$LOCALEDEF"
   47.24  
   47.25  	# Get X11 locale
   47.26 @@ -51,68 +57,73 @@
   47.27  	done
   47.28  
   47.29  	# Get locale definition files
   47.30 -	usil='usr/share/i18n/locales'
   47.31 -	for def in $locales; do
   47.32 -		case $def in
   47.33 -			en_US|en_GB)
   47.34 -				# already in glibc-base
   47.35 -				;;
   47.36 -			*)
   47.37 -				echo "* Copying $def locale files"
   47.38 -				mkdir -p $fs/$usil
   47.39 -				cp -a $WOK/glibc/install/$usil/$def $fs/$usil
   47.40 -				;;
   47.41 -		esac
   47.42 -	done
   47.43 +	if [ -d "$WOK/glibc/install" ]; then
   47.44 +		for def in $locales; do
   47.45 +			case $def in
   47.46 +				en_US|en_GB)
   47.47 +					# already in glibc-base
   47.48 +					;;
   47.49 +				*)
   47.50 +					echo "* Copying $def locale files"
   47.51 +					mkdir -p $fs/usr/share/i18n/locales
   47.52 +					cp -a $WOK/glibc/install/usr/share/i18n/locales/$def \
   47.53 +						$fs/usr/share/i18n/locales
   47.54 +					;;
   47.55 +			esac
   47.56 +		done
   47.57  
   47.58 -	if [ -n "$LOCALE_DEPENDS" ]; then
   47.59 -		for dep in $LOCALE_DEPENDS; do
   47.60 -			echo "* Copying additional $dep locale files"
   47.61 -			cp -a $WOK/glibc/install/usr/share/i18n/locales/$dep \
   47.62 -			$fs/usr/share/i18n/locales
   47.63 -		done
   47.64 +		if [ -n "$LOCALE_DEPENDS" ]; then
   47.65 +			for dep in $LOCALE_DEPENDS; do
   47.66 +				echo "* Copying additional $dep locale files"
   47.67 +				cp -a $WOK/glibc/install/usr/share/i18n/locales/$dep \
   47.68 +					$fs/usr/share/i18n/locales
   47.69 +			done
   47.70 +		fi
   47.71  	fi
   47.72  
   47.73  	#grep -r 'include' $fs/usr/share/i18n/locales	# test includes in locales
   47.74  
   47.75  	# Get timezones from tzdata
   47.76 -	countries=$(echo $locales | \
   47.77 -		sed 's|@[^ ]*||g; s|[^ _]*_||g' | tr ' ' '\n' | sort -u)
   47.78 -	echo "* Copy timezone info for countries: "$countries
   47.79 -	locations=''
   47.80 -	for country in $countries; do
   47.81 -		location=$(grep '^'$country \
   47.82 -			$WOK/tzdata/install/usr/share/zoneinfo/zone.tab | awk '{ print $3}')
   47.83 -		locations="$locations $location"
   47.84 -	done
   47.85 -	for location in $locations; do
   47.86 -		for tz in $location; do
   47.87 -			install -Dm644 $WOK/tzdata/install/usr/share/zoneinfo/$tz \
   47.88 -						$fs/usr/share/zoneinfo/$tz
   47.89 +	if [ -d "$WOK/tzdata/install" ]; then
   47.90 +		countries=$(echo $locales | \
   47.91 +			sed 's|@[^ ]*||g; s|[^ _]*_||g' | tr ' ' '\n' | sort -u)
   47.92 +		echo "* Copy timezone info for countries: "$countries
   47.93 +		locations=''
   47.94 +		for country in $countries; do
   47.95 +			location=$(grep '^'$country \
   47.96 +				$WOK/tzdata/install/usr/share/zoneinfo/zone.tab | awk '{ print $3}')
   47.97 +			locations="$locations $location"
   47.98  		done
   47.99 -	done
  47.100 +		for location in $locations; do
  47.101 +			for tz in $location; do
  47.102 +				install -Dm644 $WOK/tzdata/install/usr/share/zoneinfo/$tz \
  47.103 +					$fs/usr/share/zoneinfo/$tz
  47.104 +			done
  47.105 +		done
  47.106 +	fi
  47.107  
  47.108  	case "$SLITAZ_ARCH" in
  47.109 -		arm*) exit 0 ;;
  47.110 +		arm*) return 0 ;;
  47.111  	esac
  47.112  
  47.113  	# Get country flags
  47.114 -	echo "* Copy flag icons for countries: "$countries
  47.115 -	usih='usr/share/icons/hicolor'
  47.116 -	for country in $countries; do
  47.117 -		for size in 16x16 48x48; do
  47.118 -			install -Dm644 \
  47.119 -				$WOK/flag-icons/taz/*/fs/$usih/$size/intl/$country.png \
  47.120 -				$fs/$usih/$size/intl/$country.png
  47.121 +	if [ -d "$WOK/flag-icons/install" ]; then
  47.122 +		echo "* Copy flag icons for countries: "$countries
  47.123 +		for country in $countries; do
  47.124 +			for size in 16x16 48x48; do
  47.125 +				install -Dm644 \
  47.126 +					$WOK/flag-icons/install/usr/share/icons/hicolor/$size/intl/$country.png \
  47.127 +					$fs/usr/share/icons/hicolor/$size/intl/$country.png
  47.128 +			done
  47.129  		done
  47.130 -	done
  47.131 -	# above icons credits
  47.132 -	fusl="$fs/usr/share/licenses"
  47.133 -	mkdir -p $fusl
  47.134 -	cp -a $WOK/flag-icons/source/*/LICENSE.txt $fusl/gosquared.txt
  47.135 +		# above icons credits
  47.136 +		mkdir -p $fs/usr/share/licenses
  47.137 +		cp $WOK/flag-icons/install/usr/share/licenses/gosquared.txt \
  47.138 +			$fs/usr/share/licenses
  47.139 +	fi
  47.140  
  47.141  	# Gconv modules for encodings other than default
  47.142 -	if [ -n "$GCONV" ]; then
  47.143 +	if [ -n "$GCONV" -a -d "$WOK/glibc/install" ]; then
  47.144  		mkdir -p $fs/usr/lib/gconv
  47.145  		for enc in $GCONV; do
  47.146  			case $enc in
  47.147 @@ -129,8 +140,7 @@
  47.148  	fi
  47.149  
  47.150  	# Console keyboard layouts
  47.151 -	if [ -n "$KBD" ]; then
  47.152 -		uskki='usr/share/kbd/keymaps/i386'
  47.153 +	if [ -n "$KBD" -a -d "$WOK/kbd/install" ]; then
  47.154  		cd $WOK/kbd/install
  47.155  		for map in $KBD; do
  47.156  			echo "* Copying $map kbd map"
  47.157 @@ -143,14 +153,15 @@
  47.158  	fi
  47.159  
  47.160  	# Keyboard flags for default lxpanel keyboard applet
  47.161 -	if [ -n "$KB_FLAGS" ]; then
  47.162 +	if [ -n "$KB_FLAGS" -a -d "$WOK/flag-icons/install" ]; then
  47.163  		uslix='usr/share/lxpanel/images/xkb-flags'
  47.164 -		mkdir -p $fs/$uslix
  47.165 +		mkdir -p $fs/usr/share/lxpanel/images/xkb-flags
  47.166  		for i in $KB_FLAGS; do
  47.167  			install -Dm644 \
  47.168 -				$WOK/flag-icons/taz/*/fs/$usih/16x16/intl/${i%%:*}.png \
  47.169 -				$fs/$usih/16x16/intl/${i%%:*}.png
  47.170 -			ln -s /$usih/16x16/intl/${i%%:*}.png $fs/$uslix/${i##*:}.png
  47.171 +				$WOK/flag-icons/install/usr/share/icons/hicolor/16x16/intl/${i%%:*}.png \
  47.172 +				$fs/usr/share/icons/hicolor/16x16/intl/${i%%:*}.png
  47.173 +			ln -s ../../../icons/hicolor/16x16/intl/${i%%:*}.png \
  47.174 +				$fs/usr/share/lxpanel/images/xkb-flags/${i##*:}.png
  47.175  		done
  47.176  	fi
  47.177  
    48.1 --- a/ttf-dejavu-extra/description.txt	Fri Jun 09 09:36:44 2017 +0200
    48.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    48.3 @@ -1,33 +0,0 @@
    48.4 -The DejaVu fonts are a font family based on the [Bitstream Vera Fonts]
    48.5 -(http://gnome.org/fonts/). Its purpose is to provide a wider range of
    48.6 -characters (see status.txt for more information) while maintaining the
    48.7 -original look and feel.
    48.8 -
    48.9 -DejaVu fonts are based on Bitstream Vera fonts version 1.10.
   48.10 -
   48.11 -Available fonts:
   48.12 -
   48.13 -  * DejaVu Sans Mono
   48.14 -  * DejaVu Sans Mono Bold
   48.15 -  * DejaVu Sans Mono Bold Oblique
   48.16 -  * DejaVu Sans Mono Oblique
   48.17 -  * DejaVu Sans
   48.18 -  * DejaVu Sans Bold
   48.19 -  * DejaVu Sans Bold Oblique
   48.20 -  * DejaVu Sans Oblique
   48.21 -  * DejaVu Sans ExtraLight (experimental)
   48.22 -  * DejaVu Serif
   48.23 -  * DejaVu Serif Bold
   48.24 -  * DejaVu Serif Bold Italic (experimental)
   48.25 -  * DejaVu Serif Italic (experimental)
   48.26 -  * DejaVu Sans Condensed (experimental)
   48.27 -  * DejaVu Sans Condensed Bold (experimental)
   48.28 -  * DejaVu Sans Condensed Bold Oblique (experimental)
   48.29 -  * DejaVu Sans Condensed Oblique (experimental)
   48.30 -  * DejaVu Serif Condensed (experimental)
   48.31 -  * DejaVu Serif Condensed Bold (experimental)
   48.32 -  * DejaVu Serif Condensed Bold Italic (experimental)
   48.33 -  * DejaVu Serif Condensed Italic (experimental)
   48.34 -
   48.35 -All fonts are also available as derivative called DejaVu LGC with support
   48.36 -only for Latin, Greek and Cyrillic scripts.
    49.1 --- a/ttf-dejavu-extra/receipt	Fri Jun 09 09:36:44 2017 +0200
    49.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    49.3 @@ -1,24 +0,0 @@
    49.4 -# SliTaz package receipt.
    49.5 -
    49.6 -PACKAGE="ttf-dejavu-extra"
    49.7 -VERSION="2.35"
    49.8 -CATEGORY="fonts"
    49.9 -SHORT_DESC="DejaVu TrueType fonts (extra)"
   49.10 -MAINTAINER="pankso@slitaz.org"
   49.11 -LICENSE="other"
   49.12 -WEB_SITE="http://dejavu-fonts.org/"
   49.13 -TAGS="font"
   49.14 -
   49.15 -WANTED="ttf-dejavu"
   49.16 -DEPENDS="ttf-dejavu"
   49.17 -
   49.18 -# Rules to gen a SliTaz package suitable for Tazpkg.
   49.19 -genpkg_rules()
   49.20 -{
   49.21 -	cp -a $install/* $fs
   49.22 -	IFS=$'\n'
   49.23 -	while read f; do
   49.24 -		rm $fs$f
   49.25 -	done < $WOK/$WANTED/taz/$WANTED-$VERSION/files.list
   49.26 -	unset IFS
   49.27 -}
    50.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    50.2 +++ b/ttf-dejavu/description.ttf-dejavu-extra.txt	Fri Jun 09 22:24:52 2017 +0300
    50.3 @@ -0,0 +1,33 @@
    50.4 +The DejaVu fonts are a font family based on the [Bitstream Vera Fonts]
    50.5 +(http://gnome.org/fonts/). Its purpose is to provide a wider range of
    50.6 +characters (see status.txt for more information) while maintaining the
    50.7 +original look and feel.
    50.8 +
    50.9 +DejaVu fonts are based on Bitstream Vera fonts version 1.10.
   50.10 +
   50.11 +Available fonts:
   50.12 +
   50.13 +  * DejaVu Sans Mono
   50.14 +  * DejaVu Sans Mono Bold
   50.15 +  * DejaVu Sans Mono Bold Oblique
   50.16 +  * DejaVu Sans Mono Oblique
   50.17 +  * DejaVu Sans
   50.18 +  * DejaVu Sans Bold
   50.19 +  * DejaVu Sans Bold Oblique
   50.20 +  * DejaVu Sans Oblique
   50.21 +  * DejaVu Sans ExtraLight (experimental)
   50.22 +  * DejaVu Serif
   50.23 +  * DejaVu Serif Bold
   50.24 +  * DejaVu Serif Bold Italic (experimental)
   50.25 +  * DejaVu Serif Italic (experimental)
   50.26 +  * DejaVu Sans Condensed (experimental)
   50.27 +  * DejaVu Sans Condensed Bold (experimental)
   50.28 +  * DejaVu Sans Condensed Bold Oblique (experimental)
   50.29 +  * DejaVu Sans Condensed Oblique (experimental)
   50.30 +  * DejaVu Serif Condensed (experimental)
   50.31 +  * DejaVu Serif Condensed Bold (experimental)
   50.32 +  * DejaVu Serif Condensed Bold Italic (experimental)
   50.33 +  * DejaVu Serif Condensed Italic (experimental)
   50.34 +
   50.35 +All fonts are also available as derivative called DejaVu LGC with support
   50.36 +only for Latin, Greek and Cyrillic scripts.
    51.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    51.2 +++ b/ttf-dejavu/description.ttf-dejavu.txt	Fri Jun 09 22:24:52 2017 +0300
    51.3 @@ -0,0 +1,12 @@
    51.4 +The DejaVu fonts are a font family based on the [Bitstream Vera Fonts]
    51.5 +(http://gnome.org/fonts/). Its purpose is to provide a wider range of
    51.6 +characters (see status.txt for more information) while maintaining the
    51.7 +original look and feel.
    51.8 +
    51.9 +DejaVu fonts are based on Bitstream Vera fonts version 1.10.
   51.10 +
   51.11 +This package contains 3 fonts:
   51.12 +
   51.13 +  * DejaVu Sans Mono
   51.14 +  * DejaVu Sans
   51.15 +  * DejaVu Sans Bold
    52.1 --- a/ttf-dejavu/description.txt	Fri Jun 09 09:36:44 2017 +0200
    52.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    52.3 @@ -1,12 +0,0 @@
    52.4 -The DejaVu fonts are a font family based on the [Bitstream Vera Fonts]
    52.5 -(http://gnome.org/fonts/). Its purpose is to provide a wider range of
    52.6 -characters (see status.txt for more information) while maintaining the
    52.7 -original look and feel.
    52.8 -
    52.9 -DejaVu fonts are based on Bitstream Vera fonts version 1.10.
   52.10 -
   52.11 -This package contains 3 fonts:
   52.12 -
   52.13 -  * DejaVu Sans Mono
   52.14 -  * DejaVu Sans
   52.15 -  * DejaVu Sans Bold
    53.1 --- a/ttf-dejavu/receipt	Fri Jun 09 09:36:44 2017 +0200
    53.2 +++ b/ttf-dejavu/receipt	Fri Jun 09 22:24:52 2017 +0300
    53.3 @@ -1,16 +1,16 @@
    53.4 -# SliTaz package receipt.
    53.5 +# SliTaz package receipt v2.
    53.6  
    53.7  PACKAGE="ttf-dejavu"
    53.8  VERSION="2.35"
    53.9  CATEGORY="fonts"
   53.10 -SHORT_DESC="DejaVu TrueType fonts (minimum)"
   53.11 -MAINTAINER="pankso@slitaz.org"
   53.12 +SHORT_DESC="DejaVu TrueType fonts"
   53.13 +MAINTAINER="al.bobylev@gmail.com"
   53.14  LICENSE="other"
   53.15  WEB_SITE="http://dejavu-fonts.org/"
   53.16 +HOST_ARCH="i486 arm"
   53.17 +
   53.18  TARBALL="dejavu-fonts-ttf-$VERSION.tar.bz2"
   53.19  WGET_URL="$SF_MIRROR/dejavu/$TARBALL"
   53.20 -TAGS="font"
   53.21 -HOST_ARCH="i486 arm"
   53.22  
   53.23  BUILD_DEPENDS="fontforge"
   53.24  SPLIT="ttf-dejavu-extra"
   53.25 @@ -18,12 +18,67 @@
   53.26  # Rules to configure and make the package.
   53.27  compile_rules()
   53.28  {
   53.29 -	. $stuff/compile.rules
   53.30 +	# Install/repack fonts
   53.31 +
   53.32 +	f=$install/usr/share/fonts/truetype/ttf-dejavu
   53.33 +	mkdir -p $f
   53.34 +	for font in $src/ttf/*.ttf; do
   53.35 +		a="$a\n$(printf "%-32s" $(basename $font .ttf)): $(ls -l $font | awk '{print $5}') B -> "
   53.36 +		echo "Processing $(basename $font):"
   53.37 +		# About FontForge scripting and this command, see:
   53.38 +		# https://fontforge.github.io/scripting-alpha.html#Generate
   53.39 +		fontforge -quiet -lang=ff -c 'Open($1); Generate($2,"",0x90)' \
   53.40 +			$font $f/$(basename $font)
   53.41 +		a="$a$(ls -l $f/$(basename $font) | awk '{print $5}') B"
   53.42 +		echo
   53.43 +	done
   53.44 +	echo -e "\nResults:\n========\n$a"
   53.45 +
   53.46 +	# Install available configurations
   53.47 +
   53.48 +	f=$install/usr/share/fontconfig/conf.avail
   53.49 +	mkdir -p $f
   53.50 +	cp $src/fontconfig/*.conf $f
   53.51 +
   53.52 +	tmp=$(mktemp)
   53.53 +
   53.54 +	# Strip *.conf files
   53.55 +	for i in $install/usr/share/fontconfig/conf.avail/*; do
   53.56 +		# <?xml version="1.0" encoding="UTF-8"?>
   53.57 +		sed -i 's| encoding="UTF-8"||' $i # remove needless encoding
   53.58 +		#  <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
   53.59 +		sed -i 's|\.\./||' $i # remove "../"
   53.60 +
   53.61 +		tr -d '\n' < $i | sed 's|[ \t][ \t]*| |g' | \
   53.62 +		sed 's|<!--|\n&|g; s|-->|&\n|g' | sed '/<!--/d' | \
   53.63 +		tr -d '\n' | sed 's|>  *<|><|g' > $tmp
   53.64 +		cat $tmp > $i
   53.65 +	done
   53.66 +
   53.67 +	rm $tmp
   53.68 +
   53.69 +	# Use the configurations
   53.70 +	f=$install/etc/fonts/conf.d
   53.71 +	mkdir -p $f
   53.72 +	for i in $src/fontconfig/*.conf; do
   53.73 +		ln -s /usr/share/fontconfig/conf.avail/$(basename $i) $f/$(basename $i)
   53.74 +	done
   53.75  }
   53.76  
   53.77  # Rules to gen a SliTaz package suitable for Tazpkg.
   53.78  genpkg_rules()
   53.79  {
   53.80 -	cook_copy_files DejaVuSans.ttf DejaVuSans-Bold.ttf DejaVuSansMono.ttf \
   53.81 -		*sans.conf *mono.conf
   53.82 +	case $PACKAGE in
   53.83 +		ttf-dejavu)
   53.84 +			copy DejaVuSans.ttf DejaVuSans-Bold.ttf DejaVuSansMono.ttf \
   53.85 +			*sans.conf *mono.conf
   53.86 +			TAGS="font"
   53.87 +			;;
   53.88 +		ttf-dejavu-extra)
   53.89 +			copy @std
   53.90 +			remove_already_packed
   53.91 +			CAT="fonts|extra font styles"
   53.92 +			TAGS="font"
   53.93 +			;;
   53.94 +	esac
   53.95  }
    54.1 --- a/ttf-dejavu/stuff/compile.rules	Fri Jun 09 09:36:44 2017 +0200
    54.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    54.3 @@ -1,52 +0,0 @@
    54.4 -#!/bin/sh
    54.5 -# Install/repack DejaVu fonts and conf files
    54.6 -# Aleksei Bobylev <al.bobylev@gmail.com>, 2016
    54.7 -
    54.8 -
    54.9 -# Install/repack fonts
   54.10 -
   54.11 -f=$install/usr/share/fonts/truetype/ttf-dejavu
   54.12 -mkdir -p $f
   54.13 -for font in $src/ttf/*.ttf; do
   54.14 -	a="$a\n$(printf "%-32s" $(basename $font .ttf)): $(ls -l $font | awk '{print $5}') B -> "
   54.15 -	echo "Processing $(basename $font):"
   54.16 -	# About FontForge scripting and this command, see:
   54.17 -	# https://fontforge.github.io/scripting-alpha.html#Generate
   54.18 -	fontforge -quiet -lang=ff -c 'Open($1); Generate($2,"",0x90)' \
   54.19 -		$font $f/$(basename $font)
   54.20 -	a="$a$(ls -l $f/$(basename $font) | awk '{print $5}') B"
   54.21 -	echo
   54.22 -done
   54.23 -echo -e "\nResults:\n========\n$a"
   54.24 -
   54.25 -
   54.26 -# Install available configurations
   54.27 -
   54.28 -f=$install/usr/share/fontconfig/conf.avail
   54.29 -mkdir -p $f
   54.30 -cp $src/fontconfig/*.conf $f
   54.31 -
   54.32 -tmp=$(mktemp)
   54.33 -
   54.34 -# Strip *.conf files
   54.35 -for i in $install/usr/share/fontconfig/conf.avail/*; do
   54.36 -	# <?xml version="1.0" encoding="UTF-8"?>
   54.37 -	sed -i 's| encoding="UTF-8"||' $i # remove needless encoding
   54.38 -	#  <!DOCTYPE fontconfig SYSTEM "../fonts.dtd">
   54.39 -	sed -i 's|\.\./||' $i # remove "../"
   54.40 -
   54.41 -	tr -d '\n' < $i | sed 's|[ \t][ \t]*| |g' | \
   54.42 -	sed 's|<!--|\n&|g; s|-->|&\n|g' | sed '/<!--/d' | \
   54.43 -	tr -d '\n' | sed 's|>  *<|><|g' > $tmp
   54.44 -	cat $tmp > $i
   54.45 -done
   54.46 -
   54.47 -rm $tmp
   54.48 -
   54.49 -
   54.50 -# Use the configurations
   54.51 -f=$install/etc/fonts/conf.d
   54.52 -mkdir -p $f
   54.53 -for i in $src/fontconfig/*.conf; do
   54.54 -	ln -s /usr/share/fontconfig/conf.avail/$(basename $i) $f/$(basename $i)
   54.55 -done
    55.1 --- a/ttf-roboto-base/receipt	Fri Jun 09 09:36:44 2017 +0200
    55.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    55.3 @@ -1,23 +0,0 @@
    55.4 -# SliTaz package receipt.
    55.5 -
    55.6 -PACKAGE="ttf-roboto-base"
    55.7 -VERSION="1.2"
    55.8 -CATEGORY="fonts"
    55.9 -SHORT_DESC="Android Roboto Fonts (base family)"
   55.10 -MAINTAINER="al.bobylev@gmail.com"
   55.11 -LICENSE="Apache"
   55.12 -WEB_SITE="http://developer.android.com/design/style/typography.html"
   55.13 -TARBALL="roboto-$VERSION.zip"
   55.14 -WGET_URL="http://developer.android.com/downloads/design/$TARBALL"
   55.15 -TAGS="font ttf"
   55.16 -
   55.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   55.18 -genpkg_rules()
   55.19 -{
   55.20 -	FONTPATH=$fs/usr/share/fonts/truetype/ttf-roboto
   55.21 -	mkdir -p $FONTPATH
   55.22 -
   55.23 -	for FONT in Regular Bold Italic BoldItalic; do
   55.24 -		install -Dm444 $src/Roboto_v$VERSION/Roboto/Roboto-$FONT.ttf $FONTPATH
   55.25 -	done
   55.26 -}
    56.1 --- a/ttf-roboto/receipt	Fri Jun 09 09:36:44 2017 +0200
    56.2 +++ b/ttf-roboto/receipt	Fri Jun 09 22:24:52 2017 +0300
    56.3 @@ -1,28 +1,42 @@
    56.4 -# SliTaz package receipt.
    56.5 +# SliTaz package receipt v2.
    56.6  
    56.7  PACKAGE="ttf-roboto"
    56.8 -VERSION="1.2"
    56.9 +VERSION="2.136"
   56.10  CATEGORY="fonts"
   56.11  SHORT_DESC="Android Roboto Fonts"
   56.12  MAINTAINER="al.bobylev@gmail.com"
   56.13  LICENSE="Apache"
   56.14 -WEB_SITE="http://developer.android.com/design/style/typography.html"
   56.15 -WANTED="ttf-roboto-base"
   56.16 -DEPENDS="ttf-roboto-base"
   56.17 -TAGS="font ttf"
   56.18 +WEB_SITE="https://fonts.google.com/specimen/Roboto"
   56.19 +
   56.20 +TARBALL="roboto-hinted-$VERSION.zip"
   56.21 +WGET_URL="https://github.com/google/roboto/releases/download/v$VERSION/roboto-hinted.zip"
   56.22 +
   56.23 +SPLIT="ttf-roboto-base ttf-roboto"
   56.24 +
   56.25 +# Rules to configure and make the package.
   56.26 +compile_rules()
   56.27 +{
   56.28 +	FONTPATH=$install/usr/share/fonts/truetype/ttf-roboto
   56.29 +	mkdir -p $FONTPATH
   56.30 +	install -Dm644 $src/*.ttf $FONTPATH
   56.31 +}
   56.32  
   56.33  # Rules to gen a SliTaz package suitable for Tazpkg.
   56.34  genpkg_rules()
   56.35  {
   56.36 -	FONTPATH=$fs/usr/share/fonts/truetype/ttf-roboto
   56.37 -	mkdir -p $FONTPATH
   56.38 -
   56.39 -	for FILE in $src/Roboto_v$VERSION/Roboto/*.ttf \
   56.40 -				$src/Roboto_v$VERSION/RobotoCondensed/*.ttf; do
   56.41 -		install -Dm444 $FILE $FONTPATH
   56.42 -	done
   56.43 -	# these files are included in the package ttf-roboto-base
   56.44 -	for FONT in Regular Bold Italic BoldItalic; do
   56.45 -		rm -f $FONTPATH/Roboto-$FONT.ttf
   56.46 -	done
   56.47 +	case $PACKAGE in
   56.48 +		ttf-roboto-base)
   56.49 +			copy Roboto-Regular.ttf Roboto-Bold.ttf Roboto-Italic.ttf \
   56.50 +			Roboto-BoldItalic.ttf
   56.51 +			CAT="fonts|base family"
   56.52 +			DEPENDS=" "
   56.53 +			TAGS="font ttf"
   56.54 +			;;
   56.55 +		ttf-roboto)
   56.56 +			copy @std
   56.57 +			remove_already_packed
   56.58 +			DEPENDS="ttf-roboto-base"
   56.59 +			TAGS="font ttf"
   56.60 +			;;
   56.61 +	esac
   56.62  }
    57.1 --- a/tzdata/receipt	Fri Jun 09 09:36:44 2017 +0200
    57.2 +++ b/tzdata/receipt	Fri Jun 09 22:24:52 2017 +0300
    57.3 @@ -1,7 +1,7 @@
    57.4 -# SliTaz package receipt.
    57.5 +# SliTaz package receipt v2.
    57.6  
    57.7  PACKAGE="tzdata"
    57.8 -VERSION="2017a"
    57.9 +VERSION="2017b"
   57.10  CATEGORY="base-system"
   57.11  SHORT_DESC="Time Zone Database"
   57.12  MAINTAINER="al.bobylev@gmail.com"
   57.13 @@ -12,9 +12,7 @@
   57.14  TARBALL="$PACKAGE$VERSION.tar.gz"
   57.15  WGET_URL="ftp://ftp.iana.org/tz/releases/$TARBALL"
   57.16  
   57.17 -DEPENDS="glibc"
   57.18 -# genpkg_rules expect some locale-* build tree
   57.19 -BUILD_DEPENDS="glibc-dev locale-fr"
   57.20 +BUILD_DEPENDS="glibc-dev"
   57.21  
   57.22  # Rules to configure and make the package.
   57.23  compile_rules()
   57.24 @@ -30,21 +28,27 @@
   57.25  
   57.26  	cp -a $src/zone.tab $src/zone1970.tab $src/iso3166.tab $ZONEINFO
   57.27  	zic -d $ZONEINFO -p America/New_York
   57.28 +
   57.29 +	docdir=$install/usr/share/doc/tzdata-$VERSION
   57.30 +	mkdir -p $docdir
   57.31 +	cp CONTRIBUTING LICENSE NEWS README Theory $docdir
   57.32  }
   57.33  
   57.34  # Rules to gen a SliTaz package suitable for Tazpkg.
   57.35  genpkg_rules()
   57.36  {
   57.37 -	cp -a $install/* $fs
   57.38 +	copy @std
   57.39  
   57.40  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
   57.41 +	i18n_ver=$(. $WOK/slitaz-i18n/receipt; echo $VERSION)
   57.42  	for locale in $LOCALE_PACK; do
   57.43 -		[ -d "$WOK/locale-$locale" ] || continue
   57.44 +		[ -d "$WOK/slitaz-i18n/taz/locale-$locale-$i18n_ver" ] || continue
   57.45  		echo "* Removing files provided by locale-$locale..."
   57.46 -		files=$(cat $WOK/locale-$locale/taz/locale-$locale-*/files.list | \
   57.47 +		files=$(cat $WOK/slitaz-i18n/taz/locale-$locale-$i18n_ver/files.list | \
   57.48  				grep /usr/share/zoneinfo/)
   57.49  		for file in $files; do
   57.50  			[ -e $fs/$file ] && rm -f $fs$file
   57.51  		done
   57.52  	done
   57.53 +	DEPENDS="glibc"
   57.54  }
    58.1 --- a/ucl-dev/receipt	Fri Jun 09 09:36:44 2017 +0200
    58.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    58.3 @@ -1,18 +0,0 @@
    58.4 -# SliTaz package receipt.
    58.5 -
    58.6 -PACKAGE="ucl-dev"
    58.7 -VERSION="1.03"
    58.8 -CATEGORY="development"
    58.9 -SHORT_DESC="ucl development files"
   58.10 -MAINTAINER="devl547@gmail.com"
   58.11 -LICENSE="GPL2"
   58.12 -WEB_SITE="http://www.oberhumer.com/opensource/ucl/"
   58.13 -
   58.14 -WANTED="ucl"
   58.15 -DEPENDS="ucl"
   58.16 -
   58.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
   58.18 -genpkg_rules()
   58.19 -{
   58.20 -	cook_copy_files *.h
   58.21 -}
    59.1 --- a/ucl/receipt	Fri Jun 09 09:36:44 2017 +0200
    59.2 +++ b/ucl/receipt	Fri Jun 09 22:24:52 2017 +0300
    59.3 @@ -1,4 +1,4 @@
    59.4 -# SliTaz package receipt.
    59.5 +# SliTaz package receipt v2.
    59.6  
    59.7  PACKAGE="ucl"
    59.8  VERSION="1.03"
    59.9 @@ -12,22 +12,26 @@
   59.10  WGET_URL="$WEB_SITE/download/$TARBALL"
   59.11  
   59.12  BUILD_DEPENDS="gfortran"
   59.13 +SPLIT="ucl-dev"
   59.14  
   59.15  # Rules to configure and make the package.
   59.16  compile_rules()
   59.17  {
   59.18 -	while read i; do
   59.19 -		patch -p1 -i $stuff/patches/$i
   59.20 -	done < $stuff/patches/series
   59.21 -
   59.22  	./configure \
   59.23  		--enable-shared \
   59.24  		$CONFIGURE_ARGS &&
   59.25  	make && make install
   59.26 +
   59.27 +	docdir=$install/usr/share/doc/ucl-$VERSION
   59.28 +	mkdir -p $docdir
   59.29 +	cp AUTHORS NEWS README THANKS TODO $docdir
   59.30  }
   59.31  
   59.32  # Rules to gen a SliTaz package suitable for Tazpkg.
   59.33  genpkg_rules()
   59.34  {
   59.35 -	cook_copy_files *.so*
   59.36 +	case $PACKAGE in
   59.37 +		ucl) copy @std;;
   59.38 +		*-dev) copy @dev;;
   59.39 +	esac
   59.40  }