# HG changeset patch # User Eric Joseph-Alexandre # Date 1282637090 -7200 # Node ID 414496f5aadfd925bf31cc0068ae12384cf6378f # Parent c27da04283dcd468e524088ff3379d106196a8f3 Add puzzles (again) diff -r c27da04283dc -r 414496f5aadf puzzles/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/receipt Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="puzzles" +VERSION="r8972" +CATEGORY="games" +SHORT_DESC="Misc puzzles games." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" +WGET_URL="${WEB_SITE}$TARBALL" +DEPENDS="gtk+ cairo-xcb xorg-libXrandr" +BUILD_DEPENDS="gtk+-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + mkdir -p _pkg/usr/local/games 2> /dev/null + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/pixmaps \ + $fs/usr/share/applications + + cp -a $_pkg/usr/local/games $fs/usr + + for img in $(ls $src/icons/*16d24*) + do + cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png + done + + cp -a stuff/*.desktop $fs/usr/share/applications +} + diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/blackbox.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/blackbox.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=blackbox +Exec=blackbox +Icon=blackbox.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/bridges.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/bridges.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=bridges +Exec=bridges +Icon=bridges.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/cube.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/cube.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=cube +Exec=cube +Icon=cube.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/desktopfiles.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/desktopfiles.sh Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,9 @@ +for i in ../puzzles-*/_pkg/usr/local/games/* +do + name=$(basename $i) + cp games.desktop.mk $name.desktop + sed -i -e "s/%%NAME%%/$name/" \ + -e "s/%%EXEC%%/$name/" \ + -e "s/%%ICONS%%/$name.png/" $name.desktop + +done diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/dominosa.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/dominosa.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=dominosa +Exec=dominosa +Icon=dominosa.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/fifteen.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/fifteen.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=fifteen +Exec=fifteen +Icon=fifteen.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/filling.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/filling.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=filling +Exec=filling +Icon=filling.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/flip.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/flip.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=flip +Exec=flip +Icon=flip.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/galaxies.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/galaxies.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=galaxies +Exec=galaxies +Icon=galaxies.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/games.desktop.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/games.desktop.mk Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=%%NAME%% +Exec=%%EXEC%% +Icon=%%ICONS%% +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/guess.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/guess.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=guess +Exec=guess +Icon=guess.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/inertia.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/inertia.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=inertia +Exec=inertia +Icon=inertia.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/keen.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/keen.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=keen +Exec=keen +Icon=keen.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/lightup.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/lightup.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=lightup +Exec=lightup +Icon=lightup.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/loopy.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/loopy.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=loopy +Exec=loopy +Icon=loopy.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/magnets.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/magnets.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=magnets +Exec=magnets +Icon=magnets.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/map.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/map.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=map +Exec=map +Icon=map.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/mines.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/mines.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=mines +Exec=mines +Icon=mines.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/net.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/net.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=net +Exec=net +Icon=net.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/netslide.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/netslide.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=netslide +Exec=netslide +Icon=netslide.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/pattern.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/pattern.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=pattern +Exec=pattern +Icon=pattern.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/pegs.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/pegs.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=pegs +Exec=pegs +Icon=pegs.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/rect.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/rect.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=rect +Exec=rect +Icon=rect.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/samegame.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/samegame.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=samegame +Exec=samegame +Icon=samegame.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/signpost.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/signpost.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=signpost +Exec=signpost +Icon=signpost.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/singles.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/singles.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=singles +Exec=singles +Icon=singles.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/sixteen.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/sixteen.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=sixteen +Exec=sixteen +Icon=sixteen.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/slant.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/slant.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=slant +Exec=slant +Icon=slant.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/solo.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/solo.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=solo +Exec=solo +Icon=solo.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/tents.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/tents.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=tents +Exec=tents +Icon=tents.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/towers.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/towers.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=towers +Exec=towers +Icon=towers.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/twiddle.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/twiddle.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=twiddle +Exec=twiddle +Icon=twiddle.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/unequal.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/unequal.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=unequal +Exec=unequal +Icon=unequal.png +Terminal=false +Categories=Application;Game; diff -r c27da04283dc -r 414496f5aadf puzzles/stuff/untangle.desktop --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/puzzles/stuff/untangle.desktop Tue Aug 24 10:04:50 2010 +0200 @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=untangle +Exec=untangle +Icon=untangle.png +Terminal=false +Categories=Application;Game;