GithubHelp home page GithubHelp logo

servo's Introduction

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.

servo's People

Contributors

brson avatar pcwalton avatar mmeyerho avatar nikomatsakis avatar jdm avatar eholk avatar bblum avatar bzbarsky avatar fzzzy avatar g2p avatar catamorphism avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.