feat: add ahfail-display standalone binary

Implements the ahfail-display binary crate: GTK popup window that spawns
the Nedry sprite and plays the audio clip, with SIGTERM handling, 15-minute
failsafe, deadzone CLI parsing, volume save/restore, and update check.
Adds a build.rs that compiles GResources via glib-compile-resources so the
binary can be built with plain `cargo build` outside of Meson.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Asger Geel Weirsøe
2026-05-06 11:54:22 +02:00
parent e1f8c1d58f
commit f93ca6267c
4 changed files with 181 additions and 1 deletions

11
Cargo.lock generated
View File

@@ -11,6 +11,17 @@ checksum = "320119579fcad9c21884f5c4861d16174d0e06250625266f50fe6898340abefa"
[[package]]
name = "ahfail-display"
version = "0.1.0"
dependencies = [
"ahfail-ui",
"cc",
"gdk",
"glib",
"gstreamer",
"gstreamer-player",
"gtk",
"libc",
"pkg-config",
]
[[package]]
name = "ahfail-gtklock"