mirror of
https://github.com/cookiengineer/audacity
synced 2026-01-12 15:45:54 +01:00
Update mac build instructions.
- We're now on wx 3.1.1 and OSX 10.7+
This commit is contained in:
@@ -1,8 +1,9 @@
|
|||||||
At this time, the newest SDK version that Audacity can build with is 10.6.
|
At this time, Audacity is usually built with the 10.7 SDK. This is to give
|
||||||
To build Audacity using Xcode 5.1 or newer, you need to extract the 10.6 SDK
|
compatibility with older versions of MacOSX.
|
||||||
|
To build Audacity using Xcode 5.1 or newer, you need to extract the 10.7 SDK
|
||||||
from an earlier version of Xcode.
|
from an earlier version of Xcode.
|
||||||
|
|
||||||
In the instructions below, Xcode 4.3.3 (for the 10.6 SDK) and Xcode 8.1 will
|
In the instructions below, Xcode 4.3.3 (for the 10.7 SDK) and Xcode 8.1 will
|
||||||
be used. Fuller instructions that cover
|
be used. Fuller instructions that cover
|
||||||
* Using other Xcodes
|
* Using other Xcodes
|
||||||
* Optional signing of DMGs
|
* Optional signing of DMGs
|
||||||
@@ -18,33 +19,36 @@ can be found on our wiki at http://wiki.audacityteam.org/wiki/Building_On_Mac
|
|||||||
|
|
||||||
Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ .
|
Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ .
|
||||||
|
|
||||||
6) Copy the MacOSX10.6.sdk folder to:
|
6) Copy the MacOSX10.7.sdk folder to:
|
||||||
|
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
|
||||||
|
|
||||||
7) Change the MinimumSDKVersion key value in
|
7) Change the MinimumSDKVersion key value in
|
||||||
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist
|
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Info.plist
|
||||||
to 10.6
|
to 10.7
|
||||||
|
|
||||||
Xcode is now ready.
|
Xcode is now ready.
|
||||||
|
|
||||||
8) Download audacity patched wxWidgets 3.0.2 zip from the audacity copy of the
|
8) Download audacity patched wxWidgets 3.1.1 zip from the audacity copy of the
|
||||||
wxWidgets project:
|
wxWidgets project:
|
||||||
https://github.com/audacity/wxWidgets/tree/audacity-fixes
|
https://github.com/audacity/wxWidgets/tree/v3.1.1
|
||||||
|
|
||||||
it's the green "clone or download" button on the right.
|
it's the green "clone or download" button on the right.
|
||||||
|
|
||||||
Don't be tempted to use Widgets already installed by a package manager such
|
Don't be tempted to use Widgets already installed by a package manager such
|
||||||
as Homebrew because this will cause problems.
|
as Homebrew because this will cause problems.
|
||||||
|
|
||||||
|
As of 16-Apr-2018 we haven't yet applied any Audacity specific patches
|
||||||
|
to the official wxWidgets 3.1.1 branch, so currently it is the same.
|
||||||
|
|
||||||
9) Once the download is complete, unzip it:
|
9) Once the download is complete, unzip it:
|
||||||
|
|
||||||
unzip wxWidgets-audacity-fixes.zip
|
unzip wxWidgets-audacity-v3.1.1.zip
|
||||||
|
|
||||||
10) Change directory to the folder wxWidgets was extracted to then build/install
|
10) Change directory to the folder wxWidgets was extracted to then build/install
|
||||||
wxWidgets:
|
wxWidgets:
|
||||||
|
|
||||||
sudo <path to Audacity source>/mac/build_wxwidgets .
|
sudo <path to Audacity source>/mac/build_wxwidgets
|
||||||
|
|
||||||
You should now be able to build Audacity using either the Xcode application or
|
You should now be able to build Audacity using either the Xcode application or
|
||||||
the Xcodebuild command line tool.
|
the Xcodebuild command line tool.
|
||||||
@@ -65,7 +69,7 @@ the Xcodebuild command line tool.
|
|||||||
|
|
||||||
* If you use the Xcode application, don't make any changes to
|
* If you use the Xcode application, don't make any changes to
|
||||||
Audacity.xcodeproj recommended by Xcode. In particular, be sure to leave the
|
Audacity.xcodeproj recommended by Xcode. In particular, be sure to leave the
|
||||||
Base SDK configuration set to 10.6 as it is now.
|
Base SDK configuration set to 10.7 as it is now.
|
||||||
|
|
||||||
If you need Audacity to show languages other than English, install the gettext
|
If you need Audacity to show languages other than English, install the gettext
|
||||||
suite of tools (to get the msgfmt command). The source can be downloaded from:
|
suite of tools (to get the msgfmt command). The source can be downloaded from:
|
||||||
|
|||||||
Reference in New Issue
Block a user