Commit graph

204 commits

Author SHA1 Message Date
lodriguez
be3bbfa39e
remove OSMesa ()
* remove OSMesa

OSMesa is depricated for quite a while and got removed with Mesa 25.1.0

* remove OSMesa from all buildfiles, readmes, etc…

---------

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
2025-06-15 14:53:42 +08:00
Vasily Khoruzhick
b72e28c116
Various flatpak fixes and improvements ()
* Revert 98be94a729

We carry a wxgtk patch [1] that detects dark theme automatically. If it
doesn't work, it means that either selected Gtk theme is not installed
in flatpak environment, or appropriate xdg-desktop-portal for the DE is not
installed.

Plasma users may need to install org.gtk.Gtk3theme.Adapta

Also see https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Settings.html

[1] 0001-Enable-using-a-dark-theme-when-Gnome-dark-style-is-s.patch

* flatpak: introduce ORCA_SLICER_DARK_THEME to force dark theme

If ORCA_SLICER_DARK_THEME is set, dark theme will be applied regardless
of system settings.

* FIX: occt build failure

Pick up build error fix from upstream:
7236e83dcc

/run/build/BambuStudio/deps/build/dep_OCCT-prefix/src/dep_OCCT/src/StdPrs/StdPrs_BRepFont.cxx: In member function ‘Standard_Boolean StdPrs_BRepFont::renderGlyph(Standard_Utf32Char, TopoDS_Shape&)’:
/run/build/BambuStudio/deps/build/dep_OCCT-prefix/src/dep_OCCT/src/StdPrs/StdPrs_BRepFont.cxx:465:30: error: invalid conversion from ‘unsigned char*’ to ‘const char*’ [-fpermissive]
  465 |     const char* aTags      = &anOutline->tags[aStartIndex];
      |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                              |
      |                              unsigned char*

* Set policy CMP0167 to NEW

Newer cmake switched to using BoostConfig.cmake shipped with boost-1.70
or later for detecting boost, to preserve old behavior policy CMP0167
was introduced.

Set it to "NEW" to indicate that we want to use .cmake shipped with
boost

* Add OpenSSL tarball link to the manifest

* Add curl zip to the manifest

* flatpak: bump runtime version to 47

Gnome 47 has been released a while ago

---------

Co-authored-by: Bastien Nocera <hadess@hadess.net>
2025-06-15 12:10:51 +08:00
Dipl.-Ing. Raoul Rubien, BSc
6da7fe62a2
Fixes, refactors and enhances Linux build-scripts ()
* fixes and refactors linux build scripts
 - build_linux.sh: fixes wrong AppImage build folder; refactors script; enhances help text
 - harmonizes names: BuildLinux.sh and BuildLinuxImage.sh
 - fixes file permissions: cmake inherits .in-file permission; removes chmod 755 in scripts
 - linux.d/debian: removes false positive error message
 - updates documentation

* enables ANSI-colored output for GNU or Clang

* build_linux.sh: adds -p flag to disable PCH for boosting ccache hit rate

* Allow compilation on distributions based on Ubuntu/Debian ()

* build_linux.sh: takes over changes from BuildLinux.sh

* CMakeLists.txt: removes leftovers, enables ANSI-colored output

* CMakeLists.txt: fixes issue where FORCE_COLORED_OUTPUT was not respected form environment (introduces -C cli arg)

* merges 5df4275: Make it easy to pass extra build args to deps and orca in BuildLinux.sh ()
2025-06-15 00:41:20 +08:00
Noisyfox
09f2ee467b
Enable deploy orca_custom_preset_tests () 2025-04-24 09:37:05 +08:00
SoftFever
54a5ac9235
reenable appimage build on ubuntu 24.04 ()
* reenable appimage build on ubuntu 24.04

* update TIFF

* fix build error
2025-04-24 08:13:15 +08:00
cochcoder
45221a2bea
Trigger build workflow when flatpak changes are made ()
Trigger build all for changes under the flatpak folder
2025-03-29 16:18:34 +08:00
SoftFever
17d08aec41 deprecate AppImage 2025-03-27 22:55:16 +08:00
SoftFever
658669d103
Universal mac build ()
build universal Mac app
2025-03-27 22:53:37 +08:00
SoftFever
19c4a4dc3f Automatically update nightly-builds tag 2025-03-21 23:19:10 +08:00
cochcoder
79a5a9b5f8
Flatpak arm64 support ()
* Add qemu for arm builds on flatpak

* Increase timeout-minutes

Mainly meant to retrigger GitHub actions (free GitHub actions runners have a max runtime of 6 hours)

* Change arm64 flatpak to build barebones, rather than through emulation

This new addition is highlighted in GitHub's new blog post: 
https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/

* Rename from arm64 to aarch64

* Potental fix for gst-plugins-good compilation

* Initial appimage arm64 builds

* Add inputs.arch variable

* Temporarily completely isolate arm64 and x86 dependencies

* Fix mesa download link and remove temp comments

* Disable libunwind in gst-plugins-good

* Revert changes in build_check_cache.yml

* Disable nls & static options in gst-plugins-good

* Rebase on main

* Re-add flatpak arm build

* Update gst-plugins-good to 1.24.10

This should be the version that received complete arm64 support

* Trying a solution

* Revert "Update gst-plugins-good to 1.24.10"

This reverts commit b416dcd0ae.

* Remove previous build-options

* Try installing the proper arch version of Meson

When building on a local arm64 device it runs properly.

* Remove sudo commands

* Use dnf rather than apt-get

* Try installing meson before the flatpak builder

* Change flatpak runner

This uses a more experimental version of the flatpak runner provided by Flathub

* Temporarily enable artifact upload

* Resolve merge conflicts

* Add arch variable into flatpak name

* Revert to using Gnome 46, rather than Gnome 47

* Add curl dependency

* Revert "Add curl dependency"

This reverts commit 888a0c4a75.

* Clean up

* Define ubuntu version

Seems to be needed due to the arm version still being in public beta
2025-03-10 22:36:50 +08:00
bo0tzz
2a0de19e4e
stale bot: exempt "enhancement" label ()
* stale bot: exempt "enhancement" label

Feature requests don't go stale
2025-03-09 16:28:51 +08:00
SoftFever
ddf8eca96e upload Flatpak artifact 2025-03-02 09:17:56 +08:00
SoftFever
e12ca90f62 fix empty compatible_printers issues in vendor profiles 2025-02-22 15:53:58 +08:00
SoftFever
c5ba8be49f add extra profile checks 2025-02-22 15:53:58 +08:00
SoftFever
532a2d36b5
disable flatpak upload () 2025-02-04 06:36:53 +08:00
SoftFever
6ed68342e0
fix build errors ()
* fix build errors

* fix windows

* fix flatpak
2025-01-28 01:07:27 +08:00
discip
251887004f
Preventing nested zipping of the portable Windows build ()
* Update build_orca.yml

Preventing nested zipping of the portable Windows build. 😊

* Update build_orca.yml

* uncommented lines 180-184
2025-01-23 22:10:15 +08:00
dependabot[bot]
f2e65f9d00
Bump WebFreak001/deploy-nightly from 3.1.0 to 3.2.0 ()
Bumps [WebFreak001/deploy-nightly](https://github.com/webfreak001/deploy-nightly) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/webfreak001/deploy-nightly/releases)
- [Commits](https://github.com/webfreak001/deploy-nightly/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: WebFreak001/deploy-nightly
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 14:36:57 +08:00
Tom
893b8cba16
Update build_deps.yml (check for existing directory tree and skips creation if exists) ()
* Update build_deps.yml

Fixes "Build on Windows" so an error isn't thrown if the working directories already exist.

* Update build_deps.yml

* Update build_deps.yml
2025-01-22 14:24:11 +08:00
SoftFever
2ea2ab08de
Fix flatpak build () 2025-01-16 00:17:38 +08:00
Trent Bartlem
b73d3866b5
add dependabot ()
* Create dependabot.yml

* Update dependabot.yml
2025-01-07 22:58:29 +08:00
SoftFever
adba9a0280
Update build_orca.yml 2025-01-07 07:49:43 +08:00
SoftFever
5b1bc5c0ef free mac space 2025-01-06 23:53:33 +08:00
SoftFever
4d5944090f nightly build 2024-12-31 12:54:16 +08:00
SoftFever
8219b55392 12 2024-12-31 11:28:31 +08:00
SoftFever
efa6fc9b8c 11 2024-12-30 23:35:06 +08:00
SoftFever
ca2db3a60f keep docker 2024-12-11 23:30:55 +08:00
SoftFever
d39799c2c3 free space 2024-12-11 23:29:56 +08:00
SoftFever
f361943443 tweak naming 2024-12-11 22:26:41 +08:00
SoftFever
50089ded0a disable other jobs temporarily 2024-12-08 12:16:05 +08:00
SoftFever
95887780b9 enable cache 2024-12-08 12:15:13 +08:00
Vasily Khoruzhick
7ab985e468
Fix flatpak build ()
* Patch wxWidgets to automatically select dark theme variant (taken from
  Bambu slicer flatpak manifest)
* Drop python script that selected dark theme
* Add a patch to fix libslic3r build
2024-11-12 00:06:23 +08:00
SoftFever
eb8f9bba4f update check profile to use 24.04 2024-09-20 00:10:58 +08:00
Noisyfox
5c3e094450
Fix issue that github action windows build could not find win10sdk ()
* Fix issue that github action windows build could not find win10sdk ()

* Another attempt to fix the build issue

* This should work now
2024-09-11 22:24:47 +08:00
SoftFever
b85c146499 Disable flatpak for now.
The current flatpak workflow in Orca is too troublesome to maintain.
2024-08-03 11:37:50 +08:00
ElectricalBoy
b40853af94
CI: Create Automated Workflow for Translation Catalog Updates ()
* CI: Automate translation catalog update

Signed-off-by: GitHub <noreply@github.com>

* Update triggers for localization workflow

Signed-off-by: GitHub <noreply@github.com>

* Rewrite HintsToPot with Python

* Disable scheduled workflow runs

* Apply formatting to HintsToPot.py

* Add missing exit() call
2024-07-29 20:38:10 +08:00
SoftFever
002125fbe4 Revert "Revert "Some flatpak fixing ()""
This reverts commit e29cba2eff.
2024-07-16 22:39:43 +08:00
SoftFever
3bf868f99d
pin cmake version to 3.28 ()
* pin cmake version to 3.28

* remove brew install cmake
2024-07-16 22:37:28 +08:00
SoftFever
e29cba2eff Revert "Some flatpak fixing ()"
This reverts commit 657954901f.
2024-07-11 20:27:45 +08:00
Aidan
657954901f
Some flatpak fixing ()
* Use fixed commit for wxwidgets

* disable cache

* Fix imports

* revert some build stuff

* fix python builds

* Don't build OCCT docs, a constexpr borks flatpak

* fix thread import

* Fix import

* Fix import again

* remove git commit

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-07-11 00:07:55 +08:00
SoftFever
c7206dcb8d
Update FUNDING.yml 2024-07-09 21:06:06 +08:00
ElectricalBoy
4ca0b24002
CI: Avoid Linux Asset Name Collision ()
CI: Avoid asset name collision
2024-07-03 19:48:04 +08:00
ElectricalBoy
0b6fc3d389
CI: Build with ubuntu-24.04 ()
* CI: Build with ubuntu-24.04

* Use apt-get in ubuntu-24.04

* Fix step name

* Use alternate approach for detecting libwebkit2gtk version

* CI: Install libfuse2 in ubuntu-24.04

* Reduce repetitive code in workflows

Co-authored-by: Ocraftyone <Ocraftyone@users.noreply.github.com>

* CI: Install libfuse2

Runtime dependency for AppImage

* Fix filenames for nightly deployment

* Properly nest conditional

---------

Co-authored-by: Ocraftyone <Ocraftyone@users.noreply.github.com>
2024-07-01 23:44:49 +08:00
SoftFever
a0dae394e7 Fixed an issue that WIKI action didn't work if it's manually triggered. 2024-07-01 22:19:03 +08:00
SoftFever
c6205fa806 Small tweak for GH workflow 2024-07-01 21:56:02 +08:00
SoftFever
c762a45676 try to fix wiki actions 2024-07-01 21:20:46 +08:00
SoftFever
7e85eb0d7d
Upgrade Mac CI/CD to macos-14 () 2024-06-25 23:24:39 +08:00
SoftFever
276e03683f disable flatpak CI for now 2024-06-04 18:32:29 +08:00
Aidan
17fec83e5b
Flatpak build ()
* Initial commit for the builder

* fix wx, use hack to install into /app

* add some workarounds for /usr/local

* fix up rest of paths

* attempt to fix wxwebview undef

* figure out why wxwidgets isnt getting its patches applied

* do "proper" patching of wxwidgets

* Flip the flag

* actually append the /usr/local

* restrict package finding to flatpak only

* Update the destdir stuff for mpfr, gmp

* Transfer over all the _destdir, again

* update patch command for all other plats

* initial ci check

* what even happened

* clear ci image

* I doubt this will do anything

* do cleanup after running each step

* remove build objects for flatpak ci

* compress debug info

* Fix MacOS build

* Try saving space after building deps

* No debug info for now

* Do debug info, use thin static archives

* use BSD flag, not --thin

* try building with lto

* Use release, no debug info

* remove lto

* Revert the last 5 commits

* It might require write perms

* Revert "It might require write perms"

This reverts commit 44cec58a57.

* Import fixes for merge

* remove some patch stuff

* the worst hack!

* remove uneeded patches

* Initial commit for the builder

* note to self, go back to regular wx

* attempt to fix wxwebview undef

* do "proper" patching of wxwidgets

* update patch command for all other plats

* what even happened

* -ldep_name-NOTFOUND is still here

* concat patches

* Build wx with flatpak

* more wx shenatigans

* fix a missing import

* build wx with proper flags

* fix imports and libs

* trigger ci

* try fixing mac and windows ci

* remove duplicate definition of freetype

* curl may not have openssl for a dep

* has openssl been found?

* force building

* build images on apple

* cleanup for review

* cleanup cmake files

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-05-25 09:11:19 +08:00
Jamin Collins
98d152a7f5
Act adjustments ()
* remove trailing whitespace from workflow files

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>

* skip upload actions when running in act

* https://github.com/nektos/act

Signed-off-by: Jamin W. Collins <jamin.collins@gmail.com>
2024-04-16 20:14:09 +08:00