# HG changeset patch # User Aleksej Bobylev # Date 1431696819 -10800 # Node ID 54f24b7a2dbafddf8b5405dfd8ef439572112717 # Parent 3cb07d9f8793dcecb77bf01e007bc6be95b481e7 Add: xcursor-aero, xcursor-comix, xcursor-human, xcursor-obsidian. diff -r 3cb07d9f8793 -r 54f24b7a2dba gweled/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gweled/description.txt Fri May 15 16:33:39 2015 +0300 @@ -0,0 +1,6 @@ +A puzzle game similar to "Bejeweled" or "Diamond Mine" + +Gweled is a GTK+ version of a popular PalmOS/Windows/Java game called +"Bejeweled", originally written by Sebastien Delestaing. The aim of the game is +to make alignment of 3 or more gems, both vertically or horizontally by swapping +adjacent gems. The game ends when there are no possible moves left. diff -r 3cb07d9f8793 -r 54f24b7a2dba xcursor-aero/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcursor-aero/receipt Fri May 15 16:33:39 2015 +0300 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="xcursor-aero" +VERSION="0.2" +CATEGORY="x-window" +SHORT_DESC="Aero cursor theme" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL" +WEB_SITE="http://www.xfce-look.org/content/show.php/Aero+Mouse+Cursors+with+Drop+Shadow?content=67833" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://www.infinality.net/files/aero.tar.gz" +TAGS="cursor-theme" + +DEPENDS="xorg-libXcursor" +BUILD_DEPENDS="" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/icons/aero + cp -a $src/* $fs/usr/share/icons/aero +} diff -r 3cb07d9f8793 -r 54f24b7a2dba xcursor-comix/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcursor-comix/description.txt Fri May 15 16:33:39 2015 +0300 @@ -0,0 +1,20 @@ +The original Comix Cursors. + +X11 mouse theme with a comics feeling. +The package comes with 12 different mouse themes for X11. +6 colors (black, blue, green, orange, red and white) +2 different weights (slim and normal) + +From version 0.8 on the cursors are 'multisize', meaning that you don't need to +install one theme for each size, but only one theme, and chose the size in the +cursor theme selection dialog. + +The full installation also includes left-handed themes, you can choose whatever +you prefer from the downloads below. + + +The cursors are named according to the freedesktop.org cursor naming convention, +compatibility and hash cursor names are linked. In addition to the original +cursor pack left-handed and opaque versions are still available here. + +ComixCursors come in sizes 32, 40, 48 and 64. diff -r 3cb07d9f8793 -r 54f24b7a2dba xcursor-comix/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcursor-comix/receipt Fri May 15 16:33:39 2015 +0300 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="xcursor-comix" +VERSION="0.8.2" +CATEGORY="x-window" +SHORT_DESC="Comix cursor theme" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL" +WEB_SITE="http://www.kde-look.org/content/show.php/ComixCursors?content=32627" +TARBALL="ComixCursors-$VERSION.tar.bz2" +WGET_URL="http://www.limitland.de/downloads/comixcursors/$TARBALL" +TAGS="cursor-theme" + +DEPENDS="xorg-libXcursor" +BUILD_DEPENDS="" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/icons + cp -a $src/* $fs/usr/share/icons +} diff -r 3cb07d9f8793 -r 54f24b7a2dba xcursor-human/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcursor-human/receipt Fri May 15 16:33:39 2015 +0300 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="xcursor-human" +VERSION="0.6" +CATEGORY="x-window" +SHORT_DESC="Human cursor theme" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="CC-ASA" +WEB_SITE="https://launchpad.net/human-cursors-theme/" +TARBALL="human-cursors-theme_$VERSION.tar.gz" +WGET_URL="https://launchpad.net/ubuntu/+archive/primary/+files/$TARBALL" +TAGS="cursor-theme" + +DEPENDS="xorg-libXcursor" +BUILD_DEPENDS="wget cacerts python symlinks" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --prefix=/usr --root="$install" --optimize=1 + rm -rf "$install/usr/lib" + . $stuff/symdup.sh +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs + rm -r $fs/usr/share/themes + cp $stuff/index.theme $fs/usr/share/icons/Human +} diff -r 3cb07d9f8793 -r 54f24b7a2dba xcursor-human/stuff/index.theme --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcursor-human/stuff/index.theme Fri May 15 16:33:39 2015 +0300 @@ -0,0 +1,3 @@ +[Icon Theme] +Name=Human +Comment=The Human Cursor Theme diff -r 3cb07d9f8793 -r 54f24b7a2dba xcursor-human/stuff/symdup.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcursor-human/stuff/symdup.sh Fri May 15 16:33:39 2015 +0300 @@ -0,0 +1,23 @@ +# substitute repeated files by symlinks +md5file=$(mktemp) +find $install -type f -exec md5sum {} \; | sort > $md5file + +for md in $(uniq -d -w32 $md5file | cut -c1-32); do + # group of similar files + similar="$(grep $md $md5file | cut -c35-)" + + # find shortest filename + shortest=$(echo "$similar" | cut -d' ' -f1) + for line in $(echo $similar); do + [ "${#line}" -lt "${#shortest}" ] && shortest="$line" + done + + # make symlinks to the file with shortest filename + for file in $similar; do + [ "$shortest" != "$file" ] && ln -sf $shortest $file + done +done +rm "$md5file" + +# make all symlinks relative +symlinks -crs $install diff -r 3cb07d9f8793 -r 54f24b7a2dba xcursor-obsidian/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcursor-obsidian/receipt Fri May 15 16:33:39 2015 +0300 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="xcursor-obsidian" +VERSION="1.0" +CATEGORY="x-window" +SHORT_DESC="Obsidian cursor theme" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL" +WEB_SITE="http://www.gnome-look.org/content/show.php/Obsidian+Cursors?content=73135" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="http://www.gnome-look.org/CONTENT/content-files/73135-Obsidian.tar.bz2" +TAGS="cursor-theme" + +DEPENDS="xorg-libXcursor" +BUILD_DEPENDS="symlinks" + +# Rules to configure and make the package. +compile_rules() +{ + mkdir -p $install/usr/share/icons/Obsidian + cp -a $src/cursors $src/index.theme $install/usr/share/icons/Obsidian + . $stuff/symdup.sh +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +} diff -r 3cb07d9f8793 -r 54f24b7a2dba xcursor-obsidian/stuff/symdup.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xcursor-obsidian/stuff/symdup.sh Fri May 15 16:33:39 2015 +0300 @@ -0,0 +1,23 @@ +# substitute repeated files by symlinks +md5file=$(mktemp) +find $install -type f -exec md5sum {} \; | sort > $md5file + +for md in $(uniq -d -w32 $md5file | cut -c1-32); do + # group of similar files + similar="$(grep $md $md5file | cut -c35-)" + + # find shortest filename + shortest=$(echo "$similar" | cut -d' ' -f1) + for line in $(echo $similar); do + [ "${#line}" -lt "${#shortest}" ] && shortest="$line" + done + + # make symlinks to the file with shortest filename + for file in $similar; do + [ "$shortest" != "$file" ] && ln -sf $shortest $file + done +done +rm "$md5file" + +# make all symlinks relative +symlinks -crs $install