Update README macports instructions. Add latest working rust commit.

This commit is contained in:
Brian J. Burg 2012-09-18 11:26:04 -07:00
parent 88a51c6a18
commit 197d5f440e

View file

@ -3,12 +3,14 @@
Servo is a web browser engine written in the Rust language. It is Servo is a web browser engine written in the Rust language. It is
currently developed on OS X and Linux. currently developed on OS X and Linux.
Note: Servo requires a bleeding-edge version of Rust. Sometimes this Note: Servo requires a bleeding-edge version of Rust. The Rust commit
means working off of the Rust _master_ branch; sometimes this means most recently tested is listed below. Servo often doesn't build
the _incoming_ branch. Because Rust is still undergoing major changes against Rust _incoming_ or _master_ branches, due to upstream language
the Servo build is very often broken. Somebody in #servo or #rust changes. If you want to unbreak Servo against the latest Rust build,
will usually know what magic is required to make Servo build on any somebody in #servo or #rust will usually know what magic is required
given day. Good luck! to fix the build.
* Last known-good rust commit: 0e584f2e741ad5c6a1aefefe6eec3e2dd9fff518
### Prerequisites ### Prerequisites
@ -31,7 +33,7 @@ On Debian-based Linuxes:
cd servo cd servo
mkdir -p build && cd build mkdir -p build && cd build
../configure ../configure
make check && make make check-servo && make
./servo ../src/test/test.html ./servo ../src/test/test.html
@ -39,12 +41,10 @@ On Debian-based Linuxes:
#### MacPorts #### MacPorts
Currently, the Makefile for the rust-azure submodule has a hardcoded Currently, the Makefile for the `rust-azure` submodule has hardcoded
library path that assumes cairo has been installed with homebrew. If library paths that assumes cairo has been installed with homebrew or
you have installed with MacPorts, you will need to change the library MacPorts. If you have installed cairo via another methods or a
path to cairo. The following command should apply a patch with the fix: different version, you will need to change the library path.
cd src/rust-azure && git diff 1e811d44^1 1e811d44 | patch -p1
This problem should go away once Issue #40 is fixed, and an This problem should go away once Issue #40 is fixed, and an
externally-built cairo is no longer needed. externally-built cairo is no longer needed.