summaryrefslogtreecommitdiff
path: root/newmoon/debian/mozconfig
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-09-16 23:09:34 +0000
committerB Stack <bgstack15@gmail.com>2020-09-16 23:09:34 +0000
commitba853302cb64a1f88388db3cc2b6e39d0d327776 (patch)
tree71a13bbada07e81b32da105e05f05a04443fa802 /newmoon/debian/mozconfig
parentMerge branch 'waterfox-bump' into 'master' (diff)
parentWIP: add xfce-helper for palemoon (diff)
downloadstackrpms-ba853302cb64a1f88388db3cc2b6e39d0d327776.tar.gz
stackrpms-ba853302cb64a1f88388db3cc2b6e39d0d327776.tar.bz2
stackrpms-ba853302cb64a1f88388db3cc2b6e39d0d327776.zip
Merge branch 'palemoon-bump' into 'master'
Palemoon 28.13.0 See merge request bgstack15/stackrpms!187
Diffstat (limited to 'newmoon/debian/mozconfig')
-rw-r--r--newmoon/debian/mozconfig76
1 files changed, 76 insertions, 0 deletions
diff --git a/newmoon/debian/mozconfig b/newmoon/debian/mozconfig
new file mode 100644
index 0000000..7661740
--- /dev/null
+++ b/newmoon/debian/mozconfig
@@ -0,0 +1,76 @@
+mk_add_options AUTOCLOBBER=1
+export BUILDING_RELEASE=1
+export MC_OFFICIAL=1
+export MOZILLA_OFFICIAL=1
+export MC_PALEMOON=1
+
+#mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/pmbuild
+
+ac_add_options --enable-application=palemoon
+ac_add_options --disable-official-branding
+ac_add_options --enable-official-vendor
+
+# Disable add-ons signing
+# Disable checking that add-ons are signed by the trusted root
+MOZ_ADDON_SIGNING=
+# Disable enforcing that add-ons are signed by the trusted root
+MOZ_REQUIRE_SIGNING=
+
+# Standard
+# Enables
+ac_add_options --enable-av1
+ac_add_options --enable-optimize="-O2 -Wl,--no-keep-memory -Wl,--reduce-memory-overhead"
+# accepts either gtk2 or gtk3 here, but gtk2 is only officially supported option
+ac_add_options --enable-default-toolkit=cairo-gtk3
+ac_add_options --enable-devtools
+ac_add_options --disable-jemalloc
+ac_add_options --with-pthreads
+ac_add_options --enable-strip
+# Disables
+ac_add_options --disable-debug
+ac_add_options --enable-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 --enable-webrtc
+# Disable temeletry
+export MOZ_TELEMETRY_REPORTING=
+ac_add_options --disable-crashreporter
+ac_add_options --disable-parental-controls
+ac_add_options --disable-accessibility
+
+# Debian style
+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
+#ac_add_options --with-system-nspr
+# my own research into the codebase
+#ac_add_options --with-system-icu
+ac_add_options --with-system-hunspell
+ac_add_options --with-system-extension-dirs
+#ac_add_options --with-system-sqlite
+
+# primarily for 32-bit but tolerated for 64-bit
+ac_add_options --x-libraries=/usr/lib
+
+# limit to 4 cpus to limit memory usage (approximately 0.75 GiB RAM/thread)
+# Debian Sid/Devuan Ceres is mildly broken as of 2020-07 and will fail to compile on anything higher than -j1
+mk_add_options MOZ_MAKE_FLAGS="-j1"
+
+export MOZ_PKG_SPECIAL=gtk3
bgstack15