mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update README for cairo changes
This commit is contained in:
parent
dc4c1c10f3
commit
63c61b9a6b
1 changed files with 2 additions and 16 deletions
18
README.md
18
README.md
|
@ -8,15 +8,14 @@ language. It is currently developed on OS X and Linux.
|
||||||
On OS X (homebrew):
|
On OS X (homebrew):
|
||||||
|
|
||||||
brew install https://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb
|
brew install https://raw.github.com/Homebrew/homebrew-versions/master/autoconf213.rb
|
||||||
brew install cairo
|
|
||||||
|
|
||||||
On OS X (MacPorts):
|
On OS X (MacPorts):
|
||||||
|
|
||||||
sudo port install autoconf213 cairo +x11 +quartz
|
sudo port install autoconf213
|
||||||
|
|
||||||
On Debian-based Linuxes:
|
On Debian-based Linuxes:
|
||||||
|
|
||||||
sudo apt-get install libcairo2-dev libpango1.0-dev autoconf2.13 freeglut3-dev libtool
|
sudo apt-get install autoconf2.13 freeglut3-dev libtool
|
||||||
|
|
||||||
Servo builds its own copy of Rust, so there is no need to provide a Rust
|
Servo builds its own copy of Rust, so there is no need to provide a Rust
|
||||||
compiler.
|
compiler.
|
||||||
|
@ -29,16 +28,3 @@ compiler.
|
||||||
../configure
|
../configure
|
||||||
make check-servo && make
|
make check-servo && make
|
||||||
./servo ../src/test/hello.html
|
./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.
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue