summaryrefslogtreecommitdiffstats
path: root/BUILD
blob: 6a854706f30e1bde34e28e0d71fb0fd5c023a8cf (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
56
57
1. Install build dependencies

Python 2.7.X
Autoconf 2.13
Yasm 1.2.0 or newer
unzip
GNU M4
Perl
Gnu C Compiler version 4.9.3 to GCC 10.X.X or Clang (Clang not as tested)
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
libevent

3. prepare git submodule(s)

$ git submodule update --init --recursive


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. Please note
that GTK3 support is vestigual I may just get rid of it. using GTK2
instead is encouraged. I am not convinced GTK3 is better than GTK2.

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