Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652100 - New package: media-gfx/prusaslicer
Summary: New package: media-gfx/prusaslicer
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-31 19:10 UTC by Piotr Stachura
Modified: 2020-12-15 19:22 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild (slic3r-prusa3d-9999.ebuild,2.60 KB, text/plain)
2018-03-31 19:10 UTC, Piotr Stachura
Details
Updated ebuild (slic3r-prusa3d-9999.ebuild,802 bytes, text/plain)
2019-01-12 12:11 UTC, Piotr Stachura
Details
ebuild plus patch (gentoo-slic3rPE.zip,1.58 KB, application/zip)
2019-02-17 16:30 UTC, Stephen Lewis
Details
PrusaSlicer ebuild (PrusaSlicer-9999.ebuild,815 bytes, text/plain)
2019-07-31 12:31 UTC, Piotr Stachura
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Stachura 2018-03-31 19:10:04 UTC
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.
Comment 1 Jonas Stein gentoo-dev 2018-04-01 21:01:47 UTC
Thank you. Please double check, if you need eutils here.
Comment 2 haarp 2018-12-01 13:30:42 UTC
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
Comment 3 Piotr Stachura 2018-12-01 14:04:56 UTC
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"
Comment 4 Piotr Stachura 2019-01-12 12:09:53 UTC
Updated ebuild. No more perl needed. Build based on wxGTK 3.0.x (stable according to Slic3r CMake).
Comment 5 Piotr Stachura 2019-01-12 12:11:21 UTC
Created attachment 560764 [details]
Updated ebuild
Comment 6 Stephen Lewis 2019-02-17 16:30:10 UTC
Created attachment 565656 [details]
ebuild plus patch
Comment 7 Stephen Lewis 2019-02-17 16:32:30 UTC
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...
Comment 8 Teodor Petrov 2019-06-02 14:31:43 UTC
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
Comment 9 Piotr Stachura 2019-07-31 12:31:53 UTC
Created attachment 585234 [details]
PrusaSlicer ebuild

Update ebuild for new application name.
Added dependency to "dev-libs/cereal".
Comment 10 haarp 2020-04-06 19:08:27 UTC
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
Comment 11 Larry the Git Cow gentoo-dev 2020-12-15 19:22:02 UTC
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(+)