public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/superslicer/files/, media-gfx/superslicer/
@ 2021-12-14  8:30 Yahor Berdnikau
  0 siblings, 0 replies; 8+ messages in thread
From: Yahor Berdnikau @ 2021-12-14  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     bf759067f6e82e112b2d6f6d6ed0170fd7ed0679
Author:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
AuthorDate: Tue Dec 14 08:28:06 2021 +0000
Commit:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
CommitDate: Tue Dec 14 08:28:06 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf759067

media-gfx/superslicer: add new ebuild for version 2.3.57.7

Signed-off-by: Yahor Berdnikau <egorr.berd <AT> gmail.com>

 media-gfx/superslicer/Manifest                     |   5 +
 .../files/missing-imports-2.3.57.7.patch           | 188 +++++++++++++++++++++
 .../files/version-suffix-2.3.57.7.patch            |  17 ++
 media-gfx/superslicer/superslicer-2.3.57.7.ebuild  | 112 ++++++++++++
 4 files changed, 322 insertions(+)

diff --git a/media-gfx/superslicer/Manifest b/media-gfx/superslicer/Manifest
index 62d0caae9..895b45dbd 100644
--- a/media-gfx/superslicer/Manifest
+++ b/media-gfx/superslicer/Manifest
@@ -4,13 +4,18 @@ AUX boost-mouse-atomic-2.2.53.4.patch 201 BLAKE2B 51de568b16301cd0ffb4b8645b29b7
 AUX freecad-dialog-2.2.53.4.patch 481 BLAKE2B 1ad2d3e195c5c5bada1200133f702e0072e67b93f0ba56c5971bff52416f44e05ccba5eb3e47a240c76306b333884c4e1e0104052f9ade58265cb56b230e078b SHA512 a42806fe4fd64fea888cdb45b70ad9846022b6acf80ce6a8cc5cac758bbec161fd70379be95d2f62a3197f961fbccdd408eb2d6895d920748d14c134d22efac4
 AUX miniz-zip-header-2.2.53.4.patch 627 BLAKE2B f75874226b8e3b42080fb9adabc7b0bc73cc62f01839925f7d5c565df4eb9368c8ea5396760d8ff917f22766da0a60cfa1bb48a9b2c428a03ab0221de1cd796b SHA512 4b668d32fa66c192c6130b678061b6c63388971a950a9610d03041983972b7ce3f49405f2d7b4e2b41bb8146ab3b8ed95c009ef8be5c5f8c57067c7887adb306
 AUX missing-imports-2.3.56.9.patch 3114 BLAKE2B ff21f476f0e04df3c694a4962cfb3b588c9799ffe4a60df2d1149800dc81edd734110eb06841dd0da3118b6d4174e58ab581021b826779f221c66b46af4448b9 SHA512 0f30957f28140de61a10adcf625358d0df7ea6c0a4ef48061a31a324d9487496792f72506ac5f235d749402ad049cea9e418f9fd8814e641f5815f43c6c295ce
+AUX missing-imports-2.3.57.7.patch 5199 BLAKE2B 85f211788a04b6c7c1177aef98c18b8dba84da23e3a681e6e11cc03d96e4ef82961f121d2869638f60bcfbb016c7df587ff3d9a29a97d1ca0a02e75f08ebb576 SHA512 f4cc2b2224a2d3bb499e82a0439897ea079b6d27cf26882016b266864c6af2ab97b1529af603f2b4300c0186bf357f77357f5c616f1ea6cea90faf486448f762
 AUX string-to-char-conversion-2.3.56.9.patch 713 BLAKE2B 726166a605a711350bc436bd31a69211750e3e9cc459a03091c4e857ae600b6d0b5c3ed8528334eed09ff0453c39f381cc4aef7391a9e310f5ffdee55225cb89 SHA512 1156f1cdbc8d27d5b24cce0cecbfa26479e5e340e8895d20bbd0d4588068011d12e3a57a536c4ac7d4c5a3105d4c8d6b7274df9cf1b7c45c33642401ab3f3985
 AUX version-suffix-2.2.53.4.patch 468 BLAKE2B 9b698a981bf0101d8ce39c32afe3b1e9559fe1fcb00cbd45bec95d56d222736abd79394b181d9eb164aa67096542bfcc61a8d031b8f82bda41a48a7aa5235968 SHA512 5bd96eb4b4ae6b1050a8843868479a3cead2fa214476170c05305a98b48e8d3bb3d3c57cfc1e5993a33fa95989b07a83ae117820de3e1892cfd7b95a819ea079
 AUX version-suffix-2.3.56.9.patch 628 BLAKE2B 0890f85e487b33012a498845319042faf653e50a9a7857a5792fc5ee4c273a45954db7e228ccdbbfb3d95f46a59c3c737447a8de44e44dc833b55c80685a7eff SHA512 3a457236422b9124ee405d5e97432419da8a2fff2b1d1e88de109670218d9456c26d613aa05341db973e283e0bc6d8ef27a756398726f6d546eb44fc8f16c948
+AUX version-suffix-2.3.57.7.patch 628 BLAKE2B 0890f85e487b33012a498845319042faf653e50a9a7857a5792fc5ee4c273a45954db7e228ccdbbfb3d95f46a59c3c737447a8de44e44dc833b55c80685a7eff SHA512 3a457236422b9124ee405d5e97432419da8a2fff2b1d1e88de109670218d9456c26d613aa05341db973e283e0bc6d8ef27a756398726f6d546eb44fc8f16c948
 AUX wxwidget-canvas-set-context-2.3.56.9.patch 404 BLAKE2B 443e6a78147d002e54c552ebd217c494125d092a3c241a5407b3df2198ef0be4ab25bd074ca213d3bf75c8459d3c15772d4de44b71d2bd94af14513765eed573 SHA512 0ad5754c82d6e4273d6860aacaa05a26b84f876d7eb34703f506fe97e9f916ffc735ec203fe2d5da1aa16eee3918e26594364fca0d54984f4988256f980a0dba
 DIST superslicer-2.2.53.4.tar.gz 33791161 BLAKE2B c8454ac66a5d75f5bbcd1c29f600897c697f03ad581c97539033758942eac1d4ba0d2acbac43e75307a06e565d25a39b192e6cde522cce6b728afc04c42f82bb SHA512 f883cca3eb2575186c5077e2c1f9ca37e497ff6ed9aeae45a58c1db4de1c52db36fc0f14e7fdcd95aaf375b340932674014614cdab8c6995c56b9988fe5baa06
 DIST superslicer-2.3.56.9-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
 DIST superslicer-2.3.56.9.tar.gz 32260311 BLAKE2B 2da3201d789dd66a4a26c365b020f67dd5f43a71b9616681eb5dfed1ec759943398ce82fa2c8d5fd9a4f66a6887c25f0f86286ec4f52364a97a29cee548c3f0c SHA512 05c57765770889dc365eb721a2e6491f16de5a03c03493a682c49b769435d6db6e0ad52c0cfced7aa402dc751e4fdcbfc0623fa82d8431e45a590e64b12b6769
+DIST superslicer-2.3.57.7-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
+DIST superslicer-2.3.57.7.tar.gz 32400355 BLAKE2B bcacf218ad18146327a9f7005d2c2217cf859d2793e8f74bfd453e2b8b12bf83d224f0325f6908b806735fb94c476b87c5dfe35c16026006bf5bd38de26e5f36 SHA512 d9a92366ed426dab77a5d49cddd7c7f37f2a0e026574bcbff342e579c555aefb19aaea8de7b5180bb87ab2749ba0cef96e870d808914fdbc58f3ddf04e1a4a65
 EBUILD superslicer-2.2.53.4.ebuild 2174 BLAKE2B 1c3dfe391d225baf0d2b719906ae4533d47412eb6a87b18184f914cfe95bff927f0f528e9bef6794110a9bdc2057c90a49b7510eb6b855fed17ecdeedbaad659 SHA512 5db394567fd49f086012ba9bd7adc3c0b2793eae58433de98f42024dd0a15cc967d677163c9bdda7e97b20fc294ba5b00ca5229c6d383834dce976f9c13d8fc1
 EBUILD superslicer-2.3.56.9-r1.ebuild 3498 BLAKE2B d1b51fe5666ca1f2b5e78f5c35b67a9bd1d3e48f8f867eba2adedd56c16c87c4f438cd920c3dd41d1f73ff1072914912622996524302235e249e79c2e3b77fbb SHA512 00ed6c6ab90be2eea7b583440614315f1c69a3093c52043c615f9678b0219792161c1b67c8e83bb5033ac20c544699ab2103b90b84d24e7b6c9087e1442d8406
+EBUILD superslicer-2.3.57.7.ebuild 3443 BLAKE2B 2133e686252a9bb2e6e2f0988dc4962b60fabaac56a958ed9ccd46dcc114d8acc5a344a2862e16515f62c9b3bd3ac23817db358d0f2319cec7af088510b1a334 SHA512 8259b48a2ba476314b65407806b0bd8a17bd9cae2806f96174f3639a29a60b3dcf11f1fdc09d09d1a4c4a55503417ac92a093b430368fe774c0e9bd2488f1555
 MISC metadata.xml 469 BLAKE2B 542259ec3961e5fbeae4a0fd894f2a289278a86039a9a7862e6ec2c745b32433ed9b6dbf6659a171f2decddea2018dc7e608404f4b7c99aa94d236a86fdc5b2d SHA512 28a53bfcfc4ab83cf071f2d7e5ec939251b569d1a657bc725ee5530a7a1d18c67926fabb911dc48912a0bb43a2058fad84622f04e4fe3dd9838935d8cd3e4fb6

diff --git a/media-gfx/superslicer/files/missing-imports-2.3.57.7.patch b/media-gfx/superslicer/files/missing-imports-2.3.57.7.patch
new file mode 100644
index 000000000..a3354237c
--- /dev/null
+++ b/media-gfx/superslicer/files/missing-imports-2.3.57.7.patch
@@ -0,0 +1,188 @@
+--- a/src/libslic3r/GCode.cpp
++++ b/src/libslic3r/GCode.cpp
+@@ -19,6 +19,7 @@
+ #include <math.h>
+ #include <string_view>
+ #include <map>
++#include <unordered_set>
+
+ #include <boost/algorithm/string.hpp>
+ #include <boost/algorithm/string/find.hpp>
+--- a/src/libslic3r/GCodeWriter.cpp
++++ b/src/libslic3r/GCodeWriter.cpp
+@@ -5,6 +5,7 @@
+ #include <iostream>
+ #include <map>
+ #include <assert.h>
++#include <boost/lexical_cast.hpp>
+
+ #define FLAVOR_IS(val) this->config.gcode_flavor.value == val
+ #define FLAVOR_IS_NOT(val) this->config.gcode_flavor.value != val
+--- a/src/libslic3r/GCode/AvoidCrossingPerimeters.cpp
++++ b/src/libslic3r/GCode/AvoidCrossingPerimeters.cpp
+@@ -11,5 +11,6 @@
+
+ #include <numeric>
+ #include <unordered_set>
++#include <boost/log/trivial.hpp>
+
+ namespace Slic3r {
+--- a/src/libslic3r/MedialAxis.cpp
++++ b/src/libslic3r/MedialAxis.cpp
+@@ -11,6 +11,7 @@
+ #include <algorithm>
+ #include <cassert>
+ #include <list>
++#include <boost/log/trivial.hpp>
+
+ namespace Slic3r {
+     int count_error = 0;
+--- a/src/libslic3r/Format/CWS.cpp
++++ b/src/libslic3r/Format/CWS.cpp
+@@ -1,5 +1,7 @@
+ #include "libslic3r/Format/CWS.hpp"
+ #include "libslic3r/PrintConfig.hpp"
+ #include "libslic3r/Time.hpp"
++#include <boost/filesystem.hpp>
++#include <boost/log/trivial.hpp>
+
+ namespace Slic3r {
+--- a/src/libslic3r/PrintBase.cpp
++++ b/src/libslic3r/PrintBase.cpp
+@@ -1,5 +1,6 @@
+ #include "Exception.hpp"
+ #include "PrintBase.hpp"
+
++#include <regex>
+ #include <boost/filesystem.hpp>
+ #include <boost/lexical_cast.hpp>
+--- a/src/libslic3r/PrintObject.cpp
++++ b/src/libslic3r/PrintObject.cpp
+@@ -14,6 +14,7 @@
+ #include "Fill/FillAdaptive.hpp"
+ #include "Format/STL.hpp"
+
++#include <chrono>
+ #include <utility>
+ #include <boost/log/trivial.hpp>
+ #include <float.h>
+--- a/src/libslic3r/AppConfig.cpp
++++ b/src/libslic3r/AppConfig.cpp
+@@ -10,6 +10,7 @@
+
+ #include <boost/filesystem/path.hpp>
+ #include <boost/filesystem/operations.hpp>
++#include <boost/locale/generator.hpp>
+ #include <boost/nowide/cenv.hpp>
+ #include <boost/nowide/fstream.hpp>
+ #include <boost/property_tree/ini_parser.hpp>
+--- a/src/libslic3r/PlaceholderParser.cpp
++++ b/src/libslic3r/PlaceholderParser.cpp
+@@ -6,6 +6,7 @@
+ #include <iomanip>
+ #include <sstream>
+ #include <map>
++#include <regex>
+ #ifdef _MSC_VER
+     #include <stdlib.h>  // provides **_environ
+ #else
+@@ -26,6 +27,7 @@
+
+ #include <boost/algorithm/string.hpp>
+ #include <boost/nowide/convert.hpp>
++#include <boost/log/trivial.hpp>
+
+ // Spirit v2.5 allows you to suppress automatic generation
+ // of predefined terminals to speed up complation. With
+--- a/src/slic3r/GUI/Preferences.cpp
++++ b/src/slic3r/GUI/Preferences.cpp
+@@ -4,6 +4,7 @@
+ #include "Plater.hpp"
+ #include "I18N.hpp"
+ #include "libslic3r/AppConfig.hpp"
++#include <boost/filesystem.hpp>
+ #include <wx/notebook.h>
+
+ namespace Slic3r {
+--- a/src/slic3r/GUI/CalibrationAbstractDialog.cpp
++++ b/src/slic3r/GUI/CalibrationAbstractDialog.cpp
+@@ -5,6 +5,7 @@
+ #include "GUI.hpp"
+ #include "GUI_ObjectList.hpp"
+ #include "Tab.hpp"
++#include <boost/filesystem.hpp>
+ #include <wx/scrolwin.h>
+ #include <wx/display.h>
+ #include <wx/file.h>
+--- a/src/slic3r/GUI/Tab.cpp
++++ b/src/slic3r/GUI/Tab.cpp
+@@ -22,6 +22,7 @@
+
+ #include <wx/bmpcbox.h>
+ #include <wx/bmpbuttn.h>
++#include <wx/collpane.h>
+ #include <wx/treectrl.h>
+ #include <wx/imaglist.h>
+ #include <wx/settings.h>
+@@ -33,6 +34,7 @@
+ #include <boost/algorithm/string/replace.hpp>#include <boost/algorithm/string/trim.hpp>
+ #include <boost/filesystem.hpp>
+ #include <boost/filesystem/path.hpp>
++#include <boost/lexical_cast.hpp>
+ #include "wxExtensions.hpp"
+ #include "PresetComboBoxes.hpp"
+ #include <wx/wupdlock.h>
+--- a/src/slic3r/GUI/GUI_ObjectList.cpp
++++ b/src/slic3r/GUI/GUI_ObjectList.cpp
+@@ -15,4 +15,5 @@
+ #include "Selection.hpp"
+
+ #include <boost/algorithm/string.hpp>
++#include <boost/log/trivial.hpp>
+ #include "slic3r/Utils/FixModelByWin10.hpp"
+
+ #ifdef __WXMSW__
+--- a/src/slic3r/GUI/PhysicalPrinterDialog.cpp
++++ b/src/slic3r/GUI/PhysicalPrinterDialog.cpp
+@@ -5,6 +5,7 @@
+ #include <vector>
+ #include <string>
+ #include <boost/algorithm/string.hpp>
++#include <boost/log/trivial.hpp>
+
+ #include <wx/sizer.h>
+ #include <wx/stattext.h>
+--- a/src/slic3r/GUI/3DBed.cpp
++++ b/src/slic3r/GUI/3DBed.cpp
+@@ -16,6 +16,10 @@
+
+ #include <boost/algorithm/string/predicate.hpp>
+ #include <boost/filesystem/operations.hpp>
++#include <boost/locale/generator.hpp>
+ #include <boost/log/trivial.hpp>
++#include <boost/property_tree/ini_parser.hpp>
++#include <boost/property_tree/ptree.hpp>
++#include <boost/nowide/fstream.hpp>
+
+ static const float GROUND_Z = -0.02f;
+--- a/src/slic3r/Utils/PresetUpdater.cpp
++++ b/src/slic3r/Utils/PresetUpdater.cpp
+@@ -12,6 +12,8 @@
+ #include <boost/filesystem/fstream.hpp>
+ #include <boost/lexical_cast.hpp>
+ #include <boost/log/trivial.hpp>
++#include <boost/property_tree/ptree.hpp>
++#include <boost/property_tree/json_parser.hpp>
+
+ #include <wx/app.h>
+ #include <wx/msgdlg.h>
+--- a/src/slic3r/GUI/Search.cpp
++++ b/src/slic3r/GUI/Search.cpp
+@@ -2,6 +2,7 @@
+
+ #include <cstddef>
+ #include <string>
++#include <regex>
+ #include <boost/algorithm/string.hpp>
+ #include <boost/optional.hpp>
+ #include <boost/nowide/convert.hpp>

diff --git a/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch b/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch
new file mode 100644
index 000000000..74e982cad
--- /dev/null
+++ b/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch
@@ -0,0 +1,17 @@
+--- a/version.inc
++++ b/version.inc
+@@ -2,11 +2,11 @@
+ # (the version numbers are generated by the build script from the git current label)
+
+ # name of the slicer
+-set(SLIC3R_APP_NAME "SuperSlicer")
++set(SLIC3R_APP_NAME "SuperSlicer2.3")
+ # Key fo the slicer, must only contains ascii chars and no spaces (be valid in all filesystems)
+-set(SLIC3R_APP_KEY "SuperSlicer")
++set(SLIC3R_APP_KEY "SuperSlicer2.3")
+ # exe name of the slicer, should be lowercase and valid in all os
+-set(SLIC3R_APP_CMD "superslicer")
++set(SLIC3R_APP_CMD "superslicer-2.3")
+ # versions
+ set(SLIC3R_VERSION "2.3.56")
+ set(SLIC3R_VERSION_FULL "2.3.56.7")

diff --git a/media-gfx/superslicer/superslicer-2.3.57.7.ebuild b/media-gfx/superslicer/superslicer-2.3.57.7.ebuild
new file mode 100644
index 000000000..02c324aa9
--- /dev/null
+++ b/media-gfx/superslicer/superslicer-2.3.57.7.ebuild
@@ -0,0 +1,112 @@
+# Copyright 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="SuperSlicer"
+DESCRIPTION="A mesh slicer to generated G-Code for fused-filament fabrication"
+HOMEPAGE="https://github.com/supermerill/SuperSlicer"
+SRC_URI="https://github.com/supermerill/SuperSlicer/archive/${PV}.tar.gz -> ${P}.tar.gz
+	profiles? ( https://github.com/slic3r/slic3r-profiles/archive/118aa919c16837eb2ff6ba97e2934fa4144ef806.zip -> ${P}-profiles.zip )"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="AGPL-3"
+SLOT="23"
+KEYWORDS="~amd64"
+IUSE="gui test profiles"
+
+# tests fail to link with USE=-gui, bug #760096
+REQUIRED_USE="test? ( gui )"
+RESTRICT="!test? ( test )"
+
+BDEPEND="profiles? ( app-arch/unzip )"
+RDEPEND="
+		dev-cpp/eigen:3
+		dev-cpp/tbb
+		>=dev-libs/boost-1.73.0:=[nls,threads(+)]
+		dev-libs/cereal
+		dev-libs/expat
+		dev-libs/c-blosc
+		dev-libs/gmp:=
+		>=dev-libs/miniz-2.1.0-r2
+		dev-libs/mpfr:=
+		>=media-gfx/openvdb-5.0.0
+		media-libs/ilmbase:=
+		media-libs/libpng:0=
+		media-libs/openexr: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-3.0.5.1:=[X,opengl]
+		)
+"
+DEPEND="${RDEPEND}
+		media-libs/qhull[static-libs]
+		test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+	"${FILESDIR}/miniz-zip-header-2.2.53.4.patch"
+	"${FILESDIR}/freecad-dialog-2.2.53.4.patch"
+	"${FILESDIR}/missing-imports-${PV}.patch"
+	"${FILESDIR}/string-to-char-conversion-2.3.56.9.patch"
+	"${FILESDIR}/version-suffix-${PV}.patch"
+)
+
+src_unpack() {
+	unpack ${P}.tar.gz
+	mv "${S}/resources/icons/SuperSlicer_192px.png" "${S}/resources/icons/SuperSlicer2.3_192px.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer_128px.png" "${S}/resources/icons/SuperSlicer2.3_128px.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_128px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_128px.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_192px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_192px.png" || die "Failed to rename icons"
+	cp "${S}/resources/icons/SuperSlicer.png" "${S}/resources/icons/SuperSlicer2.3_logo.png" || die "Failed to make logo icon"
+
+	use profiles && unpack ${P}-profiles.zip &&
+	if use profiles ; then
+		cp -r "${WORKDIR}/slic3r-profiles-118aa919c16837eb2ff6ba97e2934fa4144ef806/"* "${S}/resources/profiles" || die "Failed to copy profiles"
+	fi
+}
+
+src_configure() {
+	use gui && setup-wxwidgets
+
+	CMAKE_BUILD_TYPE=Release
+	local mycmakeargs=(
+		-DSLIC3R_BUILD_TESTS=$(usex test)
+		-DSLIC3R_FHS=ON
+		-DSLIC3R_GTK=3
+		-DSLIC3R_GUI=$(usex gui)
+		-DSLIC3R_PCH=OFF
+		-DSLIC3R_WX_STABLE=ON
+		-Wno-dev
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use gui; then
+		newicon -s 128 resources/icons/Slic3r_128px.png SuperSli3er_2.3.png
+		dosym superslicer-2.3 /usr/bin/superslicer-2.3-gcodeviewer
+		make_desktop_entry superslicer "SuperSlicer 2.3" "SuperSli3er_2.3" "Graphics;3DGraphics;Engineering;" \
+			"MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;" \
+			"GenericName=3D Printing Software" \
+			"Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA"
+	fi
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/superslicer/files/, media-gfx/superslicer/
@ 2022-01-26  8:47 Yahor Berdnikau
  0 siblings, 0 replies; 8+ messages in thread
From: Yahor Berdnikau @ 2022-01-26  8:47 UTC (permalink / raw
  To: gentoo-commits

commit:     068b937ba399c402c0b9ad6e5ef0c703f2b2ee19
Author:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
AuthorDate: Wed Jan 26 08:46:11 2022 +0000
Commit:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
CommitDate: Wed Jan 26 08:47:22 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=068b937b

media-gfx/superslicer: add 2.3.57.9 version ebuild

Signed-off-by: Yahor Berdnikau <egorr.berd <AT> gmail.com>

 media-gfx/superslicer/Manifest                     |   2 +
 .../files/missing-imports-2.3.57.9.patch           |  10 ++
 .../files/version-suffix-2.3.57.9.patch            |  17 ++++
 media-gfx/superslicer/superslicer-2.3.57.9.ebuild  | 113 +++++++++++++++++++++
 4 files changed, 142 insertions(+)

diff --git a/media-gfx/superslicer/Manifest b/media-gfx/superslicer/Manifest
index 4f5e87cc6..c71adf7b3 100644
--- a/media-gfx/superslicer/Manifest
+++ b/media-gfx/superslicer/Manifest
@@ -1,3 +1,5 @@
 DIST superslicer-2.2.53.4.tar.gz 33791161 BLAKE2B c8454ac66a5d75f5bbcd1c29f600897c697f03ad581c97539033758942eac1d4ba0d2acbac43e75307a06e565d25a39b192e6cde522cce6b728afc04c42f82bb SHA512 f883cca3eb2575186c5077e2c1f9ca37e497ff6ed9aeae45a58c1db4de1c52db36fc0f14e7fdcd95aaf375b340932674014614cdab8c6995c56b9988fe5baa06
 DIST superslicer-2.3.57.7-profiles.tar.gz 12157428 BLAKE2B 2ce1a98987c601fc979f895e6902b7e43db336eb0d44bb1f38370969d9c514a29430d5db32fe2766f6887a20970f49aa74a573862eefeeaab63cfff482bdd729 SHA512 87fbd56a104d205f2d32f9e71e6c679fb63a48aa74387c87fd551dad47709e5491e7ce597d0b0f8bc448191674a8f9e71d240a8f7ade35cf359e3bf1d5059213
 DIST superslicer-2.3.57.7.tar.gz 32400355 BLAKE2B bcacf218ad18146327a9f7005d2c2217cf859d2793e8f74bfd453e2b8b12bf83d224f0325f6908b806735fb94c476b87c5dfe35c16026006bf5bd38de26e5f36 SHA512 d9a92366ed426dab77a5d49cddd7c7f37f2a0e026574bcbff342e579c555aefb19aaea8de7b5180bb87ab2749ba0cef96e870d808914fdbc58f3ddf04e1a4a65
+DIST superslicer-2.3.57.9-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
+DIST superslicer-2.3.57.9.tar.gz 32406027 BLAKE2B 66c6c5cfb044165dd8cce3030fc9e6c29df078aaca94dfecef4c5943a21667fc9dd12d88e821952382e7556775119daf221030b2bb25fc1e52071c4f367fe041 SHA512 bf421afa55ad7d1c3eafa8dc15efb20ab463e21b78f5e03d188f68d018a7b32cd24c2163974d90eff80e1ebb39a669b3e877a614e1040bc31c7160cca7ffc554

diff --git a/media-gfx/superslicer/files/missing-imports-2.3.57.9.patch b/media-gfx/superslicer/files/missing-imports-2.3.57.9.patch
new file mode 100644
index 000000000..ebc7ac3dc
--- /dev/null
+++ b/media-gfx/superslicer/files/missing-imports-2.3.57.9.patch
@@ -0,0 +1,10 @@
+--- a/src/libslic3r/PrintObject.cpp
++++ b/src/libslic3r/PrintObject.cpp
+@@ -15,6 +15,7 @@
+ #include "Format/STL.hpp"
+
+ #include <atomic>
++#include <chrono>
+ #include <utility>
+ #include <boost/log/trivial.hpp>
+ #include <float.h>

diff --git a/media-gfx/superslicer/files/version-suffix-2.3.57.9.patch b/media-gfx/superslicer/files/version-suffix-2.3.57.9.patch
new file mode 100644
index 000000000..0daae037f
--- /dev/null
+++ b/media-gfx/superslicer/files/version-suffix-2.3.57.9.patch
@@ -0,0 +1,17 @@
+--- a/version.inc
++++ b/version.inc
+@@ -2,11 +2,11 @@
+ # (the version numbers are generated by the build script from the git current label)
+
+ # name of the slicer
+-set(SLIC3R_APP_NAME "SuperSlicer")
++set(SLIC3R_APP_NAME "SuperSlicer2.3")
+ # Key fo the slicer, must only contains ascii chars and no spaces (be valid in all filesystems)
+-set(SLIC3R_APP_KEY "SuperSlicer")
++set(SLIC3R_APP_KEY "SuperSlicer2.3")
+ # exe name of the slicer, should be lowercase and valid in all os
+-set(SLIC3R_APP_CMD "superslicer")
++set(SLIC3R_APP_CMD "superslicer-2.3")
+ # versions
+ set(SLIC3R_VERSION "2.3.57")
+ set(SLIC3R_VERSION_FULL "2.3.57.9")

diff --git a/media-gfx/superslicer/superslicer-2.3.57.9.ebuild b/media-gfx/superslicer/superslicer-2.3.57.9.ebuild
new file mode 100644
index 000000000..00ff86a24
--- /dev/null
+++ b/media-gfx/superslicer/superslicer-2.3.57.9.ebuild
@@ -0,0 +1,113 @@
+# Copyright 2022 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="SuperSlicer"
+DESCRIPTION="A mesh slicer to generated G-Code for fused-filament fabrication"
+HOMEPAGE="https://github.com/supermerill/SuperSlicer"
+SRC_URI="https://github.com/supermerill/SuperSlicer/archive/${PV}.tar.gz -> ${P}.tar.gz
+	profiles? ( https://github.com/slic3r/slic3r-profiles/archive/118aa919c16837eb2ff6ba97e2934fa4144ef806.zip -> ${P}-profiles.zip )"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="AGPL-3"
+SLOT="23"
+KEYWORDS="~amd64"
+IUSE="gui test profiles"
+
+# tests fail to link with USE=-gui, bug #760096
+REQUIRED_USE="test? ( gui )"
+RESTRICT="!test? ( test )"
+
+BDEPEND="profiles? ( app-arch/unzip )"
+RDEPEND="
+		dev-cpp/eigen:3
+		dev-cpp/tbb
+		>=dev-libs/boost-1.73.0:=[nls,threads(+)]
+		dev-libs/cereal
+		dev-libs/expat
+		dev-libs/c-blosc
+		dev-libs/gmp:=
+		>=dev-libs/miniz-2.1.0-r2
+		dev-libs/mpfr:=
+		>=media-gfx/openvdb-5.0.0
+		media-libs/ilmbase:=
+		media-libs/libpng:0=
+		media-libs/openexr: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-3.0.5.1:=[X,opengl]
+		)
+"
+DEPEND="${RDEPEND}
+		media-libs/qhull[static-libs]
+		test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+	"${FILESDIR}/miniz-zip-header-2.2.53.4.patch"
+	"${FILESDIR}/freecad-dialog-2.2.53.4.patch"
+	"${FILESDIR}/missing-imports-${PV}.patch"
+	"${FILESDIR}/string-to-char-conversion-2.3.56.9.patch"
+	"${FILESDIR}/version-suffix-${PV}.patch"
+)
+
+src_unpack() {
+	unpack ${P}.tar.gz
+	mv "${S}/resources/icons/SuperSlicer_192px.png" "${S}/resources/icons/SuperSlicer2.3_192px.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer_192px_transparent.png" "${S}/resources/icons/SuperSlicer2.3_192px_transparent.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer_128px.png" "${S}/resources/icons/SuperSlicer2.3_128px.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_128px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_128px.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_192px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_192px.png" || die "Failed to rename icons"
+	cp "${S}/resources/icons/SuperSlicer.png" "${S}/resources/icons/SuperSlicer2.3_logo.png" || die "Failed to make logo icon"
+
+	use profiles && unpack ${P}-profiles.zip &&
+	if use profiles ; then
+		cp -r "${WORKDIR}/slic3r-profiles-118aa919c16837eb2ff6ba97e2934fa4144ef806/"* "${S}/resources/profiles" || die "Failed to copy profiles"
+	fi
+}
+
+src_configure() {
+	use gui && setup-wxwidgets
+
+	CMAKE_BUILD_TYPE=Release
+	local mycmakeargs=(
+		-DSLIC3R_BUILD_TESTS=$(usex test)
+		-DSLIC3R_FHS=ON
+		-DSLIC3R_GTK=3
+		-DSLIC3R_GUI=$(usex gui)
+		-DSLIC3R_PCH=OFF
+		-DSLIC3R_WX_STABLE=ON
+		-Wno-dev
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use gui; then
+		newicon -s 128 resources/icons/Slic3r_128px.png SuperSli3er_2.3.png
+		dosym superslicer-2.3 /usr/bin/superslicer-2.3-gcodeviewer
+		make_desktop_entry superslicer "SuperSlicer 2.3" "SuperSli3er_2.3" "Graphics;3DGraphics;Engineering;" \
+			"MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;" \
+			"GenericName=3D Printing Software" \
+			"Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA"
+	fi
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/superslicer/files/, media-gfx/superslicer/
@ 2022-02-06 20:14 Yahor Berdnikau
  0 siblings, 0 replies; 8+ messages in thread
From: Yahor Berdnikau @ 2022-02-06 20:14 UTC (permalink / raw
  To: gentoo-commits

commit:     0cacec0c738a1f807acb582907a467579b349ae7
Author:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
AuthorDate: Sun Feb  6 20:05:29 2022 +0000
Commit:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
CommitDate: Sun Feb  6 20:05:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0cacec0c

media-gfx/superslicer: Fix app name for 2.3.57.7

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yahor Berdnikau <egorr.berd <AT> gmail.com>

 media-gfx/superslicer/Manifest                     |  2 +-
 .../files/version-suffix-2.3.57.7.patch            | 35 +++++++++++++++++-----
 ....57.7.ebuild => superslicer-2.3.57.7-r1.ebuild} | 13 ++++----
 3 files changed, 34 insertions(+), 16 deletions(-)

diff --git a/media-gfx/superslicer/Manifest b/media-gfx/superslicer/Manifest
index c71adf7b3..598043981 100644
--- a/media-gfx/superslicer/Manifest
+++ b/media-gfx/superslicer/Manifest
@@ -1,5 +1,5 @@
 DIST superslicer-2.2.53.4.tar.gz 33791161 BLAKE2B c8454ac66a5d75f5bbcd1c29f600897c697f03ad581c97539033758942eac1d4ba0d2acbac43e75307a06e565d25a39b192e6cde522cce6b728afc04c42f82bb SHA512 f883cca3eb2575186c5077e2c1f9ca37e497ff6ed9aeae45a58c1db4de1c52db36fc0f14e7fdcd95aaf375b340932674014614cdab8c6995c56b9988fe5baa06
-DIST superslicer-2.3.57.7-profiles.tar.gz 12157428 BLAKE2B 2ce1a98987c601fc979f895e6902b7e43db336eb0d44bb1f38370969d9c514a29430d5db32fe2766f6887a20970f49aa74a573862eefeeaab63cfff482bdd729 SHA512 87fbd56a104d205f2d32f9e71e6c679fb63a48aa74387c87fd551dad47709e5491e7ce597d0b0f8bc448191674a8f9e71d240a8f7ade35cf359e3bf1d5059213
+DIST superslicer-2.3.57.7-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
 DIST superslicer-2.3.57.7.tar.gz 32400355 BLAKE2B bcacf218ad18146327a9f7005d2c2217cf859d2793e8f74bfd453e2b8b12bf83d224f0325f6908b806735fb94c476b87c5dfe35c16026006bf5bd38de26e5f36 SHA512 d9a92366ed426dab77a5d49cddd7c7f37f2a0e026574bcbff342e579c555aefb19aaea8de7b5180bb87ab2749ba0cef96e870d808914fdbc58f3ddf04e1a4a65
 DIST superslicer-2.3.57.9-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
 DIST superslicer-2.3.57.9.tar.gz 32406027 BLAKE2B 66c6c5cfb044165dd8cce3030fc9e6c29df078aaca94dfecef4c5943a21667fc9dd12d88e821952382e7556775119daf221030b2bb25fc1e52071c4f367fe041 SHA512 bf421afa55ad7d1c3eafa8dc15efb20ab463e21b78f5e03d188f68d018a7b32cd24c2163974d90eff80e1ebb39a669b3e877a614e1040bc31c7160cca7ffc554

diff --git a/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch b/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch
index 74e982cad..f140f8e18 100644
--- a/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch
+++ b/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch
@@ -1,11 +1,8 @@
 --- a/version.inc
 +++ b/version.inc
-@@ -2,11 +2,11 @@
- # (the version numbers are generated by the build script from the git current label)
-
+@@ -4,9 +4,9 @@
  # name of the slicer
--set(SLIC3R_APP_NAME "SuperSlicer")
-+set(SLIC3R_APP_NAME "SuperSlicer2.3")
+ set(SLIC3R_APP_NAME "SuperSlicer")
  # Key fo the slicer, must only contains ascii chars and no spaces (be valid in all filesystems)
 -set(SLIC3R_APP_KEY "SuperSlicer")
 +set(SLIC3R_APP_KEY "SuperSlicer2.3")
@@ -13,5 +10,29 @@
 -set(SLIC3R_APP_CMD "superslicer")
 +set(SLIC3R_APP_CMD "superslicer-2.3")
  # versions
- set(SLIC3R_VERSION "2.3.56")
- set(SLIC3R_VERSION_FULL "2.3.56.7")
+ set(SLIC3R_VERSION "2.3.57")
+ set(SLIC3R_VERSION_FULL "2.3.57.7")
+--- a/src/platform/unix/Gcodeviewer.desktop.in
++++ b/src/platform/unix/Gcodeviewer.desktop.in
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Name=@GCODEVIEWER_APP_NAME@
++Name=@GCODEVIEWER_APP_KEY@
+ Comment=G-code viewer of Slic3r
+ Exec=@SLIC3R_APP_CMD@ --gcodeviewer %F
+ Icon=@GCODEVIEWER_APP_KEY@
+--- a/src/platform/unix/Slic3r.desktop.in
++++ b/src/platform/unix/Slic3r.desktop.in
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Name=@SLIC3R_APP_NAME@
++Name=@SLIC3R_APP_KEY@
+ GenericName=3D Printing Software
+ Comment=G-code generator for 3D printers
+ Icon=@SLIC3R_APP_KEY@
+@@ -10,4 +10,4 @@ MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;
+ Categories=Graphics;3DGraphics;Engineering;
+ Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA
+ StartupNotify=false
+-StartupWMClass=@SLIC3R_APP_KEY@
++StartupWMClass=@SLIC3R_APP_NAME@

diff --git a/media-gfx/superslicer/superslicer-2.3.57.7.ebuild b/media-gfx/superslicer/superslicer-2.3.57.7-r1.ebuild
similarity index 84%
rename from media-gfx/superslicer/superslicer-2.3.57.7.ebuild
rename to media-gfx/superslicer/superslicer-2.3.57.7-r1.ebuild
index 9f44fab0c..b352df777 100644
--- a/media-gfx/superslicer/superslicer-2.3.57.7.ebuild
+++ b/media-gfx/superslicer/superslicer-2.3.57.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ MY_PN="SuperSlicer"
 DESCRIPTION="A mesh slicer to generated G-Code for fused-filament fabrication"
 HOMEPAGE="https://github.com/supermerill/SuperSlicer"
 SRC_URI="https://github.com/supermerill/SuperSlicer/archive/${PV}.tar.gz -> ${P}.tar.gz
-	profiles? ( https://github.com/slic3r/slic3r-profiles/archive/118aa919c16837eb2ff6ba97e2934fa4144ef806.tar.gz -> ${P}-profiles.tar.gz )"
+	profiles? ( https://github.com/slic3r/slic3r-profiles/archive/118aa919c16837eb2ff6ba97e2934fa4144ef806.zip -> ${P}-profiles.zip )"
 S="${WORKDIR}/${MY_PN}-${PV}"
 
 LICENSE="AGPL-3"
@@ -23,6 +23,7 @@ IUSE="gui test profiles"
 REQUIRED_USE="test? ( gui )"
 RESTRICT="!test? ( test )"
 
+BDEPEND="profiles? ( app-arch/unzip )"
 RDEPEND="
 		dev-cpp/eigen:3
 		dev-cpp/tbb
@@ -75,7 +76,7 @@ src_unpack() {
 	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_192px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_192px.png" || die "Failed to rename icons"
 	cp "${S}/resources/icons/SuperSlicer.png" "${S}/resources/icons/SuperSlicer2.3_logo.png" || die "Failed to make logo icon"
 
-	use profiles && unpack ${P}-profiles.tar.gz &&
+	use profiles && unpack ${P}-profiles.zip &&
 	if use profiles ; then
 		cp -r "${WORKDIR}/slic3r-profiles-118aa919c16837eb2ff6ba97e2934fa4144ef806/"* "${S}/resources/profiles" || die "Failed to copy profiles"
 	fi
@@ -102,11 +103,7 @@ src_install() {
 	cmake_src_install
 
 	if use gui; then
-		newicon -s 128 resources/icons/Slic3r_128px.png SuperSli3er_2.3.png
+		newicon -s 128 resources/icons/SuperSlicer2.3_128px.png SuperSlicer2.3.png
 		dosym superslicer-2.3 /usr/bin/superslicer-2.3-gcodeviewer
-		make_desktop_entry superslicer "SuperSlicer 2.3" "SuperSli3er_2.3" "Graphics;3DGraphics;Engineering;" \
-			"MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;application/x-amf;" \
-			"GenericName=3D Printing Software" \
-			"Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA"
 	fi
 }


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/superslicer/files/, media-gfx/superslicer/
@ 2022-02-06 20:14 Yahor Berdnikau
  0 siblings, 0 replies; 8+ messages in thread
From: Yahor Berdnikau @ 2022-02-06 20:14 UTC (permalink / raw
  To: gentoo-commits

commit:     0a88e99cbe3b38ebc08a21744bbf5fb874c14857
Author:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
AuthorDate: Sun Feb  6 20:14:26 2022 +0000
Commit:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
CommitDate: Sun Feb  6 20:14:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a88e99c

media-gfx/superslicer: new version 2.3.57.10

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yahor Berdnikau <egorr.berd <AT> gmail.com>

 media-gfx/superslicer/Manifest                     |   2 +
 .../files/missing-imports-2.3.57.10.patch          |  10 ++
 .../files/version-suffix-2.3.57.10.patch           |  38 ++++++++
 media-gfx/superslicer/superslicer-2.3.57.10.ebuild | 108 +++++++++++++++++++++
 4 files changed, 158 insertions(+)

diff --git a/media-gfx/superslicer/Manifest b/media-gfx/superslicer/Manifest
index 598043981..ae10bbf82 100644
--- a/media-gfx/superslicer/Manifest
+++ b/media-gfx/superslicer/Manifest
@@ -1,4 +1,6 @@
 DIST superslicer-2.2.53.4.tar.gz 33791161 BLAKE2B c8454ac66a5d75f5bbcd1c29f600897c697f03ad581c97539033758942eac1d4ba0d2acbac43e75307a06e565d25a39b192e6cde522cce6b728afc04c42f82bb SHA512 f883cca3eb2575186c5077e2c1f9ca37e497ff6ed9aeae45a58c1db4de1c52db36fc0f14e7fdcd95aaf375b340932674014614cdab8c6995c56b9988fe5baa06
+DIST superslicer-2.3.57.10-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
+DIST superslicer-2.3.57.10.tar.gz 32466957 BLAKE2B 7c5fff6ba8139a9bf66d931e6e48e6a9201e7911e90ce2e822ded7ae713f0b8fdf86b9cd317ded4802146c24758148ec989c213b5992c323a2fd442e17a4e228 SHA512 4d20078e11f5f99993220409bee54ca0a3f2a6fff04febfc09b5f1bc445ceaabc3a359f8f7f478127aa1504e8ba8a121a682c991adf2c45cb2ff1598ed2e3445
 DIST superslicer-2.3.57.7-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
 DIST superslicer-2.3.57.7.tar.gz 32400355 BLAKE2B bcacf218ad18146327a9f7005d2c2217cf859d2793e8f74bfd453e2b8b12bf83d224f0325f6908b806735fb94c476b87c5dfe35c16026006bf5bd38de26e5f36 SHA512 d9a92366ed426dab77a5d49cddd7c7f37f2a0e026574bcbff342e579c555aefb19aaea8de7b5180bb87ab2749ba0cef96e870d808914fdbc58f3ddf04e1a4a65
 DIST superslicer-2.3.57.9-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa

diff --git a/media-gfx/superslicer/files/missing-imports-2.3.57.10.patch b/media-gfx/superslicer/files/missing-imports-2.3.57.10.patch
new file mode 100644
index 000000000..009a4892a
--- /dev/null
+++ b/media-gfx/superslicer/files/missing-imports-2.3.57.10.patch
@@ -0,0 +1,10 @@
+--- a/src/slic3r/Utils/PresetUpdater.cpp
++++ b/src/slic3r/Utils/PresetUpdater.cpp
+@@ -6,6 +6,7 @@
+ #include <ostream>
+ #include <utility>
+ #include <stdexcept>
++#include <regex>
+
+ #include <boost/algorithm/string.hpp>
+ #include <boost/filesystem.hpp>

diff --git a/media-gfx/superslicer/files/version-suffix-2.3.57.10.patch b/media-gfx/superslicer/files/version-suffix-2.3.57.10.patch
new file mode 100644
index 000000000..ddbda92ac
--- /dev/null
+++ b/media-gfx/superslicer/files/version-suffix-2.3.57.10.patch
@@ -0,0 +1,38 @@
+--- a/version.inc
++++ b/version.inc
+@@ -4,9 +4,9 @@
+ # name of the slicer
+ set(SLIC3R_APP_NAME "SuperSlicer")
+ # Key fo the slicer, must only contains ascii chars and no spaces (be valid in all filesystems)
+-set(SLIC3R_APP_KEY "SuperSlicer")
++set(SLIC3R_APP_KEY "SuperSlicer2.3")
+ # exe name of the slicer, should be lowercase and valid in all os
+-set(SLIC3R_APP_CMD "superslicer")
++set(SLIC3R_APP_CMD "superslicer-2.3")
+ # versions
+ set(SLIC3R_VERSION "2.3.57")
+ set(SLIC3R_VERSION_FULL "2.3.57.10")
+--- a/src/platform/unix/Slic3r.desktop.in
++++ b/src/platform/unix/Slic3r.desktop.in
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Name=@SLIC3R_APP_NAME@
++Name=@SLIC3R_APP_KEY@
+ GenericName=3D Printing Software
+ Comment=G-code generator for 3D printers
+ Icon=@SLIC3R_APP_KEY@
+@@ -10,4 +10,4 @@ MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;
+ Categories=Graphics;3DGraphics;Engineering;
+ Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA
+ StartupNotify=false
+-StartupWMClass=@SLIC3R_APP_KEY@
++StartupWMClass=@SLIC3R_APP_NAME@
+--- a/src/platform/unix/Gcodeviewer.desktop.in
++++ b/src/platform/unix/Gcodeviewer.desktop.in
+@@ -1,5 +1,5 @@
+ [Desktop Entry]
+-Name=@GCODEVIEWER_APP_NAME@
++Name=@GCODEVIEWER_APP_KEY@
+ Comment=G-code viewer of Slic3r
+ Exec=@SLIC3R_APP_CMD@ --gcodeviewer %F
+ Icon=@GCODEVIEWER_APP_KEY@

diff --git a/media-gfx/superslicer/superslicer-2.3.57.10.ebuild b/media-gfx/superslicer/superslicer-2.3.57.10.ebuild
new file mode 100644
index 000000000..f7182ba82
--- /dev/null
+++ b/media-gfx/superslicer/superslicer-2.3.57.10.ebuild
@@ -0,0 +1,108 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+WX_GTK_VER="3.0-gtk3"
+
+inherit xdg cmake desktop wxwidgets
+
+MY_PN="SuperSlicer"
+DESCRIPTION="A mesh slicer to generated G-Code for fused-filament fabrication"
+HOMEPAGE="https://github.com/supermerill/SuperSlicer"
+SRC_URI="https://github.com/supermerill/SuperSlicer/archive/${PV}.tar.gz -> ${P}.tar.gz
+	profiles? ( https://github.com/slic3r/slic3r-profiles/archive/118aa919c16837eb2ff6ba97e2934fa4144ef806.zip -> ${P}-profiles.zip )"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="AGPL-3"
+SLOT="23"
+KEYWORDS="~amd64"
+IUSE="gui test profiles"
+
+# tests fail to link with USE=-gui, bug #760096
+REQUIRED_USE="test? ( gui )"
+RESTRICT="!test? ( test )"
+
+BDEPEND="profiles? ( app-arch/unzip )"
+RDEPEND="
+		dev-cpp/eigen:3
+		dev-cpp/tbb
+		>=dev-libs/boost-1.73.0:=[nls,threads(+)]
+		dev-libs/cereal
+		dev-libs/expat
+		dev-libs/c-blosc
+		dev-libs/gmp:=
+		>=dev-libs/miniz-2.1.0-r2
+		dev-libs/mpfr:=
+		>=media-gfx/openvdb-5.0.0
+		media-libs/ilmbase:=
+		media-libs/libpng:0=
+		media-libs/openexr: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-3.0.5.1:=[X,opengl]
+		)
+"
+DEPEND="${RDEPEND}
+		media-libs/qhull[static-libs]
+		test? ( dev-cpp/gtest )
+"
+
+PATCHES=(
+	"${FILESDIR}/miniz-zip-header-2.2.53.4.patch"
+	"${FILESDIR}/freecad-dialog-2.2.53.4.patch"
+	"${FILESDIR}/missing-imports-${PV}.patch"
+	"${FILESDIR}/version-suffix-${PV}.patch"
+)
+
+src_unpack() {
+	unpack ${P}.tar.gz
+	mv "${S}/resources/icons/SuperSlicer_192px.png" "${S}/resources/icons/SuperSlicer2.3_192px.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer_192px_transparent.png" "${S}/resources/icons/SuperSlicer2.3_192px_transparent.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer_128px.png" "${S}/resources/icons/SuperSlicer2.3_128px.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_128px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_128px.png" || die "Failed to rename icons"
+	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_192px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_192px.png" || die "Failed to rename icons"
+	cp "${S}/resources/icons/SuperSlicer.png" "${S}/resources/icons/SuperSlicer2.3_logo.png" || die "Failed to make logo icon"
+
+	use profiles && unpack ${P}-profiles.zip &&
+	if use profiles ; then
+		cp -r "${WORKDIR}/slic3r-profiles-118aa919c16837eb2ff6ba97e2934fa4144ef806/"* "${S}/resources/profiles" || die "Failed to copy profiles"
+	fi
+}
+
+src_configure() {
+	use gui && setup-wxwidgets
+
+	CMAKE_BUILD_TYPE=Release
+	local mycmakeargs=(
+		-DSLIC3R_BUILD_TESTS=$(usex test)
+		-DSLIC3R_FHS=ON
+		-DSLIC3R_GTK=3
+		-DSLIC3R_GUI=$(usex gui)
+		-DSLIC3R_PCH=OFF
+		-DSLIC3R_WX_STABLE=ON
+		-Wno-dev
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use gui; then
+		newicon -s 128 resources/icons/SuperSlicer2.3_128px.png SuperSlicer2.3.png
+		dosym superslicer-2.3 /usr/bin/superslicer-2.3-gcodeviewer
+	fi
+}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/superslicer/files/, media-gfx/superslicer/
@ 2022-05-29 20:39 Yahor Berdnikau
  0 siblings, 0 replies; 8+ messages in thread
From: Yahor Berdnikau @ 2022-05-29 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     995dcbc45381e55d23c07008f9c8faadf19f2ecc
Author:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
AuthorDate: Sun May 29 20:34:43 2022 +0000
Commit:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
CommitDate: Sun May 29 20:34:43 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=995dcbc4

media-gfx/superslicer: drop 2.3.57.7-r1

Signed-off-by: Yahor Berdnikau <egorr.berd <AT> gmail.com>

 media-gfx/superslicer/Manifest                     |   2 -
 .../files/missing-imports-2.3.57.7.patch           | 188 ---------------------
 .../files/version-suffix-2.3.57.7.patch            |  38 -----
 .../superslicer/superslicer-2.3.57.7-r1.ebuild     | 109 ------------
 4 files changed, 337 deletions(-)

diff --git a/media-gfx/superslicer/Manifest b/media-gfx/superslicer/Manifest
index d09c41d47..974642d1f 100644
--- a/media-gfx/superslicer/Manifest
+++ b/media-gfx/superslicer/Manifest
@@ -5,7 +5,5 @@ DIST superslicer-2.3.57.11-profiles.zip 14382021 BLAKE2B f1908f3bdaebd742dcfa9d2
 DIST superslicer-2.3.57.11.tar.gz 32469197 BLAKE2B 8406717396acfa0c2cfe381587693d3961bdb4933f0d0821ed814e89f7597b4d90a56e877e3dd7e45fe4b14ee13f143e1cff241d59ce1798c39631dd7ffa706f SHA512 978eb5004d788e93ea58b788fbf8fe7a7c1c515b0a138e20662c3c1973b5c72373cd14c76d25ee180095c030416b5b4429b61bb73432910fe9288897a5d7cb4d
 DIST superslicer-2.3.57.12-profiles.zip 14382021 BLAKE2B f1908f3bdaebd742dcfa9d2a84dd94502b76261bccd5f924254d3ba10efa32f19923b3861f09c9e346092b77aeb7057830b0428462660967379d74b566744fd0 SHA512 af7c3843bfc1e7962b386ab1c6a20007e692abdb4d70e3129edf00739a082fe92193ab72e7746575b52aff4fd684c9c17b7f7698d7831aad8017310293895371
 DIST superslicer-2.3.57.12.tar.gz 32472874 BLAKE2B 600ed29724476f2812c7bbea9bc26d1b54f2291d8994b883ad9da64899ad181ca19e3975865f190b1a3125341456fb38f982f5c20a5d4a0c36459de498a6588b SHA512 3830d275ef9dc5a4b1c62451e532012995647ba276a65007ae2160a89f2c044e18bad851dcf225f768a7023d00e92f398013ffdf1e1fd75e137f37e93edc8f59
-DIST superslicer-2.3.57.7-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
-DIST superslicer-2.3.57.7.tar.gz 32400355 BLAKE2B bcacf218ad18146327a9f7005d2c2217cf859d2793e8f74bfd453e2b8b12bf83d224f0325f6908b806735fb94c476b87c5dfe35c16026006bf5bd38de26e5f36 SHA512 d9a92366ed426dab77a5d49cddd7c7f37f2a0e026574bcbff342e579c555aefb19aaea8de7b5180bb87ab2749ba0cef96e870d808914fdbc58f3ddf04e1a4a65
 DIST superslicer-2.3.57.9-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
 DIST superslicer-2.3.57.9.tar.gz 32406027 BLAKE2B 66c6c5cfb044165dd8cce3030fc9e6c29df078aaca94dfecef4c5943a21667fc9dd12d88e821952382e7556775119daf221030b2bb25fc1e52071c4f367fe041 SHA512 bf421afa55ad7d1c3eafa8dc15efb20ab463e21b78f5e03d188f68d018a7b32cd24c2163974d90eff80e1ebb39a669b3e877a614e1040bc31c7160cca7ffc554

diff --git a/media-gfx/superslicer/files/missing-imports-2.3.57.7.patch b/media-gfx/superslicer/files/missing-imports-2.3.57.7.patch
deleted file mode 100644
index a3354237c..000000000
--- a/media-gfx/superslicer/files/missing-imports-2.3.57.7.patch
+++ /dev/null
@@ -1,188 +0,0 @@
---- a/src/libslic3r/GCode.cpp
-+++ b/src/libslic3r/GCode.cpp
-@@ -19,6 +19,7 @@
- #include <math.h>
- #include <string_view>
- #include <map>
-+#include <unordered_set>
-
- #include <boost/algorithm/string.hpp>
- #include <boost/algorithm/string/find.hpp>
---- a/src/libslic3r/GCodeWriter.cpp
-+++ b/src/libslic3r/GCodeWriter.cpp
-@@ -5,6 +5,7 @@
- #include <iostream>
- #include <map>
- #include <assert.h>
-+#include <boost/lexical_cast.hpp>
-
- #define FLAVOR_IS(val) this->config.gcode_flavor.value == val
- #define FLAVOR_IS_NOT(val) this->config.gcode_flavor.value != val
---- a/src/libslic3r/GCode/AvoidCrossingPerimeters.cpp
-+++ b/src/libslic3r/GCode/AvoidCrossingPerimeters.cpp
-@@ -11,5 +11,6 @@
-
- #include <numeric>
- #include <unordered_set>
-+#include <boost/log/trivial.hpp>
-
- namespace Slic3r {
---- a/src/libslic3r/MedialAxis.cpp
-+++ b/src/libslic3r/MedialAxis.cpp
-@@ -11,6 +11,7 @@
- #include <algorithm>
- #include <cassert>
- #include <list>
-+#include <boost/log/trivial.hpp>
-
- namespace Slic3r {
-     int count_error = 0;
---- a/src/libslic3r/Format/CWS.cpp
-+++ b/src/libslic3r/Format/CWS.cpp
-@@ -1,5 +1,7 @@
- #include "libslic3r/Format/CWS.hpp"
- #include "libslic3r/PrintConfig.hpp"
- #include "libslic3r/Time.hpp"
-+#include <boost/filesystem.hpp>
-+#include <boost/log/trivial.hpp>
-
- namespace Slic3r {
---- a/src/libslic3r/PrintBase.cpp
-+++ b/src/libslic3r/PrintBase.cpp
-@@ -1,5 +1,6 @@
- #include "Exception.hpp"
- #include "PrintBase.hpp"
-
-+#include <regex>
- #include <boost/filesystem.hpp>
- #include <boost/lexical_cast.hpp>
---- a/src/libslic3r/PrintObject.cpp
-+++ b/src/libslic3r/PrintObject.cpp
-@@ -14,6 +14,7 @@
- #include "Fill/FillAdaptive.hpp"
- #include "Format/STL.hpp"
-
-+#include <chrono>
- #include <utility>
- #include <boost/log/trivial.hpp>
- #include <float.h>
---- a/src/libslic3r/AppConfig.cpp
-+++ b/src/libslic3r/AppConfig.cpp
-@@ -10,6 +10,7 @@
-
- #include <boost/filesystem/path.hpp>
- #include <boost/filesystem/operations.hpp>
-+#include <boost/locale/generator.hpp>
- #include <boost/nowide/cenv.hpp>
- #include <boost/nowide/fstream.hpp>
- #include <boost/property_tree/ini_parser.hpp>
---- a/src/libslic3r/PlaceholderParser.cpp
-+++ b/src/libslic3r/PlaceholderParser.cpp
-@@ -6,6 +6,7 @@
- #include <iomanip>
- #include <sstream>
- #include <map>
-+#include <regex>
- #ifdef _MSC_VER
-     #include <stdlib.h>  // provides **_environ
- #else
-@@ -26,6 +27,7 @@
-
- #include <boost/algorithm/string.hpp>
- #include <boost/nowide/convert.hpp>
-+#include <boost/log/trivial.hpp>
-
- // Spirit v2.5 allows you to suppress automatic generation
- // of predefined terminals to speed up complation. With
---- a/src/slic3r/GUI/Preferences.cpp
-+++ b/src/slic3r/GUI/Preferences.cpp
-@@ -4,6 +4,7 @@
- #include "Plater.hpp"
- #include "I18N.hpp"
- #include "libslic3r/AppConfig.hpp"
-+#include <boost/filesystem.hpp>
- #include <wx/notebook.h>
-
- namespace Slic3r {
---- a/src/slic3r/GUI/CalibrationAbstractDialog.cpp
-+++ b/src/slic3r/GUI/CalibrationAbstractDialog.cpp
-@@ -5,6 +5,7 @@
- #include "GUI.hpp"
- #include "GUI_ObjectList.hpp"
- #include "Tab.hpp"
-+#include <boost/filesystem.hpp>
- #include <wx/scrolwin.h>
- #include <wx/display.h>
- #include <wx/file.h>
---- a/src/slic3r/GUI/Tab.cpp
-+++ b/src/slic3r/GUI/Tab.cpp
-@@ -22,6 +22,7 @@
-
- #include <wx/bmpcbox.h>
- #include <wx/bmpbuttn.h>
-+#include <wx/collpane.h>
- #include <wx/treectrl.h>
- #include <wx/imaglist.h>
- #include <wx/settings.h>
-@@ -33,6 +34,7 @@
- #include <boost/algorithm/string/replace.hpp>#include <boost/algorithm/string/trim.hpp>
- #include <boost/filesystem.hpp>
- #include <boost/filesystem/path.hpp>
-+#include <boost/lexical_cast.hpp>
- #include "wxExtensions.hpp"
- #include "PresetComboBoxes.hpp"
- #include <wx/wupdlock.h>
---- a/src/slic3r/GUI/GUI_ObjectList.cpp
-+++ b/src/slic3r/GUI/GUI_ObjectList.cpp
-@@ -15,4 +15,5 @@
- #include "Selection.hpp"
-
- #include <boost/algorithm/string.hpp>
-+#include <boost/log/trivial.hpp>
- #include "slic3r/Utils/FixModelByWin10.hpp"
-
- #ifdef __WXMSW__
---- a/src/slic3r/GUI/PhysicalPrinterDialog.cpp
-+++ b/src/slic3r/GUI/PhysicalPrinterDialog.cpp
-@@ -5,6 +5,7 @@
- #include <vector>
- #include <string>
- #include <boost/algorithm/string.hpp>
-+#include <boost/log/trivial.hpp>
-
- #include <wx/sizer.h>
- #include <wx/stattext.h>
---- a/src/slic3r/GUI/3DBed.cpp
-+++ b/src/slic3r/GUI/3DBed.cpp
-@@ -16,6 +16,10 @@
-
- #include <boost/algorithm/string/predicate.hpp>
- #include <boost/filesystem/operations.hpp>
-+#include <boost/locale/generator.hpp>
- #include <boost/log/trivial.hpp>
-+#include <boost/property_tree/ini_parser.hpp>
-+#include <boost/property_tree/ptree.hpp>
-+#include <boost/nowide/fstream.hpp>
-
- static const float GROUND_Z = -0.02f;
---- a/src/slic3r/Utils/PresetUpdater.cpp
-+++ b/src/slic3r/Utils/PresetUpdater.cpp
-@@ -12,6 +12,8 @@
- #include <boost/filesystem/fstream.hpp>
- #include <boost/lexical_cast.hpp>
- #include <boost/log/trivial.hpp>
-+#include <boost/property_tree/ptree.hpp>
-+#include <boost/property_tree/json_parser.hpp>
-
- #include <wx/app.h>
- #include <wx/msgdlg.h>
---- a/src/slic3r/GUI/Search.cpp
-+++ b/src/slic3r/GUI/Search.cpp
-@@ -2,6 +2,7 @@
-
- #include <cstddef>
- #include <string>
-+#include <regex>
- #include <boost/algorithm/string.hpp>
- #include <boost/optional.hpp>
- #include <boost/nowide/convert.hpp>

diff --git a/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch b/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch
deleted file mode 100644
index f140f8e18..000000000
--- a/media-gfx/superslicer/files/version-suffix-2.3.57.7.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/version.inc
-+++ b/version.inc
-@@ -4,9 +4,9 @@
- # name of the slicer
- set(SLIC3R_APP_NAME "SuperSlicer")
- # Key fo the slicer, must only contains ascii chars and no spaces (be valid in all filesystems)
--set(SLIC3R_APP_KEY "SuperSlicer")
-+set(SLIC3R_APP_KEY "SuperSlicer2.3")
- # exe name of the slicer, should be lowercase and valid in all os
--set(SLIC3R_APP_CMD "superslicer")
-+set(SLIC3R_APP_CMD "superslicer-2.3")
- # versions
- set(SLIC3R_VERSION "2.3.57")
- set(SLIC3R_VERSION_FULL "2.3.57.7")
---- a/src/platform/unix/Gcodeviewer.desktop.in
-+++ b/src/platform/unix/Gcodeviewer.desktop.in
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Name=@GCODEVIEWER_APP_NAME@
-+Name=@GCODEVIEWER_APP_KEY@
- Comment=G-code viewer of Slic3r
- Exec=@SLIC3R_APP_CMD@ --gcodeviewer %F
- Icon=@GCODEVIEWER_APP_KEY@
---- a/src/platform/unix/Slic3r.desktop.in
-+++ b/src/platform/unix/Slic3r.desktop.in
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Name=@SLIC3R_APP_NAME@
-+Name=@SLIC3R_APP_KEY@
- GenericName=3D Printing Software
- Comment=G-code generator for 3D printers
- Icon=@SLIC3R_APP_KEY@
-@@ -10,4 +10,4 @@ MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;
- Categories=Graphics;3DGraphics;Engineering;
- Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA
- StartupNotify=false
--StartupWMClass=@SLIC3R_APP_KEY@
-+StartupWMClass=@SLIC3R_APP_NAME@

diff --git a/media-gfx/superslicer/superslicer-2.3.57.7-r1.ebuild b/media-gfx/superslicer/superslicer-2.3.57.7-r1.ebuild
deleted file mode 100644
index b352df777..000000000
--- a/media-gfx/superslicer/superslicer-2.3.57.7-r1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 2021-2022 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="SuperSlicer"
-DESCRIPTION="A mesh slicer to generated G-Code for fused-filament fabrication"
-HOMEPAGE="https://github.com/supermerill/SuperSlicer"
-SRC_URI="https://github.com/supermerill/SuperSlicer/archive/${PV}.tar.gz -> ${P}.tar.gz
-	profiles? ( https://github.com/slic3r/slic3r-profiles/archive/118aa919c16837eb2ff6ba97e2934fa4144ef806.zip -> ${P}-profiles.zip )"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="AGPL-3"
-SLOT="23"
-KEYWORDS="~amd64"
-IUSE="gui test profiles"
-
-# tests fail to link with USE=-gui, bug #760096
-REQUIRED_USE="test? ( gui )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="profiles? ( app-arch/unzip )"
-RDEPEND="
-		dev-cpp/eigen:3
-		dev-cpp/tbb
-		>=dev-libs/boost-1.73.0:=[nls,threads(+)]
-		dev-libs/cereal
-		dev-libs/expat
-		dev-libs/c-blosc
-		dev-libs/gmp:=
-		>=dev-libs/miniz-2.1.0-r2
-		dev-libs/mpfr:=
-		>=media-gfx/openvdb-5.0.0
-		media-libs/ilmbase:=
-		media-libs/libpng:0=
-		media-libs/openexr: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-3.0.5.1:=[X,opengl]
-		)
-"
-DEPEND="${RDEPEND}
-		media-libs/qhull[static-libs]
-		test? ( dev-cpp/gtest )
-"
-
-PATCHES=(
-	"${FILESDIR}/miniz-zip-header-2.2.53.4.patch"
-	"${FILESDIR}/freecad-dialog-2.2.53.4.patch"
-	"${FILESDIR}/missing-imports-${PV}.patch"
-	"${FILESDIR}/string-to-char-conversion-2.3.56.9.patch"
-	"${FILESDIR}/version-suffix-${PV}.patch"
-)
-
-src_unpack() {
-	unpack ${P}.tar.gz
-	mv "${S}/resources/icons/SuperSlicer_192px.png" "${S}/resources/icons/SuperSlicer2.3_192px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer_192px_transparent.png" "${S}/resources/icons/SuperSlicer2.3_192px_transparent.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer_128px.png" "${S}/resources/icons/SuperSlicer2.3_128px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_128px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_128px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_192px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_192px.png" || die "Failed to rename icons"
-	cp "${S}/resources/icons/SuperSlicer.png" "${S}/resources/icons/SuperSlicer2.3_logo.png" || die "Failed to make logo icon"
-
-	use profiles && unpack ${P}-profiles.zip &&
-	if use profiles ; then
-		cp -r "${WORKDIR}/slic3r-profiles-118aa919c16837eb2ff6ba97e2934fa4144ef806/"* "${S}/resources/profiles" || die "Failed to copy profiles"
-	fi
-}
-
-src_configure() {
-	use gui && setup-wxwidgets
-
-	CMAKE_BUILD_TYPE=Release
-	local mycmakeargs=(
-		-DSLIC3R_BUILD_TESTS=$(usex test)
-		-DSLIC3R_FHS=ON
-		-DSLIC3R_GTK=3
-		-DSLIC3R_GUI=$(usex gui)
-		-DSLIC3R_PCH=OFF
-		-DSLIC3R_WX_STABLE=ON
-		-Wno-dev
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	if use gui; then
-		newicon -s 128 resources/icons/SuperSlicer2.3_128px.png SuperSlicer2.3.png
-		dosym superslicer-2.3 /usr/bin/superslicer-2.3-gcodeviewer
-	fi
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/superslicer/files/, media-gfx/superslicer/
@ 2022-05-29 20:39 Yahor Berdnikau
  0 siblings, 0 replies; 8+ messages in thread
From: Yahor Berdnikau @ 2022-05-29 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     fa6a68eb2d8a4ac721519067a145b84fa0827e3a
Author:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
AuthorDate: Sun May 29 20:36:11 2022 +0000
Commit:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
CommitDate: Sun May 29 20:36:11 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa6a68eb

media-gfx/superslicer: drop 2.3.57.9-r1

Signed-off-by: Yahor Berdnikau <egorr.berd <AT> gmail.com>

 media-gfx/superslicer/Manifest                     |   2 -
 .../files/missing-imports-2.3.57.9.patch           |  10 --
 .../files/string-to-char-conversion-2.3.56.9.patch |  10 --
 .../files/version-suffix-2.3.57.9.patch            |  38 -------
 .../superslicer/superslicer-2.3.57.9-r1.ebuild     | 109 ---------------------
 5 files changed, 169 deletions(-)

diff --git a/media-gfx/superslicer/Manifest b/media-gfx/superslicer/Manifest
index 974642d1f..ea9073fee 100644
--- a/media-gfx/superslicer/Manifest
+++ b/media-gfx/superslicer/Manifest
@@ -5,5 +5,3 @@ DIST superslicer-2.3.57.11-profiles.zip 14382021 BLAKE2B f1908f3bdaebd742dcfa9d2
 DIST superslicer-2.3.57.11.tar.gz 32469197 BLAKE2B 8406717396acfa0c2cfe381587693d3961bdb4933f0d0821ed814e89f7597b4d90a56e877e3dd7e45fe4b14ee13f143e1cff241d59ce1798c39631dd7ffa706f SHA512 978eb5004d788e93ea58b788fbf8fe7a7c1c515b0a138e20662c3c1973b5c72373cd14c76d25ee180095c030416b5b4429b61bb73432910fe9288897a5d7cb4d
 DIST superslicer-2.3.57.12-profiles.zip 14382021 BLAKE2B f1908f3bdaebd742dcfa9d2a84dd94502b76261bccd5f924254d3ba10efa32f19923b3861f09c9e346092b77aeb7057830b0428462660967379d74b566744fd0 SHA512 af7c3843bfc1e7962b386ab1c6a20007e692abdb4d70e3129edf00739a082fe92193ab72e7746575b52aff4fd684c9c17b7f7698d7831aad8017310293895371
 DIST superslicer-2.3.57.12.tar.gz 32472874 BLAKE2B 600ed29724476f2812c7bbea9bc26d1b54f2291d8994b883ad9da64899ad181ca19e3975865f190b1a3125341456fb38f982f5c20a5d4a0c36459de498a6588b SHA512 3830d275ef9dc5a4b1c62451e532012995647ba276a65007ae2160a89f2c044e18bad851dcf225f768a7023d00e92f398013ffdf1e1fd75e137f37e93edc8f59
-DIST superslicer-2.3.57.9-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
-DIST superslicer-2.3.57.9.tar.gz 32406027 BLAKE2B 66c6c5cfb044165dd8cce3030fc9e6c29df078aaca94dfecef4c5943a21667fc9dd12d88e821952382e7556775119daf221030b2bb25fc1e52071c4f367fe041 SHA512 bf421afa55ad7d1c3eafa8dc15efb20ab463e21b78f5e03d188f68d018a7b32cd24c2163974d90eff80e1ebb39a669b3e877a614e1040bc31c7160cca7ffc554

diff --git a/media-gfx/superslicer/files/missing-imports-2.3.57.9.patch b/media-gfx/superslicer/files/missing-imports-2.3.57.9.patch
deleted file mode 100644
index ebc7ac3dc..000000000
--- a/media-gfx/superslicer/files/missing-imports-2.3.57.9.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/libslic3r/PrintObject.cpp
-+++ b/src/libslic3r/PrintObject.cpp
-@@ -15,6 +15,7 @@
- #include "Format/STL.hpp"
-
- #include <atomic>
-+#include <chrono>
- #include <utility>
- #include <boost/log/trivial.hpp>
- #include <float.h>

diff --git a/media-gfx/superslicer/files/string-to-char-conversion-2.3.56.9.patch b/media-gfx/superslicer/files/string-to-char-conversion-2.3.56.9.patch
deleted file mode 100644
index 6cb596bf0..000000000
--- a/media-gfx/superslicer/files/string-to-char-conversion-2.3.56.9.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/slic3r/GUI/GUI_App.cpp
-+++ b/src/slic3r/GUI/GUI_App.cpp
-@@ -837,7 +837,7 @@ bool GUI_App::on_init_inner()
-         }
-         wxString artist;
-         if (!file_name.empty() && file_name != (std::string(SLIC3R_APP_NAME) + L(" icon"))) {
--            wxString splash_screen_path = wxString::FromUTF8((boost::filesystem::path(Slic3r::resources_dir()) / "splashscreen" / file_name).string());
-+            wxString splash_screen_path = wxString::FromUTF8((boost::filesystem::path(Slic3r::resources_dir()) / "splashscreen" / file_name).c_str());
-         // make a bitmap with dark grey banner on the left side
-             bmp = SplashScreen::MakeBitmap(wxBitmap(splash_screen_path, wxBITMAP_TYPE_JPEG));

diff --git a/media-gfx/superslicer/files/version-suffix-2.3.57.9.patch b/media-gfx/superslicer/files/version-suffix-2.3.57.9.patch
deleted file mode 100644
index bd41db684..000000000
--- a/media-gfx/superslicer/files/version-suffix-2.3.57.9.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/version.inc
-+++ b/version.inc
-@@ -4,9 +4,9 @@
- # name of the slicer
- set(SLIC3R_APP_NAME "SuperSlicer")
- # Key fo the slicer, must only contains ascii chars and no spaces (be valid in all filesystems)
--set(SLIC3R_APP_KEY "SuperSlicer")
-+set(SLIC3R_APP_KEY "SuperSlicer2.3")
- # exe name of the slicer, should be lowercase and valid in all os
--set(SLIC3R_APP_CMD "superslicer")
-+set(SLIC3R_APP_CMD "superslicer-2.3")
- # versions
- set(SLIC3R_VERSION "2.3.57")
- set(SLIC3R_VERSION_FULL "2.3.57.9")
---- a/src/platform/unix/Gcodeviewer.desktop.in
-+++ b/src/platform/unix/Gcodeviewer.desktop.in
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Name=@GCODEVIEWER_APP_NAME@
-+Name=@GCODEVIEWER_APP_KEY@
- Comment=G-code viewer of Slic3r
- Exec=@SLIC3R_APP_CMD@ --gcodeviewer %F
- Icon=@GCODEVIEWER_APP_KEY@
---- a/src/platform/unix/Slic3r.desktop.in
-+++ b/src/platform/unix/Slic3r.desktop.in
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Name=@SLIC3R_APP_NAME@
-+Name=@SLIC3R_APP_KEY@
- GenericName=3D Printing Software
- Comment=G-code generator for 3D printers
- Icon=@SLIC3R_APP_KEY@
-@@ -10,4 +10,4 @@ MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;
- Categories=Graphics;3DGraphics;Engineering;
- Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA
- StartupNotify=false
--StartupWMClass=@SLIC3R_APP_KEY@
-+StartupWMClass=@SLIC3R_APP_NAME@

diff --git a/media-gfx/superslicer/superslicer-2.3.57.9-r1.ebuild b/media-gfx/superslicer/superslicer-2.3.57.9-r1.ebuild
deleted file mode 100644
index c16a1f5c7..000000000
--- a/media-gfx/superslicer/superslicer-2.3.57.9-r1.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 2022 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="SuperSlicer"
-DESCRIPTION="A mesh slicer to generated G-Code for fused-filament fabrication"
-HOMEPAGE="https://github.com/supermerill/SuperSlicer"
-SRC_URI="https://github.com/supermerill/SuperSlicer/archive/${PV}.tar.gz -> ${P}.tar.gz
-	profiles? ( https://github.com/slic3r/slic3r-profiles/archive/118aa919c16837eb2ff6ba97e2934fa4144ef806.zip -> ${P}-profiles.zip )"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="AGPL-3"
-SLOT="23"
-KEYWORDS="~amd64"
-IUSE="gui test profiles"
-
-# tests fail to link with USE=-gui, bug #760096
-REQUIRED_USE="test? ( gui )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="profiles? ( app-arch/unzip )"
-RDEPEND="
-		dev-cpp/eigen:3
-		dev-cpp/tbb
-		>=dev-libs/boost-1.73.0:=[nls,threads(+)]
-		dev-libs/cereal
-		dev-libs/expat
-		dev-libs/c-blosc
-		dev-libs/gmp:=
-		>=dev-libs/miniz-2.1.0-r2
-		dev-libs/mpfr:=
-		>=media-gfx/openvdb-5.0.0
-		media-libs/ilmbase:=
-		media-libs/libpng:0=
-		media-libs/openexr: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-3.0.5.1:=[X,opengl]
-		)
-"
-DEPEND="${RDEPEND}
-		media-libs/qhull[static-libs]
-		test? ( dev-cpp/gtest )
-"
-
-PATCHES=(
-	"${FILESDIR}/miniz-zip-header-2.2.53.4.patch"
-	"${FILESDIR}/freecad-dialog-2.2.53.4.patch"
-	"${FILESDIR}/missing-imports-${PV}.patch"
-	"${FILESDIR}/string-to-char-conversion-2.3.56.9.patch"
-	"${FILESDIR}/version-suffix-${PV}.patch"
-)
-
-src_unpack() {
-	unpack ${P}.tar.gz
-	mv "${S}/resources/icons/SuperSlicer_192px.png" "${S}/resources/icons/SuperSlicer2.3_192px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer_192px_transparent.png" "${S}/resources/icons/SuperSlicer2.3_192px_transparent.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer_128px.png" "${S}/resources/icons/SuperSlicer2.3_128px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_128px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_128px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_192px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_192px.png" || die "Failed to rename icons"
-	cp "${S}/resources/icons/SuperSlicer.png" "${S}/resources/icons/SuperSlicer2.3_logo.png" || die "Failed to make logo icon"
-
-	use profiles && unpack ${P}-profiles.zip &&
-	if use profiles ; then
-		cp -r "${WORKDIR}/slic3r-profiles-118aa919c16837eb2ff6ba97e2934fa4144ef806/"* "${S}/resources/profiles" || die "Failed to copy profiles"
-	fi
-}
-
-src_configure() {
-	use gui && setup-wxwidgets
-
-	CMAKE_BUILD_TYPE=Release
-	local mycmakeargs=(
-		-DSLIC3R_BUILD_TESTS=$(usex test)
-		-DSLIC3R_FHS=ON
-		-DSLIC3R_GTK=3
-		-DSLIC3R_GUI=$(usex gui)
-		-DSLIC3R_PCH=OFF
-		-DSLIC3R_WX_STABLE=ON
-		-Wno-dev
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	if use gui; then
-		newicon -s 128 resources/icons/SuperSlicer2.3_128px.png SuperSlicer2.3.png
-		dosym superslicer-2.3 /usr/bin/superslicer-2.3-gcodeviewer
-	fi
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/superslicer/files/, media-gfx/superslicer/
@ 2022-05-29 20:39 Yahor Berdnikau
  0 siblings, 0 replies; 8+ messages in thread
From: Yahor Berdnikau @ 2022-05-29 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     32db6dd5ffa7ea343307e05b9cb7fd1aaf81825f
Author:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
AuthorDate: Sun May 29 20:38:27 2022 +0000
Commit:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
CommitDate: Sun May 29 20:38:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=32db6dd5

media-gfx/superslicer: drop 2.3.57.11

Signed-off-by: Yahor Berdnikau <egorr.berd <AT> gmail.com>

 media-gfx/superslicer/Manifest                     |   2 -
 .../files/missing-imports-2.3.57.11.patch          |  10 --
 .../superslicer/files/symlink-fix-2.3.57.11.patch  |   9 --
 .../files/version-suffix-2.3.57.11.patch           |  42 --------
 media-gfx/superslicer/superslicer-2.3.57.11.ebuild | 108 ---------------------
 5 files changed, 171 deletions(-)

diff --git a/media-gfx/superslicer/Manifest b/media-gfx/superslicer/Manifest
index d607392fb..1175a6f62 100644
--- a/media-gfx/superslicer/Manifest
+++ b/media-gfx/superslicer/Manifest
@@ -1,5 +1,3 @@
 DIST superslicer-2.2.53.4.tar.gz 33791161 BLAKE2B c8454ac66a5d75f5bbcd1c29f600897c697f03ad581c97539033758942eac1d4ba0d2acbac43e75307a06e565d25a39b192e6cde522cce6b728afc04c42f82bb SHA512 f883cca3eb2575186c5077e2c1f9ca37e497ff6ed9aeae45a58c1db4de1c52db36fc0f14e7fdcd95aaf375b340932674014614cdab8c6995c56b9988fe5baa06
-DIST superslicer-2.3.57.11-profiles.zip 14382021 BLAKE2B f1908f3bdaebd742dcfa9d2a84dd94502b76261bccd5f924254d3ba10efa32f19923b3861f09c9e346092b77aeb7057830b0428462660967379d74b566744fd0 SHA512 af7c3843bfc1e7962b386ab1c6a20007e692abdb4d70e3129edf00739a082fe92193ab72e7746575b52aff4fd684c9c17b7f7698d7831aad8017310293895371
-DIST superslicer-2.3.57.11.tar.gz 32469197 BLAKE2B 8406717396acfa0c2cfe381587693d3961bdb4933f0d0821ed814e89f7597b4d90a56e877e3dd7e45fe4b14ee13f143e1cff241d59ce1798c39631dd7ffa706f SHA512 978eb5004d788e93ea58b788fbf8fe7a7c1c515b0a138e20662c3c1973b5c72373cd14c76d25ee180095c030416b5b4429b61bb73432910fe9288897a5d7cb4d
 DIST superslicer-2.3.57.12-profiles.zip 14382021 BLAKE2B f1908f3bdaebd742dcfa9d2a84dd94502b76261bccd5f924254d3ba10efa32f19923b3861f09c9e346092b77aeb7057830b0428462660967379d74b566744fd0 SHA512 af7c3843bfc1e7962b386ab1c6a20007e692abdb4d70e3129edf00739a082fe92193ab72e7746575b52aff4fd684c9c17b7f7698d7831aad8017310293895371
 DIST superslicer-2.3.57.12.tar.gz 32472874 BLAKE2B 600ed29724476f2812c7bbea9bc26d1b54f2291d8994b883ad9da64899ad181ca19e3975865f190b1a3125341456fb38f982f5c20a5d4a0c36459de498a6588b SHA512 3830d275ef9dc5a4b1c62451e532012995647ba276a65007ae2160a89f2c044e18bad851dcf225f768a7023d00e92f398013ffdf1e1fd75e137f37e93edc8f59

diff --git a/media-gfx/superslicer/files/missing-imports-2.3.57.11.patch b/media-gfx/superslicer/files/missing-imports-2.3.57.11.patch
deleted file mode 100644
index 009a4892a..000000000
--- a/media-gfx/superslicer/files/missing-imports-2.3.57.11.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/slic3r/Utils/PresetUpdater.cpp
-+++ b/src/slic3r/Utils/PresetUpdater.cpp
-@@ -6,6 +6,7 @@
- #include <ostream>
- #include <utility>
- #include <stdexcept>
-+#include <regex>
-
- #include <boost/algorithm/string.hpp>
- #include <boost/filesystem.hpp>

diff --git a/media-gfx/superslicer/files/symlink-fix-2.3.57.11.patch b/media-gfx/superslicer/files/symlink-fix-2.3.57.11.patch
deleted file mode 100644
index 80d9eddfa..000000000
--- a/media-gfx/superslicer/files/symlink-fix-2.3.57.11.patch
+++ /dev/null
@@ -1,9 +0,0 @@
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -273,5 +273,5 @@ else ()
-     install(TARGETS Slic3r RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
-
-     # Install the symlink for gcodeviewer
--    install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink slic3r ${GCODEVIEWER_APP_CMD} WORKING_DIRECTORY \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")
-+    install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${SLIC3R_APP_CMD} ${GCODEVIEWER_APP_CMD} WORKING_DIRECTORY \$ENV{DESTDIR}/${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR})")
- endif ()

diff --git a/media-gfx/superslicer/files/version-suffix-2.3.57.11.patch b/media-gfx/superslicer/files/version-suffix-2.3.57.11.patch
deleted file mode 100644
index 476509e0a..000000000
--- a/media-gfx/superslicer/files/version-suffix-2.3.57.11.patch
+++ /dev/null
@@ -1,42 +0,0 @@
---- a/src/platform/unix/Gcodeviewer.desktop.in
-+++ b/src/platform/unix/Gcodeviewer.desktop.in
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Name=@GCODEVIEWER_APP_NAME@
-+Name=@GCODEVIEWER_APP_KEY@
- Comment=G-code viewer of Slic3r
- Exec=@SLIC3R_APP_CMD@ --gcodeviewer %F
- Icon=@GCODEVIEWER_APP_KEY@
---- a/src/platform/unix/Slic3r.desktop.in
-+++ b/src/platform/unix/Slic3r.desktop.in
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Name=@SLIC3R_APP_NAME@
-+Name=@SLIC3R_APP_KEY@
- GenericName=3D Printing Software
- Comment=G-code generator for 3D printers
- Icon=@SLIC3R_APP_KEY@
-@@ -10,4 +10,4 @@ MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;
- Categories=Graphics;3DGraphics;Engineering;
- Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA
- StartupNotify=false
--StartupWMClass=@SLIC3R_APP_KEY@
-+StartupWMClass=@SLIC3R_APP_NAME@
---- a/version.inc
-+++ b/version.inc
-@@ -4,13 +4,13 @@
- # name of the slicer
- set(SLIC3R_APP_NAME "SuperSlicer")
- # Key fo the slicer, must only contains ascii chars and no spaces (be valid in all filesystems)
--set(SLIC3R_APP_KEY "SuperSlicer")
-+set(SLIC3R_APP_KEY "SuperSlicer2.3")
- # exe name of the slicer, should be lowercase and valid in all os
--set(SLIC3R_APP_CMD "superslicer")
-+set(SLIC3R_APP_CMD "superslicer-2.3")
- # versions
- set(SLIC3R_VERSION "2.3.57")
- set(SLIC3R_VERSION_FULL "2.3.57.11")
--set(SLIC3R_BUILD_ID "${SLIC3R_APP_KEY}_${SLIC3R_VERSION_FULL}+UNKNOWN")
-+set(SLIC3R_BUILD_ID "${SLIC3R_APP_KEY}_${SLIC3R_VERSION_FULL}+Gentoo")
- set(SLIC3R_RC_VERSION "2,3,57,11")
- set(SLIC3R_RC_VERSION_DOTS "${SLIC3R_VERSION_FULL}")

diff --git a/media-gfx/superslicer/superslicer-2.3.57.11.ebuild b/media-gfx/superslicer/superslicer-2.3.57.11.ebuild
deleted file mode 100644
index a0230fbb7..000000000
--- a/media-gfx/superslicer/superslicer-2.3.57.11.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-WX_GTK_VER="3.0-gtk3"
-
-inherit xdg cmake desktop wxwidgets
-
-MY_PN="SuperSlicer"
-DESCRIPTION="A mesh slicer to generated G-Code for fused-filament fabrication"
-HOMEPAGE="https://github.com/supermerill/SuperSlicer"
-SRC_URI="https://github.com/supermerill/SuperSlicer/archive/${PV}.tar.gz -> ${P}.tar.gz
-	profiles? ( https://github.com/slic3r/slic3r-profiles/archive/0b8261ae8bbd7c31d736f371323476d6aff3ef3b.zip -> ${P}-profiles.zip )"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="AGPL-3"
-SLOT="23"
-KEYWORDS="~amd64"
-IUSE="gui test profiles"
-
-# tests fail to link with USE=-gui, bug #760096
-REQUIRED_USE="test? ( gui )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="profiles? ( app-arch/unzip )"
-RDEPEND="
-		dev-cpp/eigen:3
-		dev-cpp/tbb
-		>=dev-libs/boost-1.73.0:=[nls,threads(+)]
-		dev-libs/cereal
-		dev-libs/expat
-		dev-libs/c-blosc
-		dev-libs/gmp:=
-		>=dev-libs/miniz-2.1.0-r2
-		dev-libs/mpfr:=
-		>=media-gfx/openvdb-5.0.0
-		media-libs/ilmbase:=
-		media-libs/libpng:0=
-		media-libs/openexr: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-3.0.5.1:=[X,opengl]
-		)
-"
-DEPEND="${RDEPEND}
-		media-libs/qhull[static-libs]
-		test? ( dev-cpp/gtest )
-"
-
-PATCHES=(
-	"${FILESDIR}/miniz-zip-header-2.2.53.4.patch"
-	"${FILESDIR}/freecad-dialog-2.2.53.4.patch"
-	"${FILESDIR}/missing-imports-${PV}.patch"
-	"${FILESDIR}/version-suffix-${PV}.patch"
-	"${FILESDIR}/symlink-fix-${PV}.patch"
-)
-
-src_unpack() {
-	unpack ${P}.tar.gz
-	mv "${S}/resources/icons/SuperSlicer_192px.png" "${S}/resources/icons/SuperSlicer2.3_192px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer_192px_transparent.png" "${S}/resources/icons/SuperSlicer2.3_192px_transparent.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer_128px.png" "${S}/resources/icons/SuperSlicer2.3_128px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_128px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_128px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_192px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_192px.png" || die "Failed to rename icons"
-	cp "${S}/resources/icons/SuperSlicer.png" "${S}/resources/icons/SuperSlicer2.3_logo.png" || die "Failed to make logo icon"
-
-	use profiles && unpack ${P}-profiles.zip
-	if use profiles ; then
-		cp -r "${WORKDIR}/slic3r-profiles-0b8261ae8bbd7c31d736f371323476d6aff3ef3b/"* "${S}/resources/profiles" || die "Failed to copy profiles"
-	fi
-}
-
-src_configure() {
-	use gui && setup-wxwidgets
-
-	CMAKE_BUILD_TYPE=Release
-	local mycmakeargs=(
-		-DSLIC3R_BUILD_TESTS=$(usex test)
-		-DSLIC3R_FHS=ON
-		-DSLIC3R_GTK=3
-		-DSLIC3R_GUI=$(usex gui)
-		-DSLIC3R_PCH=OFF
-		-DSLIC3R_WX_STABLE=ON
-		-Wno-dev
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	if use gui; then
-		newicon -s 128 resources/icons/SuperSlicer2.3_128px.png SuperSlicer2.3.png
-	fi
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/superslicer/files/, media-gfx/superslicer/
@ 2022-05-29 20:39 Yahor Berdnikau
  0 siblings, 0 replies; 8+ messages in thread
From: Yahor Berdnikau @ 2022-05-29 20:39 UTC (permalink / raw
  To: gentoo-commits

commit:     5b22aaf01ab109a5e0dd1fd7d86a58f261d39b00
Author:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
AuthorDate: Sun May 29 20:37:26 2022 +0000
Commit:     Yahor Berdnikau <egorr.berd <AT> gmail <DOT> com>
CommitDate: Sun May 29 20:37:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5b22aaf0

media-gfx/superslicer: drop 2.3.57.10

Signed-off-by: Yahor Berdnikau <egorr.berd <AT> gmail.com>

 media-gfx/superslicer/Manifest                     |   2 -
 .../files/missing-imports-2.3.57.10.patch          |  10 --
 .../files/version-suffix-2.3.57.10.patch           |  38 --------
 media-gfx/superslicer/superslicer-2.3.57.10.ebuild | 108 ---------------------
 4 files changed, 158 deletions(-)

diff --git a/media-gfx/superslicer/Manifest b/media-gfx/superslicer/Manifest
index ea9073fee..d607392fb 100644
--- a/media-gfx/superslicer/Manifest
+++ b/media-gfx/superslicer/Manifest
@@ -1,6 +1,4 @@
 DIST superslicer-2.2.53.4.tar.gz 33791161 BLAKE2B c8454ac66a5d75f5bbcd1c29f600897c697f03ad581c97539033758942eac1d4ba0d2acbac43e75307a06e565d25a39b192e6cde522cce6b728afc04c42f82bb SHA512 f883cca3eb2575186c5077e2c1f9ca37e497ff6ed9aeae45a58c1db4de1c52db36fc0f14e7fdcd95aaf375b340932674014614cdab8c6995c56b9988fe5baa06
-DIST superslicer-2.3.57.10-profiles.zip 12193950 BLAKE2B c61be0190345bf886cbe60495f95266ec0b07824c803eaca7a29853a3465ab3d631d794899aebb9ef5f7660cb9341c70e9c38d6f8247a58655ed720deebbc584 SHA512 6beab170ae7e50e9880288673fd482f2903d5e9b87a0ddd6549098fa35f9b87e4891f015d0a26aedfac9736c3f55dcd1794d8abb3f9cc072bcdbb7e87f42a9fa
-DIST superslicer-2.3.57.10.tar.gz 32466957 BLAKE2B 7c5fff6ba8139a9bf66d931e6e48e6a9201e7911e90ce2e822ded7ae713f0b8fdf86b9cd317ded4802146c24758148ec989c213b5992c323a2fd442e17a4e228 SHA512 4d20078e11f5f99993220409bee54ca0a3f2a6fff04febfc09b5f1bc445ceaabc3a359f8f7f478127aa1504e8ba8a121a682c991adf2c45cb2ff1598ed2e3445
 DIST superslicer-2.3.57.11-profiles.zip 14382021 BLAKE2B f1908f3bdaebd742dcfa9d2a84dd94502b76261bccd5f924254d3ba10efa32f19923b3861f09c9e346092b77aeb7057830b0428462660967379d74b566744fd0 SHA512 af7c3843bfc1e7962b386ab1c6a20007e692abdb4d70e3129edf00739a082fe92193ab72e7746575b52aff4fd684c9c17b7f7698d7831aad8017310293895371
 DIST superslicer-2.3.57.11.tar.gz 32469197 BLAKE2B 8406717396acfa0c2cfe381587693d3961bdb4933f0d0821ed814e89f7597b4d90a56e877e3dd7e45fe4b14ee13f143e1cff241d59ce1798c39631dd7ffa706f SHA512 978eb5004d788e93ea58b788fbf8fe7a7c1c515b0a138e20662c3c1973b5c72373cd14c76d25ee180095c030416b5b4429b61bb73432910fe9288897a5d7cb4d
 DIST superslicer-2.3.57.12-profiles.zip 14382021 BLAKE2B f1908f3bdaebd742dcfa9d2a84dd94502b76261bccd5f924254d3ba10efa32f19923b3861f09c9e346092b77aeb7057830b0428462660967379d74b566744fd0 SHA512 af7c3843bfc1e7962b386ab1c6a20007e692abdb4d70e3129edf00739a082fe92193ab72e7746575b52aff4fd684c9c17b7f7698d7831aad8017310293895371

diff --git a/media-gfx/superslicer/files/missing-imports-2.3.57.10.patch b/media-gfx/superslicer/files/missing-imports-2.3.57.10.patch
deleted file mode 100644
index 009a4892a..000000000
--- a/media-gfx/superslicer/files/missing-imports-2.3.57.10.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/src/slic3r/Utils/PresetUpdater.cpp
-+++ b/src/slic3r/Utils/PresetUpdater.cpp
-@@ -6,6 +6,7 @@
- #include <ostream>
- #include <utility>
- #include <stdexcept>
-+#include <regex>
-
- #include <boost/algorithm/string.hpp>
- #include <boost/filesystem.hpp>

diff --git a/media-gfx/superslicer/files/version-suffix-2.3.57.10.patch b/media-gfx/superslicer/files/version-suffix-2.3.57.10.patch
deleted file mode 100644
index ddbda92ac..000000000
--- a/media-gfx/superslicer/files/version-suffix-2.3.57.10.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- a/version.inc
-+++ b/version.inc
-@@ -4,9 +4,9 @@
- # name of the slicer
- set(SLIC3R_APP_NAME "SuperSlicer")
- # Key fo the slicer, must only contains ascii chars and no spaces (be valid in all filesystems)
--set(SLIC3R_APP_KEY "SuperSlicer")
-+set(SLIC3R_APP_KEY "SuperSlicer2.3")
- # exe name of the slicer, should be lowercase and valid in all os
--set(SLIC3R_APP_CMD "superslicer")
-+set(SLIC3R_APP_CMD "superslicer-2.3")
- # versions
- set(SLIC3R_VERSION "2.3.57")
- set(SLIC3R_VERSION_FULL "2.3.57.10")
---- a/src/platform/unix/Slic3r.desktop.in
-+++ b/src/platform/unix/Slic3r.desktop.in
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Name=@SLIC3R_APP_NAME@
-+Name=@SLIC3R_APP_KEY@
- GenericName=3D Printing Software
- Comment=G-code generator for 3D printers
- Icon=@SLIC3R_APP_KEY@
-@@ -10,4 +10,4 @@ MimeType=model/stl;application/vnd.ms-3mfdocument;application/prs.wavefront-obj;
- Categories=Graphics;3DGraphics;Engineering;
- Keywords=3D;Printing;Slicer;slice;3D;printer;convert;gcode;stl;obj;amf;SLA
- StartupNotify=false
--StartupWMClass=@SLIC3R_APP_KEY@
-+StartupWMClass=@SLIC3R_APP_NAME@
---- a/src/platform/unix/Gcodeviewer.desktop.in
-+++ b/src/platform/unix/Gcodeviewer.desktop.in
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Name=@GCODEVIEWER_APP_NAME@
-+Name=@GCODEVIEWER_APP_KEY@
- Comment=G-code viewer of Slic3r
- Exec=@SLIC3R_APP_CMD@ --gcodeviewer %F
- Icon=@GCODEVIEWER_APP_KEY@

diff --git a/media-gfx/superslicer/superslicer-2.3.57.10.ebuild b/media-gfx/superslicer/superslicer-2.3.57.10.ebuild
deleted file mode 100644
index f7182ba82..000000000
--- a/media-gfx/superslicer/superslicer-2.3.57.10.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-WX_GTK_VER="3.0-gtk3"
-
-inherit xdg cmake desktop wxwidgets
-
-MY_PN="SuperSlicer"
-DESCRIPTION="A mesh slicer to generated G-Code for fused-filament fabrication"
-HOMEPAGE="https://github.com/supermerill/SuperSlicer"
-SRC_URI="https://github.com/supermerill/SuperSlicer/archive/${PV}.tar.gz -> ${P}.tar.gz
-	profiles? ( https://github.com/slic3r/slic3r-profiles/archive/118aa919c16837eb2ff6ba97e2934fa4144ef806.zip -> ${P}-profiles.zip )"
-S="${WORKDIR}/${MY_PN}-${PV}"
-
-LICENSE="AGPL-3"
-SLOT="23"
-KEYWORDS="~amd64"
-IUSE="gui test profiles"
-
-# tests fail to link with USE=-gui, bug #760096
-REQUIRED_USE="test? ( gui )"
-RESTRICT="!test? ( test )"
-
-BDEPEND="profiles? ( app-arch/unzip )"
-RDEPEND="
-		dev-cpp/eigen:3
-		dev-cpp/tbb
-		>=dev-libs/boost-1.73.0:=[nls,threads(+)]
-		dev-libs/cereal
-		dev-libs/expat
-		dev-libs/c-blosc
-		dev-libs/gmp:=
-		>=dev-libs/miniz-2.1.0-r2
-		dev-libs/mpfr:=
-		>=media-gfx/openvdb-5.0.0
-		media-libs/ilmbase:=
-		media-libs/libpng:0=
-		media-libs/openexr: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-3.0.5.1:=[X,opengl]
-		)
-"
-DEPEND="${RDEPEND}
-		media-libs/qhull[static-libs]
-		test? ( dev-cpp/gtest )
-"
-
-PATCHES=(
-	"${FILESDIR}/miniz-zip-header-2.2.53.4.patch"
-	"${FILESDIR}/freecad-dialog-2.2.53.4.patch"
-	"${FILESDIR}/missing-imports-${PV}.patch"
-	"${FILESDIR}/version-suffix-${PV}.patch"
-)
-
-src_unpack() {
-	unpack ${P}.tar.gz
-	mv "${S}/resources/icons/SuperSlicer_192px.png" "${S}/resources/icons/SuperSlicer2.3_192px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer_192px_transparent.png" "${S}/resources/icons/SuperSlicer2.3_192px_transparent.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer_128px.png" "${S}/resources/icons/SuperSlicer2.3_128px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_128px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_128px.png" || die "Failed to rename icons"
-	mv "${S}/resources/icons/SuperSlicer-gcodeviewer_192px.png" "${S}/resources/icons/SuperSlicer2.3-gcodeviewer_192px.png" || die "Failed to rename icons"
-	cp "${S}/resources/icons/SuperSlicer.png" "${S}/resources/icons/SuperSlicer2.3_logo.png" || die "Failed to make logo icon"
-
-	use profiles && unpack ${P}-profiles.zip &&
-	if use profiles ; then
-		cp -r "${WORKDIR}/slic3r-profiles-118aa919c16837eb2ff6ba97e2934fa4144ef806/"* "${S}/resources/profiles" || die "Failed to copy profiles"
-	fi
-}
-
-src_configure() {
-	use gui && setup-wxwidgets
-
-	CMAKE_BUILD_TYPE=Release
-	local mycmakeargs=(
-		-DSLIC3R_BUILD_TESTS=$(usex test)
-		-DSLIC3R_FHS=ON
-		-DSLIC3R_GTK=3
-		-DSLIC3R_GUI=$(usex gui)
-		-DSLIC3R_PCH=OFF
-		-DSLIC3R_WX_STABLE=ON
-		-Wno-dev
-	)
-
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	if use gui; then
-		newicon -s 128 resources/icons/SuperSlicer2.3_128px.png SuperSlicer2.3.png
-		dosym superslicer-2.3 /usr/bin/superslicer-2.3-gcodeviewer
-	fi
-}


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-05-29 20:39 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-06 20:14 [gentoo-commits] repo/proj/guru:dev commit in: media-gfx/superslicer/files/, media-gfx/superslicer/ Yahor Berdnikau
  -- strict thread matches above, loose matches on Subject: below --
2022-05-29 20:39 Yahor Berdnikau
2022-05-29 20:39 Yahor Berdnikau
2022-05-29 20:39 Yahor Berdnikau
2022-05-29 20:39 Yahor Berdnikau
2022-02-06 20:14 Yahor Berdnikau
2022-01-26  8:47 Yahor Berdnikau
2021-12-14  8:30 Yahor Berdnikau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox