Commit Graph

91 Commits (7ba08c90cff94d8e3e3c9c10e4076e9b3709db96)

Author SHA1 Message Date
Petr Ledvina c81d26b960 add --sudo flag
This adds --sudo flag to Build.PL. This flag is passed to cpanm,
so it is possible to build Slicer on linux without beeing root (build files
are owned by user)
2014-04-10 16:02:48 +02:00
Alessandro Ranellucci eadffe4a9e Merge branch 'master' into boost-medialaxis
Conflicts:
	lib/Slic3r/Layer/Region.pm
	xs/src/ExPolygon.cpp
	xs/src/Point.cpp
	xs/src/Point.hpp
	xs/src/TriangleMesh.cpp
	xs/t/01_trianglemesh.t
2014-03-02 22:36:20 +01:00
Alessandro Ranellucci e7349622a2 Removed dependency on Storable; some fixes in Build.PL. #1693 2014-01-11 21:46:22 +01:00
Alessandro Ranellucci 7b0decbeb1 Finished implementing Boost.Polygon medial axis. Some cleanup needed 2014-01-10 16:18:55 +01:00
Alessandro Ranellucci 231bffa99b Add Module::Build::WithXSpp to prerequisites. #1640 2013-12-28 16:01:46 +01:00
Alessandro Ranellucci 4577f0725c Incomplete work for XS-based convex_hull 2013-11-22 21:43:35 +01:00
Alessandro Ranellucci 132d170f73 Ported simplify() to XS and removed dependency on Boost::Geometry::Utils 2013-11-22 16:01:50 +01:00
Alessandro Ranellucci 2597ddccbc Move Growl::GNTP to --gui modules 2013-11-20 15:37:40 +01:00
Alessandro Ranellucci ff5cc9a17a Require ExtUtils::ParseXS 3.22 instead of forcing 3.18_04 2013-11-19 15:54:00 +01:00
Alessandro Ranellucci dc049dfa1e Find Expat on Windows 32-bit too 2013-11-19 01:22:31 +01:00
Alessandro Ranellucci c8fb1ceac8 Add path to expat on Windows to benefit from faster AMF parsing 2013-11-12 13:35:36 +01:00
Alessandro Ranellucci 849e714147 Complain loudly if XS cannot be compiled 2013-11-11 16:40:48 +01:00
Alessandro Ranellucci 4250ebf644 Missing line in Build.PL 2013-11-11 10:28:27 +01:00
Alessandro Ranellucci 781e09f86f Typo 2013-11-10 14:32:55 +01:00
Alessandro Ranellucci 720ef322d7 Some improvements to Build.PL 2013-11-10 14:31:51 +01:00
Alessandro Ranellucci 1e51479369 Require ExtUtils::MakeMaker 6.80 to prevent some tests from failing. #1501 2013-10-28 11:14:53 +01:00
Alessandro Ranellucci 7765787172 Added .travis.yml and have Build.PL exit with non-zero in case of failure 2013-09-19 10:42:49 +02:00
Alessandro Ranellucci c421feb633 Only install ParseXS and Slic3r-XS when --gui is not supplied 2013-09-17 21:52:10 +02:00
Mark Hindess 98ad345e42 Fix broken logic in $ARGV[0] check. 2013-09-16 14:04:14 +01:00
Alessandro Ranellucci 5a9c163a2e Meaningful error when user wants to use 3D preview but didn't install the required modules. 2013-09-16 10:18:42 +02:00
Alessandro Ranellucci 747fd25f6d Fix threads, tests and require the most recent Moo version 2013-09-12 11:09:03 +02:00
Alessandro Ranellucci fb763b0187 Removed dependency on Math::Clipper 2013-08-27 01:26:44 +02:00
Alessandro Ranellucci 5b734f4a13 Merge branch 'master' into plater2
Conflicts:
	lib/Slic3r/GUI/Plater.pm
2013-08-25 16:10:53 +02:00
Alessandro Ranellucci ed0344e861 Explain user that he doesn't need to worry if a failed module was optional. One more fix for Windows, also 2013-08-24 12:12:46 +02:00
Alessandro Ranellucci e3b42cd21e Avoid reinstalling Math::Libm on Windows every time 2013-08-24 12:01:56 +02:00
Alessandro Ranellucci af687a98e2 Better compatibility with Windows in Build.PL 2013-08-24 11:59:51 +02:00
Alessandro Ranellucci f69dc7201d Perform a ./Build distclean in ./xs automatically 2013-07-26 17:16:26 +02:00
Alessandro Ranellucci 826e6c106d Remove warning in Build.PL 2013-07-07 13:36:19 +02:00
Alessandro Ranellucci 51dd4d4e8a Compile fixes 2013-07-06 22:00:54 +02:00
Alessandro Ranellucci 28f8083ab7 Merge branch 'master' into xs 2013-07-06 11:38:40 +02:00
Alessandro Ranellucci 2ecc31c0aa Only work on GUI modules when --gui is supplied to Build.PL 2013-07-06 11:37:24 +02:00
Alessandro Ranellucci f1978ce50a Add --gui argument to Build.PL 2013-07-06 02:44:32 +02:00
Alessandro Ranellucci 836e3a94f3 Fix Build.PL in xs 2013-07-03 19:59:47 +02:00
Alessandro Ranellucci ecdc2f077b Merge branch 'master' into xs
Conflicts:
	Build.PL
2013-06-24 19:37:07 +02:00
Alessandro Ranellucci 7852c07ba3 Exit with 1 if prerequisites are missing 2013-06-24 16:51:01 +02:00
Alessandro Ranellucci 344072d03c Re-enable tests if all prereqs succeeded, regardless of optional modules 2013-06-24 16:41:12 +02:00
Alessandro Ranellucci f32551bd35 Don't check cpanm existence if SLIC3R_NO_AUTO 2013-06-24 16:39:31 +02:00
Alessandro Ranellucci ddc8727b70 Have SLIC3R_NO_AUTO check dependencies before requiring cpanm, and don't skip tests if all prerequisites are there 2013-06-24 16:32:03 +02:00
Alessandro Ranellucci b33b30b09d Remove --sudo from ./xs too 2013-06-24 16:04:00 +02:00
Alessandro Ranellucci 607fea3aa4 Merge branch 'master' into xs
Conflicts:
	Build.PL
2013-06-24 00:10:04 +02:00
Alessandro Ranellucci 9e927ffaf9 Reimplement SLIC3R_NO_AUTO 2013-06-23 21:14:55 +02:00
Alessandro Ranellucci de45b823e1 Merge branch 'master' into xs 2013-06-23 21:12:19 +02:00
Henrik Brix Andersen a1a39d3a2e Let cpanm automatically discover the need for --sudo or --local-lib in order to allow non-root installs. 2013-06-23 13:19:35 +02:00
Alessandro Ranellucci ff795f2918 Merge branch 'master' into xs 2013-06-23 12:27:12 +02:00
Alessandro Ranellucci ecf4099611 More changes to Build.PL 2013-06-23 11:20:03 +02:00
Alessandro Ranellucci 2d3fb15a3f Look for cpanm in sitebin too 2013-06-23 11:10:36 +02:00
Alessandro Ranellucci 6e63e938a0 Fix typo in new Build.PL 2013-06-22 22:57:36 +02:00
Alessandro Ranellucci 9d27b5e4a7 New XS framework for C and C++ code 2013-06-22 17:16:45 +02:00
Alessandro Ranellucci c88d8a5842 Replace Build.PL with a custom script based off cpanm 2013-06-22 16:18:43 +02:00
Alessandro Ranellucci b35e668ee7 Require Boost::Geometry::Utils 0.15 2013-06-21 19:46:45 +02:00