From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/prusaslicer/, media-gfx/prusaslicer/files/
Date: Fri, 5 Feb 2021 02:06:50 +0000 (UTC) [thread overview]
Message-ID: <1612490802.4fc943a7edd78e5ba3c0d42f053ca1e966e0032a.sam@gentoo> (raw)
commit: 4fc943a7edd78e5ba3c0d42f053ca1e966e0032a
Author: Ionen Wolkens <sudinave <AT> gmail <DOT> com>
AuthorDate: Tue Jan 12 07:35:53 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 5 02:06:42 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fc943a7
media-gfx/prusaslicer: 2.3.0 version bump + fixes
ebuild changes from 2.2.0-r1 to 2.3.0:
+ REQUIRED_USE on gui for tests (bug #760096)
+ patch to add missing miniz header (bug #761541)
+ qhull:=[static-libs] (qhull_r.so subslot + qhullcpp.a, bug #764338)
+ force GTK3 (bug #765031)
+ GUI deps optional with USE=-gui
+ hopefully all missing dependencies
- Release build type, not needed
- previous patches (applied upstream)
+ use .desktop files provided by the package
+ update licenses
+ minor cleanups
Closes: https://bugs.gentoo.org/760096
Closes: https://bugs.gentoo.org/761541
Closes: https://bugs.gentoo.org/764338
Closes: https://bugs.gentoo.org/765031
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ionen Wolkens <sudinave <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/19059
Signed-off-by: Sam James <sam <AT> gentoo.org>
media-gfx/prusaslicer/Manifest | 1 +
| 9 +++
media-gfx/prusaslicer/prusaslicer-2.3.0.ebuild | 86 ++++++++++++++++++++++
3 files changed, 96 insertions(+)
diff --git a/media-gfx/prusaslicer/Manifest b/media-gfx/prusaslicer/Manifest
index ac05bb7cb7d..4dcbadca21f 100644
--- a/media-gfx/prusaslicer/Manifest
+++ b/media-gfx/prusaslicer/Manifest
@@ -1 +1,2 @@
DIST prusaslicer-2.2.0.tar.gz 30811929 BLAKE2B cde004add53ee025728d566cb7331cb7b1eac5412e9ad3bee037d13277c24dcdc6024c91f09bb9ef0653a12a3ee7c5cb5cec21e2a00825d185472ea7036e08f5 SHA512 5c8dc5b581e04208a1ae53771ef2607da189ee85aadf501ce1480008f5a6ddb10bb528ddc2608d3f04acd26c583ff895ad4148d6a1397f002292e20098971e1d
+DIST prusaslicer-2.3.0.tar.gz 34785471 BLAKE2B 89691baf30ac2be901ebee594262a82e2c922ddae75b055561707fe152c392175766082844ad1ae2cb2fefb29a9d3abe03c0302ad84c347e94d127756429d0a7 SHA512 2bd3e7d384ba1c59007744f4aba89de9ca9864e4bdc7b6faa9a56f514212878d1d2e7d70fc0f08e39310af76c365d1a3f8f1df263e8656249483a5b33cab417d
--git a/media-gfx/prusaslicer/files/prusaslicer-2.3.0-miniz-zip-header.patch b/media-gfx/prusaslicer/files/prusaslicer-2.3.0-miniz-zip-header.patch
new file mode 100644
index 00000000000..8fd587d3d48
--- /dev/null
+++ b/media-gfx/prusaslicer/files/prusaslicer-2.3.0-miniz-zip-header.patch
@@ -0,0 +1,9 @@
+https://bugs.gentoo.org/761541
+--- a/src/libslic3r/miniz_extension.hpp 2021-01-11 08:01:51.000000000 -0500
++++ b/src/libslic3r/miniz_extension.hpp 2021-01-12 01:16:10.503404521 -0500
+@@ -4,4 +4,5 @@
+ #include <string>
+ #include <miniz.h>
++#include <miniz_zip.h>
+
+ namespace Slic3r {
diff --git a/media-gfx/prusaslicer/prusaslicer-2.3.0.ebuild b/media-gfx/prusaslicer/prusaslicer-2.3.0.ebuild
new file mode 100644
index 00000000000..5cb1a4a2c4c
--- /dev/null
+++ b/media-gfx/prusaslicer/prusaslicer-2.3.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+WX_GTK_VER="3.0-gtk3"
+
+inherit xdg cmake desktop wxwidgets
+
+MY_PN="PrusaSlicer"
+
+DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)"
+HOMEPAGE="https://www.prusa3d.com/prusaslicer/"
+SRC_URI="https://github.com/prusa3d/${MY_PN}/archive/version_${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="AGPL-3 Boost-1.0 GPL-2 LGPL-3 MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gui test"
+
+# tests fail to link with USE=-gui, bug #760096
+REQUIRED_USE="test? ( gui )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-cpp/eigen:3
+ dev-cpp/tbb
+ >=dev-libs/boost-1.73.0:=[nls,threads]
+ dev-libs/cereal
+ dev-libs/expat
+ dev-libs/gmp:=
+ dev-libs/miniz
+ dev-libs/mpfr:=
+ >=media-gfx/openvdb-5.0.0
+ media-libs/ilmbase:=
+ media-libs/libpng:0=
+ media-libs/qhull:=
+ sci-libs/libigl
+ sci-libs/nlopt
+ >=sci-mathematics/cgal-5.0:=
+ sys-apps/dbus
+ sys-libs/zlib:=
+ gui? (
+ dev-libs/glib:2
+ media-libs/glew:0=
+ net-misc/curl
+ virtual/glu
+ virtual/opengl
+ x11-libs/gtk+:3
+ x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
+ )
+"
+DEPEND="${RDEPEND}
+ media-libs/qhull[static-libs]
+"
+
+S="${WORKDIR}/${MY_PN}-version_${PV}"
+
+PATCHES=(
+ "${FILESDIR}/${P}-miniz-zip-header.patch"
+)
+
+src_configure() {
+ use gui && setup-wxwidgets
+
+ local mycmakeargs=(
+ -DSLIC3R_BUILD_TESTS=$(usex test)
+ -DSLIC3R_FHS=ON
+ -DSLIC3R_GTK=3
+ -DSLIC3R_GUI=$(usex gui)
+ -DSLIC3R_PCH=OFF
+ -DSLIC3R_WX_STABLE=ON
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+
+ if use gui; then
+ newicon -s 128 resources/icons/PrusaSlicer_128px.png PrusaSlicer.png
+ newicon -s 128 resources/icons/PrusaSlicer-gcodeviewer_128px.png PrusaSlicer-gcodeviewer.png
+ domenu src/platform/unix/Prusa{Slicer,Gcodeviewer}.desktop
+ fi
+}
next reply other threads:[~2021-02-05 2:06 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-05 2:06 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-07 21:30 [gentoo-commits] repo/gentoo:master commit in: media-gfx/prusaslicer/, media-gfx/prusaslicer/files/ Dennis Lamm
2022-03-14 6:51 Dennis Lamm
2022-05-09 8:44 Piotr Karbowski
2022-07-02 10:19 Piotr Karbowski
2022-08-29 4:46 Dennis Lamm
2022-08-31 18:26 Dennis Lamm
2023-03-23 6:48 Miroslav Šulc
2023-07-23 16:40 Piotr Karbowski
2023-08-01 18:22 Piotr Karbowski
2024-03-01 10:50 Miroslav Šulc
2024-03-25 18:57 Sam James
2024-05-22 10:35 Miroslav Šulc
2024-06-22 8:56 Miroslav Šulc
2024-08-06 9:15 Miroslav Šulc
2024-09-13 8:57 Miroslav Šulc
2024-09-13 10:58 Miroslav Šulc
2024-09-19 11:42 Miroslav Šulc
2024-11-21 8:49 Miroslav Šulc
2024-11-21 8:49 Miroslav Šulc
2024-12-21 8:03 Miroslav Šulc
2024-12-21 11:38 Miroslav Šulc
2025-01-03 14:43 Miroslav Šulc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1612490802.4fc943a7edd78e5ba3c0d42f053ca1e966e0032a.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox