forked from kiss-community/repo
firefox [testing]: cleanup
This commit is contained in:
parent
7dfdf3d959
commit
6e9e3c9e91
@ -1,73 +0,0 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
for p in *.patch; do
|
||||
patch -p1 < "$p"
|
||||
done
|
||||
|
||||
sed '/UNZIP/d' toolkit/moz.configure > _
|
||||
mv -f _ toolkit/moz.configure
|
||||
|
||||
# If using libc++, CXXSTDLIB needs to be set manually.
|
||||
case $("$CC" -print-file-name=libc++.so) in */*)
|
||||
export CXXSTDLIB=c++
|
||||
esac
|
||||
|
||||
export CFLAGS="$CFLAGS -w"
|
||||
export CXXFLAGS="$CXXFLAGS -w"
|
||||
|
||||
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox,--enable-new-dtags"
|
||||
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
|
||||
export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system
|
||||
export MOZ_DEBUG_FLAGS=-g0
|
||||
export MOZBUILD_STATE_PATH="$PWD/state"
|
||||
export MOZ_NOSPAM=1
|
||||
|
||||
cat > .mozconfig << EOF
|
||||
ac_add_options --prefix=/usr
|
||||
ac_add_options --libdir=/usr/lib
|
||||
ac_add_options --enable-default-toolkit=cairo-gtk3-wayland-only
|
||||
ac_add_options --enable-strip
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options --enable-audio-backends=alsa
|
||||
ac_add_options --enable-install-strip
|
||||
ac_add_options --enable-official-branding
|
||||
ac_add_options --enable-application=browser
|
||||
ac_add_options --enable-optimize
|
||||
ac_add_options --enable-path-remapping=c,rust
|
||||
ac_add_options --with-system-ffi
|
||||
ac_add_options --with-system-jpeg
|
||||
ac_add_options --with-system-libvpx
|
||||
ac_add_options --with-system-nspr
|
||||
ac_add_options --with-system-nss
|
||||
ac_add_options --with-system-pixman
|
||||
ac_add_options --with-system-png
|
||||
ac_add_options --with-system-webp
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --without-wasm-sandboxed-libraries
|
||||
ac_add_options --disable-eme
|
||||
ac_add_options --disable-dbus
|
||||
ac_add_options --disable-tests
|
||||
ac_add_options --disable-vtune
|
||||
ac_add_options --disable-updater
|
||||
ac_add_options --disable-jemalloc
|
||||
ac_add_options --disable-elf-hack
|
||||
ac_add_options --disable-callgrind
|
||||
ac_add_options --disable-profiling
|
||||
ac_add_options --disable-necko-wifi
|
||||
ac_add_options --disable-crashreporter
|
||||
ac_add_options --disable-accessibility
|
||||
ac_add_options --disable-debug
|
||||
ac_add_options --disable-debug-symbols
|
||||
ac_add_options --disable-parental-controls
|
||||
ac_add_options --disable-system-extension-dirs
|
||||
EOF
|
||||
|
||||
./mach build
|
||||
./mach install
|
||||
|
||||
# Remove a lot of uneeded "stuff".
|
||||
rm -rf \
|
||||
"$1/usr/include" \
|
||||
"$1/usr/lib/firefox-devel" \
|
||||
"$1/usr/share/idl"
|
@ -1,6 +0,0 @@
|
||||
1546ebfd9d5a814f17479ed626519ed69aa3c89c22c7fb1fe5c84e4d7e5d7e18
|
||||
ba6e380bc3d2cbd1b3a505ab97687498335c334d8a4be7f465ad30ee366806c7
|
||||
86ce49e650dd117f0f2928a7f810a58df526b1087c274d35eeb9c5bbf09eac5b
|
||||
42d489e60eae7d2807ef109a4eb1dd3d0e52e8ea9a8a19074495453e588f0625
|
||||
4a232e3aa3973894a58c126b9e901c924d4e1ca3e00c4fc82d08de4b880183a9
|
||||
ed51ce8a6730c489ea9dda354f02c579fb3632925096a0260bfae7a6b82ceace
|
@ -1 +0,0 @@
|
||||
106.0 1
|
Loading…
Reference in New Issue
Block a user