summaryrefslogtreecommitdiff
path: root/newmoon/debian/mozconfig
blob: e131daa89eeba7ae3861fff430e47fd180587ffd (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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
mk_add_options AUTOCLOBBER=1
export BUILDING_RELEASE=1
export MC_OFFICIAL=1
export MOZILLA_OFFICIAL=1
export MC_PALEMOON=1
export MOZ_NOSPAM=1

# If you want to control where the built objects go
#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/pmbuild

# Official Pale Moon branding. Please see https://www.palemoon.org/redist.shtml
# for restrictions when using the official branding.
ac_add_options --enable-application=palemoon
ac_add_options --disable-official-branding
ac_add_options --enable-official-vendor

# Standard, approved Pale Moon build options.
# Enable stuff
ac_add_options --enable-av1
ac_add_options --enable-optimize="-O2 -w"
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --enable-devtools
ac_add_options --enable-jemalloc
ac_add_options --enable-jxl
ac_add_options --with-pthreads
ac_add_options --enable-strip

# Disable stuff
# disable-debug-symbols removes the ability to do a stack trace. I do not do any stack traces anyways. ?f=5&t=28254
ac_add_options --disable-debug-symbols
ac_add_options --disable-debug
ac_add_options --disable-eme
ac_add_options --disable-gamepad
ac_add_options --disable-necko-wifi
ac_add_options --disable-tests
ac_add_options --disable-updater
ac_add_options --disable-crashreporter
ac_add_options --disable-parental-controls
ac_add_options --disable-accessibility
ac_add_options --disable-webrtc

# Disable temeletry
export MOZ_TELEMETRY_REPORTING=

# Debian style
# primarily for 32-bit but tolerated for 64-bit
ac_add_options --x-libraries=/usr/lib
ac_add_options --prefix=/usr
# Devuan style
ac_add_options --disable-dbus
#ac_add_options --disable-pulseaudio
# even though this is redundant
ac_add_options --enable-alsa

# experimental additions with no previous equivalent configurations
ac_add_options --disable-gnomeui
ac_add_options --disable-gconf
ac_add_options --disable-sync
ac_add_options --disable-personas
#ac_add_options --with-system-ffi
#ac_add_options --with-system-cairo
#ac_add_options --with-system-pixman
#ac_add_options --with-system-bz2
#ac_add_options --with-system-zlib
#ac_add_options --with-system-jpeg
# my own research into the codebase
#ac_add_options --with-system-hunspell
#ac_add_options --with-system-extension-dirs

# limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread)
# Debian Sid/Devuan Ceres; 2020-07 only -j1 works due to a bug.
#mk_add_options MOZ_MAKE_FLAGS="-j1"

#export MOZ_PKG_SPECIAL=gtk2
bgstack15