wok rev 22338

remove x11vnc-extra
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 15 18:28:42 2019 +0100 (3 weeks ago)
parents 6a937d641b10
children 941f4a0a3594
files iptables-template/receipt noto-mono/receipt noto-sans/receipt noto-serif/receipt qt4-examples/receipt vmware-view-open-client/receipt x11vnc-extra/receipt
line diff
     1.1 --- a/iptables-template/receipt	Fri Nov 15 17:18:01 2019 +0100
     1.2 +++ b/iptables-template/receipt	Fri Nov 15 18:28:42 2019 +0100
     1.3 @@ -7,7 +7,9 @@
     1.4  MAINTAINER="pascal.bellard@slitaz.org"
     1.5  LICENSE="MIT"
     1.6  WEB_SITE="https://gist.github.com/jirutka/3742890"
     1.7 -EXTRA_SOURCE_FILES="rules-both.iptables rules-ipv4.iptables rules-ipv6.ip6tables"
     1.8 +TARBALL="rules-both.iptables"
     1.9 +WGET_URL="$WEB_SITE/raw/c025b0b8c58af49aa9644982c459314c9adba157/$TARBALL"
    1.10 +EXTRA_SOURCE_FILES="rules-ipv4.iptables rules-ipv6.ip6tables"
    1.11  
    1.12  BUILD_DEPENDS="wget"
    1.13  
    1.14 @@ -15,13 +17,13 @@
    1.15  compile_rules()
    1.16  {
    1.17  	mkdir -p $install/usr/share/iptables
    1.18 +	cp rules-both.iptables $install/usr/share/iptables
    1.19  	while read dir file ; do
    1.20  		[ -s "$SOURCES_REPOSITORY/$file" ] ||
    1.21  			wget --no-check-certificate -P $SOURCES_REPOSITORY \
    1.22  				$WEB_SITE/raw/$dir/$file
    1.23  		cp $SOURCES_REPOSITORY/$file $install/usr/share/iptables/
    1.24  	done <<EOT
    1.25 -c025b0b8c58af49aa9644982c459314c9adba157 rules-both.iptables
    1.26  622104b0e46e0e7134a69bb7ce24850943b8d2a7 rules-ipv4.iptables
    1.27  3b92a873bf750a6df32331657c641078adc5906e rules-ipv6.ip6tables
    1.28  EOT
     2.1 --- a/noto-mono/receipt	Fri Nov 15 17:18:01 2019 +0100
     2.2 +++ b/noto-mono/receipt	Fri Nov 15 18:28:42 2019 +0100
     2.3 @@ -8,6 +8,9 @@
     2.4  MAINTAINER="al.bobylev@gmail.com"
     2.5  LICENSE="OFL"
     2.6  WEB_SITE="http://www.google.com/get/noto/"
     2.7 +font=Regular
     2.8 +TARBALL="NotoMono-$font-$VERSION.ttf"
     2.9 +WGET_URL="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/NotoMono-$font.ttf"
    2.10  TAGS="font"
    2.11  
    2.12  # Rules to configure and make the package.
    2.13 @@ -22,19 +25,9 @@
    2.14  	# This commit "5329592" introduced "NotoMono-*" font version "1.00":
    2.15  	# https://github.com/googlei18n/noto-fonts/commit/5329592b9d0fee9fc8e462b328884a011811ff2c
    2.16  
    2.17 -	mkdir -p $src
    2.18 -	for font in Regular; do
    2.19 -		 get_file="NotoMono-$font.ttf"
    2.20 -		save_file="NotoMono-$font-$VERSION.ttf"
    2.21 -		url="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/$get_file"
    2.22 -		[ -e "$SRC/$save_file" ] || wget -T 30 -O "$SRC/$save_file" $url
    2.23 -		[ -e "$SRC/$save_file" ] || exit 1
    2.24 -		cp "$SRC/$save_file" "$src/$get_file"
    2.25 -	done
    2.26 -
    2.27  	f=$install/usr/share/fonts/truetype/noto
    2.28  	mkdir -p $f
    2.29 -	cp -a $src/*.ttf $f
    2.30 +	cp -a $src/*.ttf $f/NotoMono-Regular.ttf
    2.31  }
    2.32  
    2.33  # Rules to gen a SliTaz package suitable for Tazpkg.
     3.1 --- a/noto-sans/receipt	Fri Nov 15 17:18:01 2019 +0100
     3.2 +++ b/noto-sans/receipt	Fri Nov 15 18:28:42 2019 +0100
     3.3 @@ -8,6 +8,10 @@
     3.4  MAINTAINER="al.bobylev@gmail.com"
     3.5  LICENSE="OFL"
     3.6  WEB_SITE="http://www.google.com/get/noto/"
     3.7 +font=Regular
     3.8 +TARBALL="NotoSans-$font-$VERSION.ttf"
     3.9 +EXTRA_SOURCE_FILES="NotoSans-Bold-$VERSION.ttf NotoSans-Italic-$VERSION.ttf NotoSans-BoldItalic-$VERSION.ttf"
    3.10 +WGET_URL="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/NotoSans-$font.ttf"
    3.11  TAGS="font"
    3.12  
    3.13  SIBLINGS="noto-serif"
    3.14 @@ -27,8 +31,8 @@
    3.15  	# This commit "ad153f5" bumped version of "NotoSans-*" fonts to "1.06":
    3.16  	# https://github.com/googlei18n/noto-fonts/commit/ad153f5a14c838afb16c83f0a02784c7605f1e21
    3.17  
    3.18 -	mkdir -p $src
    3.19 -	for font in Regular Bold Italic BoldItalic; do
    3.20 +	mv $TARBALL NotoSans-Regular.ttf
    3.21 +	for font in Bold Italic BoldItalic; do
    3.22  		 get_file="NotoSans-$font.ttf"
    3.23  		save_file="NotoSans-$font-$VERSION.ttf"
    3.24  		url="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/$get_file"
     4.1 --- a/noto-serif/receipt	Fri Nov 15 17:18:01 2019 +0100
     4.2 +++ b/noto-serif/receipt	Fri Nov 15 18:28:42 2019 +0100
     4.3 @@ -8,6 +8,10 @@
     4.4  MAINTAINER="al.bobylev@gmail.com"
     4.5  LICENSE="OFL"
     4.6  WEB_SITE="http://www.google.com/get/noto/"
     4.7 +font=Regular
     4.8 +TARBALL="NotoSerif-$font-$VERSION.ttf"
     4.9 +EXTRA_SOURCE_FILES="NotoSerif-Bold-$VERSION.ttf NotoSerif-Italic-$VERSION.ttf NotoSerif-BoldItalic-$VERSION.ttf"
    4.10 +WGET_URL="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/NotoSerif-$font.ttf"
    4.11  TAGS="font"
    4.12  
    4.13  SIBLINGS="noto-serif"
    4.14 @@ -28,10 +32,10 @@
    4.15  	# (NotoSerif-Italic was bumped to 1.07):
    4.16  	# https://github.com/googlei18n/noto-fonts/commit/0af3d5fd0830eaeb1825044b2f4c04125eacf08f
    4.17  
    4.18 -	mkdir -p $src
    4.19 -	for variant in Regular Bold Italic BoldItalic; do
    4.20 -		 get_file="NotoSerif-$variant.ttf"
    4.21 -		save_file="NotoSerif-$variant-$VERSION.ttf"
    4.22 +	mv $TARBALL NotoSerif-Regular.ttf
    4.23 +	for font in Bold Italic BoldItalic; do
    4.24 +		 get_file="NotoSerif-$font.ttf"
    4.25 +		save_file="NotoSerif-$font-$VERSION.ttf"
    4.26  		url="https://github.com/googlei18n/noto-fonts/raw/$COMMIT/hinted/$get_file"
    4.27  		[ -e "$SRC/$save_file" ] || wget -T 30 -O "$SRC/$save_file" $url
    4.28  		[ -e "$SRC/$save_file" ] || exit 1
     5.1 --- a/qt4-examples/receipt	Fri Nov 15 17:18:01 2019 +0100
     5.2 +++ b/qt4-examples/receipt	Fri Nov 15 18:28:42 2019 +0100
     5.3 @@ -7,6 +7,7 @@
     5.4  MAINTAINER="psychomaniak@xakep.ru"
     5.5  LICENSE="GPL3 LGPL2.1"
     5.6  WEB_SITE="http://qt-project.org/"
     5.7 +WANTED="qt4"
     5.8  TAGS="qt"
     5.9  
    5.10  DEPENDS="libQtCore libQtGui"
    5.11 @@ -15,19 +16,19 @@
    5.12  # Rules to configure and make the package.
    5.13  compile_rules()
    5.14  {
    5.15 -	mkdir -p $install/usr/bin $install/usr/share/applications
    5.16 +	mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/applications
    5.17  
    5.18  	for i in desktop/screenshot dialogs/findfiles widgets/charactermap;
    5.19  	do
    5.20 -                ii=$(basename $i) && cd $WOK/qt4/source/qt4-$VERSION/examples/$i
    5.21 +                ii=$(basename $i) && cd $WANTED/examples/$i
    5.22  		rm -rf Makefile moc* *.o
    5.23  		qmake	$ii.pro
    5.24  		sed 's|-O2|'"$CFLAGS"'|' -i Makefile
    5.25  		make $MAKEFLAGS &&
    5.26  		install $ii $DESTDIR/usr/bin
    5.27  		install $ii.desktop $DESTDIR/usr/share/applications
    5.28 -		find $install -name $ii.desktop \
    5.29 -		-exec echo 'Categories=Utility;'>>$install/usr/share/applications/$ii.desktop \; \
    5.30 +		find $DESTDIR -name $ii.desktop \
    5.31 +		-exec echo 'Categories=Utility;'>>$DESTDIR/usr/share/applications/$ii.desktop \; \
    5.32  		-exec sed 's|/opt/|/|g' -i {} \;
    5.33  	done
    5.34  }
     6.1 --- a/vmware-view-open-client/receipt	Fri Nov 15 17:18:01 2019 +0100
     6.2 +++ b/vmware-view-open-client/receipt	Fri Nov 15 18:28:42 2019 +0100
     6.3 @@ -9,6 +9,7 @@
     6.4  LICENSE="LGPL2.1"
     6.5  TARBALL="$SOURCE-$VERSION.tar.gz"
     6.6  WEB_SITE="https://github.com/dontsueme/vmware-view-open-client"
     6.7 +WGET_URL="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
     6.8  
     6.9  DEPENDS="gtk+ libssl libxml2 curl libboost-signals icu bzlib"
    6.10  BUILD_DEPENDS="gtk+-dev openssl-dev libxml2-dev curl-dev libboost-dev \
     7.1 --- a/x11vnc-extra/receipt	Fri Nov 15 17:18:01 2019 +0100
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,27 +0,0 @@
     7.4 -# SliTaz package receipt.
     7.5 -
     7.6 -PACKAGE="x11vnc-extra"
     7.7 -VERSION="0.9.16"
     7.8 -CATEGORY="network"
     7.9 -SHORT_DESC="java VNC viewer"
    7.10 -MAINTAINER="pascal.bellard@slitaz.org"
    7.11 -LICENSE="GPL2"
    7.12 -WEB_SITE="http://www.karlrunge.com/x11vnc/"
    7.13 -WANTED="x11vnc"
    7.14 -TAGS="vnc"
    7.15 -HOST_ARCH="i486 arm"
    7.16 -
    7.17 -DEPENDS="x11vnc"
    7.18 -
    7.19 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.20 -genpkg_rules()
    7.21 -{
    7.22 -	mkdir -p $fs/usr/share
    7.23 -	cp -a $install/usr/share/x11vnc $fs/usr/share
    7.24 -}
    7.25 -
    7.26 -# Post install/remove commands for Tazpkg.
    7.27 -post_install()
    7.28 -{
    7.29 -	sed -i 's/X11VNC_OPTIONS="/X11VNC_OPTIONS="-ssl -http /' "$1/etc/daemons.conf"
    7.30 -}