Commit Graph
7 Commits
Author SHA1 Message Date
deftdawg 51e8788167 Add check_available_memory_and_disk to BuildLinux.sh 2022-12-09 09:42:41 +08:00
deftdawg e434009577 Update Containerfile to make it Docker compatible
- Replace COPY command with Docker compatible syntax
- Rename container tag to bambu-studio-builder so as to not confuse with a container that would actually run Bambu Studio
- Add Docker alternative build method (thx @SG-R)
- Update podman syntax to remove unnecessary sudo
2022-12-09 09:42:41 +08:00
deftdawg 91db1be09e Add sigxcpu76's fix to force use of light GTK theme
When using Bambu Studio with a dark themed Linux desktop, many of the dialogs appear as white text on a white background (font's correctly invert, but dialogs remain white).

@sigxcpu76 provided a workaround for this in #12 which is to tell the app to use a light GTK theme.  This change incorporates that workaround into the AppImage making the app more usable until such time as proper dark theme support can be added to Bambu Studio.
2022-12-09 09:42:41 +08:00
DeftDawg cb2e89d93e - Update AppImage AppRun:
- Force LC_ALL=C locale; BBS segfaults without this on Holo-ISO
  - Try to create config dir each time; BBS will segfault with a boost logging error, if this doesn't exist
2022-10-09 10:38:37 +08:00
DeftDawg 207d4f6bbb - Podman Containerfile improvements:
- Add dependencies to base packages so BuildLinux doesn't need to install anything
  - Switch to Ubuntu 20.04, so glibc is older more widely available (22.04 glibc ABI was too new for Holo-iso)
  - Add debconf config to force non-interactive setup
2022-10-09 10:38:37 +08:00
DeftDawg 221a7c8e42 - BuildLinux Improvements:
- Add BBL_RELEASE_TO_PUBLIC for non-debug builds
  - Increase cmake jobs
2022-10-09 10:38:37 +08:00
DeftDawg f5a4862da5 Add Linux related build scripts
including following changes:
- Linux build scripts from SuperSlicer project;
- Update BuildLinux dev dependencies, remove unused bits;
- Update BuildLinuxImage to use nproc for cpus;
- CMake: render BuildLinuxImage and build_appimage templates;
- Fix "DSO missing" linking problems;
- Add Podman Containerfile for building;
- Update BuildLinux.sh to work better in container build;
- fixes to create AppImage inside container;
- add env to build environment;
- Update build instructions in Containerfile;

Change-Id: I73e30ab488cda8c1b0886cd34858e125596f282b
(cherry picked from commit 83fc26670ca592c91c7af1d4033a04b587cfd4cd)
2022-09-15 16:03:53 +08:00