wok rev 22715

updated faenza-icon-theme and faenza-icon-theme-emblems (1.3 -> 1.3.1)
author Hans-G?nter Theisgen
date Wed Jan 22 14:36:07 2020 +0100 (2020-01-22)
parents 7890eb85b2c0
children 0e79c8136e60
files faenza-icon-theme-emblems/receipt faenza-icon-theme/receipt
line diff
     1.1 --- a/faenza-icon-theme-emblems/receipt	Wed Jan 22 13:31:32 2020 +0100
     1.2 +++ b/faenza-icon-theme-emblems/receipt	Wed Jan 22 14:36:07 2020 +0100
     1.3 @@ -1,39 +1,43 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="faenza-icon-theme-emblems"
     1.7 -VERSION="1.3"
     1.8 +VERSION="1.3.1"
     1.9  CATEGORY="customization"
    1.10 -SHORT_DESC="Faenza icon theme (emblems)"
    1.11 +SHORT_DESC="Faenza icon theme (emblems)."
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL3"
    1.14 -WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
    1.15 +WEB_SITE="https://deviantart.com/tiheum/art/Faenza-Icons-173323228"
    1.16  
    1.17 +DEPENDS="faenza-icon-theme"
    1.18  WANTED="faenza-icon-theme"
    1.19 -DEPENDS="faenza-icon-theme"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/share/icons
    1.25 -	cd $fs/usr/share/icons
    1.26 -	tar xf $src/Faenza.tar.gz Faenza/emblems
    1.27 +	mkdir -p $fs/usr/share/icons/Faenza
    1.28 +	cd	$fs/usr/share/icons/Faenza
    1.29 +	cp -a $src/Faenza/emblems	.
    1.30 +
    1.31  	# remove big sizes and scalable
    1.32  	rm -rf $(find . -type d -regex '.*/\(64\|96\|scalable\)')
    1.33  	# SliTaz locale settings
    1.34  	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    1.35 +
    1.36  	cd $fs/usr/share/icons/Faenza/emblems/16
    1.37 -	for icon in $(ls -1 *.icon); do
    1.38 -		CONTENT=$(cat $icon);
    1.39 -		echo "[Icon Data]" > $icon;
    1.40 -		echo "$CONTENT" | grep 'DisplayName=' >> $icon;
    1.41 -		for lang in $LOCALE_PACK; do
    1.42 -			echo "$CONTENT" | fgrep "DisplayName["$lang"]=" >> $icon;
    1.43 -			for size in 22 24 32 48; do
    1.44 +	for icon in $(ls -1 *.icon)
    1.45 +	  do
    1.46 +		CONTENT=$(cat $icon)
    1.47 +		echo "[Icon Data]" > $icon
    1.48 +		echo "$CONTENT" | grep 'DisplayName=' >> $icon
    1.49 +		for lang in $LOCALE_PACK
    1.50 +		  do
    1.51 +			echo "$CONTENT" | fgrep "DisplayName["$lang"]=" >> $icon
    1.52 +			for size in 22 24 32 48
    1.53 +			  do
    1.54  				rm -f ../$size/$icon
    1.55  				ln -s ../16/$icon ../$size/$icon
    1.56 -			done
    1.57 -		done
    1.58 -	done
    1.59 +			  done
    1.60 +		  done
    1.61 +	  done
    1.62  	true
    1.63  }
    1.64 -
     2.1 --- a/faenza-icon-theme/receipt	Wed Jan 22 13:31:32 2020 +0100
     2.2 +++ b/faenza-icon-theme/receipt	Wed Jan 22 14:36:07 2020 +0100
     2.3 @@ -1,42 +1,53 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="faenza-icon-theme"
     2.7 -VERSION="1.3"
     2.8 +VERSION="1.3.1"
     2.9  CATEGORY="customization"
    2.10 -SHORT_DESC="Faenza icon theme"
    2.11 +SHORT_DESC="Faenza icon theme."
    2.12  MAINTAINER="al.bobylev@gmail.com"
    2.13  LICENSE="GPL3"
    2.14 -TARBALL="${PACKAGE}_$VERSION.zip"
    2.15 -WEB_SITE="http://tiheum.deviantart.com/art/Faenza-Icons-173323228"
    2.16 +WEB_SITE="https://deviantart.com/tiheum/art/Faenza-Icons-173323228"
    2.17 +
    2.18 +TARBALL="${PACKAGE}_$VERSION.tar.gz"
    2.19  WGET_URL="http://dl.dropbox.com/u/9966975/$TARBALL"
    2.20 -HOST_ARCH="any"
    2.21 +WGET_URL="http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/$PACKAGE/$TARBALL"
    2.22  
    2.23  DEPENDS=""
    2.24  
    2.25 +HOST_ARCH="any"
    2.26 +
    2.27  # Rules to configure and make the package.
    2.28  compile_rules()
    2.29  {
    2.30  	mkdir -p $install/usr/share/icons
    2.31  	cd $install/usr/share/icons
    2.32 -	tar xf $src/Faenza.tar.gz
    2.33 -	tar xf $src/Faenza-Dark.tar.gz
    2.34 -	tar xf $src/Faenza-Darkest.tar.gz
    2.35 -	tar xf $src/Faenza-Darker.tar.gz
    2.36 +#	tar xf $src/Faenza.tar.gz
    2.37 +#	tar xf $src/Faenza-Dark.tar.gz
    2.38 +#	tar xf $src/Faenza-Darkest.tar.gz
    2.39 +#	tar xf $src/Faenza-Darker.tar.gz
    2.40 +	cp	$src/Faenza		.
    2.41 +	cp	$src/Faenza-Dark	.
    2.42 +	cp	$src/Faenza-Darker	.
    2.43 +	cp	$src/Faenza-Darkest	.
    2.44  }
    2.45  
    2.46  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.47  genpkg_rules()
    2.48  {
    2.49 -	cp -a $install/* $fs
    2.50 +	cp -a $install/*	$fs
    2.51 +
    2.52  	# remove big sizes and scalable
    2.53  	rm -rf $(find $fs -type d -regex '.*/\(64\|96\|scalable\)')
    2.54 +
    2.55  	# remove emblems and extras
    2.56  	rm -rf $(find $fs -type d -regex '.*/\(emblems\|extras\)')
    2.57  	# sed -i '/Directories=/ s/\(.+\)\(,actions\/64.*\)/\1/' Faenza/index.theme
    2.58  
    2.59 -	for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker; do
    2.60 -		cp -f $stuff/${name}-index.theme $fs/usr/share/icons/${name}/index.theme
    2.61 -	done
    2.62 +	for name in Faenza Faenza-Dark Faenza-Darkest Faenza-Darker
    2.63 +	  do
    2.64 +		cp -f $stuff/${name}-index.theme \
    2.65 +				$fs/usr/share/icons/${name}/index.theme
    2.66 +	  done
    2.67  }
    2.68  
    2.69  qtfix='/usr/share/icons/hicolor/index.theme'