forked from danielrh/berkelium
-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathREADME.txt
73 lines (51 loc) · 2.73 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
NOTE: This package is no longer maintained. You probably want to try
the Chromium Embedded Framework instead: http://code.google.com/p/chromiumembedded/
Berkelium copyright (C) 2009-2010 The Sirikata team.
Berkelium is a BSD licensed library that provides off-screen browser rendering
via Google's open source Chromium web browser. See http://berkelium.org for a
detailed overview.
==== Building:
For all platforms, make sure you have the submodules:
git submodule update --init --recursive
For Windows instructions, see WINDOWS-BUILDING.txt in the win32/ folder.
For Mac or Linux, first use the automated script to build chromium:
util/build-chromium.sh
You can specify options to it, see --help for more information. The most
important option is probably --deps, which on supported platforms (e.g. Ubuntu,
Fedora), will try to install required dependencies from system packages.
For a Debug build of chromium, export CHROMIUM_DEBUG=true
Warning: Debug requires 4GB RAM and 64-bit Linux or Mac OS X 10.6
I highly recommend *not* building Chromium in Debug.
Link times without debug are ~15 seconds.
With debug, about 5 minutes with heavy disk access.
To build, you need CMake 2.4 or higher installed (2.6 recommended)
To generate a Makefile, run:
I recommend building Berkelium in Debug, no matter how Chromium was built:
cmake . -DCMAKE_BUILD_TYPE=Debug
(If you are using debug Chromium, specify -DCHROME_MODE=Debug)
To build Chromium, run:
make
==== Release build:
Run cmake with:
cmake . -DCMAKE_BUILD_TYPE=Release
On mac, there is a script which will replace hardcoded absolute paths
with relative paths, as well as do all the packaging:
util/mac-install.sh
On Linux, just run "make" again, and copy the created executables. I recommend copying "libffmpegsumo.so" from chromium/src/out/Debug for video tag support, as well as any other plugins you may want to include.
==== Support:
Our new mailing list is at http://groups.google.com/group/berkelium
Before asking a question, search on google with "berkelium", which will also
find discussions in the old list archives as well.
If you can't find the answer in the archives, feel free to ask a question to
the mailing list.
The authors below should be used only as a last resort, or for private matters.
==== About the authors:
Main contributors:
Patrick Reiter Horn <[email protected]>
Ewen Cheslack-Postava <[email protected]>
kevin Gadd <[email protected]>
Daniel Reiter Horn <[email protected]>
(feel free to commit your own name/organization here)
Some code borrowed from the Chromium project at http://chromium.org
Code is licensed under the New BSD License: see source code for the full text.
See VERSION.txt for the matching chromium revision by platform.