зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #3264 - Add glfw3 as a dep to the README (from metajack:readme-glfw-deps)
Source-Repo: https://github.com/servo/servo Source-Revision: bd3364d64c6ed5285d0de13b5845897775cec342
This commit is contained in:
Родитель
ff6ff23a43
Коммит
892357350b
|
@ -9,10 +9,14 @@ Servo welcomes contribution from everyone. See
|
|||
|
||||
## Prerequisites
|
||||
|
||||
Note, on systems without glfw3 packages, you can compile from source. An
|
||||
example can be found in [the TravisCI install
|
||||
script](etc/ci/travis.install.sh).
|
||||
|
||||
On OS X (homebrew):
|
||||
|
||||
``` sh
|
||||
brew install automake pkg-config python
|
||||
brew install automake pkg-config python glfw3
|
||||
pip install virtualenv
|
||||
```
|
||||
|
||||
|
@ -28,7 +32,7 @@ On Debian-based Linuxes:
|
|||
sudo apt-get install curl freeglut3-dev \
|
||||
libfreetype6-dev libgl1-mesa-dri libglib2.0-dev xorg-dev \
|
||||
msttcorefonts gperf g++ cmake python-virtualenv \
|
||||
libssl-dev
|
||||
libssl-dev libglfw3-dev
|
||||
```
|
||||
|
||||
On Fedora:
|
||||
|
@ -37,7 +41,7 @@ On Fedora:
|
|||
sudo yum install curl freeglut-devel libtool gcc-c++ libXi-devel \
|
||||
freetype-devel mesa-libGL-devel glib2-devel libX11-devel libXrandr-devel gperf \
|
||||
fontconfig-devel cabextract ttmkfdir python python-virtualenv expat-devel \
|
||||
rpm-build openssl-devel
|
||||
rpm-build openssl-devel glfw-devel
|
||||
pushd .
|
||||
cd /tmp
|
||||
wget http://corefonts.sourceforge.net/msttcorefonts-2.5-1.spec
|
||||
|
|
Загрузка…
Ссылка в новой задаче