VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Build/build_veracrypt_macosx.sh
AgeCommit message (Collapse)AuthorFilesLines
2024-09-16macOS: enhance macOS build script(allow local build, specify wxWidgets ↵Mounir IDRASSI1-26/+77
version, control packaging) Based on proposal by @Mattoje in https://github.com/veracrypt/VeraCrypt/issues/1417
2024-07-06Linux: Add Github CI workflow for Linux (#1374)Mounir IDRASSI1-7/+29
* Linux/MacOSX: during build, fallback to /tmp if wxWidgets sources not found in parent directory * Linux: Add Github workflow to build .deb files and test generated binaries * Linux: fix wrong wxWidgets extract path in yaml * fix: fix wrong wxWidgets extract path in yaml * Linux: harmonize content of test volumes and update Github workflow for this * Fix corrupted test container * Linux: optimize Github workflow by caching wxBuildConsole and wxBuildGUI folders We also modify build script to detect the presence of wxBuildConsole and wxBuildGUI folders and reuse them * Remove files mistakenly added * Linux: Fix wrong test for Github workflow * Linux: use static build of wxWidgets for GUI in Github workflow * Linux: upload also .deb SHA256SUM file if it is generated in Github workflow * Linux: fix detection logic of parent folder in build scripts * Github workflow: add build_cmake_deb.sh as trigger to build-linux.yml * Github workflow: add wxWidgets source code to the cache of workflow
2024-06-22MacOSX: Add for using FUSE-T instead of MacFUSEMounir IDRASSI1-1/+11
The build script build_veracrypt_macosx.h now accepts the argument -f to enable fuse-t support. It is also possible to set the environment variable VC_OSX_FUSET to 1 for FUSE-T support. A change was done in CoreUnix::GetMountedVolumes to add a waiting loop for control file to be accessible because when using FUSE-T there always a delay before control file can be serialized.
2024-06-16MacOSX: Use wxWidgets 3.2.5. Detect SDK version dynamically. Remove unused ↵Mounir IDRASSI1-6/+6
"r" getopts option.
2024-06-16Improve and simplify macOS builds (#1276)Deniz Türkoglu1-1/+34
* Add missing macOS requirement for 'make package' We need packages for the last build step on macOS, update docs to reflect the requirement. * Add build instructions using homebrew On macOS, we can use a package manager to easily install dependencies. This simplifies onboarding and building Veracrypt. * Add flag to use homebrew packages When building, we can use prebuilt wxwidgets from homebrew to simplify and speed up local building. We also put the package behind a flag as it's optional during development. * Skip signing for local builds When building with homebrew, skip signing. This can be put behind a flag to enable, if needed. * Use system yasm on macOS if available The binary in the repo is not universal (x86_64) and therefore building fails on arm architecture if Rosetta is not installed. Use local yasm if available. * Build local arch only in development When building via homebrew and locally, build only the local arch which skips ASM for arm(Mx) for MacOS. This removes the need to have rosetta installed for building. * Fix compilation issue when COMPILE_ASM is undefined Use a conditional check for COMPILE_ASM not being false instead of true. This avoids passing the variable to other parts of the build script. * Set SDK 12 as the minimum requirement and target Align the requirement to SDK 12 in both the makefile and script, and update the comment to remove confusion. I chose to leave this on 12 to be on the side of err and support as many building platforms as possible, when we can support. The local script now also sets the target using the local sdk version. This should improve the local development experience. * Fix wrong architecture for macOS in x86 builds We now build only the current arch for local development builds in macOS. This change also fixes the x86 builds failing. * Add instructions brew backed macOS local builds Flags to build a local build using homebrew packages are not default and require parameter -b to build. We also don't build packages directly, which requires -p. * Fix wxwidgets not linking in local x86 macOS development builds * Clarify build location in the document
2023-10-01MacOS: set minimum target to OSX 12. Fix About menu not working.Mounir IDRASSI1-5/+6
The modification to Forms.cpp is temporary until we find a better approach
2021-08-16MacOSX: Use 11.3 SDK from Xcode 12.5.1Mounir IDRASSI1-1/+1
2020-11-29MacOSX: update build script to use 11.0 SDK while still targetting 10.9VeraCrypt_1.24-Update8_MacOSXMounir IDRASSI1-1/+1
2019-12-17MacOSX: revert to using wxWidgets 3.1.2 following unexplained crash when ↵VeraCrypt_1.24-Update2Mounir IDRASSI1-2/+2
using wxWidgets 3.1.3
2019-12-10MacOSX: link against latest wxWidgets version 3.1.3Mounir IDRASSI1-3/+3
2019-10-15MacOSX: Enhanced Makefile and build script (#519)El Mostafa Idrassi1-7/+7
Added new variable 'VC_OSX_SDK' to differentiate between the OSX minimum target and the SDK to use for building.
2019-10-14MacOSX: Add build scripts and modifications to linking against wxWidgets ↵Mounir IDRASSI1-7/+7
3.1.2 for non legacy build targeting OSX 10.9+
2018-03-27Linux/MacOSX: use latest wxWidgets version 3.0.4 for official buildMounir IDRASSI1-1/+1
2017-06-29MacOSX: put back full wxWidgets build in official build script.Mounir IDRASSI1-3/+2
2017-06-27MacOSX: Update build and packaging scripts to require OSX Lion (10.7).Mounir IDRASSI1-3/+4
2017-06-23Update IDRIX copyright yearMounir IDRASSI1-1/+1
2017-06-13Linux/MacOSX: Modify Makefile to separate between build and packaging. Add ↵Mounir IDRASSI1-4/+4
install target for local installation.
2016-01-20Copyright: update dates to include 2016.Mounir IDRASSI1-1/+1
2015-12-06MacOSX: Add possibility in build script to reuse existing wxWidgets compiled ↵Mounir IDRASSI1-0/+2
library
2015-08-06Update license information to reflect the use of a dual license Apache 2.0 ↵Mounir IDRASSI1-0/+7
and TrueCrypt 3.0.
2014-11-08MacOSX: add shell script to perform build under MacOSXVeraCrypt_MacOSX_1.0f-BETAVeraCrypt_Linux_1.0f-BETAVeraCrypt_1.0f-BETAMounir IDRASSI1-0/+24