Skip to content

fix(release): SDL floor for the AppImage build, out-of-tree flatpak modules - #37

Merged
emir-hasanbegovic merged 1 commit into
mainfrom
fix/appimage-sdl-floor-flatpak-builddir
Aug 23, 2026
Merged

fix(release): SDL floor for the AppImage build, out-of-tree flatpak modules#37
emir-hasanbegovic merged 1 commit into
mainfrom
fix/appimage-sdl-floor-flatpak-builddir

Conversation

@emir-hasanbegovic

Copy link
Copy Markdown
Contributor

Attempt 2 of the 0.1.0 release got both failing jobs past their environment problems and into the next layer.

AppImage: jammy ships SDL 2.0.20; SDLGamepadBridge.cpp uses SDL_GameControllerPath / SDL_JoystickPath, which need 2.24. The job now builds the pinned SDL 2.30.9 (same version, checksum and gamepad-only feature set as the Flatpak manifest's sdl2 module) and linuxdeploy bundles it. The step runs after setup-qt because that action overwrites CMAKE_PREFIX_PATH; the SDL prefix prepends to it.

Flatpak: SDL2's CMakeLists refuses an in-tree configure, and in-tree is flatpak-builder's default for cmake modules. Both cmake modules (sdl2, dish) now set builddir: true, in the flathub variant too.

Same follow-up as #36: retag 0.1.0 on the merge commit and the release reruns.

…odules

Jammy ships SDL 2.0.20 and the code uses SDL_GameControllerPath, which
needs 2.24: the AppImage job now builds the pinned SDL 2.30.9 the Flatpak
manifest already uses, after setup-qt so the prefix prepend survives that
action's CMAKE_PREFIX_PATH overwrite. SDL2's CMakeLists also refuses an
in-tree configure, which is flatpak-builder's cmake default; both cmake
modules now set builddir.
@emir-hasanbegovic
emir-hasanbegovic enabled auto-merge (squash) August 23, 2026 14:22
@emir-hasanbegovic
emir-hasanbegovic merged commit 38a9481 into main Aug 23, 2026
12 checks passed
@emir-hasanbegovic
emir-hasanbegovic deleted the fix/appimage-sdl-floor-flatpak-builddir branch August 23, 2026 14:36
emir-hasanbegovic added a commit that referenced this pull request Aug 23, 2026
…latpak module (#38)

Attempt 3: the .deb and .rpm passed for the third straight time; the
same two jobs advanced one layer each.

**AppImage:** linuxdeploy's qt plugin deploys `libqxcb.so` and fails
when a dependency does not resolve on the build host; jammy's runner
image lacks `libxkbcommon-x11.so.0`. Installed the full xcb runtime
block libqxcb links (xkbcommon-x11, cursor, icccm, image, keysyms,
randr, render-util, shape, xinerama, xkb) instead of finding them one
failed run at a time.

**Flatpak:** #37's `builddir: true` on the dish module moved the
post-install cwd out of the source tree, and the udev-rule copy is
source-relative. Only SDL2's CMakeLists rejects in-tree configures;
dish's does not, and in-tree is the configuration the manifest header's
local build used. Reverted on dish, kept on sdl2, both manifests.

Same follow-up: retag 0.1.0 on the merge commit.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant