Package Details: cura-appimage-bin 5.2.1-1

Git Clone URL: https://aur.archlinux.org/cura-appimage-bin.git (read-only, click to copy)
Package Base: cura-appimage-bin
Description: Ultimakers 3D printer / slicing GUI built on top of the Uranium framework
Upstream URL: https://ultimaker.com/software/ultimaker-cura
Licenses: LGPL3
Conflicts: cura, cura-appimage-git
Provides: cura
Submitter: Stephanwe
Maintainer: gmy
Last Packager: gmy
Votes: 11
Popularity: 0.34
First Submitted: 2020-09-13 13:20 (UTC)
Last Updated: 2022-10-23 21:43 (UTC)

Latest Comments

1 2 3 4 Next › Last »

gilbs commented on 2022-09-10 16:40 (UTC) (edited on 2022-09-10 16:41 (UTC) by gilbs)

FYI, as I had issues with the normal appimage (bundled in this package), I created the cura-modern-appimage AUR package that seems to work better for me (and doesn't seem to require all the wayland and LD_PRELOAD hacks). If this package gets the modern image at some point, I'll deprecate my package.

Toric commented on 2022-09-09 02:46 (UTC) (edited on 2022-09-09 03:42 (UTC) by Toric)

Still does not work with x11. Also, should it be changed to the modern appimage? might let you get rid of the LD_PRELOAD.

FabioLolix commented on 2022-08-16 18:25 (UTC)

Hello,

  • does it really need a custom DL agent?
  • conflicts with cura-appimage-git is not needed
  • renaming source with to the same name is not needed

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.