2012-02-08 19:29:12 +00:00
|
|
|
## The Servo Parallel Browser Project
|
|
|
|
|
2012-06-29 18:25:30 +00:00
|
|
|
Servo currently builds on Mac OS X and Linux. Since the Rust language is currently in flux, you
|
|
|
|
will need the bleeding-edge (Git master) version of the Rust compiler.
|
2012-05-10 22:20:26 +00:00
|
|
|
|
|
|
|
### Prerequisites
|
|
|
|
|
|
|
|
On OS X:
|
|
|
|
|
2012-05-11 00:17:02 +00:00
|
|
|
brew install https://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb
|
2012-05-10 22:20:26 +00:00
|
|
|
brew install sdl cairo
|
|
|
|
|
|
|
|
On Debian-based Linuxes:
|
|
|
|
|
2012-07-12 07:12:06 +00:00
|
|
|
sudo apt-get install libsdl1.2-dev libcairo2-dev libpango1.0-dev autoconf2.13 freeglut3-dev
|
2012-05-10 22:20:26 +00:00
|
|
|
|
|
|
|
### Building
|
2012-05-05 23:51:26 +00:00
|
|
|
|
|
|
|
git clone git://github.com/mozilla/servo.git
|
|
|
|
cd servo
|
|
|
|
git submodule init
|
|
|
|
git submodule update
|
2012-05-10 22:20:26 +00:00
|
|
|
./autogen.sh
|
2012-06-29 18:30:51 +00:00
|
|
|
mkdir -p build && cd build
|
2012-05-05 23:51:26 +00:00
|
|
|
../configure
|
|
|
|
make check && make
|
2012-05-18 03:47:34 +00:00
|
|
|
./servo ../src/test/test.html
|