aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2013-02-09 12:53:49 -0600
committerErik Hanson <erik@slackbuilds.org>2013-02-14 00:26:51 -0600
commit5a6e0d97601afe7987b7246d25f613107b858764 (patch)
tree5bfc4878386b58d24a30ca4f6024050eb8dac157 /games
parent90fd9703dfe0347359dd8e31ad800023df25a9b9 (diff)
games/tt: Added (Tetris for Terminals)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/tt/README1
-rw-r--r--games/tt/doinst.sh3
-rw-r--r--games/tt/slack-desc19
-rw-r--r--games/tt/tt.SlackBuild104
-rw-r--r--games/tt/tt.desktop11
-rw-r--r--games/tt/tt.info10
-rw-r--r--games/tt/tt.svg154
-rw-r--r--games/tt/user_dir.patch14
8 files changed, 316 insertions, 0 deletions
diff --git a/games/tt/README b/games/tt/README
new file mode 100644
index 000000000000..7002e30890e7
--- /dev/null
+++ b/games/tt/README
@@ -0,0 +1 @@
+Tetris running in a terminal window.
diff --git a/games/tt/doinst.sh b/games/tt/doinst.sh
new file mode 100644
index 000000000000..5fb28930db0b
--- /dev/null
+++ b/games/tt/doinst.sh
@@ -0,0 +1,3 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
diff --git a/games/tt/slack-desc b/games/tt/slack-desc
new file mode 100644
index 000000000000..830be8d4d682
--- /dev/null
+++ b/games/tt/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description.
+# Line up the first '|' above the ':' following the base package name, and
+# the '|' on the right side marks the last column you can put a character in.
+# You must make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':' except on otherwise blank lines.
+
+ |-----handy-ruler------------------------------------------------------|
+tt: tt (Tetris for Terminals)
+tt:
+tt: Tetris running in a terminal window.
+tt:
+tt: homepage: http://www.miketaylor.org.uk/tech/tt/
+tt:
+tt:
+tt:
+tt:
+tt:
+tt:
diff --git a/games/tt/tt.SlackBuild b/games/tt/tt.SlackBuild
new file mode 100644
index 000000000000..3776024ece17
--- /dev/null
+++ b/games/tt/tt.SlackBuild
@@ -0,0 +1,104 @@
+#!/bin/sh
+
+# Slackware build script for tt
+# Copyright Matteo Bernardini <ponce@slackbuilds.org>, 2012
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=tt
+VERSION=${VERSION:-15.1}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+if [ -z "$ARCH" ]; then
+ case "$( uname -m )" in
+ i?86) ARCH=i486 ;;
+ arm*) ARCH=arm ;;
+ *) ARCH=$( uname -m ) ;;
+ esac
+fi
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
+fi
+
+DOCS="Attrib Meista NEWS Notes Porting README Testimonial Score"
+
+set -e # Exit on most errors
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+cd $PRGNAM-$VERSION
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+# Use $HOME for the lock file and to save high-scores
+patch -p1 < $CWD/user_dir.patch
+
+make OPT="$SLKCFLAGS"
+install -m 0755 -D $PRGNAM $PKG/usr/bin/$PRGNAM.real
+
+cat << EOF > $PKG/usr/bin/$PRGNAM
+#!/bin/sh
+[ -d ~/.tt ] || mkdir ~/.tt
+cd ~/.tt
+[ -f ttscores ] || touch ttscores
+tt.real "\$@"
+EOF
+chmod 0755 $PKG/usr/bin/$PRGNAM
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
+# Install an icon and a .desktop file
+install -m 0755 -D $CWD/$PRGNAM.svg $PKG/usr/share/pixmaps/$PRGNAM.svg
+install -m 0755 -D $CWD/$PRGNAM.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/games/tt/tt.desktop b/games/tt/tt.desktop
new file mode 100644
index 000000000000..ac6b8270c641
--- /dev/null
+++ b/games/tt/tt.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Version=1.0
+Name=TT
+Type=Application
+Comment=Tetris for terminals
+Terminal=true
+Exec=tt
+Icon=tt
+Categories=ConsoleOnly;Game;
+GenericName=Tetris for terminals
+Encoding=UTF-8
diff --git a/games/tt/tt.info b/games/tt/tt.info
new file mode 100644
index 000000000000..abf7d98f681d
--- /dev/null
+++ b/games/tt/tt.info
@@ -0,0 +1,10 @@
+PRGNAM="tt"
+VERSION="15.1"
+HOMEPAGE="http://www.miketaylor.org.uk/tech/tt/"
+DOWNLOAD="http://www.miketaylor.org.uk/tech/tt/tt-15.1.tar.gz"
+MD5SUM="4631cc0d8c825fa74811d33781867c66"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+REQUIRES=""
+MAINTAINER="Matteo Bernardini"
+EMAIL="ponce@slackbuilds.org"
diff --git a/games/tt/tt.svg b/games/tt/tt.svg
new file mode 100644
index 000000000000..664604895f29
--- /dev/null
+++ b/games/tt/tt.svg
@@ -0,0 +1,154 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="608.5625"
+ height="607.84375"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.48.3.1 r9886"
+ sodipodi:docname="tt.svg">
+ <title
+ id="title3017">tt icon</title>
+ <defs
+ id="defs4" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.51712994"
+ inkscape:cx="722.43508"
+ inkscape:cy="299.00456"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1328"
+ inkscape:window-height="750"
+ inkscape:window-x="38"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1"
+ fit-margin-top="0"
+ fit-margin-left="0"
+ fit-margin-right="0"
+ fit-margin-bottom="0" />
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title>tt icon</dc:title>
+ <dc:date>2013-01-19</dc:date>
+ <dc:creator>
+ <cc:Agent>
+ <dc:title>Matteo Bernardini</dc:title>
+ </cc:Agent>
+ </dc:creator>
+ <dc:rights>
+ <cc:Agent>
+ <dc:title>Creative Commons http://creativecommons.org/licenses/by-sa/3.0/</dc:title>
+ </cc:Agent>
+ </dc:rights>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(-68.1875,-58.125)">
+ <g
+ id="g4922">
+ <path
+ inkscape:connector-curvature="0"
+ id="path4920"
+ d="m 72.515624,660.77781 600.429366,0 0,-598.495614 -600.429366,0 z"
+ style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+ <path
+ id="path3217"
+ d="m 68.1875,58.125 0,607.84375 608.5625,0 0,-607.84375 -608.5625,0 z m 600.5,8.0625 0,591.65625 -591.6875,0.0625 0,-591 591.6875,-0.71875 z"
+ style="fill:#000000;fill-opacity:1;stroke:none"
+ inkscape:connector-curvature="0" />
+ <path
+ id="rect3223"
+ d="m 229.9375,114.75 0,75.75 -76.0625,0 0,66.5625 76.0625,0 0,76.0625 66.40625,0 0,-218.375 -66.40625,0 z m 9.375,9.375 9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.5 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.375 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.5 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.5 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 -9.21875,0 0,9.53125 -9.5,0 0,-9.53125 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,9.53125 9.53125,0 0,-9.53125 9.5,0 0,9.53125 9.21875,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.375 -9.53125,0 0,-9.53125 9.53125,0 0,-9.5 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 z m -18.71875,85.59375 0,9.53125 9.34375,0 0,-9.53125 -9.34375,0 z m 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,-9.53125 z m 0,9.53125 0,9.53125 9.1875,0 0,-9.53125 -9.1875,0 z m 18.71875,9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,9.53125 z m 0,-9.53125 0,-9.53125 -9.21875,0 0,9.53125 9.21875,0 z m 9.53125,-9.53125 0,-9.53125 -9.375,0 0,9.53125 9.375,0 z m 9.6875,-95.125 9.53125,0 0,9.53125 9.53125,0 0,-9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.5 9.53125,0 0,9.53125 -9.53125,0 0,9.375 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.5 9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.5 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.375 -9.53125,0 0,-9.53125 9.53125,0 0,-9.5 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 z m 9.53125,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 0,19.03125 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 0,28.4375 9.53125,0 0,-9.375 -9.53125,0 0,9.375 z m 0,9.53125 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 0,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 0,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 0,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 0,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 0,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z M 163.25,200.1875 l 9.53125,0 0,9.53125 9.53125,0 0,-9.53125 9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 z m 9.53125,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 9.53125,0 9.53125,0 0,-9.53125 -9.53125,0 0,9.53125 z m 0,9.53125 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z"
+ style="fill:#000000;stroke:none"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path3374"
+ d="m 306.25,114.5 0,66.5625 75.8125,0 0,76.0625 142.34375,0 0,-66.53125 -75.8125,0 0,-76.09375 -142.34375,0 z m 56.71875,9.28125 28.65625,0 0,9.5625 9.25,0 0,-9.28125 28.65625,0 0,9.8125 9.53125,0 0,18.8125 -9.53125,0 0,18.5625 9.53125,0 0,19.34375 -9.8125,0 0,19.09375 10.09375,0 0,-10.09375 28.34375,0 0,10.09375 9.8125,0 0,-9.53125 28.09375,0 0,9.25 9.28125,0 0,19.375 -9.28125,0 0,18.8125 -28.625,0 0,-19.09375 -9.53125,0 0,19.375 -28.375,0 0,-19.09375 -9.8125,0 0,18.53125 -28.375,0 0,-18.53125 -9.25,0 0,-19.09375 9.53125,0 0,-18.8125 -10.09375,0 0,-19.09375 -28.34375,0 0,-18.8125 -9.28125,0 0,18.53125 -28.375,0 0,-18.8125 -9.8125,0 0.28125,-19.34375 9.8125,0 0,-9.28125 28.375,0 0,9.28125 9.25,0 0,-9.5625 z M 334.625,133.875 l 0,18.53125 9.25,0 0,-18.53125 -9.25,0 z m 38.15625,0 0,18.53125 9.28125,0 0,-18.53125 -9.28125,0 z m 37.90625,0 0,18.53125 9.28125,0 0,-18.53125 -9.28125,0 z m -19.34375,18.8125 0,19.09375 9.28125,0 0,-19.09375 -9.28125,0 z m 19.34375,19.09375 0,18.53125 9.28125,0 0,-18.53125 -9.28125,0 z m 0.5625,38.1875 0,18.53125 9.28125,0 0,-18.53125 -9.28125,0 z m 38.1875,0 0,18.53125 9.25,0 0,-18.53125 -9.25,0 z m 37.90625,0 0,18.53125 9.25,0 0,-18.53125 -9.25,0 z"
+ style="fill:#000000;stroke:none"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path3436"
+ d="m 306.0625,266.53125 0,66.40625 294.375,0 0,-66.40625 -294.375,0 z m 9.46875,9.84375 275.59375,0 0,18.6875 -9.4375,0 0,9.53125 9.4375,0 0,19 -28.53125,0 0,-9.4375 -9.53125,0 0,9.4375 -28.4375,0 0,-9.4375 -9.53125,0 0,9.4375 -28.4375,0 0,-9.4375 -9.53125,0 0,9.4375 -28.4375,0 0,-9.4375 -9.53125,0 0,9.4375 -28.875,0 0,-9.4375 -9.53125,0 0,9.4375 -28.40625,0 0,-9.4375 -9.53125,0 0,9.4375 -28.4375,0 0,-9.4375 -9.53125,0 0,9.4375 -9.3125,0 0,-19 9.5,0 0,-9.53125 -9.5,0 0,-18.6875 z m 9.3125,0.0312 0,9.53125 9.53125,0 0,8.90625 9.53125,0 0,-9.53125 -9.53125,0 0,-8.90625 -9.53125,0 z m 37.53125,0 0,9.53125 9.53125,0 0,8.90625 9.53125,0 0,-9.53125 -9.53125,0 0,-8.90625 -9.53125,0 z m 38.375,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 38.40625,0 0,9.53125 9.53125,0 0,8.90625 9.53125,0 0,-9.53125 -9.53125,0 0,-8.90625 -9.53125,0 z m 37.53125,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 38.40625,0 0,9.53125 9.53125,0 0,8.90625 9.53125,0 0,-9.53125 -9.53125,0 0,-8.90625 -9.53125,0 z m -142.75,8.90625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 75.9375,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -170.75,9.75 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 38.375,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -199.8125,9.5625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.9375,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 38.40625,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.96875,0 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z"
+ style="fill:#000000;stroke:none"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path4664"
+ d="m 154.03125,266.625 0,218.21875 142.25,0 -0.0625,-65.84375 -75.625,-0.375 -0.15625,-152 -66.40625,0 z m 9.34375,9.46875 9.5625,0.0937 -0.0937,9.40625 9.53125,0.0937 0,9.5 9.53125,0 0,-9.5 -9.34375,0 -0.21875,-9.40625 28.4375,-0.1875 0.0312,18.78125 0.0312,0 0,9.53125 -0.0312,0 0.0312,28.125 -9.53125,0 0,9.53125 9.53125,0 0.0625,28.6875 0.0312,0 0,9.53125 -0.0312,0 0.0625,47.53125 76.0625,0.4375 -0.0937,47.6875 -123.5625,0 0,-19.125 9.4375,0 0,-9.53125 -9.4375,0 0,-28.4375 9.4375,0 0,-9.53125 -9.4375,0 0,-28.875 9.4375,0 0,-9.53125 -9.4375,0 0,-28.40625 9.4375,0 0,-9.53125 -9.4375,0 0,-28.4375 9.4375,0 0,-9.53125 -9.4375,0 0,-18.90625 z m 47.53125,104.1875 0,-9.53125 -9.5,0 0,9.53125 9.5,0 z m -0.0937,-75.875 0,-9.53125 -9.5,0 0,9.53125 9.5,0 z m -18.65625,0.0312 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -19.3125,9.625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 9.5625,9.5625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 9.75,18.46875 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -19.3125,9.9375 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 9.5625,9.5625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 9.75,18.71875 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -19.3125,9.65625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 9.5625,9.59375 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 18.90625,9.3125 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -9.15625,9.5625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 18.8125,9.46875 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 37.90625,0.34375 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -76.03125,0.125 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 85.78125,9.21875 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -37.9375,0.0312 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -38.28125,0.3125 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 94.96875,9.3125 0,9.46875 0.25,0 0,0.0625 9.28125,0 0,-9.53125 -9.53125,0 z m 0.25,9.53125 -0.25,0 0,-0.0625 -9.28125,0 0,9.53125 9.53125,0 0,-9.46875 z m -38.125,-9.46875 0,9.40625 0.0625,0 0,0.125 9.46875,0 0,-9.53125 -9.53125,0 z m 0.0625,9.53125 -0.0625,0 0,-0.125 -9.46875,0 0,9.53125 9.53125,0 0,-9.40625 z m -38.125,-9.46875 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -9.28125,9.5625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 56.9375,9.34375 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -38.125,0.0312 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m -38.125,0.0312 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z"
+ style="fill:#000000;fill-opacity:1;stroke:none"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path4549"
+ d="m 457.9375,342.75 0,75.75 -76.0625,0 0,66.5625 142.5,0.0625 -0.0312,-75.78125 76.15625,-0.3125 -0.0312,-66.28125 -142.53125,0 z m 9.375,9.375 9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.5 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.375 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 -9.21875,0 0,9.53125 -9.5,0 0,-9.53125 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,9.53125 9.53125,0 0,-9.53125 9.5,0 0,9.53125 9.21875,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.375 -9.53125,0 0,-9.53125 9.53125,0 0,-9.5 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 z m -18.71875,85.59375 0,9.53125 9.34375,0 0,-9.53125 -9.34375,0 z m 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,-9.53125 z m 0,9.53125 0,9.53125 9.1875,0 0,-9.53125 -9.1875,0 z m 18.71875,9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,9.53125 z m 0,-9.53125 0,-9.53125 -9.21875,0 0,9.53125 9.21875,0 z m 9.53125,-9.53125 0,-9.53125 -9.375,0 0,9.53125 9.375,0 z m 9.6875,-95.125 9.53125,0 0,9.53125 9.53125,0 0,-9.53125 9.53125,0 0,9.53125 9.375,0 0.0312,-9.53125 9.46875,0 0,9.5 -9.4375,0.0312 0,9.4375 9.375,0 0.0312,-9.4375 9.40625,0 0.0312,-9.53125 9.46875,0 0,9.5 -9.4375,0.0312 0,9.4375 9.375,0 0.0312,-9.4375 9.40625,0 0.0312,-9.53125 9.46875,0 0,9.5 -9.4375,0.0312 0,9.4375 9.40625,0 0,-9.4375 9.4375,0 0,-9.53125 9.46875,0 0,9.5 -9.4375,0.0312 0,9.4375 9.4375,0 0,9.5 -9.4375,0.0312 0,9.4375 9.4375,0 0,9.5 -9.46875,0.0312 0,-9.46875 -9.40625,0.0312 0,9.40625 -9.5,0.0312 0.0312,-9.46875 -9.40625,0.0312 0,9.40625 -9.5,0.0312 0.0312,-9.46875 -9.40625,0.0312 0,9.40625 -9.5,0.0312 0.0312,-9.46875 -9.46875,0.0312 0.0312,-9.4375 -9.5,0 0,9.5 9.53125,0 0,9.53125 -9.53125,0 0,9.375 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.375 -9.53125,0 0,-9.53125 9.53125,0 0,-9.5 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 z m 9.53125,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 9.53125,0 9.46875,0 0.0312,-9.53125 -9.5,0 0,9.53125 z m -9.53125,19.03125 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 0,28.4375 9.53125,0 0,-9.375 -9.53125,0 0,9.375 z m 0,9.53125 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 0,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 19.03125,-66.53125 0.0312,0 0,-0.0937 -0.0312,0 0,0.0937 z m 0.0312,-0.0937 9.375,0 0.0312,-9.46875 -9.40625,0.0312 0,9.4375 z m 9.40625,-9.46875 0.0312,0 0,-0.0625 -0.0312,0 0,0.0625 z m 0,18.96875 0.0312,0 0,-0.0625 -0.0312,0 0,0.0625 z m 0.0312,-0.0625 9.375,0 0.0312,-9.4375 9.40625,0 0.0312,-9.46875 -9.40625,0.0312 0,9.40625 -9.4375,0.0312 0,9.4375 z m 9.4375,-18.875 0,-0.0937 -0.0625,0 0,0.0937 0.0625,0 z m 9.40625,-0.0312 0.0312,0 0,-0.0625 -0.0312,0 0,0.0625 z m -9.46875,18.90625 0,0.0937 0.0625,0 0,-0.0937 -0.0625,0 z m 9.46875,0.0625 0.0312,0 0,-0.0625 -0.0312,0 0,0.0625 z m 0.0312,-0.0625 9.375,0 0.0312,-9.4375 9.40625,0 0.0312,-9.46875 -9.40625,0.0312 0,9.40625 -9.4375,0.0312 0,9.4375 z m 9.4375,-18.875 0,-0.0937 -0.0625,0 0,0.0937 0.0625,0 z m 9.40625,-0.0312 0.0312,0 0,-0.0625 -0.0312,0 0,0.0625 z m -9.46875,18.90625 0,0.0937 0.0625,0 0,-0.0937 -0.0625,0 z m 9.46875,0.0625 0.0312,0 0,-0.0625 -0.0312,0 0,0.0625 z m 0.0312,-0.0625 9.40625,0 0,-9.4375 9.4375,0 0,-9.46875 -9.40625,0.0312 0,9.40625 -9.4375,0.0312 0,9.4375 z m 9.4375,-18.875 0,-0.0937 -0.0312,0 0,0.0937 0.0312,0 z m 9.40625,-0.0312 0.0312,0 0,-0.0625 -0.0312,0 0,0.0625 z m -9.4375,18.90625 0,0.0937 0.0312,0 0,-0.0937 -0.0312,0 z m 9.4375,0.0625 0.0312,0 0,-0.0625 -0.0312,0 0,0.0625 z M 391.25,428.1875 l 9.53125,0 0,9.53125 9.53125,0 0,-9.53125 9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 -9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 -9.53125,0 0,-9.53125 z m 9.53125,19.0625 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z m 9.53125,0 9.53125,0 0,-9.53125 -9.53125,0 0,9.53125 z m 0,9.53125 0,9.53125 9.53125,0 0,-9.53125 -9.53125,0 z"
+ style="fill:#000000;fill-opacity:1;stroke:none"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path4793"
+ d="m 230.15625,342.71875 -0.25,66.46875 76.0625,0 0,76.0625 66.6875,0 0,-76.0625 75.8125,0 0,-66.46875 -218.3125,0 z m 18.78125,9.40625 9.53125,0 0,9.5 9.5,0 0,9.53125 -9.5,0 0,-9.5 -9.53125,0 0,-9.53125 z m 38.15625,0 9.5,0 0,9.5 9.53125,0 0,9.53125 -9.53125,0 0,-9.5 -9.5,0 0,-9.53125 z m 37.96875,0 9.5,0 0,9.5 9.5,0 0,9.53125 -9.5,0 0,-9.5 -9.5,0 0,-9.53125 z m 37.9375,0 9.53125,0 0,9.5 9.5,0 0,9.53125 -9.5,0 0,-9.5 -9.53125,0 0,-9.53125 z m 37.96875,0 9.5,0 0,9.53125 -9.5,0 0,-9.53125 z m 9.53125,9.5 9.5,0 0,9.53125 -9.5,0 0,-9.53125 z m -170.9375,9.53125 9.5,0 0,9.53125 -9.5,0 0,-9.53125 z m 37.9375,0 9.5,0 0,9.53125 -9.5,0 0,9.53125 -9.5,0 0,-9.5625 9.5,0 0,-9.5 z m 38.125,0 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 -9.5,0 0,-9.5625 9.5,0 0,-9.5 z m 37.96875,0 9.53125,0 0,9.53125 -9.53125,0 0,9.53125 -9.5,0 0,-9.5625 9.5,0 0,-9.5 z m 37.96875,0 9.5,0 0,9.53125 -9.5,0 0,9.53125 -9.53125,0 0,-9.5625 9.53125,0 0,-9.5 z m 37.96875,0 9.5,0 0,9.53125 -9.5,0 0,9.53125 -9.53125,0 0,-9.5625 9.53125,0 0,-9.5 z m -180.59375,19.03125 9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 z m 38.15625,0 9.5,0 0,9.53125 -9.5,0 0,-9.53125 z m 37.96875,0 9.5,0 0,9.5 9.5,0 0,9.53125 -9.53125,0 0,-9.5 -9.46875,0 0,-9.53125 z m 9.46875,9.53125 0.0312,0 0,-0.0312 -0.0312,0 0,0.0312 z M 363,390.1875 l 9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 z m 37.96875,0 9.5,0 0,9.53125 -9.5,0 0,-9.53125 z m -85.5,18.8125 9.5,0 0,9.53125 -9.5,0 0,-9.53125 z m 38.0625,0 9.5,0 0,9.53125 -9.5,0 0,9.5 -9.53125,0 0,-9.53125 9.53125,0 0,-9.5 z m -28.5625,19.03125 9.53125,0 0,9.5 9.5,0 0,9.53125 -9.5,0 0,-9.5 -9.53125,0 0,-9.53125 z m -9.5,19.25 9.5,0 0,9.5625 -9.5,0 0,-9.5625 z m 38.0625,0 9.5,0 0,9.5625 -9.5,0 0,9.5 -9.53125,0 0,-9.53125 9.53125,0 0,-9.53125 z m -28.5625,19.0625 9.53125,0 0,9.53125 -9.53125,0 0,-9.53125 z"
+ style="fill:#000000;fill-opacity:1;stroke:none"
+ inkscape:connector-curvature="0" />
+ <path
+ sodipodi:nodetypes="ccccccccccccccccccccc"
+ inkscape:connector-curvature="0"
+ id="path4901"
+ d="m 173.03261,523.24558 18.7852,0 0,28.59526 18.99393,0 0,9.3926 -18.99393,0 0,47.38046 9.81005,0 0,-9.3926 18.78521,0 0,9.60133 -9.60133,0 0,9.3926 -28.59525,0 0,-9.3926 -9.39261,0 0,-47.58919 -18.99393,0 0,-9.3926 19.20266,0 z"
+ style="fill:#000000;fill-opacity:1;stroke:none" />
+ <path
+ sodipodi:nodetypes="ccccccccccccccccccccc"
+ style="fill:#000000;fill-opacity:1;stroke:none"
+ d="m 325.19277,523.24558 18.7852,0 0,28.59526 18.99393,0 0,9.3926 -18.99393,0 0,47.38046 9.81005,0 0,-9.3926 18.78521,0 0,9.60133 -9.60133,0 0,9.3926 -28.59525,0 0,-9.3926 -9.39261,0 0,-47.58919 -18.99393,0 0,-9.3926 19.20266,0 z"
+ id="path4903"
+ inkscape:connector-curvature="0" />
+ <path
+ id="path4905"
+ d="m 249,551.84375 0,9.375 -9.59375,0 0,47.40625 9.59375,0 0,9.59375 37.78125,0 0,-9.59375 9.40625,0 0,-9.1875 -18.59375,0 0,8.96875 -19.1875,0 0,-18.78125 37.96875,0 0,-28.59375 -9.59375,0 0,-9.1875 -37.78125,0 z m 9.40625,9.375 19,0 0,18.8125 -19,0 0,-18.8125 z"
+ style="fill:#000000;fill-opacity:1;stroke:none"
+ inkscape:connector-curvature="0" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path4910"
+ d="m 391.56716,551.84084 18.7852,0 0,9.18388 9.81005,0 0,-9.39261 18.78521,0 0,9.39261 9.3926,0 0,9.60132 -18.99393,0 0,-9.60132 -9.60133,0 0,9.60132 -9.3926,0 0,47.38046 -18.7852,0 z"
+ style="fill:#000000;fill-opacity:1;stroke:none" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path4912"
+ d="m 467.54287,533.05563 18.57648,0 0,9.18388 -18.36775,0 z"
+ style="fill:#000000;fill-opacity:1;stroke:none" />
+ <path
+ inkscape:connector-curvature="0"
+ id="path4914"
+ d="m 467.54287,552.04956 18.78521,0 0,65.95694 -18.99393,0 z"
+ style="fill:#000000;fill-opacity:1;stroke:none" />
+ <path
+ sodipodi:nodetypes="ccccccccccccccccccccccccccccc"
+ inkscape:connector-curvature="0"
+ id="path4916"
+ d="m 505.94818,561.02472 9.18388,0 0,-9.39261 37.77913,0 0,9.39261 9.3926,0 0,9.81005 -18.57648,0 0,-9.60133 -19.6201,0 0,18.78521 28.80398,0 0,9.70031 9.54646,0 0,19.10367 -9.54646,0 0,9.3926 -37.98786,0 0,-9.3926 -9.3926,0 0,-9.60133 18.99393,0 0,9.54646 19.02693,0 0,-19.14779 -28.59526,0 0,-9.60132 -9.4256,0 z"
+ style="fill:#000000;fill-opacity:1;stroke:none" />
+ </g>
+ </g>
+</svg>
diff --git a/games/tt/user_dir.patch b/games/tt/user_dir.patch
new file mode 100644
index 000000000000..24dfa8eb3550
--- /dev/null
+++ b/games/tt/user_dir.patch
@@ -0,0 +1,14 @@
+diff -Naur tt-15.1.orig/tt.c tt-15.1/tt.c
+--- tt-15.1.orig/tt.c 2006-06-01 09:36:53.000000000 +0200
++++ tt-15.1/tt.c 2013-01-19 16:05:27.358173158 +0100
+@@ -43,8 +43,8 @@
+
+ /*-------------------------------------------------------------------------*/
+
+-char *LOCK_FILE = "/home/mike/lib/ttlock/ttlock";
+-char *SCORE_FILE = "/home/mike/lib/ttscores";
++char *LOCK_FILE = "ttlock";
++char *SCORE_FILE = "ttscores";
+
+ /* These four variables determine which game we're playing */
+ struct piece *pieces = pieces4;