summaryrefslogtreecommitdiff
path: root/librewolf/debian/browser.mozconfig.in
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2022-04-16 16:51:25 +0000
committerB. Stack <bgstack15@gmail.com>2022-04-16 16:51:25 +0000
commit4aa31a2f1a060439447f8de3b1674b6e0524c7e2 (patch)
treec6028dac4de4e3be8bfb49223ac931303e6c57d2 /librewolf/debian/browser.mozconfig.in
parentMerge branch 'veracrypt-bump' into 'master' (diff)
parentlw 98.0 stackrpms rc1 (diff)
downloadstackrpms-4aa31a2f1a060439447f8de3b1674b6e0524c7e2.tar.gz
stackrpms-4aa31a2f1a060439447f8de3b1674b6e0524c7e2.tar.bz2
stackrpms-4aa31a2f1a060439447f8de3b1674b6e0524c7e2.zip
Merge branch 'librewolf-bump' into 'master'
librewolf 98 See merge request bgstack15/stackrpms!293
Diffstat (limited to 'librewolf/debian/browser.mozconfig.in')
-rw-r--r--librewolf/debian/browser.mozconfig.in74
1 files changed, 74 insertions, 0 deletions
diff --git a/librewolf/debian/browser.mozconfig.in b/librewolf/debian/browser.mozconfig.in
new file mode 100644
index 0000000..22ba73f
--- /dev/null
+++ b/librewolf/debian/browser.mozconfig.in
@@ -0,0 +1,74 @@
+# Please don't use this mozconfig unless you are planning to build
+# packages for Debian or a derivative.
+ac_add_options --enable-release
+ac_add_options --enable-default-toolkit=cairo-gtk3-wayland
+ac_add_options --with-google-location-service-api-keyfile=$topsrcdir/debian/google.key
+ac_add_options --with-google-safebrowsing-api-keyfile=$topsrcdir/debian/google.key
+ac_add_options --with-mozilla-api-keyfile=$topsrcdir/debian/mls.key
+%if USE_SYSTEM_ZLIB
+ac_add_options --with-system-zlib # MOZ_SYSTEM_ZLIB=1
+%endif
+ac_add_options --disable-strip
+ac_add_options --disable-install-strip
+%if USE_SYSTEM_FFI
+ac_add_options --enable-system-ffi # MOZ_SYSTEM_FFI=1
+%endif
+%if USE_SYSTEM_LIBEVENT
+ac_add_options --with-system-libevent # MOZ_SYSTEM_LIBEVENT=1
+%endif
+%if USE_SYSTEM_NSPR
+ac_add_options --with-system-nspr # MOZ_SYSTEM_NSPR=1
+%endif
+%if USE_SYSTEM_NSS
+ac_add_options --with-system-nss # MOZ_SYSTEM_NSS=1
+%endif
+%if USE_SYSTEM_VPX
+ac_add_options --with-system-libvpx # MOZ_SYSTEM_LIBVPX=1
+%endif
+ac_add_options --disable-updater
+ac_add_options --with-unsigned-addon-scopes=app,system
+ac_add_options --allow-addon-sideload
+ac_add_options --enable-alsa
+ac_add_options --without-wasm-sandboxed-libraries
+
+# Start of LibreWolf effects
+ac_add_options --disable-tests
+ac_add_options --disable-debug
+ac_add_options --disable-default-browser-agent
+
+ac_add_options --prefix=/usr
+ac_add_options --enable-hardening
+ac_add_options --enable-rust-simd
+
+# Branding
+ac_add_options --with-app-name=librewolf
+ac_add_options --with-app-basename=LibreWolf
+ac_add_options --with-branding=browser/branding/librewolf
+ac_add_options --with-distribution-id=io.gitlab.librewolf-community
+
+export MOZ_REQUIRE_SIGNING=
+
+# Features
+ac_add_options --enable-jack
+ac_add_options --disable-crashreporter
+
+# Disables crash reporting, telemetry and other data gathering tools
+mk_add_options MOZ_CRASHREPORTER=0
+mk_add_options MOZ_DATA_REPORTING=0
+mk_add_options MOZ_SERVICES_HEALTHREPORT=0
+mk_add_options MOZ_TELEMETRY_REPORTING=0
+#ac_add_options --with-wasi-sysroot=$HOME/.mozbuild/wrlb/wasi-sysroot
+
+# LibreWolf binary release uses clang-11 but Debian builds Firefox with gcc so this is irrelevant.
+#export CC='clang-11'
+#export CXX='clang++-11'
+#export AR=llvm-ar-11
+#export NM=llvm-nm-11
+#export RANLIB=llvm-ranlib-11
+
+ac_add_options --enable-optimize
+# Devuan style
+ac_add_options --disable-dbus
+ac_add_options --disable-pulseaudio
+ac_add_options --enable-alsa
+ac_add_options --disable-necko-wifi
bgstack15