Package Details: cura-bin 5.9.0-1

Git Clone URL: https://aur.archlinux.org/cura-bin.git (read-only, click to copy)
Package Base: cura-bin
Description: State-of-the-art slicer app to prepare your 3D models for your 3D printer
Upstream URL: https://ultimaker.com/software/ultimaker-cura
Licenses: LGPL3
Conflicts: cura
Provides: cura
Submitter: prurigro
Maintainer: prurigro
Last Packager: prurigro
Votes: 51
Popularity: 1.31
First Submitted: 2022-09-02 21:14 (UTC)
Last Updated: 2024-11-20 17:31 (UTC)

Latest Comments

« First ‹ Previous 1 .. 9 10 11 12 13 14 15 16 17 Next › Last »

janek commented on 2022-08-11 12:15 (UTC) (edited on 2022-08-11 12:16 (UTC) by janek)

Just in case someone has the same problem:

Cura crashed for me with Trace/breakpoint trap (core dumped) (I'm on wayland/sway). I was able to fix it by switching to the "linux-modern" appimage, which is provided by Cura since 5.1:

 source=(
-    "${_pkgname}-${pkgver}.AppImage::https://github.com/Ultimaker/Cura/releases/download/${pkgver}/${_pkgname}-${pkgver}-linux.AppImage"
+    "${_pkgname}-${pkgver}.AppImage::https://github.com/Ultimaker/Cura/releases/download/${pkgver}/${_pkgname}-${pkgver}-linux-modern.AppImage"

And then updpkgsums / change sha256 to 3afc02e20938785f4ee0c925370659f5449c4c67e36ab7f4c617af8361476f32

gmy commented on 2022-08-03 21:00 (UTC)

Not sure if setting QT_QPA_PLATFORM=xcb should be part of the package since it's environment-specific. Anyway, incorporated it for now. Please, say so if it breaks your setup.

lynxed commented on 2022-07-31 01:46 (UTC)

Confirmation that N0id workaround for wayland/sway works by setting QT_QPA_PLATFORMN=xcb in cura.sh works as of 5.0.0-2

N0id commented on 2022-07-16 20:02 (UTC)

Just in case someone has the same problem running wayland/sway. I also had to set QT_QPA_PLATFORM to xcb. Fixed it via patching cura.sh:

FIXUPS="LD_PRELOAD=/usr/lib/libstdc++.so.6 QT_QPA_PLATFORM=xcb"

gmy commented on 2022-07-14 21:18 (UTC)

First of all, thank you for the patches. Setting QT_QPA_PLATFORMTHEME is not needed as per https://github.com/Ultimaker/Cura/issues/12266#issuecomment-1184391263. And it's probably better to keep checksum for included file.

ckoba commented on 2022-07-07 01:59 (UTC)

This patch rolls the workarounds from @ozz and @carlos.m into /usr/bin/cura:


diff --git a/PKGBUILD b/PKGBUILD
index 5f58e5c..47c3c39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,7 +11,7 @@ pkgdesc='Ultimakers 3D printer / slicing GUI built on top of the Uranium framewo
 arch=('x86_64')
 url="https://ultimaker.com/software/ultimaker-cura"
 license=('LGPL3')
-depends=('fuse2')
+depends=('fuse2' 'xdg-desktop-portal')
 provides=('cura')
 conflicts=('cura' 'cura-appimage-git' 'cura-appimage-bin')
 options=(!strip)
@@ -25,7 +25,7 @@ source=(

 sha256sums=(
     "ec00f8e42a46fd24cd71e098fa713a08be4e2bcc6df17d5d02938bc6ea315754"
-    "6430e6359ff98b7c6a209181c389cfc606d1e84628793a4eb772c5e2f0d0a23f"
+    SKIP
     "6c1b54af7077ca101cca099f40d9627d6d69e9b11a5a6ae0667e118d764dc903"
 )

diff --git a/cura.sh b/cura.sh
index 21f8479..005b73f 100644
--- a/cura.sh
+++ b/cura.sh
@@ -3,11 +3,12 @@
 # For easier maintainability
 CURA_VERSION="VERSION_PLACEHOLDER"
 CURA_BIN_PATH="/opt/Ultimaker-Cura/Ultimaker-Cura-$CURA_VERSION.AppImage"
+FIXUPS="QT_QPA_PLATFORMTHEME=xdgdesktopportal LD_PRELOAD=/usr/lib/libstdc++.so.6"

 # Get full path to avoid Error Message in cura 
 [[ -n $(dirname "$1") ]] && filePath="$(realpath "$1")" || filePath="$1"

 # Start cura-appimage without Parameter if not given. ( Avoiding cura Error Message "No file found" )
-[[ -z $filePath ]] && $CURA_BIN_PATH || $CURA_BIN_PATH "$filePath"
+[[ -z $filePath ]] && ( eval ${FIXUPS} $CURA_BIN_PATH ) || ( eval ${FIXUPS} $CURA_BIN_PATH "$filePath" )

 exit

ozz commented on 2022-07-06 02:09 (UTC)

I got the file dialogs to work by installing xdg-desktop-portal-gtk (I run XFCE). Then I have to run Cura like:

QT_QPA_PLATFORMTHEME=xdgdesktopportal LD_PRELOAD=/usr/lib/libstdc++.so.6 Ultimaker-Cura-5.0.0-linux.AppImage

You may have to reset dbus (or reboot) after installing the xdg portal. See the Cura bug report here for more information.

carlos.m commented on 2022-07-05 20:21 (UTC)

By using LD_PRELOAD=/usr/lib/libstdc++.so.6 cura and this package, pretty much everything works fine for me, including file dialogs and settings. Only thing that didn't work (and I did not miss at all) is the sign in/create ultimaker account, which fails with:

XPCOMGlueLoad error for file /usr/lib/firefox/libmozgtk.so:
/usr/lib/libcairo-gobject.so.2: undefined symbol: g_memdup2
Couldn't load XPCOM.

ozz commented on 2022-07-04 04:35 (UTC)

With the latest Arch updates this no longer works at all due to external DRI libraries requiring a newer libstdc++ than what is in the AppImage. You can override this with:

LD_PRELOAD=/usr/lib/libstdc++.so.6 Ultimaker-Cura-5.0.0-linux.AppImage

File dialogs still don't work.

traysh commented on 2022-06-21 16:53 (UTC)

Why does the package conflict with itself? Pacaur refuses to install it because of that