23 lines
963 B

# LTris requires Xorg
xorg-server is a runtime dependency. ltris will compile just fine
without xorg-server, but being linked to libsdl 1.2 it is restricted to
the video backends supported by libsdl 1.2. Users who want a pure-Wayland
desktop will have to get their tetris fix elsewhere.
# Sharing state on a multi-user system
The world-writable high-score database (/var/lib/games/ltris.hscr) is
omitted from the built package. On a single-user system, the first instance
of running the game (as a nonprivileged user) will create the missing file
with safe permissions, and no further intervention is required.
On a multi-user system, only the first player to launch the game will have
permission to modify the high score list. To allow a shared modifiable list of
high scores, you must first recreate the expected file as follows, and add
each user to the "games" group.
cd /var/lib/games
touch ltris.hscr
chmod 664 ltris.hscr
chown root:games ltris.hscr