cruxports/ltris
2023-02-17 15:00:33 -05:00
..
.footprint ltris: adopted again 2023-01-25 08:39:12 -05:00
.signature mass update of signatures 2023-02-17 15:00:33 -05:00
.watch add watch scripts for sourceforge lgames 2023-02-11 20:56:13 -05:00
Pkgfile ltris: list runtime dependencies too 2023-01-25 10:08:02 -05:00
README ltris: adopted again 2023-01-25 08:39:12 -05:00

# 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