diff --git a/cad/PrusaSlicer/Makefile b/cad/PrusaSlicer/Makefile index d770864caeb9..1b7995371f82 100644 --- a/cad/PrusaSlicer/Makefile +++ b/cad/PrusaSlicer/Makefile @@ -1,62 +1,66 @@ PORTNAME= PrusaSlicer DISTVERSIONPREFIX=version_ DISTVERSION= 2.8.1 +PORTREVISION= 1 CATEGORIES= cad DIST_SUBDIR= PrusaSlicer MAINTAINER= teodorsigaev@gmail.com COMMENT= Slicing application for 3D printers WWW= https://www.prusa3d.com/prusaslicer/ LICENSE= AGPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= cereal>=1.3.0.10:devel/cereal \ cgal>=5.0.2:math/cgal \ opencascade>=7.7.0:cad/opencascade \ libbgcode>=0.2.0_1:cad/libbgcode LIB_DEPENDS+= libbgcode_convert.so:cad/libbgcode \ libbgcode_binarize.so:cad/libbgcode \ libbgcode_core.so:cad/libbgcode \ libtbb.so:devel/onetbb \ libboost_log.so:devel/boost-libs \ libImath.so:math/Imath \ libnlopt.so:math/nlopt \ libqhull_r.so:math/qhull \ libcurl.so:ftp/curl \ libexpat.so:textproc/expat2 \ libiconv.so:converters/libiconv \ libopenvdb.so:misc/openvdb \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libdbus-1.so:devel/dbus \ libpng.so:graphics/png \ libTKXSDRAWSTEP.so:cad/opencascade \ libtiff.so:graphics/tiff \ libfontconfig.so:x11-fonts/fontconfig \ libfreeimage.so:graphics/freeimage \ libfreetype.so:print/freetype2 \ libavcodec.so:multimedia/ffmpeg4 \ libharfbuzz.so:print/harfbuzz \ - libwayland-egl.so:graphics/wayland + libwayland-egl.so:graphics/wayland \ + libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ + libsoup-2.4.so:devel/libsoup \ + libjavascriptcoregtk-4.0.so:www/webkit2-gtk3 USES= cmake cpe desktop-file-utils eigen:3 gettext gl gnome iconv \ - jpeg pkgconfig xorg + jpeg pkgconfig xorg ssl tcl tk CPE_VENDOR= prusa3d USE_GITHUB= yes GH_ACCOUNT= prusa3d USE_GL= gl glu glew USE_GNOME= gtk30 pango atk cairo gdkpixbuf2 glib20 USE_WX= 3.2 USE_XORG= x11 CMAKE_ARGS+= -DwxWidgets_CONFIG_EXECUTABLE="${WX_CONFIG}" \ -DSLIC3R_GTK=3 \ -DSLIC3R_FHS=1 \ -DSLIC3R_PCH=OFF \ -DSLIC3R_BUILD_TESTS=OFF PORTDATA= * .include diff --git a/cad/PrusaSlicer/files/patch-src_libslic3r_Arrange_Core_DataStoreTraits.hpp b/cad/PrusaSlicer/files/patch-src_libslic3r_Arrange_Core_DataStoreTraits.hpp new file mode 100644 index 000000000000..0208ba7d3b33 --- /dev/null +++ b/cad/PrusaSlicer/files/patch-src_libslic3r_Arrange_Core_DataStoreTraits.hpp @@ -0,0 +1,11 @@ +--- src/libslic3r/Arrange/Core/DataStoreTraits.hpp.orig 2024-11-03 17:50:46 UTC ++++ src/libslic3r/Arrange/Core/DataStoreTraits.hpp +@@ -71,7 +71,7 @@ void set_data(ArrItem &itm, const std::string &key, T + template + void set_data(ArrItem &itm, const std::string &key, T &&data) + { +- WritableDataStoreTraits::template set(itm, key, std::forward(data)); ++ WritableDataStoreTraits::template set(itm, key, std::forward(data)); + } + + template constexpr bool IsReadWritableDataStore = IsDataStore && IsWritableDataStore;