Search Criteria
Package Details: cura-bin 5.8.1-1
Package Actions
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: | 49 |
Popularity: | 1.36 |
First Submitted: | 2022-09-02 21:14 (UTC) |
Last Updated: | 2024-09-01 03:04 (UTC) |
Dependencies (4)
- fuse2
- xdg-desktop-portal (xdg-desktop-portal-gitAUR)
- util-linux (busybox-coreutilsAUR, util-linux-selinuxAUR, util-linux-aesAUR) (make)
- mesa (mesa-minimal-gitAUR, mesa-gitAUR, mesa-amd-bc250AUR, mesa-wsl2-gitAUR, amdonly-gaming-mesa-gitAUR, mesa-amber) (optional) – for use with the closed source nvidia driver under wayland
Required by (6)
- cura-plugin-octoprint-git (requires cura)
- cura-plugin-orientation-git (requires cura)
- cura-resources-fabtotum-git (requires cura)
- discovery200-files (requires cura) (optional)
- inkscape-paths2openscad (requires cura) (optional)
- libarcus-git (requires cura) (make)
Latest Comments
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 Next › Last »
magicalplace commented on 2022-10-19 12:48 (UTC) (edited on 2022-10-19 12:49 (UTC) by magicalplace)
A heads up for i3 dmenu users: it's not "cura", "cura-bin" or even "ultimaker-cura", it's "Ultimaker-cura" with a capital "U".
prurigro, I have no idea if there is any good reason not to, but if it could be changed to just "cura" or even "ultimaker-cura" without breaking anything on the next release for people who aren't using a DE or dmenu-desktop it would be fantastic. Regular dmenu is case sensitive unless you explicitly compile it not to be and I haven't run across another program yet that I had to try to remember to capitalize every time to launch it. Thanks for maintaining!
prurigro commented on 2022-10-18 01:36 (UTC)
@xiota: I now have the AppImage extracted to /opt/ultimaker-cura, I'm using the built-in .desktop and icon instead of providing ones, and both Ultimaker-Cura and CuraEngine are available via CLI (CuraEngine actually allows you to script cura behaviour) . I'm also setting the LD_LIBRARY_PATH to the opt directory so everything runs with priority given to included libraries.
Thanks for helping get the package going in a better direction! I've added you to the list of contributors at the top of the PKGBUILD :)
prurigro commented on 2022-10-16 23:59 (UTC)
I actually like the idea of pre-extracting it, it makes being in /opt seem a bit more reasonable and sounds like it produces a more responsive result too. I'll look into doing that as well.
Thanks for the feedback and discussion!
xiota commented on 2022-10-16 00:02 (UTC) (edited on 2022-10-16 00:03 (UTC) by xiota)
For anyone interested,
cura-5-bin
extracts the AppImage into/opt/cura5
. On my computer, the extracted package takes about 7.9s to load, while running the AppImage directly takes about 12.5s. The difference may be mounting and unmounting the squashfs filesystem to run the AppImage prevents its contents from being cached.bobpaul commented on 2022-10-11 14:32 (UTC) (edited on 2022-10-11 14:32 (UTC) by bobpaul)
I think I agree with xiota.
man hier
says that/opt
is for add-on packages containing static files. I think an app image basically meets that definition (it's a launcher with a squashfs file system containing all of its own libraries which it uses instead of the system libraries).What
joplin-appimage
https://aur.archlinux.org/packages/joplin-appimage does is make a folder/opt/appimages
and putsJoplin.AppImage
there. It then creates a symlink for/usr/bin/joplin-desktop -> /opt/appimages/Joplin.AppImage
and also extracts some specific, useful files from the app image and puts them in the correct spot (the LICENSE file goes in/usr/share/licenses
, icons extracted to/usr/share/icons
, etc.)switchhosts-appimage
https://aur.archlinux.org/packages/switchhosts-appimage does the same asjoplin
todoist-appimage.git
https://aur.archlinux.org/packages/todoist-appimage does almost the same thing, but puts it in/opt/todoist/todoist.AppImage
A lot (maybe most) of the AppImages on AUR are packaged just like
cura-bin
is currently and splat the app image directly into/usr/bin/
as if it were a normal binary.I definitely prefer the approach taken by joplin and wish all of the AppImages on AUR did things like that. You can look at how these other packages use the
--appimage-extract
argument to extract (and patch) the *.desktop file and images so you don't have to include your own.xiota commented on 2022-10-09 13:42 (UTC) (edited on 2022-10-09 13:44 (UTC) by xiota)
I don't know of any standard re putting appimages in
/opt
, but appimages are nonstandard to begin with, so I think it would be good to put them somewhere that makes it clear they're atypical.Maybe it would be better to extract the files as is normally expected of
-bin
packages?prurigro commented on 2022-09-12 19:50 (UTC)
@mstmob: Dependencies have been updated to include xdg-desktop-portal and I've added you to the list of contributors :)
@xiota: Are you aware of that being a standard AL convention? I'm hesitant to clutter up the /opt directory with a single binary that doesn't need a launcher, but would be willing to go ahead if it's recommended by upstream.
Markus.N commented on 2022-09-11 09:21 (UTC) (edited on 2022-09-11 09:24 (UTC) by Markus.N)
I'd like to request a few changes too:
The start script /usr/bin/cura5 has permission 750, should be 755 to enable start by normal users.
In the start script /usr/bin/cura5, change the last line to
see https://github.com/Ultimaker/Cura/issues/11856 for the reason why :-)
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.
prurigro commented on 2022-09-10 12:59 (UTC)
Thanks for all the tips everyone- I'm camping semi-off-grid right now but will be back tomorrow and will look at getting this stuff resolved :)
« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 Next › Last »