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
Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://n5qf01ngh276"
path="res://.godot/imported/tidewall-128.png-7271ad57a733a9257cd4c716cf7de6c5.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/app/tidewall-128.png"
dest_files=["res://.godot/imported/tidewall-128.png-7271ad57a733a9257cd4c716cf7de6c5.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 590 B

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bcetxhegf4kau"
path="res://.godot/imported/tidewall-16.png-b5edc053655606f79593b243d4fc625d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/app/tidewall-16.png"
dest_files=["res://.godot/imported/tidewall-16.png-b5edc053655606f79593b243d4fc625d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 924 B

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bwypm6m3ghkr2"
path="res://.godot/imported/tidewall-24.png-004cc012c2f2e8dc90b47511270ee4ca.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/app/tidewall-24.png"
dest_files=["res://.godot/imported/tidewall-24.png-004cc012c2f2e8dc90b47511270ee4ca.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dnsb4e164d2x3"
path="res://.godot/imported/tidewall-256.png-ac665539673427fe14d4c6e2655a86f6.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/app/tidewall-256.png"
dest_files=["res://.godot/imported/tidewall-256.png-ac665539673427fe14d4c6e2655a86f6.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://gh3kugv3x8jb"
path="res://.godot/imported/tidewall-32.png-59157aa1b0335b4e19d312820a2b5c36.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/app/tidewall-32.png"
dest_files=["res://.godot/imported/tidewall-32.png-59157aa1b0335b4e19d312820a2b5c36.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://b3esdhvy4gjyy"
path="res://.godot/imported/tidewall-48.png-ea4e3c67152321864ee3f1ac6a924361.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/app/tidewall-48.png"
dest_files=["res://.godot/imported/tidewall-48.png-ea4e3c67152321864ee3f1ac6a924361.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://boqmnny3uc7tf"
path="res://.godot/imported/tidewall-512.png-ee9b3b6f005880c9f00054b0a9f090a3.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/app/tidewall-512.png"
dest_files=["res://.godot/imported/tidewall-512.png-ee9b3b6f005880c9f00054b0a9f090a3.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

+40
View File
@@ -0,0 +1,40 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://dbbsm3t37qsn6"
path="res://.godot/imported/tidewall-64.png-27dd7b63c2ed7f401d1123a90d8a5153.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/app/tidewall-64.png"
dest_files=["res://.godot/imported/tidewall-64.png-27dd7b63c2ed7f401d1123a90d8a5153.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
+52
View File
@@ -0,0 +1,52 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Tidewall's application icon, written by hand for this project (see assets/PROVENANCE.md).
A stepped stone tide wall with an oilskin pennant, holding back a rising sea, cut like
a woodcut badge. Colours are from src/client/style/palette.gd: INK, CANVAS,
DRESSED_STONE, SEA_PAINT, SEA_DEEP, SALT, OILSKIN, OCHRE_RED. -->
<svg xmlns="http://www.w3.org/2000/svg" width="256" height="256" viewBox="0 0 256 256">
<defs>
<clipPath id="badge"><rect x="8" y="8" width="240" height="240" rx="28"/></clipPath>
</defs>
<g clip-path="url(#badge)">
<!-- The badge: canvas with an ink frame. -->
<rect x="8" y="8" width="240" height="240" fill="#d6ccad"/>
<!-- Sky hatching, like a cut block. -->
<g stroke="#29211c" stroke-width="3" stroke-linecap="round" opacity="0.35">
<path d="M40 52 L84 52"/><path d="M52 66 L104 66"/><path d="M36 80 L72 80"/>
<path d="M150 44 L190 44"/>
</g>
<!-- The tide wall: stepped dressed stone, inked joints. -->
<path d="M132 214 L132 128 L156 128 L156 104 L180 104 L180 80 L212 80 L212 214 Z"
fill="#99968c" stroke="#29211c" stroke-width="7" stroke-linejoin="round"/>
<g stroke="#29211c" stroke-width="4" stroke-linecap="round">
<path d="M132 152 L212 152"/><path d="M156 128 L212 128"/><path d="M180 104 L212 104"/>
<path d="M132 178 L212 178"/>
<path d="M168 128 L168 152"/><path d="M196 104 L196 128"/><path d="M150 152 L150 178"/>
<path d="M186 152 L186 178"/><path d="M196 80 L196 104"/>
</g>
<!-- Pole and oilskin pennant on the top step. -->
<path d="M198 80 L198 30" stroke="#29211c" stroke-width="6" stroke-linecap="round"/>
<path d="M201 32 L238 44 L201 58 Z" fill="#dba829" stroke="#29211c" stroke-width="5" stroke-linejoin="round"/>
<!-- The rising sea: a deep body and a curling crest breaking on the wall. -->
<path d="M8 160 C 40 130, 70 118, 100 126 C 124 132, 128 150, 112 158
C 102 163, 92 156, 98 148 C 104 141, 118 146, 132 150
L132 248 L8 248 Z"
fill="#548c8f"/>
<path d="M8 196 C 44 184, 80 200, 132 188 L132 248 L8 248 Z" fill="#1a384d"/>
<!-- Foam and current lines in salt and ink. -->
<path d="M18 152 C 44 132, 72 124, 98 130" fill="none" stroke="#e6e6db" stroke-width="6" stroke-linecap="round"/>
<g fill="none" stroke="#29211c" stroke-width="4" stroke-linecap="round">
<path d="M8 160 C 40 130, 70 118, 100 126 C 124 132, 128 150, 112 158 C 102 163, 92 156, 98 148"/>
<path d="M26 178 C 46 170, 66 176, 86 170"/>
<path d="M30 218 C 52 210, 76 222, 104 212"/>
</g>
<!-- The sea runs on round the wall's foot. -->
<path d="M128 216 C 160 208, 200 222, 248 210 L248 248 L128 248 Z" fill="#1a384d"/>
<path d="M146 232 C 170 226, 196 236, 232 228" fill="none" stroke="#29211c" stroke-width="4" stroke-linecap="round"/>
<path d="M212 208 C 224 204, 236 208, 248 204" fill="none" stroke="#e6e6db" stroke-width="5" stroke-linecap="round"/>
</g>
<!-- The ink frame over everything. -->
<rect x="8" y="8" width="240" height="240" rx="28" fill="none" stroke="#29211c" stroke-width="12"/>
<!-- A rust-red tide mark on the wall: where the sea reached last time. -->
<path d="M138 166 L206 166" stroke="#8f4533" stroke-width="5" stroke-linecap="round"/>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

+43
View File
@@ -0,0 +1,43 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://jqyksjo5pwth"
path="res://.godot/imported/tidewall.svg-f46f79795fcb455630d7dc7bbb0c32dd.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://assets/icons/app/tidewall.svg"
dest_files=["res://.godot/imported/tidewall.svg-f46f79795fcb455630d7dc7bbb0c32dd.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/uastc_level=0
compress/rdo_quality_loss=0.0
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/channel_remap/red=0
process/channel_remap/green=1
process/channel_remap/blue=2
process/channel_remap/alpha=3
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0
editor/scale_with_editor_scale=false
editor/convert_colors_with_editor_theme=false