* Undo non-working Mac OS CI build fix in build_dist.sh
* Implement CPack workaround for CMake PR #4769
* Fix typo in scripts/ci/package.sh
* Fix typo in scripts/ci/package.sh
* Add debug option for hdiutil_repeat.sh
* Make reviewer changes
* Change typo in package.sh with hdiutil script name.
* Change path reference in package.sh to use $PWD.
* Add strings to escape path in scripts/ci/package.sh
* Fix scripts/ci/macos/repeat_hdiutil.sh
* Remove -e option. Don't copy/paste without double checking closely I guess. 😐
* 💲 Add dollar signs where appropriate as reviewers pointed out.
* Replace until/do contents with easier to read if block.
* Cleanup readability of scripts/ci/macos/repeat_hdiutil.sh
* Add $wait_before_retry config value
* Replace $cmd_string with literal value
* Move do onto same line as until.
* Minor changes to fix for MacOS CMake builds
* Rename variable in scripts/ci/macos/repeat_hdiutil.sh
* Use . instead of pwd in package.sh
Signed-off-by: Emily Mabrey <emilymabrey93@gmail.com>
This puts the deployment target back to 10.7
and sets the SDK to "macosx" so that builds
will use the latest SDK supplied with the
Xcode version being used.
But, this time use a "C" wrapper as posited by Paul in:
https://bugzilla.audacityteam.org/show_bug.cgi?id=543#c6
Doing so should bypass the execve()/decontruction issue and
still allow entitlements to work.
This also sets the build system to Legacy so that a "clean"
action will not produce:
error: Could not delete '...' because it was not created by
the build system.
And, I'm not sure why the deployment target was 10.9, but it
should have been 10.7.
Recommits most of f1ee1689c695db13ef4cfc159e9a7d6fd4a23ccd
but without the SDKROOT and MACOSX_DEPLOYMENT_TARGET changes.
We will want to make those changes eventually though and must
do so before full testing begins for next release.
This removes dependencies on older SDKs, fixes a signing
issue, reinstates 10.7 as the minimum supported MacOS version,
and cleans out some (legacy) library handling.
It must be signed with a "Developer ID Application" certificate
and not the "Developer ID Installer" certificate.
And make sure to sign the app before copying it to the temporary
DMG folder.
If built using the 10.15+ SDK, the UI will take on some
of the new system visuals (like colors). But, Audacity
isn't ready for that yet, so this tells the system it
needs the old look.
Since it is only issued with clang 11(+), attempting to
disable it for via Xcode options doesn't work on older
versions of Xcode/clang.
So, make it clang version specific via configmac.h.
The distribution will be signed and notarized during an "install" build
and is handled by mac/scripts/build_dist.sh.
The wrapper scripts, mac/Audacity.sh, is no longer needed as it's function
has been integrated into AudacityApp.cpp/main().
Initially, all "hardened entitlements" have been enabled since we don't
know which ones plug-ins will need.
On Mac and Windows, system sleep will be disabled when recording starts
and re-enabled when it ends.