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
|
#!/bin/sh -e
|
||||||
|
|
||||||
for patch in *.patch; do
|
patch -p1 < no-gtk2.patch
|
||||||
patch -p1 < "$patch"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Remove libc header which conflicts with 7 or so Linux
|
# Remove libc header which conflicts with 7 or so Linux
|
||||||
# kernel headers. See: https://github.com/kisslinux/repo/issues/207
|
# 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"
|
export PATH="$PWD/junk/bin:$PATH"
|
||||||
|
|
||||||
mkdir -p build
|
# Force clang for builds.
|
||||||
cd build
|
export CC="${CC:-clang}"
|
||||||
|
export CXX="${CXX:-clang++}"
|
||||||
# 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++}"
|
|
||||||
|
|
||||||
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox"
|
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox"
|
||||||
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
|
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
|
||||||
|
export MACH_USE_SYSTEM_PYTHON=1
|
||||||
export MOZ_DEBUG_FLAGS=-g0
|
export MOZ_DEBUG_FLAGS=-g0
|
||||||
export MOZ_NOSPAM=1
|
export MOZ_NOSPAM=1
|
||||||
|
|
||||||
../configure \
|
cat > .mozconfig << EOF
|
||||||
--prefix=/usr \
|
ac_add_options --prefix=/usr
|
||||||
--libdir=/usr/lib \
|
ac_add_options --libdir=/usr/lib
|
||||||
--enable-official-branding \
|
ac_add_options --enable-alsa
|
||||||
--enable-optimize="$CFLAGS -w" \
|
ac_add_options --enable-strip
|
||||||
--enable-install-strip \
|
ac_add_options --enable-release
|
||||||
--enable-strip \
|
ac_add_options --enable-rust-simd
|
||||||
--enable-rust-simd \
|
ac_add_options --enable-install-strip
|
||||||
--enable-application=browser \
|
ac_add_options --enable-official-branding
|
||||||
--enable-release \
|
ac_add_options --enable-application=browser
|
||||||
--enable-alsa \
|
ac_add_options --enable-optimize="${CFLAGS:-} -w"
|
||||||
--without-system-nspr \
|
ac_add_options --with-system-ffi
|
||||||
--without-system-nss \
|
ac_add_options --with-system-png
|
||||||
--with-system-jpeg \
|
ac_add_options --with-system-jpeg
|
||||||
--with-system-zlib \
|
ac_add_options --with-system-zlib
|
||||||
--with-system-png \
|
ac_add_options --with-system-pixman
|
||||||
--without-system-libvpx \
|
ac_add_options --without-system-nss
|
||||||
--with-system-pixman \
|
ac_add_options --without-system-nspr
|
||||||
--with-system-ffi \
|
ac_add_options --without-system-libvpx
|
||||||
--disable-profiling \
|
ac_add_options --disable-eme
|
||||||
--disable-accessibility \
|
ac_add_options --disable-dbus
|
||||||
--disable-tests \
|
ac_add_options --disable-gold
|
||||||
--disable-system-extension-dirs \
|
ac_add_options --disable-tests
|
||||||
--disable-parental-controls \
|
ac_add_options --disable-vtune
|
||||||
--disable-debug-symbols \
|
ac_add_options --disable-updater
|
||||||
--disable-callgrind \
|
ac_add_options --disable-jemalloc
|
||||||
--disable-vtune \
|
ac_add_options --disable-elf-hack
|
||||||
--disable-elf-hack \
|
ac_add_options --disable-callgrind
|
||||||
--disable-gold \
|
ac_add_options --disable-profiling
|
||||||
--disable-jemalloc \
|
ac_add_options --disable-necko-wifi
|
||||||
--disable-pulseaudio \
|
ac_add_options --disable-crashreporter
|
||||||
--disable-crashreporter \
|
ac_add_options --disable-pulseaudio
|
||||||
--disable-updater \
|
ac_add_options --disable-accessibility
|
||||||
--disable-dbus \
|
ac_add_options --disable-debug
|
||||||
--disable-eme \
|
ac_add_options --disable-debug-symbols
|
||||||
--disable-necko-wifi
|
ac_add_options --disable-parental-controls
|
||||||
|
ac_add_options --disable-system-extension-dirs
|
||||||
|
EOF
|
||||||
|
|
||||||
make
|
./mach build
|
||||||
make DESTDIR="$1" install
|
DESTDIR="$1" ./mach install
|
||||||
|
|
||||||
# Remove a lot of uneeded "stuff".
|
# Remove a lot of uneeded "stuff".
|
||||||
rm -rf "$1/usr/include"
|
rm -rf "$1/usr/include"
|
||||||
rm -rf "$1/usr/lib/firefox-devel"
|
rm -rf "$1/usr/lib/firefox-devel"
|
||||||
rm -rf "$1/usr/share/idl"
|
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/fxmonitor@mozilla.org.xpi"
|
||||||
rm -f "$1/usr/lib/firefox/browser/features/screenshots@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"
|
rm -f "$1/usr/lib/firefox/browser/features/webcompat-reporter@mozilla.org.xpi"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
d69e84e8b8449f828683d274c24e03095858362bfed21b08bdd7fe715eea5398
|
3225f583c5e36bdf52ad16f71a2c359deb0c765c38205acdeb6b7b6520ac5494
|
||||||
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
|
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
|
||||||
3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f
|
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://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/
|
https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz yasm/
|
||||||
patches/no-gtk2.patch
|
patches/no-gtk2.patch
|
||||||
|
@ -1 +1 @@
|
|||||||
83.0 1
|
89.0.2 1
|
||||||
|
Loading…
Reference in New Issue
Block a user