@@ -50,6 +50,15 @@ __Windows__
5050
5151__ Linux__
5252
53+ * Install required packages using apt-get or similar:
54+ ```
55+ sudo apt-get install cmake g++ pkg-config gtk+-2.0 libgtkglext1-dev
56+ ```
57+ * Download [ ninja] ( http://martine.github.io/ninja/ ) 1.7.1 or later
58+ and copy it to /usr/bin and chmod 755.
59+ * When building CEF from sources you will need to install many more packages
60+ using the install-build-deps.sh script - instructions are provided
61+ further down on this page.
5362* Building on Ubuntu 12.04 is supported up to branch 2526 (Chrome 47).
5463 For branches 2623 (Chrome 49) or later Ubuntu 14.04+ is required.
5564* To build on Debian 7 see
@@ -83,11 +92,27 @@ need to customize the build then use the --help flag to see more.
8392
8493Run the automate.py tool using the --build-cef flag. Specify cef branch
8594and optionally how many parallel ninja jobs to run (by default cores/2).
95+
8696```
8797cd tools/
8898python automate.py --build-cef --cef-branch 2526 --ninja-jobs 6
8999```
90100
101+ __ IMPORTANT__ : On Linux it will fail on first run. After the chromium
102+ sources are downloaded, it will try to build cef projects and fail
103+ due to missing packages. You will need to run the install-build-deps.sh
104+ script (intended for Ubuntu systems). When the "ttf-mscorefonts-installer"
105+ graphical installer pops up you can deny EULA and not install these fonts
106+ (might deteriorate UX on some systems, experienced on Ubuntu 12.04 32-bit).
107+
108+ ```
109+ cd build/chromium/src/build/
110+ chmod 755 install-build-deps.sh
111+ sudo ./install-build-deps.sh --no-arm --no-chromeos-fonts --no-nacl
112+ ```
113+
114+ After dependencies are satisifed re-run automate.py.
115+
91116You should be fine by running it with the default options, but if you
92117need to customize the build then use the --help flag to see more.
93118
0 commit comments