Conversation
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.5.0 to 2.6.3. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](urllib3/urllib3@2.5.0...2.6.3) --- updated-dependencies: - dependency-name: urllib3 dependency-version: 2.6.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 11.2.1 to 11.3.0. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@11.2.1...11.3.0) --- updated-dependencies: - dependency-name: pillow dependency-version: 11.3.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Add Flatpak packaging files (manifest, desktop entry, metainfo, icon) and a build-flatpak CI job that produces a .flatpak bundle artifact. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The hatchling build backend wasn't available in the Flatpak build environment, causing pip to fail. Removing --no-build-isolation lets pip fetch hatchling automatically. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add mtdev module to provide libmtdev.so.1, fixing HIDInputMotionEventProvider crash - Add libzip module (cmake) missing from freedesktop Platform 24.08 runtime - Add katrain-wrapper script that sets KIVY_CLIPBOARD=sdl2 so clipboard works without xclip/xsel, which are unavailable in the flatpak sandbox Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
git source type requires credential prompting in the flatpak build sandbox; archive sources work without authentication and are reproducible. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Downloads the prebuilt KataGo v1.16.0 eigenavx2 Linux x86_64 binary (CPU-only, works on any modern CPU with AVX2) and installs it into the katrain package's KataGo directory so the engine can find it at the default Linux path. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces eigenavx2 with the OpenCL build for GPU acceleration. Also updates to the latest stable release (v1.16.4). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
This should fix the build, however, the resulting flatpak silently segfaults on me on my local. I think it might be an X11/Wayland issue, but I'm still working on that bit. In any case if you can get the build passing, at least people with more flatpak experience might be able to help with debugging: |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
GitLab dynamic archive endpoints produce non-deterministic checksums. Switch to the canonical release tarball which has a stable sha256. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
| - --disable-static | ||
| sources: | ||
| - type: archive | ||
| url: https://bitmath.org/code/mtdev/mtdev-1.1.7.tar.bz2 |
|
There is a more fundamental issue here. Since AppImages use FUSE filesystem access, they fail when you try to execute them inside a flatpak, because the flatpak sandbox doesn't allow that. The cure is to unspool the appimage with I don't know enough about flatpaks and appimage architecture, nor about KaTrain's code, to implement something like that. But it seems like the next obstacle here. Edit: here's what that error looks like: |
|
The appimage thing isn't too tough to fix, seems like, but I eventually hit a wall trying to get Kivy to deal with Wayland. Even with XWayland running to do pretend X11, I can't get the flatpak to even bring up a GUI. |
Summary
build-flatpakCI job that produces a.flatpakbundle artifact using the officialflatpak/flatpak-github-actionsactionTest plan
build-flatpakjob completes successfullyflatpak install --user KaTrain-*.flatpak && flatpak run org.katrain.KaTrainlaunches the app🤖 Generated with Claude Code