README.md
Jammy AppImage
The x86-64 AppImage targets glibc >=2.35. It bundles GTK and its supporting libraries, pixbuf loaders (including SVG), fonts, fontconfig rules, icons, MIME data and schemas. Host glibc, graphics drivers and desktop services remain external; this is not a broad desktop/GPU compatibility guarantee.
Build from frozen source
The build uses rootless Podman with Ubuntu 22.04 (Jammy), without installing host
development packages. Create a canonical input using the
release guide, then set VERSION
to the exact appVersion in that frozen source:
| 1 | : "${VERSION:?Set VERSION to the frozen source's appVersion}" |
| 2 | SPLOTCH_SOURCE_INPUT="$PWD/packaging/build/inputs/candidate-example/tree" \ |
| 3 | SPLOTCH_DIST_ROOT="$PWD/packaging/build/candidates/candidate-example" \ |
| 4 | ./packaging/appimage/build.sh "$VERSION-candidate-jammy1" |
Without SPLOTCH_SOURCE_INPUT, the helper freezes tracked working files into a
new packaging/build/inputs/appimage-<version>/. From an exported tree it consumes
the external SOURCE-INPUT.json and original archive directly, without .git.
Existing outputs are refused. The package-specific gotk4 pin in jammy.mod and
jammy.sum supports the bundled stack; do not copy it into native go.mod.
sh packaging/test-go.sh packaging/appimage/jammy.mod verifies modules and runs
permission regressions plus the ordinary GTK-tagged suite, uncached, as
package-test. Tests need an ordinary user because container root can bypass
permission-denial checks. HOME, cache, temporary and XDG locations are private;
preloaded modules are read-only and dependency networking is disabled. Only
container source-directory traversal permissions are normalized, not source
file modes/bytes or host permissions. Root assembles the artifact and retains
both test output streams in build-tests.log; test failure stops the build.
The ordinary suite does not enable desktop opt-ins or establish actual-artifact
acceptance. sh packaging/test-go-test.sh checks launcher/failure propagation
with synthetic Go commands in an equipped builder with package-test; it does
not replace the real Go gate.
Output defaults to packaging/build/appimage/<version>/; SPLOTCH_DIST_ROOT
remains a compatible override for both build and automatic freeze outputs.
Retain selected packages and metadata before using the
build cleaner.
Outputs include AppImage, AppDir, compiled tests, source export/input records, manifest sidecar, build/library/ELF logs and SHA256SUMS. The embedded source manifest is authoritative; a sidecar is only useful when verified against it. Source tarballs stay outside the binary. See the source contract for notices, retrieval and offline verification.
Why this runtime stack is built from source
Exact source versions, URLs, checksums, patches and notices belong to
packaging/source/inputs.json; recipes are build-stack.sh and
build-runtime.sh. Ubuntu distribution GLib/GTK sources are compiled on
Jammy, not copied as Noble binaries. Their distribution patch series is part
of the input: an upstream version number alone would omit relevant fixes.
This does not certify absence of vulnerabilities or expand the binding API.
Protocol XML compiled into GTK is also a source input. Its hashes and applicable notices are recorded against the GTK library that incorporates it, not the Go executable. Full notices are generated from the source manifest rather than maintained in a second handwritten inventory.
The type-2 runtime is built locally from recorded source and concatenated with
mksquashfs -comp zstd output; there is no appimagetool binary dependency.
Linker-map archives/startup objects are checked against the static-input lock,
and the runtime must have no ELF interpreter or DT_NEEDED libraries. It uses
the glibc allocator, not the optional mimalloc override, and zlib/zstd rather
than xz/lzo/lz4. The source/recipe permit rebuilding and relinking LGPL components.
Static glibc linking emits libfuse's high-level dlopen warning; the runtime
uses the low-level session interface, not arbitrary libfuse modules. A link or
version probe cannot establish FUSE operation on a desktop. APT/base image tags
are not snapshot-pinned, though static runtime inputs are version-checked. No
bit-identical build or indefinite upstream source availability is promised.
Install a verified local artifact
| 1 | image=/path/to/Selected.AppImage |
| 2 | sha=$(sha256sum "$image"); sha=${sha%% *} |
| 3 | ./packaging/appimage/install.sh --file "$image" "$sha" |
| 4 | ./packaging/appimage/install.sh --uninstall |
Computing a local checksum identifies the selected bytes; it does not establish publisher trust. For a published download, use an HTTPS URL and a trusted publisher-supplied SHA256. The paint program has no updater or automatic download. The user-local launcher overrides a system desktop entry with the same app ID; uninstall it when switching to a native package. The installer does not change MIME defaults, remove system packages or install host dependencies.
Normal mounting needs a functioning host fusermount/fusermount3 helper, not
libfuse.so.2. Use --appimage-extract-and-run without FUSE. The installer never
changes device permissions.
Disposable Jammy test distrobox
Run these helpers inside an Ubuntu 22.04 (Jammy) test environment, with private application state and the required Xvfb/D-Bus/input tools. A Jammy Distrobox is one option when the development host runs another distribution; it is not a requirement for running the AppImage. Neither helper enters a box or provisions its dependencies. Running on a different host distribution tests that host, not Jammy compatibility.
| 1 | ./packaging/appimage/test-in-distrobox.sh /path/to/appimage-output-directory |
| 2 | ./packaging/appimage/weston-test.sh /path/to/appimage-output-directory |
The first uses dedicated Xvfb, never the user's live desktop. The second opens nested Weston/Pixman; keep application state private and independent. A distrobox shares the host kernel and integrates fonts/themes, so it is not a hermetic Ubuntu machine. GTK disables Vulkan, GStreamer, printing and introspection generation in this recipe; Cairo software rendering is available.
Compatibility limits
The host supplies glibc, libgcc/libstdc++, graphics-driver libraries and desktop
services. host-libraries.txt records observed excluded ELF dependencies, not
all runtime-loaded graphics drivers. run-env.sh regenerates the pixbuf loader
cache at the current mount path. It uses matching bundled fontconfig rules while
searching host/user fonts; loading newer-host rules into older fontconfig is
unsafe. Host Wayland is selected only when its client exports
wl_fixes_interface; that heuristic is not assurance for future driver stacks.
Earlier runtime checks exercised Jammy X11/Weston and an Arch/niri desktop, including FUSE2/FUSE3 helpers. They exposed fontconfig incompatibilities, EGL fallback and accessibility-bus failure. Retain those limitations: launch success does not prove accelerated rendering or accessibility, and older artifacts do not validate a newly built source/runtime combination. Validate the exact final package on its intended desktops as described in the release guide.