Linux build of CrealityPrint, rebased onto upstream release-260731 (the tree that carries CrealityOfficial#575).
What is new
- Bed temperature now follows the filament that actually prints. With a filament loaded in CFS slot 1 that the job never uses, the bed used to be driven at that idle filament's temperature. On a K2 Plus with PETG idle in slot 1 and ASA-CF printing from slot 2,
START_PRINT … BED_TEMP=went out as 70 instead of 90. Fixed upstream in CrealityOfficial#575, verified here on a real project: same plate, same 70/90/50 filaments, 7.2.1.5226 emittedBED_TEMP=70, this build emitsBED_TEMP=90— in the start G-code, in the layer-2M140and in the config block. - Everything else that landed upstream between
release-260430andrelease-260731.
Linux fixes carried in this build
Upstream has meanwhile adopted most of the earlier patches from this fork. Still carried here, because upstream builds no Linux target and cannot see them:
- No segfault on exit. On Linux the GL/GTK context is gone by the time the global destructors run; static
GLModelinstances then callglDeleteBuffers()into a dead context. The process now terminates before that teardown. - Breakpad's
dumpCallbackis exception-safe, so a throwing cleanup path inside the signal handler no longer double-faults into a second, harder crash. - Translations are built and shipped (22 locales). Without the
gettext_po_to_mostep the package ships an emptyresources/i18nand the UI stays English-only.
Building from source
Upstream now requires wxWidgets 3.3.2. An existing deps/build from an earlier version fails at configure time with Found unsuitable version "3.1.5", but required is at least "3.3". Rebuilding just that dependency is enough:
cmake -S deps -B deps/build -G Ninja -DDESTDIR=<destdir> -DDEP_WX_GTK3=ON
cmake --build deps/build --target dep_wxWidgets
Notes
- Built on Ubuntu 24.04 / GCC 13, requires glibc 2.38 or newer.
- Issues are enabled on this repository now — Linux-specific reports are welcome here, anything else belongs upstream.