GRI-1855: client .deb with full-screen XDG autostart #81
No reviewers
Labels
No labels
Area/Backend
Area/Database
Area/Docs
Area/Frontend
Area/Infra
Area/Security
Area/Tests
Area/Tooling
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Lang/Python
Lang/Rust
Lang/Shell
Lang/SQL
Lang/TypeScript
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Routing
Auto
Routing
Hold
Routing
Human
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Grimoirix/grimoire-of-digital-signage!81
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/GRI-1855-client-deb-autostart"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Packages the client as a
.debfor x86_64 Ubuntu Desktop that starts fullscreen at login (forge #27).
scripts/package-client-deb.shbuildscrates/client'srenderer_spikebinary (
--features gtk-renderer --release) and assemblesgrimoirix-signage-client_<version>_<arch>.deb.packaging/client-deb/autostart/grimoirix-signage-client.desktopisinstalled to
/etc/xdg/autostart/, so any desktop session on the devicestarts the client automatically.
Dependsare computed bydpkg-shlibdepsagainst the actualshared libraries the binary links on the build host, not hand-typed, so a
distro package rename (Ubuntu 24.04's
libgtk-3-0→libgtk-3-0t64, forone) can't drift out of sync with a guess written here. GStreamer plugin
packages (
gst-plugins-{base,good,ugly},gst-libav,gst-gtk3) areadded by hand, since
dpkg-shlibdepsonly sees linked libraries and theseare loaded by element name at run time.
crates/client/src/bin/renderer_spike.rsnow fullscreens its window bydefault, since this binary is what the packaged
.debautostarts on thesignage display.
GRIMOIRIX_RENDERER_WINDOWED=1keeps the windoweddeveloper-measurement workflow the file's own doc comment describes.
plan/operations/deployment.mdnames the script and its known gaps(no aarch64 build yet, still packages the Phase 0 spike rather than a
Phase 1 client).
Verified on this build host (Ubuntu 24.04, amd64)
./scripts/package-client-deb.shbuilds the binary and the.deb;dpkg-deb -cshows the expectedusr/bin/grimoirix-signage-clientandetc/xdg/autostart/grimoirix-signage-client.desktoplayout with correctpermissions.
dpkg-deb --infoshows the computedDependsline.xvfb-runend to end: GTK/GStreamer/WebKitall initialise, it cycles through the image, video and web stages
fullscreen, and exits cleanly (fullscreen has no effect on the headless
xvfbsize, but the call itself does not error).cargo fmt --checkandcargo clippy -p client --features gtk-renderer -D warningsare clean on the changed file../scripts/local-gates.sh(every gate CI runs) passes.Not verified here, and still owed
The issue's own "done when" — install the
.debon a real mini PC, reboot,and the client is on screen — needs actual kiosk hardware with a display
and a login session. This build host has neither a GPU nor a display
manager. That test still has to happen on a real device before this is
called fully done; this PR gets the packaging mechanism to the point where
that test is the only thing left.
Next
Forge #26
(server systemd unit or container) is next on GRI-1855.