gecko-dev/servo
Brian J. Burg 0a6701c599 servo: Snap borders with odd pixel width to pixel boundaries.
Add debug bounding boxes for text boxes (RUST_LOG=servo::layout::box)
and all boxes (RUST_LOG=servo::gfx::display_list).

Source-Repo: https://github.com/servo/servo
Source-Revision: 91c7ca11b3b07178a6022a62af6958543fb0a9ab
2012-10-24 13:52:14 -07:00
..
mk servo: Remove servo-sandbox build code 2012-10-22 16:29:18 -07:00
src servo: Snap borders with odd pixel width to pixel boundaries. 2012-10-24 13:52:14 -07: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: Merge #144 - Fix the mozjs special case so that build products are where rust-mozjs expects them (from g2p:master) 2012-10-22 18:59:22 -07:00
Info.plist servo: Build an app bundle on OS X 2012-04-23 17:43:45 -07:00
Makefile.in servo: Don't set the VPATH. Breaks the linux build 2012-10-08 16:22:31 -07:00
README.md servo: Update servo to rust 3b6f5a1. Removes extraneous by-ref parameter to option::get(), and removes binary move operator. 2012-10-24 14:27:10 -07: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.

Note: Servo always requires a specific version of Rust - building against a released version of Rust will not work, nor will the Rust 'master' branch. The commit below will probably work. If it does not then the topic in #servo might know better.

  • Last known-good Rust commit: 3b6f5a1

Prerequisites

First, you need the Rust compiler, built from the exact commit listed above.

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/hello.html

If rustc is not installed then add RUSTC=/path/to/rustc to your make commands.

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.