Commit graph cad-editor/snap
Author SHA1 Message Date
Hakan Seven
6df23ad8c2 fix(snap): handle desktop runtime paths
Strict confinement uses a private runtime directory while the Wayland socket remains in the host directory. Resolve the accessible socket path, provide bundled XKB data, and fall back to X11 only when needed.
2026-08-16 09:13:18 +03:00
Hakan Seven
ca959a31e0 fix(snap): preserve payload layout
Snapcraft strips the sole usr directory from tar sources, so extract the artifact directly and retain its desktop-file path.\n\nAdd a snap-only manual target to avoid rebuilding other platforms while validating packaging fixes.
2026-08-16 08:38:51 +03:00
Hakan Seven
2d9b828b87 ci(snap): build from shared Linux payload 2026-08-16 08:16:09 +03:00
Nozzit
9a48ab6b61 docs(snap): translate inline comments from Dutch to English
Requested in review: this repo's working language is English, so the
comments carried over from the OpenAEC sibling repos have been
translated. No functional changes -- only comments and log/error strings.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 09:39:29 +02:00
Nozzit
00952d1996 feat(snap): Snap Store packaging for Open CAD Studio
Repackages the released Linux AppImage (--appimage-extract) instead of
rebuilding from source, triggered on completion of the "Release" workflow.
Publishing to the Snap Store only happens once SNAPCRAFT_STORE_CREDENTIALS
is set as a repo secret.

Different from the other OpenAEC snaps in one important way: OCS uses
winit + wgpu (Vulkan/GL), not GTK/WebKit, so this uses explicit
opengl/wayland/x11 plugs and staged Mesa/X11/Wayland runtime libraries
instead of the `gnome` extension.

Higher confidence in the packaging mechanics (build succeeds, produces a
valid .snap) than in the actual runtime GPU/windowing behavior under
strict confinement, which needs real hands-on testing on a Linux desktop
before publishing to stable -- see the PR description.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-30 14:24:41 +02:00