Skip to content

Commit eea3d8c

Browse files
committed
Remove CMakeLists patch - not required when building on Ubuntu 14.04...
Update build instructions.
1 parent 03e9515 commit eea3d8c

3 files changed

Lines changed: 22 additions & 63 deletions

File tree

docs/Build-instructions.md

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
# Build instructions
22

3-
NOTE: These instructions are for the master branch (Chrome 47).
3+
NOTE: These instructions are for the master branch (Chrome 51).
44

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.
1117

1218

1319
Table of contents:
@@ -50,24 +56,25 @@ __Windows__
5056

5157
__Linux__
5258

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`
5462
* 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)
5664
* Download [ninja](http://martine.github.io/ninja/) 1.7.1 or later
5765
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
6268
builds on the [cef/AutomatedBuildSetup.md](https://bitbucket.org/chromiumembedded/cef/wiki/AutomatedBuildSetup.md#markdown-header-linux-configuration)
6369
wiki page.
70+
2. Run the install-build-deps.sh script - instructions provided
71+
further down on this page.
6472
* To build on Debian 7 see
6573
[cef/BuildingOnDebian7.md](https://bitbucket.org/chromiumembedded/cef/wiki/BuildingOnDebian7.md) and
6674
[cef/#1575](https://bitbucket.org/chromiumembedded/cef/issues/1575),
6775
and [cef/#1697](https://bitbucket.org/chromiumembedded/cef/issues/1697)
6876
* To perform a 32-bit Linux build on a 64-bit Linux system see
6977
[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`
7178

7279

7380
__All platforms__

patches/CMakeLists.txt.in_linux.patch

Lines changed: 0 additions & 41 deletions
This file was deleted.

patches/patch.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,4 @@
2020

2121
# LINUX
2222
if OS_POSTFIX == "linux":
23-
patches.append(
24-
{
25-
# Fix compile error on Ubuntu 12:
26-
# cc1plus: error: unrecognized command line option '-std=gnu++11'
27-
'name': 'CMakeLists.txt.in_linux',
28-
'path': './',
29-
},
30-
)
23+
pass

0 commit comments

Comments
 (0)