summaryrefslogtreecommitdiffstats
path: root/BUILD
blob: d1c8dab34a4c0fff5eb0e2790e6f0c00e75e024e (plain)
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
1. Install build dependencies

Python 2.7.X
Autoconf 2.13
Yasm 1.2.0 or newer
Perl
Gnu C Compiler version 4.9.3 or newer (9.X.X reccomended)
ccache (optional, see mozconfig)

2. Install runtime dependencies

libXt
zip
freetype
fontconfig
glibc
libffi
dbus
dbus-glib
gtk+2
alsa-lib
jack2 (optional, see mozconfig)
ffmpeg

3. prepare git submodule(s)

$ git submodule init && git submodule update


copy Mach build system example config into the root of webbrowser
as '.mozconfig'

$ cp doc/mozconfig.example .mozconfig

Optionally adjust .mozconfig to better suit your needs.

4. compile, test, and package Web Browser

./mach build

if this completes successfully you can test your build before packaging it

./mach run

if all is well package it

./mach package

and then install the resulting distrobution tarball on your system.
the tarball will be stored in the object directory/dist you set in .mozconfig