Created attachment 526210 [details] ebuild Modified original slic3r ebuild to support spic3r prusa3d edition. Modification includes: - added new dependency for perl library - added CMake build system - changed localization of resources TODO: - package installation is sperarated into 2 destinations: /usr/lib/perl... and /usr/lib/slic3r-prusa3d due to CMake build installation process - installed by CMake slic3r-prusa3d perl script (/usr/bin) does not work, since it looks for plugins in /usr/bin instead of /usr/lib/perl... (in original package, in /usr/bin there was an symlink slic3r.pl only.
Thank you. Please double check, if you need eutils here.
This ebuild doesn't work anymore for recent versions. From the release notes: "The 3D scene code has been ported from Perl to C++." This code is built, but apparently not installed, which results in slic3r failing to start: Can't locate Slic3r/XS.pm in @INC
Yes, I noticed it. XS.pm is built and installed now only when CMake option "SLIC3R_PERL_XS" is enabled. With this flag enabled, slic3r can be started but only in CLI mode. It looks that there is new C++ GUI - not installed by CMake install but it is also not yet stable. For now, until update of ebuild, please use "stable" branch, which is working as expected with this ebuild: EGIT_BRANCH="stable"
Updated ebuild. No more perl needed. Build based on wxGTK 3.0.x (stable according to Slic3r CMake).
Created attachment 560764 [details] Updated ebuild
Created attachment 565656 [details] ebuild plus patch
Here is an ebuild for Slic3r Prusa Edition 1.42.0_alpha5 which can be installed beside official 'slic3r' and will be called 'slic3rPE'. Emerges, runs and generates GCODE *but* is still alpha software...
The software is now called Prusa Slicer. It had a 2.0 release recently. This is the github page: https://github.com/prusa3d/PrusaSlicer/releases
Created attachment 585234 [details] PrusaSlicer ebuild Update ebuild for new application name. Added dependency to "dev-libs/cereal".
Check out my "haarp" overlay, I'm keeping it updated with Prusa releases, currently 2.2.0. One might argue whether the dash in the name is needed or not tho. https://gpo.zugaina.org/media-gfx/prusa-slicer
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd3cc90514a49692ed8c06b4aedf87402bdd1cf commit ddd3cc90514a49692ed8c06b4aedf87402bdd1cf Author: Dennis Lamm <expeditioneer@gentoo.org> AuthorDate: 2020-12-15 18:03:30 +0000 Commit: Dennis Lamm <expeditioneer@gentoo.org> CommitDate: 2020-12-15 19:21:57 +0000 media-gfx/prusaslicer: added new ebuild Closes: https://bugs.gentoo.org/652100 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/18668 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> media-gfx/prusaslicer/Manifest | 1 + .../prusaslicer/files/PrusaGcodeviewer.desktop | 9 +++ media-gfx/prusaslicer/files/PrusaSlicer.desktop | 12 ++++ .../files/prusaslicer-2.2.0-atomic.patch | 10 +++ .../files/prusaslicer-2.2.0-boost-1.73.patch | 60 ++++++++++++++++ media-gfx/prusaslicer/metadata.xml | 19 ++++++ media-gfx/prusaslicer/prusaslicer-2.2.0.ebuild | 79 ++++++++++++++++++++++ 7 files changed, 190 insertions(+)