mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
Upstream has shipped Linux .deb/.rpm artifacts since 0.6.19, and 0.6.20 fixed the startup panic that made the GUI unusable there (a RefCell double-borrow when the theme was applied from inside the XDG portal appearance callback, AprilNEA/OpenLogi#337). 0.6.21 added a Linux client-side titlebar. The build needs no patching, only the GPUI runtime dependencies and packaging. Three binaries on Linux rather than two: openlogi-agent is the daemon the GUI talks to over agent.sock for device control. The udev rule, desktop entry and systemd user unit are installed from packaging/linux/ in the source tree rather than authored here — they are the same files upstream feeds to nfpm for the .deb. Only the unit is touched, to rewrite its hardcoded /usr/bin ExecStart to the store path (upstream's install.sh does the same for a custom PREFIX). GPUI (Blade) dlopen()s its Vulkan/Wayland/GL backends, so they are invisible to the linker and the GUI needs a wrapper to find them at runtime. Darwin is untouched: same two binaries, same cargo-bundle installPhase. Assisted-by: Claude Code (claude-opus-5)