wok-6.x rev 6070

Add puzzles from wok-undigest
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Aug 24 12:02:02 2010 +0200 (2010-08-24)
parents f17b04ae2527
children c27da04283dc
files puzzles/receipt puzzles/stuff/blackbox.desktop puzzles/stuff/bridges.desktop puzzles/stuff/cube.desktop puzzles/stuff/desktopfiles.sh puzzles/stuff/dominosa.desktop puzzles/stuff/fifteen.desktop puzzles/stuff/filling.desktop puzzles/stuff/flip.desktop puzzles/stuff/galaxies.desktop puzzles/stuff/games.desktop.mk puzzles/stuff/guess.desktop puzzles/stuff/inertia.desktop puzzles/stuff/keen.desktop puzzles/stuff/lightup.desktop puzzles/stuff/loopy.desktop puzzles/stuff/magnets.desktop puzzles/stuff/map.desktop puzzles/stuff/mines.desktop puzzles/stuff/net.desktop puzzles/stuff/netslide.desktop puzzles/stuff/pattern.desktop puzzles/stuff/pegs.desktop puzzles/stuff/rect.desktop puzzles/stuff/samegame.desktop puzzles/stuff/signpost.desktop puzzles/stuff/singles.desktop puzzles/stuff/sixteen.desktop puzzles/stuff/slant.desktop puzzles/stuff/solo.desktop puzzles/stuff/tents.desktop puzzles/stuff/towers.desktop puzzles/stuff/twiddle.desktop puzzles/stuff/unequal.desktop puzzles/stuff/untangle.desktop
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/puzzles/receipt	Tue Aug 24 12:02:02 2010 +0200
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="puzzles"
     1.7 +VERSION="r8972"
     1.8 +CATEGORY="games"
     1.9 +SHORT_DESC="Misc puzzles games."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
    1.13 +WGET_URL="${WEB_SITE}$TARBALL"
    1.14 +DEPENDS="gtk+ cairo-xcb xorg-libXrandr"
    1.15 +BUILD_DEPENDS="gtk+-dev"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	mkdir -p _pkg/usr/local/games 2> /dev/null
    1.22 +	make &&
    1.23 +	make DESTDIR=$PWD/_pkg install
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/share/pixmaps \
    1.30 +		$fs/usr/share/applications
    1.31 +		
    1.32 +	cp -a $_pkg/usr/local/games $fs/usr
    1.33 +	
    1.34 +	for img in $(ls $src/icons/*16d24*)
    1.35 +	do
    1.36 +		cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
    1.37 +	done
    1.38 +	
    1.39 +	cp -a stuff/*.desktop $fs/usr/share/applications
    1.40 +}
    1.41 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/puzzles/stuff/blackbox.desktop	Tue Aug 24 12:02:02 2010 +0200
     2.3 @@ -0,0 +1,8 @@
     2.4 +[Desktop Entry]
     2.5 +Type=Application
     2.6 +Encoding=UTF-8
     2.7 +Name=blackbox
     2.8 +Exec=blackbox
     2.9 +Icon=blackbox.png
    2.10 +Terminal=false
    2.11 +Categories=Application;Game;
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/puzzles/stuff/bridges.desktop	Tue Aug 24 12:02:02 2010 +0200
     3.3 @@ -0,0 +1,8 @@
     3.4 +[Desktop Entry]
     3.5 +Type=Application
     3.6 +Encoding=UTF-8
     3.7 +Name=bridges
     3.8 +Exec=bridges
     3.9 +Icon=bridges.png
    3.10 +Terminal=false
    3.11 +Categories=Application;Game;
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/puzzles/stuff/cube.desktop	Tue Aug 24 12:02:02 2010 +0200
     4.3 @@ -0,0 +1,8 @@
     4.4 +[Desktop Entry]
     4.5 +Type=Application
     4.6 +Encoding=UTF-8
     4.7 +Name=cube
     4.8 +Exec=cube
     4.9 +Icon=cube.png
    4.10 +Terminal=false
    4.11 +Categories=Application;Game;
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/puzzles/stuff/desktopfiles.sh	Tue Aug 24 12:02:02 2010 +0200
     5.3 @@ -0,0 +1,9 @@
     5.4 +for i in ../puzzles-*/_pkg/usr/local/games/*
     5.5 +do 
     5.6 +	name=$(basename $i)
     5.7 +	cp games.desktop.mk $name.desktop
     5.8 +	sed -i -e  "s/%%NAME%%/$name/" \
     5.9 +		-e  "s/%%EXEC%%/$name/" \
    5.10 +		-e  "s/%%ICONS%%/$name.png/" $name.desktop
    5.11 +	
    5.12 +done
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/puzzles/stuff/dominosa.desktop	Tue Aug 24 12:02:02 2010 +0200
     6.3 @@ -0,0 +1,8 @@
     6.4 +[Desktop Entry]
     6.5 +Type=Application
     6.6 +Encoding=UTF-8
     6.7 +Name=dominosa
     6.8 +Exec=dominosa
     6.9 +Icon=dominosa.png
    6.10 +Terminal=false
    6.11 +Categories=Application;Game;
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/puzzles/stuff/fifteen.desktop	Tue Aug 24 12:02:02 2010 +0200
     7.3 @@ -0,0 +1,8 @@
     7.4 +[Desktop Entry]
     7.5 +Type=Application
     7.6 +Encoding=UTF-8
     7.7 +Name=fifteen
     7.8 +Exec=fifteen
     7.9 +Icon=fifteen.png
    7.10 +Terminal=false
    7.11 +Categories=Application;Game;
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/puzzles/stuff/filling.desktop	Tue Aug 24 12:02:02 2010 +0200
     8.3 @@ -0,0 +1,8 @@
     8.4 +[Desktop Entry]
     8.5 +Type=Application
     8.6 +Encoding=UTF-8
     8.7 +Name=filling
     8.8 +Exec=filling
     8.9 +Icon=filling.png
    8.10 +Terminal=false
    8.11 +Categories=Application;Game;
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/puzzles/stuff/flip.desktop	Tue Aug 24 12:02:02 2010 +0200
     9.3 @@ -0,0 +1,8 @@
     9.4 +[Desktop Entry]
     9.5 +Type=Application
     9.6 +Encoding=UTF-8
     9.7 +Name=flip
     9.8 +Exec=flip
     9.9 +Icon=flip.png
    9.10 +Terminal=false
    9.11 +Categories=Application;Game;
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/puzzles/stuff/galaxies.desktop	Tue Aug 24 12:02:02 2010 +0200
    10.3 @@ -0,0 +1,8 @@
    10.4 +[Desktop Entry]
    10.5 +Type=Application
    10.6 +Encoding=UTF-8
    10.7 +Name=galaxies
    10.8 +Exec=galaxies
    10.9 +Icon=galaxies.png
   10.10 +Terminal=false
   10.11 +Categories=Application;Game;
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/puzzles/stuff/games.desktop.mk	Tue Aug 24 12:02:02 2010 +0200
    11.3 @@ -0,0 +1,8 @@
    11.4 +[Desktop Entry]
    11.5 +Type=Application
    11.6 +Encoding=UTF-8
    11.7 +Name=%%NAME%%
    11.8 +Exec=%%EXEC%%
    11.9 +Icon=%%ICONS%%
   11.10 +Terminal=false
   11.11 +Categories=Application;Game;
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/puzzles/stuff/guess.desktop	Tue Aug 24 12:02:02 2010 +0200
    12.3 @@ -0,0 +1,8 @@
    12.4 +[Desktop Entry]
    12.5 +Type=Application
    12.6 +Encoding=UTF-8
    12.7 +Name=guess
    12.8 +Exec=guess
    12.9 +Icon=guess.png
   12.10 +Terminal=false
   12.11 +Categories=Application;Game;
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/puzzles/stuff/inertia.desktop	Tue Aug 24 12:02:02 2010 +0200
    13.3 @@ -0,0 +1,8 @@
    13.4 +[Desktop Entry]
    13.5 +Type=Application
    13.6 +Encoding=UTF-8
    13.7 +Name=inertia
    13.8 +Exec=inertia
    13.9 +Icon=inertia.png
   13.10 +Terminal=false
   13.11 +Categories=Application;Game;
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/puzzles/stuff/keen.desktop	Tue Aug 24 12:02:02 2010 +0200
    14.3 @@ -0,0 +1,8 @@
    14.4 +[Desktop Entry]
    14.5 +Type=Application
    14.6 +Encoding=UTF-8
    14.7 +Name=keen
    14.8 +Exec=keen
    14.9 +Icon=keen.png
   14.10 +Terminal=false
   14.11 +Categories=Application;Game;
    15.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.2 +++ b/puzzles/stuff/lightup.desktop	Tue Aug 24 12:02:02 2010 +0200
    15.3 @@ -0,0 +1,8 @@
    15.4 +[Desktop Entry]
    15.5 +Type=Application
    15.6 +Encoding=UTF-8
    15.7 +Name=lightup
    15.8 +Exec=lightup
    15.9 +Icon=lightup.png
   15.10 +Terminal=false
   15.11 +Categories=Application;Game;
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/puzzles/stuff/loopy.desktop	Tue Aug 24 12:02:02 2010 +0200
    16.3 @@ -0,0 +1,8 @@
    16.4 +[Desktop Entry]
    16.5 +Type=Application
    16.6 +Encoding=UTF-8
    16.7 +Name=loopy
    16.8 +Exec=loopy
    16.9 +Icon=loopy.png
   16.10 +Terminal=false
   16.11 +Categories=Application;Game;
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/puzzles/stuff/magnets.desktop	Tue Aug 24 12:02:02 2010 +0200
    17.3 @@ -0,0 +1,8 @@
    17.4 +[Desktop Entry]
    17.5 +Type=Application
    17.6 +Encoding=UTF-8
    17.7 +Name=magnets
    17.8 +Exec=magnets
    17.9 +Icon=magnets.png
   17.10 +Terminal=false
   17.11 +Categories=Application;Game;
    18.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.2 +++ b/puzzles/stuff/map.desktop	Tue Aug 24 12:02:02 2010 +0200
    18.3 @@ -0,0 +1,8 @@
    18.4 +[Desktop Entry]
    18.5 +Type=Application
    18.6 +Encoding=UTF-8
    18.7 +Name=map
    18.8 +Exec=map
    18.9 +Icon=map.png
   18.10 +Terminal=false
   18.11 +Categories=Application;Game;
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/puzzles/stuff/mines.desktop	Tue Aug 24 12:02:02 2010 +0200
    19.3 @@ -0,0 +1,8 @@
    19.4 +[Desktop Entry]
    19.5 +Type=Application
    19.6 +Encoding=UTF-8
    19.7 +Name=mines
    19.8 +Exec=mines
    19.9 +Icon=mines.png
   19.10 +Terminal=false
   19.11 +Categories=Application;Game;
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/puzzles/stuff/net.desktop	Tue Aug 24 12:02:02 2010 +0200
    20.3 @@ -0,0 +1,8 @@
    20.4 +[Desktop Entry]
    20.5 +Type=Application
    20.6 +Encoding=UTF-8
    20.7 +Name=net
    20.8 +Exec=net
    20.9 +Icon=net.png
   20.10 +Terminal=false
   20.11 +Categories=Application;Game;
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/puzzles/stuff/netslide.desktop	Tue Aug 24 12:02:02 2010 +0200
    21.3 @@ -0,0 +1,8 @@
    21.4 +[Desktop Entry]
    21.5 +Type=Application
    21.6 +Encoding=UTF-8
    21.7 +Name=netslide
    21.8 +Exec=netslide
    21.9 +Icon=netslide.png
   21.10 +Terminal=false
   21.11 +Categories=Application;Game;
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/puzzles/stuff/pattern.desktop	Tue Aug 24 12:02:02 2010 +0200
    22.3 @@ -0,0 +1,8 @@
    22.4 +[Desktop Entry]
    22.5 +Type=Application
    22.6 +Encoding=UTF-8
    22.7 +Name=pattern
    22.8 +Exec=pattern
    22.9 +Icon=pattern.png
   22.10 +Terminal=false
   22.11 +Categories=Application;Game;
    23.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.2 +++ b/puzzles/stuff/pegs.desktop	Tue Aug 24 12:02:02 2010 +0200
    23.3 @@ -0,0 +1,8 @@
    23.4 +[Desktop Entry]
    23.5 +Type=Application
    23.6 +Encoding=UTF-8
    23.7 +Name=pegs
    23.8 +Exec=pegs
    23.9 +Icon=pegs.png
   23.10 +Terminal=false
   23.11 +Categories=Application;Game;
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/puzzles/stuff/rect.desktop	Tue Aug 24 12:02:02 2010 +0200
    24.3 @@ -0,0 +1,8 @@
    24.4 +[Desktop Entry]
    24.5 +Type=Application
    24.6 +Encoding=UTF-8
    24.7 +Name=rect
    24.8 +Exec=rect
    24.9 +Icon=rect.png
   24.10 +Terminal=false
   24.11 +Categories=Application;Game;
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/puzzles/stuff/samegame.desktop	Tue Aug 24 12:02:02 2010 +0200
    25.3 @@ -0,0 +1,8 @@
    25.4 +[Desktop Entry]
    25.5 +Type=Application
    25.6 +Encoding=UTF-8
    25.7 +Name=samegame
    25.8 +Exec=samegame
    25.9 +Icon=samegame.png
   25.10 +Terminal=false
   25.11 +Categories=Application;Game;
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/puzzles/stuff/signpost.desktop	Tue Aug 24 12:02:02 2010 +0200
    26.3 @@ -0,0 +1,8 @@
    26.4 +[Desktop Entry]
    26.5 +Type=Application
    26.6 +Encoding=UTF-8
    26.7 +Name=signpost
    26.8 +Exec=signpost
    26.9 +Icon=signpost.png
   26.10 +Terminal=false
   26.11 +Categories=Application;Game;
    27.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.2 +++ b/puzzles/stuff/singles.desktop	Tue Aug 24 12:02:02 2010 +0200
    27.3 @@ -0,0 +1,8 @@
    27.4 +[Desktop Entry]
    27.5 +Type=Application
    27.6 +Encoding=UTF-8
    27.7 +Name=singles
    27.8 +Exec=singles
    27.9 +Icon=singles.png
   27.10 +Terminal=false
   27.11 +Categories=Application;Game;
    28.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.2 +++ b/puzzles/stuff/sixteen.desktop	Tue Aug 24 12:02:02 2010 +0200
    28.3 @@ -0,0 +1,8 @@
    28.4 +[Desktop Entry]
    28.5 +Type=Application
    28.6 +Encoding=UTF-8
    28.7 +Name=sixteen
    28.8 +Exec=sixteen
    28.9 +Icon=sixteen.png
   28.10 +Terminal=false
   28.11 +Categories=Application;Game;
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/puzzles/stuff/slant.desktop	Tue Aug 24 12:02:02 2010 +0200
    29.3 @@ -0,0 +1,8 @@
    29.4 +[Desktop Entry]
    29.5 +Type=Application
    29.6 +Encoding=UTF-8
    29.7 +Name=slant
    29.8 +Exec=slant
    29.9 +Icon=slant.png
   29.10 +Terminal=false
   29.11 +Categories=Application;Game;
    30.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.2 +++ b/puzzles/stuff/solo.desktop	Tue Aug 24 12:02:02 2010 +0200
    30.3 @@ -0,0 +1,8 @@
    30.4 +[Desktop Entry]
    30.5 +Type=Application
    30.6 +Encoding=UTF-8
    30.7 +Name=solo
    30.8 +Exec=solo
    30.9 +Icon=solo.png
   30.10 +Terminal=false
   30.11 +Categories=Application;Game;
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/puzzles/stuff/tents.desktop	Tue Aug 24 12:02:02 2010 +0200
    31.3 @@ -0,0 +1,8 @@
    31.4 +[Desktop Entry]
    31.5 +Type=Application
    31.6 +Encoding=UTF-8
    31.7 +Name=tents
    31.8 +Exec=tents
    31.9 +Icon=tents.png
   31.10 +Terminal=false
   31.11 +Categories=Application;Game;
    32.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.2 +++ b/puzzles/stuff/towers.desktop	Tue Aug 24 12:02:02 2010 +0200
    32.3 @@ -0,0 +1,8 @@
    32.4 +[Desktop Entry]
    32.5 +Type=Application
    32.6 +Encoding=UTF-8
    32.7 +Name=towers
    32.8 +Exec=towers
    32.9 +Icon=towers.png
   32.10 +Terminal=false
   32.11 +Categories=Application;Game;
    33.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.2 +++ b/puzzles/stuff/twiddle.desktop	Tue Aug 24 12:02:02 2010 +0200
    33.3 @@ -0,0 +1,8 @@
    33.4 +[Desktop Entry]
    33.5 +Type=Application
    33.6 +Encoding=UTF-8
    33.7 +Name=twiddle
    33.8 +Exec=twiddle
    33.9 +Icon=twiddle.png
   33.10 +Terminal=false
   33.11 +Categories=Application;Game;
    34.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.2 +++ b/puzzles/stuff/unequal.desktop	Tue Aug 24 12:02:02 2010 +0200
    34.3 @@ -0,0 +1,8 @@
    34.4 +[Desktop Entry]
    34.5 +Type=Application
    34.6 +Encoding=UTF-8
    34.7 +Name=unequal
    34.8 +Exec=unequal
    34.9 +Icon=unequal.png
   34.10 +Terminal=false
   34.11 +Categories=Application;Game;
    35.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.2 +++ b/puzzles/stuff/untangle.desktop	Tue Aug 24 12:02:02 2010 +0200
    35.3 @@ -0,0 +1,8 @@
    35.4 +[Desktop Entry]
    35.5 +Type=Application
    35.6 +Encoding=UTF-8
    35.7 +Name=untangle
    35.8 +Exec=untangle
    35.9 +Icon=untangle.png
   35.10 +Terminal=false
   35.11 +Categories=Application;Game;