From 2426863b7b3478265089cc15d5b2501887150535 Mon Sep 17 00:00:00 2001 From: Jordan Hubbard Date: Sun, 12 Jul 2026 14:39:34 +0100 Subject: [PATCH] Linux build fixes (absorb upstream PR #15) Corrects the AppImage/Docker Linux build: the profile-validator CMake target is named OrcaSlicer_profile_validator (not Orca-Flashforge_profile_validator), the Docker entrypoint binary is orca-flashforge, and adds Linux build instructions to the README. Absorbs FlashForge/Orca-Flashforge#15 by ArseniSoitu; the PR's MPFR.cmake hunk is omitted as that fix is already present on this branch. Co-authored-by: ArseniSoitu Co-Authored-By: Claude Opus 4.8 (1M context) --- BuildLinux.sh | 4 ++-- Dockerfile | 2 +- README.md | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/BuildLinux.sh b/BuildLinux.sh index 05ec006e04..e26697c807 100755 --- a/BuildLinux.sh +++ b/BuildLinux.sh @@ -181,8 +181,8 @@ then echo "done" echo "Building Orca-Flashforge ..." cmake --build build --target Orca-Flashforge - echo "Building Orca-Flashforge_profile_validator .." - cmake --build build --target Orca-Flashforge_profile_validator + echo "Building OrcaSlicer_profile_validator .." + cmake --build build --target OrcaSlicer_profile_validator ./run_gettext.sh echo "done" fi diff --git a/Dockerfile b/Dockerfile index 9e6bdb4291..c1369b3c6d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -92,4 +92,4 @@ RUN [[ "$UID" != "0" ]] \ # Using an entrypoint instead of CMD because the binary # accepts several command line arguments. -ENTRYPOINT ["/OrcaSlicer/build/package/bin/orca-slicer"] +ENTRYPOINT ["/OrcaSlicer/build/package/bin/orca-flashforge"] diff --git a/README.md b/README.md index 75c593242c..f77db43d91 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,11 @@ Orca-Flashforge is an open source slicer for FDM printers. - Tools needed: Xcode, CMake, Git, gettext, Automake, Perl - run `build_release_macos.sh` +- Linux (checked on Ubuntu Desktop 22.04 6.8.0-57-generic x86_64) + - Tools needed: [docker](https://docs.docker.com/engine/install/ubuntu/) + - run `sh ./DockerBuild.sh` + - after successful build run it from docker via `sh DockerRun.sh` or export AppImage from `orcaslicer` container to your local file system + # License Orca-Flashforge is licensed under the GNU Affero General Public License, version 3. Orca-Flashforge is based on Orca Slicer by SoftFever.