Package Details: orca-slicer 2.2.0-1

Git Clone URL: https://aur.archlinux.org/orca-slicer.git (read-only, click to copy)
Package Base: orca-slicer
Description: Orca Slicer is a fork of Bambu Studio. It was previously known as BambuStudio-SoftFever
Upstream URL: https://github.com/SoftFever/OrcaSlicer
Keywords: bambustudio orcaslicer
Licenses: AGPLv3
Conflicts: OrcaSlicer
Provides: OrcaSlicer
Submitter: xburst
Maintainer: c2h5oh
Last Packager: c2h5oh
Votes: 15
Popularity: 1.41
First Submitted: 2023-03-29 15:51 (UTC)
Last Updated: 2024-10-29 14:57 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 Next › Last »

c2h5oh commented on 2024-08-23 15:56 (UTC)

@DIsaacs this is a brand new problem caused by Arch upgrading to cmake 3.30, specifically changes related to boost https://cmake.org/cmake/help/v3.30/policy/CMP0167.html#policy:CMP0167

This will take a while to resolve - every time I have to dive into rat's nest that cmake files are I get a rash.

DIsaacs commented on 2024-08-21 18:10 (UTC)

The compilation is broken on Arch. The same errors reported before seem to never be fixed.

flaviut commented on 2024-07-21 17:37 (UTC) (edited on 2024-07-21 17:37 (UTC) by flaviut)

  1. I prefer to use ninja, and I have my system configured to default to that
  2. it's nice to build with RelWithDebInfo so that there's decent stack traces if there's a crash/bug. makepkg will automatically put these in a debug package if configured to do so
diff --git a/PKGBUILD b/PKGBUILD
index 1e5e760..83c3abb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,11 +40,10 @@ build() {
   for dir in build deps; do
     test -d $dir || mkdir $dir
   done
-  cd build
   if [ ! -f $srcdir/.deps_done ]; then
-    cmake ../ -DDESTDIR="$srcdir/dep_linux" -DCMAKE_BUILD_TYPE=Release -DDEP_WX_GTK3=1 -DJPEG_VERSION=8
+    cmake -B build -DDESTDIR="$srcdir/dep_linux" -DCMAKE_BUILD_TYPE=RelWithDebInfo -DDEP_WX_GTK3=1 -DJPEG_VERSION=8
-    # do not override -j from makepkg.conf
-    make
+    cmake --build build
   fi
   touch $srcdir/.deps_done

@@ -53,10 +52,9 @@ build() {
   for dir in build install_dir; do
     test -d $dir || mkdir $dir
   done
-  cd build
-  cmake .. -DSLIC3R_FHS=1 -DSLIC3R_STATIC=ON -DSLIC3R_GTK=3 -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="$srcdir/dep_linux/usr/local" -DCMAKE_INSTALL_PREFIX="$srcdir/install_dir"
+  cmake -B build -DSLIC3R_FHS=1 -DSLIC3R_STATIC=ON -DSLIC3R_GTK=3 -DBBL_RELEASE_TO_PUBLIC=1 -DCMAKE_PREFIX_PATH="$srcdir/dep_linux/usr/local" -DCMAKE_INSTALL_PREFIX="$srcdir/install_dir"
-  # do not override -j from makepkg.conf
-  cmake --build . --target install --config Release
+  cmake --build build --target install --config RelWithDebInfo
 }

 package() {

c2h5oh commented on 2024-05-16 16:42 (UTC)

I have gst-libav installed and I can confirm it doesn't fix camera.

nuc commented on 2024-05-16 10:33 (UTC)

According to the comments on orca-slicer-bin, gst-libav has to be added aswell in order for camera streaming to work:)

c2h5oh commented on 2024-05-15 22:45 (UTC)

Good news: font issue fixed :-)

c2h5oh commented on 2024-05-15 19:09 (UTC)

Sorry about 2.0 release delay - it required yet another fix to build with GCC 14

nuc commented on 2024-05-06 12:12 (UTC)

You have to add gst-plugins-base as a runtime dependency. Otherwise orca-slicer segfaults upon launch for me.

xiota commented on 2024-05-04 01:14 (UTC) (edited on 2024-05-04 01:15 (UTC) by xiota)

Packages shouldn't set -j$(nproc) or similar because it overrides settings in makepkg.conf. (Up to user to optimize performance on their own system.)

nuc commented on 2024-05-04 00:37 (UTC) (edited on 2024-05-04 00:38 (UTC) by nuc)

Hi I see that you specify (nproc --ignore 4) for the build, which should be nice. However on my 16 thread CPU all cores are on 100% while compiling this package, do you know why?

Sadly the new wayland desktops are super prone to this, literally the whole UI is lagging and ends in a system freeze. This did never happen on Xserver in my experience lol.