gecko-dev/servo
Brian Anderson ada5e00a01 servo: Fix build
Source-Repo: https://github.com/servo/servo
Source-Revision: dc4c1c10f38995f3a0956841c698554c47d4b95d
2013-01-15 12:50:25 -08:00
..
mk servo: Build cairo in-tree 2013-01-15 11:28:08 -08:00
src servo: Make the default serif 'Times New Roman', not 'Times' 2013-01-07 16:46:25 -08:00
.gitignore servo: Rewrite configure script to be more robust; move autogen.sh logic into configure script. 2012-09-04 16:17:36 -07:00
configure servo: Fix build 2013-01-15 12:50:25 -08:00
Info.plist servo: Build an app bundle on OS X 2012-04-23 17:43:45 -07:00
Makefile.in servo: Build cairo in-tree 2013-01-15 11:28:08 -08:00
README.md servo: Build cairo in-tree 2013-01-15 11:28:08 -08:00

The Servo Parallel Browser Project

Servo is a prototype web browser engine written in the [Rust] language. It is currently developed on OS X and Linux.

Prerequisites

On OS X (homebrew):

brew install https://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb
brew install cairo

On OS X (MacPorts):

sudo port install autoconf213 cairo +x11 +quartz

On Debian-based Linuxes:

sudo apt-get install libcairo2-dev libpango1.0-dev autoconf2.13 freeglut3-dev libtool

Servo builds its own copy of Rust, so there is no need to provide a Rust compiler.

Building

git clone git://github.com/mozilla/servo.git
cd servo
mkdir -p build && cd build
../configure
make check-servo && make
./servo ../src/test/hello.html

Build Workarounds

MacPorts

Currently, the Makefile for the rust-azure submodule has hardcoded library paths that assumes cairo has been installed with homebrew or MacPorts. If you have installed cairo via another methods or a different version, you will need to change the library path.

This problem should go away once Issue #40 is fixed, and an externally-built cairo is no longer needed.