forked from kiss-community/repo
firefox: 89.0.2
This commit is contained in:
parent
f068f3daaa
commit
6b5c323f80
@ -1,8 +1,6 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
for patch in *.patch; do
|
||||
patch -p1 < "$patch"
|
||||
done
|
||||
patch -p1 < no-gtk2.patch
|
||||
|
||||
# Remove libc header which conflicts with 7 or so Linux
|
||||
# kernel headers. See: https://github.com/kisslinux/repo/issues/207
|
||||
@ -36,64 +34,62 @@ sed -i '/net\/if/d' \
|
||||
)
|
||||
export PATH="$PWD/junk/bin:$PATH"
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
# Bypass 'ccache' as it's totally useless when building
|
||||
# Firefox and only slows things down.
|
||||
export CC="${CC:-/usr/bin/cc}"
|
||||
export CXX="${CXX:-/usr/bin/c++}"
|
||||
# Force clang for builds.
|
||||
export CC="${CC:-clang}"
|
||||
export CXX="${CXX:-clang++}"
|
||||
|
||||
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox"
|
||||
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
|
||||
export MACH_USE_SYSTEM_PYTHON=1
|
||||
export MOZ_DEBUG_FLAGS=-g0
|
||||
export MOZ_NOSPAM=1
|
||||
|
||||
../configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib \
|
||||
--enable-official-branding \
|
||||
--enable-optimize="$CFLAGS -w" \
|
||||
--enable-install-strip \
|
||||
--enable-strip \
|
||||
--enable-rust-simd \
|
||||
--enable-application=browser \
|
||||
--enable-release \
|
||||
--enable-alsa \
|
||||
--without-system-nspr \
|
||||
--without-system-nss \
|
||||
--with-system-jpeg \
|
||||
--with-system-zlib \
|
||||
--with-system-png \
|
||||
--without-system-libvpx \
|
||||
--with-system-pixman \
|
||||
--with-system-ffi \
|
||||
--disable-profiling \
|
||||
--disable-accessibility \
|
||||
--disable-tests \
|
||||
--disable-system-extension-dirs \
|
||||
--disable-parental-controls \
|
||||
--disable-debug-symbols \
|
||||
--disable-callgrind \
|
||||
--disable-vtune \
|
||||
--disable-elf-hack \
|
||||
--disable-gold \
|
||||
--disable-jemalloc \
|
||||
--disable-pulseaudio \
|
||||
--disable-crashreporter \
|
||||
--disable-updater \
|
||||
--disable-dbus \
|
||||
--disable-eme \
|
||||
--disable-necko-wifi
|
||||
cat > .mozconfig << EOF
|
||||
ac_add_options --prefix=/usr
|
||||
ac_add_options --libdir=/usr/lib
|
||||
ac_add_options --enable-alsa
|
||||
ac_add_options --enable-strip
|
||||
ac_add_options --enable-release
|
||||
ac_add_options --enable-rust-simd
|
||||
ac_add_options --enable-install-strip
|
||||
ac_add_options --enable-official-branding
|
||||
ac_add_options --enable-application=browser
|
||||
ac_add_options --enable-optimize="${CFLAGS:-} -w"
|
||||
ac_add_options --with-system-ffi
|
||||
ac_add_options --with-system-png
|
||||
ac_add_options --with-system-jpeg
|
||||
ac_add_options --with-system-zlib
|
||||
ac_add_options --with-system-pixman
|
||||
ac_add_options --without-system-nss
|
||||
ac_add_options --without-system-nspr
|
||||
ac_add_options --without-system-libvpx
|
||||
ac_add_options --disable-eme
|
||||
ac_add_options --disable-dbus
|
||||
ac_add_options --disable-gold
|
||||
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-pulseaudio
|
||||
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
|
||||
|
||||
make
|
||||
make DESTDIR="$1" install
|
||||
./mach build
|
||||
DESTDIR="$1" ./mach install
|
||||
|
||||
# Remove a lot of uneeded "stuff".
|
||||
rm -rf "$1/usr/include"
|
||||
rm -rf "$1/usr/lib/firefox-devel"
|
||||
rm -rf "$1/usr/share/idl"
|
||||
rm -rf "$1/usr/lib/firefox/gtk2" # Drop GTK+2 runtime dependency.
|
||||
rm -f "$1/usr/lib/firefox/browser/features/fxmonitor@mozilla.org.xpi"
|
||||
rm -f "$1/usr/lib/firefox/browser/features/screenshots@mozilla.org.xpi"
|
||||
rm -f "$1/usr/lib/firefox/browser/features/webcompat-reporter@mozilla.org.xpi"
|
||||
|
@ -1,4 +1,4 @@
|
||||
d69e84e8b8449f828683d274c24e03095858362bfed21b08bdd7fe715eea5398
|
||||
3225f583c5e36bdf52ad16f71a2c359deb0c765c38205acdeb6b7b6520ac5494
|
||||
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
|
||||
3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f
|
||||
59b8b435d2986e213cb6833e143987451e3f20edeb810bb941df69c4a730bb7b
|
||||
f18d00475ab9d7c4e8bd2dfcda00dc7ff4a1f930e3ffcee420aeadf636469cef
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
https://ftp.mozilla.org/pub/firefox/releases/83.0/source/firefox-83.0.source.tar.xz
|
||||
https://ftp.mozilla.org/pub/firefox/releases/89.0.2/source/firefox-89.0.2.source.tar.xz
|
||||
https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf2.13/
|
||||
https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz yasm/
|
||||
patches/no-gtk2.patch
|
||||
|
@ -1 +1 @@
|
||||
83.0 1
|
||||
89.0.2 1
|
||||
|
Loading…
Reference in New Issue
Block a user