summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Lamm <expeditioneer@gentoo.org>2020-12-03 06:04:59 +0100
committerDennis Lamm <expeditioneer@gentoo.org>2020-12-06 13:32:36 +0100
commit88d4115cf751dbf9f67ce2d64af9926207b7a3c9 (patch)
tree989f5e6b337d343ba114d9bd9c3602bf15631802 /media-gfx/slic3r
parentdev-python/pip: Bump to 20.3.1 (diff)
downloadgentoo-88d4115cf751dbf9f67ce2d64af9926207b7a3c9.tar.gz
gentoo-88d4115cf751dbf9f67ce2d64af9926207b7a3c9.tar.bz2
gentoo-88d4115cf751dbf9f67ce2d64af9926207b7a3c9.zip
media-gfx/slic3r: drop old
Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
Diffstat (limited to 'media-gfx/slic3r')
-rw-r--r--media-gfx/slic3r/Manifest1
-rw-r--r--media-gfx/slic3r/files/slic3r-1.1.7-adjust_var_path.patch11
-rw-r--r--media-gfx/slic3r/files/slic3r-1.3.0-boost.patch10
-rw-r--r--media-gfx/slic3r/slic3r-1.1.7.ebuild115
-rw-r--r--media-gfx/slic3r/slic3r-1.3.0-r1.ebuild118
5 files changed, 0 insertions, 255 deletions
diff --git a/media-gfx/slic3r/Manifest b/media-gfx/slic3r/Manifest
index 8cd8345ac18f..1a6d2e82c5bf 100644
--- a/media-gfx/slic3r/Manifest
+++ b/media-gfx/slic3r/Manifest
@@ -1,2 +1 @@
-DIST slic3r-1.1.7.tar.gz 2079200 BLAKE2B b3aa45741bb92a75dd09be783cb9a8cd551c7736f04022905d11587d8b2a533db85c1f88a9d0185b2b6414ba56d44e0feb104bcfcaf52a0a35a1db912c6976db SHA512 0c3a12890f57f422084b20152ede3467a8624db4ba8be774258df0af963c1f6f41fda7d96967f6355bd95727539e6aad51c30cf45284a7ee3fff294839acc650
DIST slic3r-1.3.0.tar.gz 2104094 BLAKE2B 74c58690cf196f89ecff5eec853215c87c648df5a504725fea9f14b0343bca105190de1d63e2e8e76d47fcaf8dbe7b6d26f61b304ce7336412effa1c9a3fba41 SHA512 ff0f7747e166826ff1c53220974ee9d3a217d0e19964dbe4a5fa3e81f262a6810a47632686b7f1b3128384ae05c6f98d8aab980524079bdf9811445fe23a0f0d
diff --git a/media-gfx/slic3r/files/slic3r-1.1.7-adjust_var_path.patch b/media-gfx/slic3r/files/slic3r-1.1.7-adjust_var_path.patch
deleted file mode 100644
index ee4d75d0122a..000000000000
--- a/media-gfx/slic3r/files/slic3r-1.1.7-adjust_var_path.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/lib/Slic3r.pm 2016-03-31 13:27:59.431548980 +0200
-+++ b/lib/Slic3r.pm 2016-03-31 13:28:21.658675137 +0200
-@@ -29,7 +29,7 @@
- if $^V >= v5.16;
-
- use FindBin;
--our $var = "$FindBin::Bin/var";
-+our $var = "$FindBin::RealBin/var";
-
- use Encode;
- use Encode::Locale;
diff --git a/media-gfx/slic3r/files/slic3r-1.3.0-boost.patch b/media-gfx/slic3r/files/slic3r-1.3.0-boost.patch
deleted file mode 100644
index e77e50b3c998..000000000000
--- a/media-gfx/slic3r/files/slic3r-1.3.0-boost.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- Slic3r-1.3.0/xs/src/libslic3r/GCodeSender.hpp.old 2019-11-04 19:31:05.714869400 -0800
-+++ Slic3r-1.3.0/xs/src/libslic3r/GCodeSender.hpp 2019-11-04 19:34:10.656330929 -0800
-@@ -9,6 +9,7 @@
- #include <boost/asio.hpp>
- #include <boost/bind.hpp>
- #include <boost/thread.hpp>
-+#include <boost/core/noncopyable.hpp>
-
- namespace Slic3r {
-
diff --git a/media-gfx/slic3r/slic3r-1.1.7.ebuild b/media-gfx/slic3r/slic3r-1.1.7.ebuild
deleted file mode 100644
index f144a2980def..000000000000
--- a/media-gfx/slic3r/slic3r-1.1.7.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils perl-module
-
-DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)"
-HOMEPAGE="https://slic3r.org"
-SRC_URI="https://github.com/alexrj/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="AGPL-3 CC-BY-3.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="+gui test"
-RESTRICT="!test? ( test )"
-
-# check Build.PL for dependencies
-RDEPEND="!=dev-lang/perl-5.16*
- >=dev-libs/boost-1.55[threads]
- dev-perl/Class-XSAccessor
- dev-perl/Encode-Locale
- dev-perl/IO-stringy
- >=dev-perl/Math-PlanePath-53.0.0
- >=dev-perl/Moo-1.3.1
- dev-perl/XML-SAX-ExpatXS
- virtual/perl-Carp
- virtual/perl-File-Spec
- virtual/perl-Getopt-Long
- virtual/perl-parent
- virtual/perl-Scalar-List-Utils
- virtual/perl-Test-Simple
- virtual/perl-Thread-Semaphore
- >=virtual/perl-threads-1.960.0
- virtual/perl-Time-HiRes
- virtual/perl-XSLoader
- gui? ( dev-perl/Class-Accessor
- dev-perl/Growl-GNTP
- dev-perl/libwww-perl
- dev-perl/Module-Pluggable
- dev-perl/Net-Bonjour
- dev-perl/Net-DBus
- dev-perl/OpenGL
- >=dev-perl/Wx-0.991.800
- dev-perl/Wx-GLCanvas
- >=media-libs/freeglut-3
- virtual/perl-Math-Complex
- >=virtual/perl-Socket-2.16.0
- x11-libs/libXmu
- )"
-DEPEND="${RDEPEND}
- >=dev-perl/ExtUtils-CppGuess-0.70.0
- >=dev-perl/ExtUtils-Typemaps-Default-1.50.0
- >=dev-perl/ExtUtils-XSpp-0.170.0
- >=dev-perl/Module-Build-0.380.0
- >=dev-perl/Module-Build-WithXSpp-0.140.0
- >=virtual/perl-ExtUtils-MakeMaker-6.800.0
- >=virtual/perl-ExtUtils-ParseXS-3.220.0
- test? ( virtual/perl-Test-Harness
- virtual/perl-Test-Simple )"
-
-DIST_TEST="do"
-S="${WORKDIR}/Slic3r-${PV}/xs"
-
-src_prepare() {
- pushd "${WORKDIR}/Slic3r-${PV}" || die
- eapply "${FILESDIR}/${P}-adjust_var_path.patch"
- eapply_user
- popd || die
-}
-
-src_configure() {
- SLIC3R_NO_AUTO=1 perl-module_src_configure
-}
-
-src_test() {
- perl-module_src_test
- # 1.1.7 Is kinda broken after Perl 5.16
- pushd .. || die
- ewarn "Some Tests Skipped due to consuming 100% of RAM"
- local bad_files=(
- t/combineinfill.t t/cooling.t t/custom_gcode.t t/fill.t
- t/flow.t t/gaps.t t/gcode.t t/layers.t t/multi.t
- t/perimeters.t t/print.t t/retraction.t t/shells.t
- t/skirt_brim.t t/support.t t/threads.t t/vibrationlimit.t
- );
- for filename in "${bad_files[@]}"; do
- einfo "Removing bad test ${filename}";
- rm -f "./${filename}" || die "Cannot remove ./${filename}";
- done
- prove -Ixs/blib/arch -Ixs/blib/lib/ t/ || die "Tests failed"
- popd || die
-}
-
-src_install() {
- perl-module_src_install
-
- pushd .. || die
- insinto "${VENDOR_LIB}"
- doins -r lib/Slic3r.pm lib/Slic3r
-
- insinto "${VENDOR_LIB}"/Slic3r
- doins -r var
-
- exeinto "${VENDOR_LIB}"/Slic3r
- doexe slic3r.pl
-
- dosym "${VENDOR_LIB}"/Slic3r/slic3r.pl /usr/bin/slic3r.pl
-
- make_desktop_entry slic3r.pl \
- Slic3r \
- "${VENDOR_LIB}/Slic3r/var/Slic3r_128px.png" \
- "Graphics;3DGraphics;Engineering;Development"
- popd || die
-}
diff --git a/media-gfx/slic3r/slic3r-1.3.0-r1.ebuild b/media-gfx/slic3r/slic3r-1.3.0-r1.ebuild
deleted file mode 100644
index 67feefd30fac..000000000000
--- a/media-gfx/slic3r/slic3r-1.3.0-r1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils flag-o-matic perl-module
-
-DESCRIPTION="A mesh slicer to generate G-code for fused-filament-fabrication (3D printers)"
-HOMEPAGE="https://slic3r.org"
-SRC_URI="https://github.com/alexrj/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="AGPL-3 CC-BY-3.0"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+gui test"
-RESTRICT="!test? ( test )"
-
-# check Build.PL for dependencies
-RDEPEND="!=dev-lang/perl-5.16*
- >=dev-libs/boost-1.55[threads]
- dev-perl/Class-XSAccessor
- dev-perl/Devel-CheckLib
- dev-perl/Devel-Size
- >=dev-perl/Encode-Locale-1.50.0
- dev-perl/IO-stringy
- >=dev-perl/Math-PlanePath-53.0.0
- >=dev-perl/Moo-1.3.1
- dev-perl/XML-SAX-ExpatXS
- virtual/perl-Carp
- virtual/perl-Encode
- virtual/perl-File-Spec
- virtual/perl-Getopt-Long
- virtual/perl-parent
- virtual/perl-Scalar-List-Utils
- virtual/perl-Test-Simple
- virtual/perl-Thread-Semaphore
- >=virtual/perl-threads-1.960.0
- virtual/perl-Time-HiRes
- virtual/perl-Unicode-Normalize
- virtual/perl-XSLoader
- gui? ( dev-perl/Class-Accessor
- dev-perl/Growl-GNTP
- dev-perl/libwww-perl
- dev-perl/Module-Pluggable
- dev-perl/Net-Bonjour
- dev-perl/Net-DBus
- dev-perl/OpenGL
- >=dev-perl/Wx-0.991.800
- dev-perl/Wx-GLCanvas
- >=media-libs/freeglut-3
- virtual/perl-Math-Complex
- >=virtual/perl-Socket-2.16.0
- x11-libs/libXmu
- )"
-DEPEND="${RDEPEND}
- dev-perl/Devel-CheckLib
- >=dev-perl/ExtUtils-CppGuess-0.70.0
- >=dev-perl/ExtUtils-Typemaps-Default-1.50.0
- >=dev-perl/ExtUtils-XSpp-0.170.0
- >=dev-perl/Module-Build-0.380.0
- >=dev-perl/Module-Build-WithXSpp-0.140.0
- >=virtual/perl-ExtUtils-MakeMaker-6.800.0
- >=virtual/perl-ExtUtils-ParseXS-3.220.0
- test? ( virtual/perl-Test-Harness
- virtual/perl-Test-Simple )"
-
-S="${WORKDIR}/Slic3r-${PV}/xs"
-
-pkg_pretend() {
- einfo "Checking for -std=c++11 support in compiler"
- test-flags-CXX -std=c++11 > /dev/null || die
-}
-
-src_prepare() {
- pushd "${WORKDIR}/Slic3r-${PV}" || die
- sed -i lib/Slic3r.pm -e "s@FindBin::Bin@FindBin::RealBin@g" || die
- eapply "${FILESDIR}"/${P}-no-locallib.patch
- eapply "${FILESDIR}"/${P}-boost.patch
- eapply_user
- popd || die
- # drop std=c++11 to compiler defaults...
- sed \
- -e '/c++11/d' \
- -i Build.PL || die
-}
-
-src_configure() {
- SLIC3R_NO_AUTO=1 perl-module_src_configure
-}
-
-src_test() {
- perl-module_src_test
- pushd .. || die
- prove -Ixs/blib/arch -Ixs/blib/lib/ t/ || die "Tests failed"
- popd || die
-}
-
-src_install() {
- perl-module_src_install
-
- pushd .. || die
- insinto "${VENDOR_LIB}"
- doins -r lib/Slic3r.pm lib/Slic3r
-
- insinto "${VENDOR_LIB}"/Slic3r
- doins -r var
-
- exeinto "${VENDOR_LIB}"/Slic3r
- doexe slic3r.pl
-
- dosym "${VENDOR_LIB}"/Slic3r/slic3r.pl /usr/bin/slic3r.pl
-
- make_desktop_entry slic3r.pl \
- Slic3r \
- "${VENDOR_LIB}/Slic3r/var/Slic3r_128px.png" \
- "Graphics;3DGraphics;Engineering;Development"
- popd || die
-}