Commit Graph

224 Commits

Author SHA1 Message Date
tamasmeszaros
e50a408e2e Use upstream expat, remove duplication in deps and src
Fix clash of builtin findEXPAT with config scripts
2022-04-04 12:43:25 +02:00
tamasmeszaros
674f1683a1 Fix boost build on windows 2022-03-30 12:47:13 +02:00
tamasmeszaros
d5e55a3c62 Fix boost build on arm mac 2022-03-30 11:31:12 +02:00
tamasmeszaros
c94486cd3c Make boost more independent of the toolchain it was built from 2022-03-30 11:31:06 +02:00
Lukas Matena
ae56cfdd67 Set wxWidgets version before 489f611 for 2.4.2 release (to prevent reappearance of #7981) 2022-03-24 12:13:15 +01:00
YuSanka
a1ff2bb7d7 Fix for #6364 - MacOS / Minimize window / Shortcut CMD + M
There was a bug in wxWidgets 3.1.4. (wxWidgets/wxWidgets#18998)
So, we cherry-picked fixing commit from the upstream wxWidgets to our "v3.1.4-patched"

Note: It's update of the Sha256 for wxWidgets in master branch
2022-02-11 11:38:47 +01:00
YuSanka
5ac0e124e4 Fix for #6364 - MacOS / Minimize window / Shortcut CMD + M
There was a bug in wxWidgets 3.1.4. (https://github.com/wxWidgets/wxWidgets/issues/18998)
So, we cherry-picked fixing commit from the upstream wxWidgets to our "v3.1.4-patched"
2022-02-11 11:17:12 +01:00
Lukáš Hejl
5f0fea4d58 Added option to enable UndefinedBehaviorSanitizer on Clang and GCC. 2022-01-28 14:52:22 +01:00
tamasmeszaros
9399bca8ea Fix wxWidgets zip link to the actual commit
To know which commit is used in a particular PS commit
2022-01-19 10:59:57 +01:00
tamasmeszaros
f5e2beeaf4 Fix wxWidgets zip sha 2022-01-07 15:09:40 +01:00
YuSanka
fb4928237d Updated SHA256 for wxWidgets 2022-01-04 16:16:16 +01:00
Lukas Matena
7f9e519baf Merge branch 'master' into dev 2021-12-14 15:10:42 +01:00
YuSanka
0538363b2b Updated sha256 value for wxWidgets 2021-12-14 12:06:08 +01:00
Vojtech Bubnik
3b1f6d33cc Updating wxWidgets SHA due to
"Fixed HiDPI scaling issue of dark moded spin control buttons"
2052db1e5d
2021-12-12 06:26:15 +01:00
enricoturri1966
1376c9cffd Updated deps-windows.cmake and Boost.cmake to be able to build dependencies using Visual Studio 2022 2021-12-10 15:11:17 +01:00
Vojtech Bubnik
89eabec582 Bumping up patched wxWidgets SHA after fixing a Win32 dark mode specific
GDI resource leak.
Should fix disappearing stuff #7369
2021-12-07 13:17:31 +01:00
YuSanka
f5cf3cb81d MSW specific: Hide "Use system menu for application" option in Preferences for system older then Windows 10
(related to the fix of #7355 - PrusaSlicer 2.4.0-beta-2+win64 will not start on Windows 7 64-bit )

+ Updated URL_HASH SHA256 in wxWidgets.cmake in respect to the 51c824019e98fc97b0bcdd4d9f4ed4cb523a7cac in wxWidgets-v3.1.4-patched
2021-11-29 21:00:43 +01:00
YuSanka
7520e2f193 Updated SHA256 in wxWidgets.cmake 2021-11-05 09:41:18 +01:00
tamasmeszaros
af413e37bb Deps: Change empty CMAKE_BUILD_TYPE to Release on single config generators 2021-08-26 10:39:46 +02:00
tamasmeszaros
db8c57b938 Update wx with new sha 2021-07-26 13:16:01 +02:00
tamasmeszaros
c391adff74 Fix boost_polygon download 2021-07-26 13:16:01 +02:00
tamasmeszaros
47d431a929 Synch all lib versions with current master 2021-07-26 13:16:01 +02:00
tamasmeszaros
d648f55f67 Adapt to changed boost src urls 2021-07-26 13:16:01 +02:00
tamasmeszaros
f824d6ac4e Add patch for PNG needed on mac 2021-07-26 13:16:01 +02:00
tamasmeszaros
db2951c8c3 Fix patching for ZLIB 2021-07-26 13:16:01 +02:00
tamasmeszaros
a06019f099 Fix incorrect boost find result 2021-07-26 13:16:01 +02:00
tamasmeszaros
fcc4ea3802 Accept new Blosc fix 2021-07-26 13:16:01 +02:00
tamasmeszaros
d4715e9492 Get Blosc from patched mirror 2021-07-26 13:16:01 +02:00
tamasmeszaros
ca69309fa4 Fix qhull compilation on mac 2021-07-26 13:16:01 +02:00
tamasmeszaros
b26b054c83 Fix curl darwinssl directive on mac 2021-07-26 13:16:01 +02:00
tamasmeszaros
02c6601281 Fine tune libtiff and libjpeg 2021-07-26 13:16:01 +02:00
tamasmeszaros
fed0dd17ab Fix CGAL url hash 2021-07-26 13:16:01 +02:00
tamasmeszaros
a84d2524ab Fix OpenSSL when not cross compiling 2021-07-26 13:16:01 +02:00
tamasmeszaros
a6a8063768 Add TIFF and JPEG for wxWidgets
using URL does not download git submodules for wx
2021-07-26 13:16:01 +02:00
tamasmeszaros
ac51a7c3d1 Add new option DEP_DOWNLOAD_DIR and go with URLs everywhere 2021-07-26 13:16:01 +02:00
tamasmeszaros
76ec61441e Fix broken CURL on windows 2021-07-26 13:16:01 +02:00
tamasmeszaros
1948edf1fe Clean up and get ready for testing on all platforms 2021-07-26 13:16:01 +02:00
tamasmeszaros
6131f67569 Revert boost url 2021-07-26 13:16:01 +02:00
tamasmeszaros
fdb17edad1 Remove unnecessary wxWidgets searches 2021-07-26 13:16:01 +02:00
tamasmeszaros
f2c7c80c11 OpenVDB stack compiles 2021-07-26 13:16:01 +02:00
tamasmeszaros
d29cbda09c CGAL stack compiles 2021-07-26 13:16:01 +02:00
tamasmeszaros
bd3f1c6f35 TOOLCHAIN_PREFIX shall not end with - 2021-07-26 13:16:01 +02:00
tamasmeszaros
b82aa065ae Add Boost the new way 2021-07-26 13:16:01 +02:00
tamasmeszaros
8753c63e72 Add OpenVDB (and sub libraries) the new way 2021-07-26 13:16:01 +02:00
tamasmeszaros
f4733e69fc Add Qhull the new way 2021-07-26 13:16:01 +02:00
tamasmeszaros
cf9723b7cc Add Cereal the new way 2021-07-26 13:16:01 +02:00
tamasmeszaros
974967640b Add CURL and OpenSSL the new way 2021-07-26 13:16:01 +02:00
tamasmeszaros
d1cdf80fef Add TBB the new way to dependencies, remove gtest 2021-07-26 13:16:01 +02:00
tamasmeszaros
69139c2a6f Add NLopt the new way to dependencies 2021-07-26 13:16:01 +02:00
cp
2791139002 Fix boost dependency url.
Original host's lifetime has ended, see here: https://github.com/boostorg/boost/issues/502
This is PR #6349, amended by @lukasmatena who added the changes for platforms other than Windows.
2021-04-13 12:25:25 +02:00
tamasmeszaros
158413f4c4 Disable wxMediaCtrl in wxWidgets build
We don't need it. Building on Linux causes problems with gstreamer.
fixes #5815, #6160
2021-03-09 12:37:17 +01:00
Vojtech Bubnik
d7a786e8c8 Bumping up wxWidgets to 3.1.4-patched on all platforms. 2021-03-01 11:36:11 +01:00
tamasmeszaros
6f89da1f39 Disable libicu for boost-regex
Should have been disabled from the beginning
2021-02-04 20:31:50 +01:00
Vojtech Bubnik
264ce71e94 Bumped up wxWidgets version on OSX for X86. 2021-01-19 14:26:37 +01:00
Vojtech Bubnik
d28d8dda75 Updated boost requies date_time library to be compiled. 2021-01-15 18:07:14 +01:00
Vojtech Bubnik
dd9269a9d1 Bumped up boost version from 1.70.0 to 1.75.0 mainly due to an issue
with an updated Xcode / clang incorrectly reporting that it supports
__cpp_lib_uncaught_exceptions while it does not if targeting older
platforms. This issue has been fixed in boost 1.74.0 and 1.75.0
2021-01-15 13:46:33 +01:00
tamasmeszaros
f94498eac3 Fix for not finding CGAL in 32 bit MSVC 2020-12-03 14:07:15 +01:00
Vojtech Bubnik
fa24d598a7 The new OSX 11 (Big Sur) is not compatible with wxWidgets 3.1.3.
Let's use patched wxWidgets 3.1.4, even though it is not quite tested.
Use the tested patched wxWidgets 3.1.3 everywhere else.
2020-12-01 16:54:20 +01:00
Vojtech Bubnik
cef9985b93 Follow-up to 1719a9b3d1:
Only disable NEON extension for Apple ARM builds, leave it enabled for Raspberry PI.
2020-12-01 16:49:47 +01:00
Jason Scurtu
d5a6602f1c bump gmp version 2020-11-28 19:55:09 +01:00
Jason Scurtu
1719a9b3d1 fix typo and disable ARM_NEON check 2020-11-28 19:48:09 +01:00
Jason Scurtu
d780b33a16 apple silicon target
- move rpi4 detection to Linux
- set(_gmp_build_tgt aarch64) for Apple Silicon
2020-11-28 19:47:46 +01:00
Jason Scurtu
d01f6b8d45 add -DDISABLE_DEPENDENCY_TRACKING to libpng.
- fixes "PNG_ARM_NEON_FILE undefined" error
2020-11-28 15:23:38 +01:00
tamasmeszaros
0a932ebfe3 Enable http digest authentication for CURL 2020-11-25 13:58:03 +01:00
tamasmeszaros
5fb0858677 Fix CGAL unknown version issue
CGAL is not advertising its version if configured as a header only library.
2020-10-26 15:39:40 +01:00
tamasmeszaros
5ef309205d Do the png fix for all platforms 2020-10-26 10:10:09 +01:00
tamasmeszaros
335f04ddf0 Limit the png fix for Linux
temporarily...
2020-10-23 11:10:00 +02:00
tamasmeszaros
9782a584f0 Fix issues with libpng for good
Add "prusaslicer_" prefix to static libpng in deps
2020-10-23 11:04:36 +02:00
tamasmeszaros
d904862bc7 Build libpng as part of deps on Linux
- We've found counter case where the system provided one is missing or is too old.
2020-09-01 19:04:22 +02:00
tamasmeszaros
ec687465fd
Merge pull request #4424 from bgiot/fix_macos_png_issue
Fix macos build: Use the correct LIBPNG
2020-07-13 10:44:05 +02:00
bgiot
21648c6356 Fix macos deps 2020-07-06 12:45:06 +02:00
bubnikv
c10f6a622d Fixed unit tests on Windows after introduction of GMP to
boost::polygon Voronoi diagram generator by Vojtech.

Fixed Perl bindings on Windows after some "improvement" of the Windows 10
SDK headers, which fail if included from a C++ code using the
extern "C"
clause. Namely, the Windows 10 SDK include for sockets introduces C++ macros
if a "compiled with C++" symbol is provided even if included through
exetrn "C".
2020-06-27 08:44:13 +02:00
bgiot
92f0c01ee3 Use the correct LIBPNG 2020-06-22 16:47:57 +02:00
Vojtech Bubnik
180742ccaa Pulling patched boost::polygon from github prusa3d/polygon. 2020-05-22 15:33:11 +02:00
tamasmeszaros
8969613a5a Fix cmake error on unixes 2020-05-07 12:46:37 +02:00
tamasmeszaros
55e4b48642 deps: fix ZLIB being built after its needed 2020-05-07 09:42:11 +02:00
tamasmeszaros
e5c5ee6636 deps: disable wxWidgets library internal asserts 2020-04-30 14:33:23 +02:00
tamasmeszaros
9cb5975956 bring back required switch for opengl with dep_GLEW 2020-04-29 09:44:46 +02:00
tamasmeszaros
572b5ba8bb Add PNG and wxWidgets 3.1.3 uniformly to all platforms with cmake build.
wx is built with png as a dependency, wxpng is disabled.
2020-04-28 15:01:56 +02:00
Vojtech Bubnik
b578b7ec87 New parameter DEP_WX_GTK3=on/off to build wxWidgets against GTK3. 2020-04-02 11:42:45 +02:00
tamasmeszaros
1123689a22 Search for openssl cert store on app init, if the store is not present.
fixes  #3851
2020-03-25 09:41:29 +01:00
bubnikv
d5bcddeed3 Revert "Deps libdir for libcurl on linux to land to the same directory"
This reverts commit 38d06d57a0.
2020-03-21 11:55:51 +01:00
bubnikv
38d06d57a0 Deps libdir for libcurl on linux to land to the same directory
as openssl libraries.
Follow-up to 170650169c
2020-03-20 08:55:11 +01:00
bubnikv
170650169c Deps libdir for openssl on linux 2020-03-19 21:33:03 +01:00
bubnikv
d5149275b0 Hopefully fixing missing OpenSSL dependency of libcurl on Linux 64bit. 2020-03-19 20:48:53 +01:00
tamasmeszaros
abdcc88e9a Add explicit flags for GMP and MPFR
Bump up arm version to 7

armv7-a has to be added as march, rpi4 fails to build with plain armv7
fixes #3847
2020-03-18 12:18:07 +01:00
tamasmeszaros
e1ecf03e0c Revert "Fix minimum osx version not being specified for GMP and MPFR"
CXXFLAGS overrides default flags for gmp and mpfr
2020-03-17 08:55:51 +01:00
tamasmeszaros
7118d77bea Fix minimum osx version not being specified for GMP and MPFR
put `env` before configure and the variables
addresses issue #3847
2020-03-16 15:15:46 +01:00
tamasmeszaros
cb39f6b212 Use CheckAtomic differently 2020-01-23 17:20:02 +01:00
tamasmeszaros
81b7f437da update openvdb build patch to solve latomic 2020-01-23 16:29:08 +01:00
tamasmeszaros
fde0803a89 Upgrade GMP version (link errors similar to RPI) 2020-01-23 13:45:20 +01:00
Lukas Matena
63b0eec5a9 Merge branch 'master' into lm_tm_hollowing 2020-01-21 13:00:07 +01:00
tamasmeszaros
053818d028 Fix MPFR being built as shared library 2020-01-21 10:12:45 +01:00
Lukas Matena
b3f15b1c98 Merge branch 'master' into lm_tm_hollowing 2019-12-20 10:33:53 +01:00
tamasmeszaros
8f655242eb Fix for CGAL relocation fix. Wrong libdir was used. 2019-12-18 15:42:53 +01:00
tamasmeszaros
4220124658 Add mpfr download mirror 2019-12-18 11:58:39 +01:00
tamasmeszaros
9bf09e2874 Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:50:00 +01:00
tamasmeszaros
17de6ff51a Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:26:06 +01:00
tamasmeszaros
d349f24021 Fix CGAL config script being non-relocatable 2019-12-17 13:06:49 +01:00
tamasmeszaros
c3214e9f86 Fix CGAL config script being non-relocatable 2019-12-17 13:05:18 +01:00