wok rev 18028

Add full icon sets: Elementary, Hydroxygen, and its SliTaz subsets. Add big dialog icons into "make-slitaz-icons".
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 07 15:57:40 2015 +0300 (2015-05-07)
parents 863f5e15a0cf
children 5e96d8818ac7
files elementaryicons/receipt hydroxygen-iconset/receipt make-slitaz-icons/receipt make-slitaz-icons/stuff/mksit.sh slitaz-icons-elementary/receipt slitaz-icons-hydroxygen/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/elementaryicons/receipt	Thu May 07 15:57:40 2015 +0300
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="elementaryicons"
     1.7 +VERSION="3.1"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Smooth modern theme designed to be intuitive"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="https://launchpad.net/elementaryicons"
    1.13 +TARBALL="$PACKAGE$VERSION.tar.gz"
    1.14 +WGET_URL="$WEB_SITE/${VERSION%%.*}.x/$VERSION/+download/$TARBALL"
    1.15 +
    1.16 +DEPENDS=""
    1.17 +BUILD_DEPENDS="wget cacerts"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	mkdir -p $install/usr/share/icons/elementary
    1.23 +	cp -a $src/* $install/usr/share/icons/elementary
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	cp -a $install/* $fs
    1.30 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/hydroxygen-iconset/receipt	Thu May 07 15:57:40 2015 +0300
     2.3 @@ -0,0 +1,94 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="hydroxygen-iconset"
     2.7 +VERSION="20090119"
     2.8 +CATEGORY="misc"
     2.9 +SHORT_DESC="GTK+ port of the KDE4 Oxygen icon theme"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="CC GPL"
    2.12 +WEB_SITE="http://deviantdark.deviantart.com/art/hydroxygen-iconset-100826865"
    2.13 +TARBALL="$PACKAGE-$VERSION.zip"
    2.14 +WGET_URL="http://fc04.deviantart.com/fs40/f/2009/019/8/7/hydroxygen_iconset_by_deviantdark.zip"
    2.15 +
    2.16 +DEPENDS=""
    2.17 +BUILD_DEPENDS=""
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	# Source Zip zrchive contains Tar.Bz2 archive inside
    2.23 +	echo 'Extract sources'
    2.24 +	busybox tar -xjf hydroxygen_iconset.tar.bz2 || return 1
    2.25 +	rm $src/*.tar.bz2
    2.26 +
    2.27 +	# Install all icons
    2.28 +	echo 'Install all icons'
    2.29 +	mkdir -p $install/usr/share/icons/hydroxygen
    2.30 +	cd $src/hydroxygen
    2.31 +	for i in $(ls -p | fgrep /) index.theme; do
    2.32 +		cp -a $src/hydroxygen/$i $install/usr/share/icons/hydroxygen
    2.33 +	done
    2.34 +
    2.35 +	# Stick to oxyblue style, remove other
    2.36 +	echo 'Remove styles'
    2.37 +	for i in acquamarine agua black blue brown darkgray deviantdark deviantlight \
    2.38 +		dust gray green manilla minium orange oxyacquamarine oxyblack oxygreen \
    2.39 +		oxyorange oxyred oxyviolet oxywhite pink red skyblue violet white yellow;
    2.40 +		do
    2.41 +		echo "  $i"
    2.42 +		find $install -type f -name "$i-*.png" -delete
    2.43 +		find $install -type f -name "*-$i.png" -delete
    2.44 +	done
    2.45 +	echo 'Apply oxyblue style'
    2.46 +	for i in $(find $install -type f -name 'oxyblue-*'); do
    2.47 +		mv -f $i ${i/oxyblue-/}
    2.48 +	done
    2.49 +
    2.50 +	# Remove alternatives
    2.51 +	echo 'Remove alternatives'
    2.52 +	F="$install/usr/share/icons/hydroxygen"
    2.53 +
    2.54 +	echo '  wicd'
    2.55 +	mv $F/128x128/apps/wicd-client01.png $F/128x128/apps/wicd-client.png
    2.56 +
    2.57 +	echo '  openoffice'
    2.58 +	find $install -type f \( -name 'ooo-*-default.png' -o \
    2.59 +		-name 'openofficeorg-*-default.png' \) -delete
    2.60 +	for i in $(find $install -type f \( -name 'ooo-*-new.png' -o \
    2.61 +		-name 'openofficeorg-*-new.png' \) ); do
    2.62 +		mv -f $i ${i/-new/}
    2.63 +	done
    2.64 +
    2.65 +	echo '  trash'
    2.66 +	for i in $(find $install -type f -name 'trashcan_full-new.png'); do
    2.67 +		mv -f $i ${i/-new/}
    2.68 +	done
    2.69 +
    2.70 +	echo '  arrows'
    2.71 +	find $install -type f -name 'minimal*' -delete
    2.72 +
    2.73 +	echo '  start-here'
    2.74 +	find $install -type f -name 'start-here-*' -delete
    2.75 +
    2.76 +	echo '  misc'
    2.77 +	for i in wicd-client user-trash trashcan_full amule emesene evolution \
    2.78 +		exaile filezilla firefox rhythmbox solfege sunbird thunderbird totem \
    2.79 +		applications-other; do
    2.80 +		find $install -type f \( -name "${i}0*.png" -o -name "${i}1*.png" -o \
    2.81 +		-name "$i-default.png" \) -delete
    2.82 +	done
    2.83 +
    2.84 +	# Fix permissions and ownersheep
    2.85 +	echo 'Fix permissions and ownersheep'
    2.86 +	find $install -type f -exec chmod u=rw,g=r,o=r \{\} \;
    2.87 +	find $install -type d -exec chmod u=rwx,g=rx,o=rx \{\} \;
    2.88 +	chown -R root:root $install
    2.89 +
    2.90 +	echo 'All done! ;-)'
    2.91 +}
    2.92 +
    2.93 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.94 +genpkg_rules()
    2.95 +{
    2.96 +	cp -a $install/* $fs
    2.97 +}
     3.1 --- a/make-slitaz-icons/receipt	Wed May 06 06:13:34 2015 -0400
     3.2 +++ b/make-slitaz-icons/receipt	Thu May 07 15:57:40 2015 +0300
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="make-slitaz-icons"
     3.7 -VERSION="20150417-2"
     3.8 +VERSION="150506"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="Make SliTaz icon theme"
    3.11  MAINTAINER="al.bobylev@gmail.com"
     4.1 --- a/make-slitaz-icons/stuff/mksit.sh	Wed May 06 06:13:34 2015 -0400
     4.2 +++ b/make-slitaz-icons/stuff/mksit.sh	Thu May 07 15:57:40 2015 +0300
     4.3 @@ -3,7 +3,7 @@
     4.4  # Aleksej Bobylev <al.bobylev@gmail.com>, 2014-2015
     4.5  # (Started in November 2014)
     4.6  
     4.7 -VERSION="150417-2"
     4.8 +VERSION="150506"
     4.9  
    4.10  . /lib/libtaz.sh
    4.11  
    4.12 @@ -772,6 +772,10 @@
    4.13  c user-trash-full			# PCManFM desktop
    4.14  c dialog-password			# tazbox su default icon
    4.15  c dialog-error				# tazbox su error icon
    4.16 +c dialog-information
    4.17 +c dialog-password
    4.18 +c dialog-question
    4.19 +c dialog-warning
    4.20  
    4.21  # LXPanel status icons
    4.22  SIZES="22"
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/slitaz-icons-elementary/receipt	Thu May 07 15:57:40 2015 +0300
     5.3 @@ -0,0 +1,26 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="slitaz-icons-elementary"
     5.7 +VERSION="3.1"
     5.8 +CATEGORY="misc"
     5.9 +SHORT_DESC="SliTaz icon set based on the elementary icons"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="GPL3"
    5.12 +WEB_SITE="http://www.slitaz.org/"
    5.13 +
    5.14 +WANTED="elementaryicons"
    5.15 +BUILD_DEPENDS="make-slitaz-icons"
    5.16 +
    5.17 +# Rules to compile and makethe package.
    5.18 +compile_rules() {
    5.19 +	mksit.sh \
    5.20 +		-f $install/usr/share/icons/elementary \
    5.21 +		-t $fs/usr/share/icons/SliTaz-Elementary \
    5.22 +		-opmax -nocolor
    5.23 +}
    5.24 +
    5.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.26 +genpkg_rules()
    5.27 +{
    5.28 +	:
    5.29 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/slitaz-icons-hydroxygen/receipt	Thu May 07 15:57:40 2015 +0300
     6.3 @@ -0,0 +1,26 @@
     6.4 +# SliTaz package receipt.
     6.5 +
     6.6 +PACKAGE="slitaz-icons-hydroxygen"
     6.7 +VERSION="20090119"
     6.8 +CATEGORY="misc"
     6.9 +SHORT_DESC="SliTaz icon set based on the Hydroxygen icons"
    6.10 +MAINTAINER="al.bobylev@gmail.com"
    6.11 +LICENSE="CC GPL"
    6.12 +WEB_SITE="http://www.slitaz.org/"
    6.13 +
    6.14 +WANTED="hydroxygen-iconset"
    6.15 +BUILD_DEPENDS="make-slitaz-icons"
    6.16 +
    6.17 +# Rules to compile and makethe package.
    6.18 +compile_rules() {
    6.19 +	mksit.sh \
    6.20 +		-f $install/usr/share/icons/hydroxygen \
    6.21 +		-t $fs/usr/share/icons/SliTaz-Hydroxygen \
    6.22 +		-opmax -nocolor
    6.23 +}
    6.24 +
    6.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    6.26 +genpkg_rules()
    6.27 +{
    6.28 +	:
    6.29 +}