sigildocs

(sigil cli app gui)

(sigil cli app gui) - GUI desktop-app support for sigil app install

A Sigil GUI desktop app (a Lantern/Slate-shaped app) needs more than the bare store-symlink a headless app gets:

  • a launcher WRAPPER that supplies the graphics runtime environment (on Guix, GTK4 will not map a window unless the Mesa GL/Vulkan drivers are on LDLIBRARYPATH — see the Lantern phase-0 findings), and
  • when it declares desktop-app metadata, an XDG .desktop entry + icon so it appears in the system launcher.

The GUI SIGNAL (what triggers all of the above) is EITHER:

  • the package declares >=1 (desktop-app ...) in provides:, OR
  • a manifest.scm sits at the app repo root (a Guix graphics manifest). Non-GUI apps (folio, enclave, …) keep the unchanged bare-symlink path; the wrapper is purely additive and gated on this signal.

Factored out of (sigil cli app) to keep that module small: an oversized app.sgl produced a truncated/broken native image for the whole app command (a size-triggered compile failure). This split also groups a cohesive concern behind a clean interface.

Exports

apps-bin-dirvariable

(No description)

app-data-dirvariable

(No description)

(No description)

gui-app?variable

(No description)

(No description)

(No description)

(No description)

sh-quotevariable

(No description)

(No description)

(No description)

(No description)

(No description)