summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2018-06-06 16:21:39 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2018-06-06 16:22:01 +0300
commit36d17be523b54b0baae627121f4b7b085f49eb61 (patch)
treeb9f8d234ce280be9c430c7530dfc5b9fa3add324 /media-gfx
parentvirtual/rust: version bump to 1.26.2 (diff)
downloadgentoo-36d17be523b54b0baae627121f4b7b085f49eb61.tar.gz
gentoo-36d17be523b54b0baae627121f4b7b085f49eb61.tar.bz2
gentoo-36d17be523b54b0baae627121f4b7b085f49eb61.zip
media-gfx/slic3r: Version bump
New version of slic3r Closes: https://bugs.gentoo.org/617640 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/slic3r/Manifest1
-rw-r--r--media-gfx/slic3r/files/slic3r-1.3.0-no-locallib.patch609
-rw-r--r--media-gfx/slic3r/slic3r-1.3.0.ebuild107
3 files changed, 717 insertions, 0 deletions
diff --git a/media-gfx/slic3r/Manifest b/media-gfx/slic3r/Manifest
index b41d2036880..bc22f8bc00b 100644
--- a/media-gfx/slic3r/Manifest
+++ b/media-gfx/slic3r/Manifest
@@ -1,2 +1,3 @@
DIST slic3r-1.1.7.tar.gz 2079200 BLAKE2B b3aa45741bb92a75dd09be783cb9a8cd551c7736f04022905d11587d8b2a533db85c1f88a9d0185b2b6414ba56d44e0feb104bcfcaf52a0a35a1db912c6976db SHA512 0c3a12890f57f422084b20152ede3467a8624db4ba8be774258df0af963c1f6f41fda7d96967f6355bd95727539e6aad51c30cf45284a7ee3fff294839acc650
DIST slic3r-1.2.9.tar.gz 2165322 BLAKE2B 49643284520e6c85ff0e32fada165c8d4c75c15e484555aac1004bc9527bacd552c6aa4916cbb56e304553a47ef6c2db703f6e9d705a585cfbac909c2e84bb79 SHA512 c0284f40de43c54e775baccdb2a67813a6ca4b69db78a788f2023b3f34127e780e6d0160144b9df1e17a2992b3255ef9a372b61a594f503b21efad7334387a51
+DIST slic3r-1.3.0.tar.gz 2104094 BLAKE2B 74c58690cf196f89ecff5eec853215c87c648df5a504725fea9f14b0343bca105190de1d63e2e8e76d47fcaf8dbe7b6d26f61b304ce7336412effa1c9a3fba41 SHA512 ff0f7747e166826ff1c53220974ee9d3a217d0e19964dbe4a5fa3e81f262a6810a47632686b7f1b3128384ae05c6f98d8aab980524079bdf9811445fe23a0f0d
diff --git a/media-gfx/slic3r/files/slic3r-1.3.0-no-locallib.patch b/media-gfx/slic3r/files/slic3r-1.3.0-no-locallib.patch
new file mode 100644
index 00000000000..8cb7fd6d16d
--- /dev/null
+++ b/media-gfx/slic3r/files/slic3r-1.3.0-no-locallib.patch
@@ -0,0 +1,609 @@
+commit 6f7e42a4707788d079d865800d9fdb65ed7d5f1f
+Author: Ian Stakenvicius <axs@gentoo.org>
+Date: Wed Sep 27 12:22:14 2017 -0400
+
+ Revert "Use --local-lib when calling cpanm"
+
+ This reverts commit e5412b5d69dc4d5415c92a7daaa47fb4860ca4ea and others
+ that add local::lib dependency
+
+diff --git a/Build.PL b/Build.PL
+index 2dd18435..18befbf8 100644
+--- a/Build.PL
++++ b/Build.PL
+@@ -109,16 +109,7 @@ EOF
+ if !$cpanm;
+ my @cpanm_args = ();
+ push @cpanm_args, "--sudo" if $sudo;
+-
+- # install local::lib without --local-lib otherwise it's not usable afterwards
+- if (!eval "use local::lib qw(local-lib); 1") {
+- my $res = system $cpanm, @cpanm_args, 'local::lib';
+- warn "Warning: local::lib is required. You might need to run the `cpanm --sudo local::lib` command in order to install it.\n"
+- if $res != 0;
+- }
+-
+- push @cpanm_args, ('--local-lib', 'local-lib');
+-
++
+ # make sure our cpanm is updated (old ones don't support the ~ syntax)
+ system $cpanm, @cpanm_args, 'App::cpanminus';
+
+diff --git a/slic3r.pl b/slic3r.pl
+index 11dc2fad..76885c90 100755
+--- a/slic3r.pl
++++ b/slic3r.pl
+@@ -6,7 +6,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/lib";
+- use local::lib '--no-create', "$FindBin::Bin/local-lib";
+ }
+
+ use File::Basename qw(basename);
+diff --git a/t/adaptive_slicing.t b/t/adaptive_slicing.t
+index 64c3769f..5ab631fe 100644
+--- a/t/adaptive_slicing.t
++++ b/t/adaptive_slicing.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first sum);
+diff --git a/t/adaptive_width.t b/t/adaptive_width.t
+index 7a0baa75..c200f844 100644
+--- a/t/adaptive_width.t
++++ b/t/adaptive_width.t
+@@ -7,7 +7,6 @@ plan tests => 32;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/angles.t b/t/angles.t
+index 2ae00b4e..1e1a6c9c 100644
+--- a/t/angles.t
++++ b/t/angles.t
+@@ -7,9 +7,6 @@ plan tests => 34;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use lib "$FindBin::Bin/../lib";
+- use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/arcs.t b/t/arcs.t
+index ec85dfbc..65b83de4 100644
+--- a/t/arcs.t
++++ b/t/arcs.t
+@@ -7,7 +7,6 @@ plan tests => 24;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/avoid_crossing_perimeters.t b/t/avoid_crossing_perimeters.t
+index 7cd04e50..dd6c3e7b 100644
+--- a/t/avoid_crossing_perimeters.t
++++ b/t/avoid_crossing_perimeters.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first sum);
+diff --git a/t/bridges.t b/t/bridges.t
+index 677115b8..3dc6b84a 100644
+--- a/t/bridges.t
++++ b/t/bridges.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first sum);
+diff --git a/t/clean_polylines.t b/t/clean_polylines.t
+index 50c6f5bb..4526bd60 100644
+--- a/t/clean_polylines.t
++++ b/t/clean_polylines.t
+@@ -7,7 +7,6 @@ plan tests => 6;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/clipper.t b/t/clipper.t
+index 3c983814..a898a53f 100644
+--- a/t/clipper.t
++++ b/t/clipper.t
+@@ -7,7 +7,6 @@ plan tests => 6;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(sum);
+diff --git a/t/collinear.t b/t/collinear.t
+index b28a3602..9dee7770 100644
+--- a/t/collinear.t
++++ b/t/collinear.t
+@@ -7,7 +7,6 @@ plan tests => 11;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/combineinfill.t b/t/combineinfill.t
+index 66e461d4..6661cdd6 100644
+--- a/t/combineinfill.t
++++ b/t/combineinfill.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/config.t b/t/config.t
+index 829ef5f3..7f85dae8 100644
+--- a/t/config.t
++++ b/t/config.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/cooling.t b/t/cooling.t
+index 80819bdc..5b2d4b4c 100644
+--- a/t/cooling.t
++++ b/t/cooling.t
+@@ -7,7 +7,6 @@ plan tests => 13;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(none all);
+diff --git a/t/custom_gcode.t b/t/custom_gcode.t
+index 9b58344e..3ff7c35d 100644
+--- a/t/custom_gcode.t
++++ b/t/custom_gcode.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/fill.t b/t/fill.t
+index 765cfd47..d422d27a 100644
+--- a/t/fill.t
++++ b/t/fill.t
+@@ -7,7 +7,6 @@ plan tests => 95;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first sum max);
+diff --git a/t/flow.t b/t/flow.t
+index 37e9deaf..071d290c 100644
+--- a/t/flow.t
++++ b/t/flow.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first sum);
+diff --git a/t/gaps.t b/t/gaps.t
+index 01ec1b4e..16baa036 100644
+--- a/t/gaps.t
++++ b/t/gaps.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/gcode.t b/t/gcode.t
+index ec9b7bb2..525356df 100644
+--- a/t/gcode.t
++++ b/t/gcode.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/geometry.t b/t/geometry.t
+index 9c6eef55..4e6e7097 100644
+--- a/t/geometry.t
++++ b/t/geometry.t
+@@ -7,7 +7,6 @@ plan tests => 44;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/layers.t b/t/layers.t
+index a8599807..57fd2576 100644
+--- a/t/layers.t
++++ b/t/layers.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/loops.t b/t/loops.t
+index d2bf7717..725154c9 100644
+--- a/t/loops.t
++++ b/t/loops.t
+@@ -7,7 +7,6 @@ plan tests => 4;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/multi.t b/t/multi.t
+index fb8cad81..4d6f8193 100644
+--- a/t/multi.t
++++ b/t/multi.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/perimeters.t b/t/perimeters.t
+index 513c76ef..3ddde0b8 100644
+--- a/t/perimeters.t
++++ b/t/perimeters.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r::ExtrusionLoop ':roles';
+diff --git a/t/polyclip.t b/t/polyclip.t
+index 0808c7be..1292d321 100644
+--- a/t/polyclip.t
++++ b/t/polyclip.t
+@@ -7,7 +7,6 @@ plan tests => 18;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/pressure.t b/t/pressure.t
+index dde23695..6bbb81d8 100644
+--- a/t/pressure.t
++++ b/t/pressure.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw();
+diff --git a/t/print.t b/t/print.t
+index b78739e4..28cf1ee4 100644
+--- a/t/print.t
++++ b/t/print.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/retraction.t b/t/retraction.t
+index 237af3ab..37dcb64b 100644
+--- a/t/retraction.t
++++ b/t/retraction.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(any);
+diff --git a/t/shells.t b/t/shells.t
+index 2347ff36..d64eb28c 100644
+--- a/t/shells.t
++++ b/t/shells.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first sum);
+diff --git a/t/skirt_brim.t b/t/skirt_brim.t
+index d6181ba2..cfa0698e 100644
+--- a/t/skirt_brim.t
++++ b/t/skirt_brim.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/slice.t b/t/slice.t
+index 51b52163..301ae164 100644
+--- a/t/slice.t
++++ b/t/slice.t
+@@ -8,7 +8,6 @@ plan tests => 16;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ # temporarily disable compilation errors due to constant not being exported anymore
+diff --git a/t/speed.t b/t/speed.t
+index 5d9fb54c..3deab75b 100644
+--- a/t/speed.t
++++ b/t/speed.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(none);
+diff --git a/t/support.t b/t/support.t
+index 8d4655b3..b4f9ce04 100644
+--- a/t/support.t
++++ b/t/support.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/svg.t b/t/svg.t
+index 6092efe2..9299eeef 100644
+--- a/t/svg.t
++++ b/t/svg.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/thin.t b/t/thin.t
+index 2d256d28..51461480 100644
+--- a/t/thin.t
++++ b/t/thin.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/t/threads.t b/t/threads.t
+index 7fcd86f0..106a68af 100644
+--- a/t/threads.t
++++ b/t/threads.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use List::Util qw(first);
+diff --git a/t/vibrationlimit.t b/t/vibrationlimit.t
+index 1a5488a6..7bfa27ac 100644
+--- a/t/vibrationlimit.t
++++ b/t/vibrationlimit.t
+@@ -5,7 +5,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/utils/amf-to-stl.pl b/utils/amf-to-stl.pl
+index 56df2e23..7edc1460 100755
+--- a/utils/amf-to-stl.pl
++++ b/utils/amf-to-stl.pl
+@@ -7,7 +7,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use File::Basename qw(basename);
+diff --git a/utils/config-bundle-to-config.pl b/utils/config-bundle-to-config.pl
+index e1d7f614..beecd666 100755
+--- a/utils/config-bundle-to-config.pl
++++ b/utils/config-bundle-to-config.pl
+@@ -9,7 +9,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Getopt::Long qw(:config no_auto_abbrev);
+diff --git a/utils/dump-stl.pl b/utils/dump-stl.pl
+index 6da275ab..4df94268 100644
+--- a/utils/dump-stl.pl
++++ b/utils/dump-stl.pl
+@@ -8,7 +8,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/utils/estimate-gcode-time.pl b/utils/estimate-gcode-time.pl
+index 43c558b6..eab4f6da 100755
+--- a/utils/estimate-gcode-time.pl
++++ b/utils/estimate-gcode-time.pl
+@@ -6,7 +6,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/utils/gcode_sectioncut.pl b/utils/gcode_sectioncut.pl
+index b94a2fc4..4d9619e4 100644
+--- a/utils/gcode_sectioncut.pl
++++ b/utils/gcode_sectioncut.pl
+@@ -7,7 +7,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Getopt::Long qw(:config no_auto_abbrev);
+diff --git a/utils/pdf-slices.pl b/utils/pdf-slices.pl
+index 30c41ae4..fa7612bb 100755
+--- a/utils/pdf-slices.pl
++++ b/utils/pdf-slices.pl
+@@ -7,7 +7,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Getopt::Long qw(:config no_auto_abbrev);
+diff --git a/utils/send-gcode.pl b/utils/send-gcode.pl
+index d87e6826..6f529b90 100644
+--- a/utils/send-gcode.pl
++++ b/utils/send-gcode.pl
+@@ -6,7 +6,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Slic3r;
+diff --git a/utils/split_stl.pl b/utils/split_stl.pl
+index eb659b9c..16cf5a9d 100755
+--- a/utils/split_stl.pl
++++ b/utils/split_stl.pl
+@@ -7,7 +7,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use File::Basename qw(basename);
+diff --git a/utils/stl-to-amf.pl b/utils/stl-to-amf.pl
+index cb041893..81648b8e 100755
+--- a/utils/stl-to-amf.pl
++++ b/utils/stl-to-amf.pl
+@@ -7,7 +7,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use File::Basename qw(basename);
+diff --git a/utils/view-mesh.pl b/utils/view-mesh.pl
+index 91cd20a2..b122faed 100644
+--- a/utils/view-mesh.pl
++++ b/utils/view-mesh.pl
+@@ -7,7 +7,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Getopt::Long qw(:config no_auto_abbrev);
+diff --git a/utils/view-toolpaths.pl b/utils/view-toolpaths.pl
+index d4c47f07..4bbbaab4 100755
+--- a/utils/view-toolpaths.pl
++++ b/utils/view-toolpaths.pl
+@@ -7,7 +7,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Getopt::Long qw(:config no_auto_abbrev);
+diff --git a/utils/wireframe.pl b/utils/wireframe.pl
+index f49b66e5..053581de 100644
+--- a/utils/wireframe.pl
++++ b/utils/wireframe.pl
+@@ -8,7 +8,6 @@ use warnings;
+ BEGIN {
+ use FindBin;
+ use lib "$FindBin::Bin/../lib";
+- use local::lib "$FindBin::Bin/../local-lib";
+ }
+
+ use Getopt::Long qw(:config no_auto_abbrev);
diff --git a/media-gfx/slic3r/slic3r-1.3.0.ebuild b/media-gfx/slic3r/slic3r-1.3.0.ebuild
new file mode 100644
index 00000000000..52dbf45085b
--- /dev/null
+++ b/media-gfx/slic3r/slic3r-1.3.0.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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="http://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"
+
+# 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"
+
+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_user
+ popd || 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
+}