Created attachment 212943 [details] full cad/PrusaSlicer directory Update to recently released PrusaSlicer v2.2.0. New version uses CGAL library but requires a fresh version at least 5.0, and current math/cgal port is too old even in 4 major version. New version of library onlike previous ones is implemented as only header source code, so, I'm afraid, I 'm not able to fix other programs depended on math/cgal. For these two reasons CGAL library is compiled in PrusaSlicer. That's why Makefile contain non-trivial pre-build target. Also authors of PrusaSlicer didn't include hidapi implementation over libusb, so I was forced to add libusb hidapi implementation with the same version as all other hidapi functions. Hope, that isn't a reason to reject update.
Maintainer informed via mail
Created attachment 212944 [details] Diff to previous version of cad/PrusaSlicer
Created attachment 212946 [details] full cad/PrusaSlicer directory The same, but it contains a fixes after portlint check
Created attachment 212947 [details] Diff to previous version of cad/PrusaSlicer The same, but it contains a fixes after portlint check
I can confirm this package to work. Had some issues with importing new filament profiles and keeping my custom ones, but this is likely a quirk of the slicer itself rather than issue with the port.
^Triage: Please set the maintainer-approval attachment flag (to +) on patches for ports you maintain to signify approval :-) Attachment -> Details -> maintainer-approval [+] Also, to avoid confusion, could you mark as obsolete the old patches and leave only the relevant ones?
A commit references this bug: Author: mr Date: Sun Apr 5 11:46:18 UTC 2020 New revision: 530770 URL: https://svnweb.freebsd.org/changeset/ports/530770 Log: Update to 2.2.0 PR: 245247 Submitted by: teodorsigaev@gmail.com Changes: head/cad/PrusaSlicer/Makefile head/cad/PrusaSlicer/distinfo head/cad/PrusaSlicer/files/patch-CMakeLists.txt head/cad/PrusaSlicer/files/patch-src-avrdude-libavrdude.h head/cad/PrusaSlicer/files/patch-src-slic3r-GUI-GUI_App.cpp head/cad/PrusaSlicer/files/patch-src-slic3r-GUI-GUI_Utils.cpp head/cad/PrusaSlicer/files/patch-src-slic3r-GUI-GUI_Utils.hpp head/cad/PrusaSlicer/files/patch-src_avrdude_libavrdude.h head/cad/PrusaSlicer/files/patch-src_hidapi_CMakeLists.txt head/cad/PrusaSlicer/files/patch-src_hidapi_libusb_hid.c head/cad/PrusaSlicer/pkg-plist
(In reply to commit-hook from comment #7) This port use gmp and mpfr as BUILD_DEPENDS. Are you sure that it links with the satic libraries, and does not need the dynamic ones?
mr: Thank you! Thierry Thomas: You are right, my miss zorg% ldd /usr/local/PrusaSlicer/bin/prusa-slicer | grep gmp libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x801684000) zorg% ldd /usr/local/PrusaSlicer/bin/prusa-slicer | grep mpfr libmpfr.so.6 => /usr/local/lib/libmpfr.so.6 (0x801706000) Will fix soon. Should I add new bug report or post patch here?
Created attachment 213095 [details] Makefile patch adds RUN_DEPENDS Add new libraries as RUN_DEPENDS, previously they are wrongly marked as BUILD_DEPENDS only.
A commit references this bug: Author: mr Date: Sun Apr 5 16:31:36 UTC 2020 New revision: 530795 URL: https://svnweb.freebsd.org/changeset/ports/530795 Log: Fix RUN_DEPENDS PR: 245247 Submitted by: teodorsigaev@gmail.com Reported by: thierry@ Changes: head/cad/PrusaSlicer/Makefile
Thank you very much!
All patches are committed.