Skip to content

Debian 13 build procedure, devcontainer, and Create/Tello removal - #216

Merged
twells46 merged 7 commits into
masterfrom
build-procedure
Oct 23, 2026
Merged

twells46 merged 7 commits into
masterfrom
build-procedure

Conversation

@twells46

Copy link
Copy Markdown
Contributor

Lands the build-procedure branch on master so master can be cross-built for the Wombat on Debian 13.

  • Port the Debian 13 (trixie) build procedure, including the libav fix for GCC 14 and a root Dockerfile release builder (3afa8ef)
  • Merge the two READMEs and bring the result up to date (d52d99a)
  • BREAKING: remove the Create and Tello APIs (7d508f0)
  • Add an interactive API exerciser example (f6c721b)
  • Add a VS Code devcontainer, built from the root Dockerfile's dev stage (4ed7b01, 9d38420)
  • README: install libpython3.13-dev:arm64 for cross builds (0080306)

This is step 1 of moving AI camera work to a separate ai-camera branch. The camera code is still here. A follow-up PR removes it from master.

Merge this as a merge commit (not squash), so the ai-camera branch created from master afterwards keeps these commits' history.

Tested: docker build -t libwallaby-builder . and the README's Wombat cross-build both succeed and produce build/kipr-1.2.3-Linux.deb.

🤖 Generated with Claude Code

twells46 and others added 7 commits October 21, 2026 10:55
Bring over the cross-build setup from the fork so libwallaby builds for
the Wombat on Debian 13 (GCC 14) with multiarch arm64 packages, either
directly or through the new Dockerfile.

- Dockerfile: Debian 13 cross-build environment.
- toolchain: drop the hardcoded /opt/sysroot. Its only source, the LFS
  sysroot tarball, was removed in the history rewrite.
- libav: build with -Wno-error=incompatible-pointer-types, since libav
  12.3 does not compile under GCC 14.
- python binding: use FindPython3 instead of the deprecated
  FindPythonLibs. PYTHON_LIBRARY and PYTHON_INCLUDE_DIR are still
  accepted, so the Simulator's WASM build keeps working.
- packaging: package_debian now defaults to ON and runs CPack after each
  non-Emscripten build. Declare the runtime dependencies the packaged
  libraries link against.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Combine the fork's build documentation with this README and correct
both against the current code:

- Document the Docker and Debian 13 Wombat builds, the desktop (DUMMY)
  build, and the Simulator builds, all tested.
- Fix the CMake option list: drop the nonexistent with_audio, add
  with_button, with_xml_binding and package_debian, and note that
  with_botball needs with_graphics.
- Fix the Simulator build flags, which fail on master because botball
  uses the graphics API.
- Update the AI camera section: auto-detection is implemented, the
  git lfs / build.sh steps no longer exist, downloads now point to the
  Releases page, and object data is read with get_object_*().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Port the Create and Tello removals from the twells46 fork. This removes
the iRobot Create 2 module (with_create) and the Tello drone module
(with_tello, including the bundled wpa_ctrl sources), along with their
headers, SWIG bindings, config defines, and documentation.

The camera module's Tello video support (the TELLO model and UDPVideo)
is unchanged, as in the fork.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Port examples/api_exerciser.c from the twells46 fork. It steps through
the libwallaby API on a Wombat (sensors, motors, servos, camera, buttons,
display, threads) and asks the user to confirm each result with the
A/B/C buttons, listing any marked issues at the end.

It is not built by CMake; compile it against an installed libwallaby,
for example in the KIPR IDE.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Port the devcontainer from the twells46 fork: a Debian 13 image with the
aarch64 cross-compiler, arm64 build dependencies, and dev tools, running
as user "code".

Two fixes against the fork's version:
- devcontainer.json pointed at ./Containerfile, which the fork later
  renamed to Dockerfile.
- The terminal profile uses fish, which wasn't installed. Installing it
  pulls in the amd64 python3, which conflicts with python3.13-dev:arm64,
  so install libpython3.13-dev:arm64 instead. It provides the arm64
  headers and library without the arm64 interpreter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
python3.13-dev:arm64 depends on the arm64 Python interpreter, so on a
Debian system that already has python3 installed, apt removes the system
python3 to install it. libpython3.13-dev:arm64 provides the same arm64
headers and library without the interpreter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Split the root Dockerfile into toolchain, dev and builder stages so the devcontainer and the release builder share one toolchain. The devcontainer now uses the dev stage, keeps Claude Code and Codex state in named volumes, and documents itself in .devcontainer/README.md. Install libpython3.13-dev:arm64 instead of python3.13-dev:arm64 so the arm64 interpreter does not displace the native python3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@twells46
twells46 merged commit dcfae32 into master Oct 23, 2026
2 checks passed
@twells46
twells46 deleted the build-procedure branch October 23, 2026 15:21
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