Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Flatpak bundle: skip the debuginfo pass manifest-wide (runner has no eu-strip)

Brandon Thomas8ce8fb132c19
diff --git a/packaging/linux/flatpak/ai.storyteller.designcraft.bundle.yml b/packaging/linux/flatpak/ai.storyteller.designcraft.bundle.yml
index 58f648ee5..750400657 100644
--- a/packaging/linux/flatpak/ai.storyteller.designcraft.bundle.yml
+++ b/packaging/linux/flatpak/ai.storyteller.designcraft.bundle.yml
@@ -43,16 +43,17 @@ finish-args:
- --filesystem=xdg-documents
- --filesystem=xdg-pictures
# Home/host filesystem access is deliberately not granted.
+# The release runner's flatpak-builder has no eu-strip (elfutils), which its debuginfo pass runs
+# on cups-client's unstripped tools, in whichever module comes first after they're installed. The
+# app's own binaries come from the release tarball, already stripped.
+build-options:
+ no-debuginfo: true
modules:
# CUPS client tools for craft-print: the runtime has libcups but not lpstat/lp/lpoptions.
# Linked statically against this release's libcups, so a runtime update can't break them;
# the socket path matches the host's, which --socket=cups mounts.
- name: cups-client
buildsystem: simple
- # The release runner's flatpak-builder has no eu-strip (elfutils), which the debuginfo pass
- # runs on every binary this module compiles.
- build-options:
- no-debuginfo: true
build-commands:
- ./configure --prefix=/app --sysconfdir=/etc --localstatedir=/var --with-rundir=/run/cups
--with-domainsocket=/run/cups/cups.sock --disable-shared --with-components=libcups