R2: Debian package, desktop entry, launcher and application icon

- make deb (tools/deb.sh) builds tidewall_<version>-1_amd64.deb with
  dpkg-deb: launchers in /usr/games, the game in /usr/lib/tidewall, a
  validated desktop entry, hicolor icons, man pages, a DEP-5 copyright,
  the engine's licences and md5sums. No maintainer scripts. Depends on
  libc6 (>= 2.28), from the binary's GLIBC symbol versions.
- make deb-check (tools/deb_check.sh) checks it in a throwaway debian:13
  container: apt install with no recommends, desktop-file-validate,
  icons, man pages and licences, tidewall on a user's PATH, the server
  and the game headless as a user, lintian, and a purge that leaves
  nothing behind.
- The tarball gains a tidewall launcher (any directory, through a
  symlink), install-desktop-entry.sh (per-user menu entry, --remove),
  tidewall.png and ENGINE-LICENSES.txt (Godot's MIT text and bundled
  notices, which R1 lacked). make dist-check covers the launcher and the
  menu entry.
- Application icon: a hand-written SVG in palette colours, rendered to
  16-512 px by make app-icon, and set as the window icon.
  test_app_icon checks the renders, the colours and the setting.
- Fix: looping ambience played into the Dummy audio driver could be
  reported as resources in use at exit. Directors play nothing without
  real audio output (SoundBank.has_output()) and stop their voices on
  exit.

Tests: make check (648), make dist-check, make deb-check all pass.

Closes #61

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-14 03:12:47 -05:00
co-authored by Claude Opus 5.5
parent 9b5064d7a8
commit f3161bf46c
47 changed files with 1078 additions and 4 deletions
+43
View File
@@ -0,0 +1,43 @@
.TH TIDEWALL\-SERVER 6 "2026-11-14" "Tidewall" "Games"
.SH NAME
tidewall\-server \- headless dedicated server for Tidewall
.SH SYNOPSIS
.B tidewall\-server
.RB [ \-\-config=\fIfile\fP ]
.RI [ options ]
.SH DESCRIPTION
.B tidewall\-server
runs the game without a window, as a server people join over UDP. SIGTERM or
Ctrl+C stops it cleanly: everyone connected is told it is shutting down. Logs
are JSON lines on standard output. Exit status: 0 clean, 1 script error,
2 bad command line.
.SH OPTIONS
.TP
.BI \-\-config= file
Read options from a file, one per line without the leading dashes; see
/usr/share/doc/tidewall/examples/server.cfg.
.TP
.B \-\-listen
Take players over the network.
.TP
.BI \-\-port= n
UDP port (default 24650). LAN discovery answers on the port plus one.
.TP
.BI \-\-bots= n
Fill each match's empty places with bots.
.TP
.BI \-\-name= name
The name shown in server lists.
.TP
.BI \-\-list= host[:port]
Register with a list server.
.TP
.BI \-\-health\-port= n
Answer GET /health over HTTP on this TCP port, on loopback.
.SH ENVIRONMENT
.TP
.B TIDEWALL_STATE
A writable directory for the engine's files and the stop file (default
~/.local/state/tidewall\-server).
.SH SEE ALSO
.BR tidewall (6)