Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | Please follow the instructions in INSTALL.UNIX to install FreeType on |
michael@0 | 2 | Mac OS X. |
michael@0 | 3 | |
michael@0 | 4 | Currently FreeType2 functions based on some deprecated Carbon APIs |
michael@0 | 5 | return FT_Err_Unimplemented_Feature always, even if FreeType2 is |
michael@0 | 6 | configured and built on the system that deprecated Carbon APIs are |
michael@0 | 7 | available. To enable deprecated FreeType2 functions as far as possible, |
michael@0 | 8 | replace src/base/ftmac.c by builds/mac/ftmac.c. |
michael@0 | 9 | |
michael@0 | 10 | Starting with Mac OS X 10.5, gcc defaults the deployment target |
michael@0 | 11 | to 10.5. In previous versions of Mac OS X, this defaulted to 10.1. |
michael@0 | 12 | If you want your built binaries to run only on 10.5, this change |
michael@0 | 13 | does not concern you. If you want them to also run on older versions |
michael@0 | 14 | of Mac OS X, then you must either set the MACOSX_DEPLOYMENT_TARGET |
michael@0 | 15 | environment variable or pass -mmacosx-version-min to gcc. You should |
michael@0 | 16 | specify the oldest version of Mac OS you want the code to run on. |
michael@0 | 17 | For example, if you use Bourne shell: |
michael@0 | 18 | |
michael@0 | 19 | export MACOSX_DEPLOYMENT_TARGET=10.2 |
michael@0 | 20 | |
michael@0 | 21 | or, if you use C shell: |
michael@0 | 22 | |
michael@0 | 23 | setenv MACOSX_DEPLOYMENT_TARGET 10.2 |
michael@0 | 24 | |
michael@0 | 25 | Alternatively, you could pass "-mmacosx-version-min=10.2" to gcc. |
michael@0 | 26 | |
michael@0 | 27 | Here the number 10.2 is the lowest version that the built binaries |
michael@0 | 28 | can run on. In the cases in above, the built binaries will run on |
michael@0 | 29 | Mac OS X 10.2 and later, but _not_ earlier. If you want to run on |
michael@0 | 30 | earlier, you have to set lower version, e.g. 10.0. |
michael@0 | 31 | |
michael@0 | 32 | For classic Mac OS (Mac OS 7, 8, 9) please refer to builds/mac/README. |