[tor-commits] [torbrowser/maint-2.3] OSX: Add a document describing the setup of macx86.tpo

erinn at torproject.org erinn at torproject.org
Mon Apr 23 17:20:56 UTC 2012


commit b30fdcd5c7304cab237754a9e367f4d120e97966
Author: Sebastian Hahn <sebastian at torproject.org>
Date:   Tue Apr 17 16:36:49 2012 +0200

    OSX: Add a document describing the setup of macx86.tpo
---
 docs/buildmachine_setups/osx.txt |   37 +++++++++++++++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/docs/buildmachine_setups/osx.txt b/docs/buildmachine_setups/osx.txt
new file mode 100644
index 0000000..7093859
--- /dev/null
+++ b/docs/buildmachine_setups/osx.txt
@@ -0,0 +1,37 @@
+Documentation for the setup of macx86.torproject.org
+
+Install Mac OS X Lion 10.7, get all updates.
+
+Download XCode 4.2.1 from
+https://developer.apple.com/downloads/index.action, install. This puts
+an Install Xcode.app into your applications, manually run the contained
+installer script (don't just run the .app). It is in
+Contents/MacOS/Install Xcode.
+
+Fetch macports from http://www.macports.org/install.php - choose the
+Lion installer, install. This will change your PATH variable via your
+~/.profile file. Run sudo port selfupdate.
+
+First off, we need a bit of software, so install it:
+
+	sudo port install git-core wget cmake autoconf213 yasm
+
+This will probably prompt you to install java stuff, do it.
+
+Create a new limited (non-admin) "macx86builder" User to do the builds.
+
+Create a new directory, /builds, and chown it to macx86builder.
+
+sudo to macx86builder
+
+	"sudo -u macx86builder -i"
+
+Then run these:
+
+	cd /builds/
+	git clone https://git.torproject.org/torbrowser
+	cd torbrowser
+	git checkout maint-2.2
+	cd build-scripts
+	make -f osx.mk build-all-binaries copy-firefox bundle
+





More information about the tor-commits mailing list