summaryrefslogtreecommitdiffstats
path: root/BUILD
blob: 014905b3bef6611a6d2c5b04a3fbec4c1404a439 (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
51
52
53
54
55
1. Install build dependencies

Python 2.7.X
Autoconf 2.13
Yasm 1.2.0 or newer
unzip
gconf2
gnum4
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
sqlite
libvpx

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