cruxports/ltris
2024-04-09 18:47:59 +00:00
..
.footprint ltris: 1.2.6 -> 1.2.7 2023-09-08 19:53:44 -04:00
.signature ltris: 1.2.7 -> 1.3 2024-04-09 18:47:59 +00:00
.watch add watch scripts for sourceforge lgames 2023-02-11 20:56:13 -05:00
Pkgfile ltris: 1.2.7 -> 1.3 2024-04-09 18:47:59 +00:00
README ltris: 1.2.6 -> 1.2.7 2023-09-08 19:53:44 -04: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