|
1 | 1 | # Build instructions |
2 | 2 |
|
3 | | -NOTE: These instructions are for the master branch (Chrome 47). |
| 3 | +NOTE: These instructions are for the master branch (Chrome 51). |
4 | 4 |
|
5 | | -There are two types of builds you can perform. You can build |
6 | | -CEF Python using the prebuilt CEF binaries. Or you can build both |
7 | | -CEF Python and CEF from sources. Building CEF is a long process that |
8 | | -can take hours. In the tools/ directory there is the automate.py |
9 | | -script that automates building CEF. However before you can run it |
10 | | -you must satisfy some requirements. |
| 5 | +There are several types of builds you can perform: |
| 6 | +1. You can build CEF Python using prebuilt CEF binaries that were |
| 7 | + uploaded to GH releases (tagged eg. v51-upstream) |
| 8 | +2. You can build both CEF Python and CEF from sources, but note |
| 9 | + that Building CEF is a long process that can take hours. |
| 10 | + In the tools/ directory there is the automate.py script that |
| 11 | + automates building CEF. |
| 12 | +3. You may also use prebuilt binaries from Spotify automated builds, |
| 13 | + see the CEF automated builds section. |
| 14 | + |
| 15 | +Before you can build CEF Python or CEF you must satisfy requirements |
| 16 | +listed on this page. |
11 | 17 |
|
12 | 18 |
|
13 | 19 | Table of contents: |
@@ -50,24 +56,25 @@ __Windows__ |
50 | 56 |
|
51 | 57 | __Linux__ |
52 | 58 |
|
53 | | -* Install packages: `sudo apt-get install cmake g++` |
| 59 | +* Install packages: `sudo apt-get install python-dev cmake g++` |
| 60 | +* To build upstream cefclient/cefsimple you need to install these packages: |
| 61 | + `sudo apt-get install libgtk2.0-dev libgtkglext1-dev` |
54 | 62 | * If building CEF from sources: |
55 | | - * Official binaries are build on Ubuntu 14.04 (cmake 2.8.12, g++ 4.8.4) |
| 63 | + * Official binaries are built on Ubuntu 14.04 (cmake 2.8.12, g++ 4.8.4) |
56 | 64 | * Download [ninja](http://martine.github.io/ninja/) 1.7.1 or later |
57 | 65 | and copy it to /usr/bin and chmod 755. |
58 | | - * When building CEF from sources you will need to install many more packages |
59 | | - using the install-build-deps.sh script - instructions are provided |
60 | | - further down on this page. |
61 | | - * See also the Linux configuration for CEF automated |
| 66 | + * Install required packages using one of the methods below: |
| 67 | + 1. See Linux configuration for CEF automated |
62 | 68 | builds on the [cef/AutomatedBuildSetup.md](https://bitbucket.org/chromiumembedded/cef/wiki/AutomatedBuildSetup.md#markdown-header-linux-configuration) |
63 | 69 | wiki page. |
| 70 | + 2. Run the install-build-deps.sh script - instructions provided |
| 71 | + further down on this page. |
64 | 72 | * To build on Debian 7 see |
65 | 73 | [cef/BuildingOnDebian7.md](https://bitbucket.org/chromiumembedded/cef/wiki/BuildingOnDebian7.md) and |
66 | 74 | [cef/#1575](https://bitbucket.org/chromiumembedded/cef/issues/1575), |
67 | 75 | and [cef/#1697](https://bitbucket.org/chromiumembedded/cef/issues/1697) |
68 | 76 | * To perform a 32-bit Linux build on a 64-bit Linux system see |
69 | 77 | [cef/#1804](https://bitbucket.org/chromiumembedded/cef/issues/1804) |
70 | | -* To build upstream cefclient/cefsimple you need to install these packages: `sudo apt-get install libgtk2.0-dev libgtkglext1-dev` |
71 | 78 |
|
72 | 79 |
|
73 | 80 | __All platforms__ |
|
0 commit comments