The Servo Browser Engine
Find a file
2012-10-10 18:19:23 -07:00
mk Make contenttest build 2012-10-09 16:23:22 -07:00
src Remove #[legacy_modes] 2012-10-10 18:19:23 -07:00
.gitignore Rewrite configure script to be more robust; move autogen.sh logic into configure script. 2012-09-04 16:17:36 -07:00
.gitmodules Add libcss submodule 2012-10-04 18:16:03 -07:00
configure configure: Fix test for equality to use = instead of == 2012-10-08 14:05:03 -07:00
Info.plist Build an app bundle on OS X 2012-04-23 17:43:45 -07:00
Makefile.in Don't set the VPATH. Breaks the linux build 2012-10-08 16:22:31 -07:00
README.md Update readme to latest rust checkpoint 2012-09-20 17:25:10 -07:00

The Servo Parallel Browser Project

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

Note: Servo requires a bleeding-edge version of Rust. The Rust commit most recently tested is listed below. Servo often doesn't build against Rust incoming or master branches, due to upstream language changes. If you want to unbreak Servo against the latest Rust build, somebody in #servo or #rust will usually know what magic is required to fix the build.

  • Last known-good rust commit: 5558ebb6b7bf54a370111a46ea7c75b5becf85ec

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

Building

git clone git://github.com/mozilla/servo.git
cd servo
mkdir -p build && cd build
../configure
make check-servo && make
./servo ../src/test/test.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.