wok-next rev 19853

Up cookutils, slitaz-configs, slitaz-tools, slitaz-tools-boxes, terminus-font.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 02 16:37:59 2017 +0300 (2017-09-02)
parents 77529bc3b589
children 4c0c885152f4
files cookutils/receipt slitaz-configs/receipt slitaz-tools-boxes/receipt slitaz-tools/receipt terminus-font-base/receipt terminus-font-base/stuff/ter-u14n.diff terminus-font/description.txt terminus-font/receipt
line diff
     1.1 --- a/cookutils/receipt	Fri Sep 01 13:09:05 2017 +0300
     1.2 +++ b/cookutils/receipt	Sat Sep 02 16:37:59 2017 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cookutils"
     1.7 -VERSION="962"
     1.8 +VERSION="965"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="SliTaz packages builder new generation"
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/slitaz-configs/receipt	Fri Sep 01 13:09:05 2017 +0300
     2.2 +++ b/slitaz-configs/receipt	Sat Sep 02 16:37:59 2017 +0300
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="slitaz-configs"
     2.7 -VERSION="300"
     2.8 +VERSION="309"
     2.9  CATEGORY="base-system"
    2.10  SHORT_DESC="SliTaz config files and artwork."
    2.11  MAINTAINER="pankso@slitaz.org"
     3.1 --- a/slitaz-tools-boxes/receipt	Fri Sep 01 13:09:05 2017 +0300
     3.2 +++ b/slitaz-tools-boxes/receipt	Sat Sep 02 16:37:59 2017 +0300
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="slitaz-tools-boxes"
     3.7 -VERSION="1022"
     3.8 +VERSION="1023"
     3.9  CATEGORY="system-tools"
    3.10  SHORT_DESC="All SliTaz GTK/Yad boxes to command line tools."
    3.11  MAINTAINER="pankso@slitaz.org"
     4.1 --- a/slitaz-tools/receipt	Fri Sep 01 13:09:05 2017 +0300
     4.2 +++ b/slitaz-tools/receipt	Sat Sep 02 16:37:59 2017 +0300
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="slitaz-tools"
     4.7 -VERSION="1022"
     4.8 +VERSION="1023"
     4.9  CATEGORY="system-tools"
    4.10  SHORT_DESC="SliTaz tools provide installer and utils usable on terminal."
    4.11  MAINTAINER="pankso@slitaz.org"
     5.1 --- a/terminus-font-base/receipt	Fri Sep 01 13:09:05 2017 +0300
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,40 +0,0 @@
     5.4 -# SliTaz package receipt.
     5.5 -
     5.6 -PACKAGE="terminus-font-base"
     5.7 -VERSION="4.40"
     5.8 -CATEGORY="system-tools"
     5.9 -SHORT_DESC="8x14 Unicode console font"
    5.10 -MAINTAINER="al.bobylev@gmail.com"
    5.11 -LICENSE="OFL"
    5.12 -WEB_SITE="http://terminus-font.sourceforge.net/"
    5.13 -SOURCE="terminus-font"
    5.14 -TARBALL="$SOURCE-$VERSION.tar.gz"
    5.15 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    5.16 -
    5.17 -DEPENDS=""
    5.18 -BUILD_DEPENDS="perl"
    5.19 -
    5.20 -# Rules to configure and make the package.
    5.21 -compile_rules()
    5.22 -{
    5.23 -	patch -i alt/dv1.diff || return 1
    5.24 -	patch -i alt/gq2.diff || return 1
    5.25 -	patch -i alt/ij1.diff || return 1
    5.26 -	patch -i alt/ll2.diff || return 1
    5.27 -	patch -i $stuff/ter-u14n.diff || return 1
    5.28 -	chmod +x ./configure
    5.29 -	./configure \
    5.30 -		--prefix=/usr \
    5.31 -		--psfdir=/usr/share/kbd/consolefonts \
    5.32 -		--x11dir=/usr/share/fonts/X11 &&
    5.33 -	make psf
    5.34 -}
    5.35 -
    5.36 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.37 -genpkg_rules()
    5.38 -{
    5.39 -	fontdir=$fs/usr/share/kbd/consolefonts
    5.40 -	mkdir -p $fontdir
    5.41 -	cp -a $src/ter-v14n.psf $fontdir
    5.42 -	gzip -9 $fontdir/*
    5.43 -}
     6.1 --- a/terminus-font-base/stuff/ter-u14n.diff	Fri Sep 01 13:09:05 2017 +0300
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,60 +0,0 @@
     6.4 ---- ./ter-u14n.bdf.orig
     6.5 -+++ ./ter-u14n.bdf
     6.6 -@@ -9572,2 +9571,0 @@
     6.7 --42
     6.8 --42
     6.9 -@@ -9574,0 +9573 @@
    6.10 -+46
    6.11 -@@ -9575,0 +9575 @@
    6.12 -+4A
    6.13 -@@ -9576,0 +9577 @@
    6.14 -+52
    6.15 -@@ -9577,0 +9579 @@
    6.16 -+62
    6.17 -@@ -9579,2 +9580,0 @@
    6.18 --42
    6.19 --42
    6.20 -@@ -9593,2 +9592,0 @@
    6.21 --42
    6.22 --42
    6.23 -@@ -9595,0 +9594 @@
    6.24 -+46
    6.25 -@@ -9596,0 +9596 @@
    6.26 -+4A
    6.27 -@@ -9597,0 +9598 @@
    6.28 -+52
    6.29 -@@ -9598,0 +9600 @@
    6.30 -+62
    6.31 -@@ -9600,2 +9601,0 @@
    6.32 --42
    6.33 --42
    6.34 -@@ -9634,2 +9634 @@
    6.35 --0E
    6.36 --12
    6.37 -+1E
    6.38 -@@ -9642,0 +9642 @@
    6.39 -+22
    6.40 -@@ -9874 +9874 @@
    6.41 --3F
    6.42 -+7F
    6.43 -@@ -9916 +9916 @@
    6.44 --7E
    6.45 -+FE
    6.46 -@@ -9937 +9937 @@
    6.47 --7F
    6.48 -+FF
    6.49 -@@ -10095 +10095 @@
    6.50 --00
    6.51 -+02
    6.52 -@@ -10105 +10105 @@
    6.53 --7C
    6.54 -+3C
    6.55 -@@ -10546 +10546 @@
    6.56 --3F
    6.57 -+7F
    6.58 -@@ -10588 +10588 @@
    6.59 --7E
    6.60 -+FE
    6.61 -@@ -10609 +10609 @@
    6.62 --7F
    6.63 -+FF
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/terminus-font/description.txt	Sat Sep 02 16:37:59 2017 +0300
     7.3 @@ -0,0 +1,4 @@
     7.4 +Monospaced font designed for long (8+ hours per day) work with computers.
     7.5 +Contains 1291 characters, supports about 120 language sets, many IBM, Windows
     7.6 +and Macintosh code pages, IBM VGA / vt100 / xterm pseudographic characters and
     7.7 +Esperanto.
     8.1 --- a/terminus-font/receipt	Fri Sep 01 13:09:05 2017 +0300
     8.2 +++ b/terminus-font/receipt	Sat Sep 02 16:37:59 2017 +0300
     8.3 @@ -1,24 +1,54 @@
     8.4 -# SliTaz package receipt.
     8.5 +# SliTaz package receipt v2.
     8.6  
     8.7  PACKAGE="terminus-font"
     8.8 -VERSION="4.40"
     8.9 +VERSION="4.46"
    8.10  CATEGORY="system-tools"
    8.11 -SHORT_DESC="Monospaced font designed for long (8+ hours per day) work with computers."
    8.12 +SHORT_DESC="Monospaced font designed for long work with computers"
    8.13  MAINTAINER="al.bobylev@gmail.com"
    8.14  LICENSE="OFL"
    8.15  WEB_SITE="http://terminus-font.sourceforge.net/"
    8.16 -WANTED="terminus-font-base"
    8.17  
    8.18 -DEPENDS="terminus-font-base"
    8.19 -BUILD_DEPENDS=""
    8.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    8.21 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    8.22 +
    8.23 +BUILD_DEPENDS="py3k xorg-bdftopcf patch"
    8.24 +SPLIT="terminus-font-x11 terminus-font-base terminus-font"
    8.25 +
    8.26 +# Rules to configure and make the package.
    8.27 +compile_rules()
    8.28 +{
    8.29 +	for i in dv1 gq2 ij1 ll2 br1; do
    8.30 +		[ -f "patch-$i.done" ] && continue
    8.31 +		echo "Applying patch alt/$i.diff"
    8.32 +		patch -Np1 -i alt/$i.diff 2>&1 | sed 's|^|  |'
    8.33 +		touch patch-$i.done
    8.34 +		echo
    8.35 +	done
    8.36 +
    8.37 +	./configure \
    8.38 +		--prefix=/usr \
    8.39 +		--psfdir=/usr/share/kbd/consolefonts \
    8.40 +		--x11dir=/usr/share/fonts/X11 &&
    8.41 +	make && make DESTDIR=$install install
    8.42 +}
    8.43  
    8.44  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.45  genpkg_rules()
    8.46  {
    8.47 -	fontdir=$fs/usr/share/kbd/consolefonts
    8.48 -	mkdir -p $fontdir
    8.49 -	cp -a $WOK/$WANTED/source/*/ter-v* $fontdir
    8.50 -	# provided in terminus-font-base
    8.51 -	rm -f $fontdir/ter-v14n.psf
    8.52 -	gzip -9 $fontdir/*
    8.53 +	case $PACKAGE in
    8.54 +		terminus-font-x11)
    8.55 +			copy *.pcf*
    8.56 +			CAT="x-window|Xorg pcf fonts"
    8.57 +			;;
    8.58 +		terminus-font-base)
    8.59 +			copy ter-v14n.*
    8.60 +			CAT="system-tools|8x14 console font"
    8.61 +			;;
    8.62 +		terminus-font)
    8.63 +			copy @std
    8.64 +			remove_already_packed
    8.65 +			CAT="system-tools|console fonts"
    8.66 +			DEPENDS="terminus-font-base"
    8.67 +			;;
    8.68 +	esac
    8.69  }