wok rev 18055

Add: xcursor-aero, xcursor-comix, xcursor-human, xcursor-obsidian.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 15 16:33:39 2015 +0300 (2015-05-15)
parents 3cb07d9f8793
children 4fe6f820c1f6
files gweled/description.txt xcursor-aero/receipt xcursor-comix/description.txt xcursor-comix/receipt xcursor-human/receipt xcursor-human/stuff/index.theme xcursor-human/stuff/symdup.sh xcursor-obsidian/receipt xcursor-obsidian/stuff/symdup.sh
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gweled/description.txt	Fri May 15 16:33:39 2015 +0300
     1.3 @@ -0,0 +1,6 @@
     1.4 +A puzzle game similar to "Bejeweled" or "Diamond Mine"
     1.5 +
     1.6 +Gweled is a GTK+ version of a popular PalmOS/Windows/Java game called
     1.7 +"Bejeweled", originally written by Sebastien Delestaing. The aim of the game is
     1.8 +to make alignment of 3 or more gems, both vertically or horizontally by swapping
     1.9 +adjacent gems. The game ends when there are no possible moves left.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/xcursor-aero/receipt	Fri May 15 16:33:39 2015 +0300
     2.3 @@ -0,0 +1,22 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="xcursor-aero"
     2.7 +VERSION="0.2"
     2.8 +CATEGORY="x-window"
     2.9 +SHORT_DESC="Aero cursor theme"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL"
    2.12 +WEB_SITE="http://www.xfce-look.org/content/show.php/Aero+Mouse+Cursors+with+Drop+Shadow?content=67833"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WGET_URL="http://www.infinality.net/files/aero.tar.gz"
    2.15 +TAGS="cursor-theme"
    2.16 +
    2.17 +DEPENDS="xorg-libXcursor"
    2.18 +BUILD_DEPENDS=""
    2.19 +
    2.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.21 +genpkg_rules()
    2.22 +{
    2.23 +	mkdir -p $fs/usr/share/icons/aero
    2.24 +	cp -a $src/* $fs/usr/share/icons/aero
    2.25 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/xcursor-comix/description.txt	Fri May 15 16:33:39 2015 +0300
     3.3 @@ -0,0 +1,20 @@
     3.4 +The original Comix Cursors.
     3.5 +
     3.6 +X11 mouse theme with a comics feeling.
     3.7 +The package comes with 12 different mouse themes for X11.
     3.8 +6 colors (black, blue, green, orange, red and white)
     3.9 +2 different weights (slim and normal)
    3.10 +
    3.11 +From version 0.8 on the cursors are 'multisize', meaning that you don't need to
    3.12 +install one theme for each size, but only one theme, and chose the size in the
    3.13 +cursor theme selection dialog.
    3.14 +
    3.15 +The full installation also includes left-handed themes, you can choose whatever
    3.16 +you prefer from the downloads below.
    3.17 +
    3.18 +
    3.19 +The cursors are named according to the freedesktop.org cursor naming convention,
    3.20 +compatibility and hash cursor names are linked. In addition to the original
    3.21 +cursor pack left-handed and opaque versions are still available here.
    3.22 +
    3.23 +ComixCursors come in sizes 32, 40, 48 and 64.
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/xcursor-comix/receipt	Fri May 15 16:33:39 2015 +0300
     4.3 @@ -0,0 +1,22 @@
     4.4 +# SliTaz package receipt.
     4.5 +
     4.6 +PACKAGE="xcursor-comix"
     4.7 +VERSION="0.8.2"
     4.8 +CATEGORY="x-window"
     4.9 +SHORT_DESC="Comix cursor theme"
    4.10 +MAINTAINER="al.bobylev@gmail.com"
    4.11 +LICENSE="GPL"
    4.12 +WEB_SITE="http://www.kde-look.org/content/show.php/ComixCursors?content=32627"
    4.13 +TARBALL="ComixCursors-$VERSION.tar.bz2"
    4.14 +WGET_URL="http://www.limitland.de/downloads/comixcursors/$TARBALL"
    4.15 +TAGS="cursor-theme"
    4.16 +
    4.17 +DEPENDS="xorg-libXcursor"
    4.18 +BUILD_DEPENDS=""
    4.19 +
    4.20 +# Rules to gen a SliTaz package suitable for Tazpkg.
    4.21 +genpkg_rules()
    4.22 +{
    4.23 +	mkdir -p $fs/usr/share/icons
    4.24 +	cp -a $src/* $fs/usr/share/icons
    4.25 +}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/xcursor-human/receipt	Fri May 15 16:33:39 2015 +0300
     5.3 @@ -0,0 +1,31 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="xcursor-human"
     5.7 +VERSION="0.6"
     5.8 +CATEGORY="x-window"
     5.9 +SHORT_DESC="Human cursor theme"
    5.10 +MAINTAINER="al.bobylev@gmail.com"
    5.11 +LICENSE="CC-ASA"
    5.12 +WEB_SITE="https://launchpad.net/human-cursors-theme/"
    5.13 +TARBALL="human-cursors-theme_$VERSION.tar.gz"
    5.14 +WGET_URL="https://launchpad.net/ubuntu/+archive/primary/+files/$TARBALL"
    5.15 +TAGS="cursor-theme"
    5.16 +
    5.17 +DEPENDS="xorg-libXcursor"
    5.18 +BUILD_DEPENDS="wget cacerts python symlinks"
    5.19 +
    5.20 +# Rules to configure and make the package.
    5.21 +compile_rules()
    5.22 +{
    5.23 +	python setup.py install --prefix=/usr --root="$install" --optimize=1
    5.24 +	rm -rf "$install/usr/lib"
    5.25 +	. $stuff/symdup.sh
    5.26 +}
    5.27 +
    5.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    5.29 +genpkg_rules()
    5.30 +{
    5.31 +	cp -a $install/* $fs
    5.32 +	rm -r $fs/usr/share/themes
    5.33 +	cp $stuff/index.theme $fs/usr/share/icons/Human
    5.34 +}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/xcursor-human/stuff/index.theme	Fri May 15 16:33:39 2015 +0300
     6.3 @@ -0,0 +1,3 @@
     6.4 +[Icon Theme]
     6.5 +Name=Human
     6.6 +Comment=The Human Cursor Theme
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/xcursor-human/stuff/symdup.sh	Fri May 15 16:33:39 2015 +0300
     7.3 @@ -0,0 +1,23 @@
     7.4 +# substitute repeated files by symlinks
     7.5 +md5file=$(mktemp)
     7.6 +find $install -type f -exec md5sum {} \; | sort > $md5file
     7.7 +
     7.8 +for md in $(uniq -d -w32 $md5file | cut -c1-32); do
     7.9 +	# group of similar files
    7.10 +	similar="$(grep $md $md5file | cut -c35-)"
    7.11 +
    7.12 +	# find shortest filename
    7.13 +	shortest=$(echo "$similar" | cut -d' ' -f1)
    7.14 +	for line in $(echo $similar); do
    7.15 +		[ "${#line}" -lt "${#shortest}" ] && shortest="$line"
    7.16 +	done
    7.17 +
    7.18 +	# make symlinks to the file with shortest filename
    7.19 +	for file in $similar; do
    7.20 +		[ "$shortest" != "$file" ] && ln -sf $shortest $file
    7.21 +	done
    7.22 +done
    7.23 +rm "$md5file"
    7.24 +
    7.25 +# make all symlinks relative
    7.26 +symlinks -crs $install
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/xcursor-obsidian/receipt	Fri May 15 16:33:39 2015 +0300
     8.3 @@ -0,0 +1,29 @@
     8.4 +# SliTaz package receipt.
     8.5 +
     8.6 +PACKAGE="xcursor-obsidian"
     8.7 +VERSION="1.0"
     8.8 +CATEGORY="x-window"
     8.9 +SHORT_DESC="Obsidian cursor theme"
    8.10 +MAINTAINER="al.bobylev@gmail.com"
    8.11 +LICENSE="GPL"
    8.12 +WEB_SITE="http://www.gnome-look.org/content/show.php/Obsidian+Cursors?content=73135"
    8.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    8.14 +WGET_URL="http://www.gnome-look.org/CONTENT/content-files/73135-Obsidian.tar.bz2"
    8.15 +TAGS="cursor-theme"
    8.16 +
    8.17 +DEPENDS="xorg-libXcursor"
    8.18 +BUILD_DEPENDS="symlinks"
    8.19 +
    8.20 +# Rules to configure and make the package.
    8.21 +compile_rules()
    8.22 +{
    8.23 +	mkdir -p $install/usr/share/icons/Obsidian
    8.24 +	cp -a $src/cursors $src/index.theme $install/usr/share/icons/Obsidian
    8.25 +	. $stuff/symdup.sh
    8.26 +}
    8.27 +
    8.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    8.29 +genpkg_rules()
    8.30 +{
    8.31 +	cp -a $install/* $fs
    8.32 +}
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/xcursor-obsidian/stuff/symdup.sh	Fri May 15 16:33:39 2015 +0300
     9.3 @@ -0,0 +1,23 @@
     9.4 +# substitute repeated files by symlinks
     9.5 +md5file=$(mktemp)
     9.6 +find $install -type f -exec md5sum {} \; | sort > $md5file
     9.7 +
     9.8 +for md in $(uniq -d -w32 $md5file | cut -c1-32); do
     9.9 +	# group of similar files
    9.10 +	similar="$(grep $md $md5file | cut -c35-)"
    9.11 +
    9.12 +	# find shortest filename
    9.13 +	shortest=$(echo "$similar" | cut -d' ' -f1)
    9.14 +	for line in $(echo $similar); do
    9.15 +		[ "${#line}" -lt "${#shortest}" ] && shortest="$line"
    9.16 +	done
    9.17 +
    9.18 +	# make symlinks to the file with shortest filename
    9.19 +	for file in $similar; do
    9.20 +		[ "$shortest" != "$file" ] && ln -sf $shortest $file
    9.21 +	done
    9.22 +done
    9.23 +rm "$md5file"
    9.24 +
    9.25 +# make all symlinks relative
    9.26 +symlinks -crs $install