264 Commits

Author SHA1 Message Date
Joseph Lenox
8c69278454
Quick port amf (#5068)
* Ports the basic deflate and related items from prusa3d/PrusaSlicer for AMF deflate.

Implements #4511

* Actually add the tests to read files.

* Push all  the utils into one header.

* Revise slightly to ensure we end up in the logic and just rely on strcmp to check the buffer against the magic key.

* Use more compatible CMake construction?

* Build using cmake3 on travis.

* Fix use of strcmp; remove unused config definition

* throw an exception if bad zip file

* Use correct string header for cstrings; terminate buffer.

* Insist on CMake >= 3.9, actually install it on Travis

* Use VERSION_STRING instead for boost

* Use VERSION_GREATER_EQUAL to look for 1.74 or higher when attempting to include nowide

* invert logic to do what we want

* All build systems are terrible in their own way.
2021-03-20 22:43:46 -05:00
Joseph Lenox
92abbc42df Add options=runtime to codesign 2020-08-24 14:00:56 -05:00
Joseph Lenox
28d5e8794e Also just remove binaries instead of looking for links that may not actually be broken 2020-08-22 20:40:28 -05:00
Joseph Lenox
41632a0e91 Only purge wxrc and broken symlinks. 2020-08-22 19:57:52 -05:00
Joseph Lenox
4a7090f725 Purge symlinks from the bundle so that the code sign is accepted. 2020-08-22 19:47:06 -05:00
Joseph Lenox
3ad231a366 set progress on deploy script to avoid timeouts 2020-06-07 22:58:13 -05:00
luzpaz
1bd22994e9
Fix misc. typos (#4857)
* Fix misc. typos

Found via `codespell -q 3 -S *.po,./t,./xs/t,./xs/xsp -L ot,uin`

* Follow-up typo fixes
2020-06-07 21:37:20 -05:00
Joseph Lenox
44455c8cb4 Fix util script to work when TRAVIS_BRANCH is unset. 2019-12-05 20:55:24 -06:00
Joseph Lenox
c3ca6d2bb1 Add libcrypt.so.1 to appimage. 2019-05-03 20:32:02 -05:00
Joseph Lenox
716c018cd4 Force install of cppguess 2019-03-31 07:12:18 -05:00
Brian Vanderbusch
05a2f9028a fix transparent desktop icon 2019-02-09 21:08:26 -06:00
J-P Nurmi
70946af2ae Add missing quotes to startup scripts 2019-02-09 20:57:32 -06:00
Joseph Lenox
b3cac9d0fb
Cleanup old branch builds (#4680)
* #4620

Invalidate posDetectSurfaces during make_perimeters() when posSlice would also get invalidated.
Can't use invalidate_step() as that invalidates the perimeters as well.

* Add a test step to check for regression #4620 - behavior on running Print::process() again on the same model.

* Fix naming scheme for macos/osx builds to make it obvious if it is a PR or not.

* Remove previous versions of the same kind of branch or PR ID

* Adjust copied statements to account for different calling conventions; osx does not have an arch name argument for make_dmg

* Remember to set the version too

* Update windows build server command to clean up old branch builds.

* Specifically look for PR${PR_ID} instead of just ${PR_ID} to avoid unintentional deletions.

* don't symlink pull requests

* Update to call more functions on osx

* Only delete/clean once, not once per file uploaded.
2019-01-06 13:53:41 -06:00
Joseph Lenox
f18c34006c Don't load swrast_dri.so, it's breaking(?) some driver/distro combinations and
may not actually help.
2019-01-05 19:25:25 -06:00
Joseph Lenox
90f108ae8e
Use GCC8 instead of 4.9 for travis (#4666)
* Use GCC8 toolchain

* Allow appimage to preload included libgcc_s and stdc++ if necessary.

* Need to add header for boost::noncopyable

* use const strings for exceptions.

* use right header dir for shim

* Only use swrast_dri from appimage if it's old or doesn't exist.

* added note about where the apprun script was source from, thanks @darealshinji
2019-01-01 16:00:39 -06:00
Joseph Lenox
f19fc3b6dc #4635 only use WXDIR if it is set. 2018-12-30 20:33:14 -06:00
Joseph Lenox
9c3d9ca4a5 #4635 Correct assumptions about where the working folder is. 2018-12-30 20:33:14 -06:00
Joseph Lenox
6397d58c7d #4635 Use readlink -f instead of readlink for startup script on Linux. 2018-12-30 20:33:14 -06:00
Joseph Lenox
f0a21833f7 #4635 use SLIC3R_DIR during get_version 2018-12-30 20:33:14 -06:00
Joseph Lenox
f1fc6d24e4 #4635 Fix paths for cleanup routine; $archivefolder is an absolute path, not relative. 2018-12-30 20:33:14 -06:00
Joseph Lenox
4745d03bd8 #4635 Use correct expansion mechanism to test if var is set/unset for pp/perl 2018-12-30 20:33:14 -06:00
Joseph Lenox
9c7394db81 #4635 Clean up code branch 2018-12-30 20:33:14 -06:00
Joseph Lenox
a3073afcc2 #4635 Fix invocation for make_archive. 2018-12-30 20:33:14 -06:00
Joseph Lenox
ed45c01420 #4635 Move source dir determinator into common utilties. 2018-12-30 20:33:14 -06:00
Joseph Lenox
63c7d68140 #4635 Extra information about what gets copied where. 2018-12-30 20:33:14 -06:00
Joseph Lenox
53aac950b2 #4635 Remove end-of-line spaces. 2018-12-30 20:33:14 -06:00
Joseph Lenox
95a00456cf #4635 Be more verbose about what is getting copied where. 2018-12-30 20:33:14 -06:00
Joseph Lenox
0b84d55f23 #4635 Add usage note for make_archive 2018-12-30 20:33:14 -06:00
Joseph Lenox
9b5238ef91 #4635 Add some more useful diagnostic messages to make_archive.sh and fix a syntax error. 2018-12-30 20:33:14 -06:00
Joseph Lenox
a61d2a7c66 #4660 fix syntax error with a missing space in a ] 2018-12-30 18:11:23 -06:00
Joseph Lenox
3fa8924642 #4660 add coreutils to build-cpp as well 2018-12-30 18:11:23 -06:00
Joseph Lenox
a3e4998f03 #4660 homebrew package is coreutils 2018-12-30 18:11:23 -06:00
Joseph Lenox
3106a5e365 #4660 use greadlink from homebrew on osx for deployment 2018-12-30 18:11:23 -06:00
Joseph Lenox
b3a848ed00 Allow for override of PERL_BIN and PP_BIN 2018-12-01 13:26:53 -06:00
Joseph Lenox
bd6edbd969 cpanm then. 2018-11-30 23:14:13 -06:00
Joseph Lenox
c9adeac3d0 install local::lib in slic3r-perl 2018-11-30 22:51:54 -06:00
Joseph Lenox
9eeca454e1 Comment out use of libstdc++ to "fix" #4627 at the cost of breaking old distros. 2018-11-30 21:36:14 -06:00
Joseph Lenox
f02df04392 don't source, just switch. 2018-11-30 21:35:26 -06:00
Joseph Lenox
76d3813cdb ensure perlbrew perl is used for travis deploy (no idea why it isn't). 2018-11-27 22:27:21 -06:00
Alessandro Ranellucci
11a6601c4a Make Linux build fail correctly when something does not work 2018-11-25 11:55:57 -06:00
Joseph Lenox
76c588ccfe ensure that a failing return code propagates out from linux travis-build-main 2018-11-24 20:10:53 -06:00
Alessandro Ranellucci
5712674940 Symlink OSX builds 2018-11-10 22:16:14 +01:00
Joseph Lenox
98f9bab8ba
Merge pull request #4580 from slic3r/osxbuild
Build on OSX with TravisCI
2018-11-10 14:49:57 -06:00
Alessandro Ranellucci
e3812db9ee More fixes to dylib relocation 2018-11-10 21:08:55 +01:00
Alessandro Ranellucci
72697ab2f8 Fix dylib relocation 2018-11-10 20:33:00 +01:00
Alessandro Ranellucci
936b83f3c7 Minor fix to codesigning 2018-11-10 20:17:40 +01:00
Alessandro Ranellucci
f74b30dd5c Improve dylib relocation; disable building on 10.12; add package/osx/_tmp to .gitignore 2018-11-10 18:32:27 +01:00
Alessandro Ranellucci
4c965be686 Add Time::HiRes to coreperl modules 2018-11-10 16:44:29 +01:00
Alessandro Ranellucci
942b6d6acd Add Thread::Semaphore to core Perl modules 2018-11-10 16:05:45 +01:00
Alessandro Ranellucci
3430f6cc0a Add Getopt::Long to core Perl modules 2018-11-10 15:15:35 +01:00