firefox: 81.0.1

This commit is contained in:
Dylan Araps 2020-10-06 16:41:48 +03:00
parent 6a0bc54210
commit 4206968223
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
10 changed files with 3 additions and 1717 deletions

View File

@ -1,4 +1,4 @@
9328745012178aee5a4f47c833539f7872cc6e0f20a853568a313e60cabd1ec8
7eac8d3eaaf580e0f30e9bd79d798c3138aaa5fa2737616fa08c588b730e8fff
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f
f203806dd5b52b83f0dae935e88474b6de5d7ce2e3af134d871a5ba4a410d379

View File

@ -1,4 +1,4 @@
https://ftp.mozilla.org/pub/firefox/releases/81.0/source/firefox-81.0.source.tar.xz
https://ftp.mozilla.org/pub/firefox/releases/81.0.1/source/firefox-81.0.1.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

View File

@ -1 +1 @@
81.0 1
81.0.1 1

View File

@ -1,99 +0,0 @@
#!/bin/sh -e
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
sed -i '/net\/if/d' \
media/mtransport/third_party/nICEr/src/stun/addrs-netlink.c
# Build autoconf 2.13 for Firefox's sole use.
# See: https://bugzilla.mozilla.org/show_bug.cgi?id=104642
(
cd autoconf2.13
./configure \
--prefix="$PWD/../junk" \
--program-suffix=-2.13
make
make install
)
# Build yasm for Firefox's sole use.
# Firefox is the only package which needs it
# and upstream is kinda dead.
(
cd yasm
./configure \
--prefix="$PWD/../junk"
make
make install
)
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++}"
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox"
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
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
make
make DESTDIR="$1" 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"
rm -f "$1/usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi"
rm -f "$1/usr/lib/firefox/browser/features/doh-rollout@mozilla.org.xpi"

View File

@ -1,4 +0,0 @@
7eac8d3eaaf580e0f30e9bd79d798c3138aaa5fa2737616fa08c588b730e8fff
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f
f203806dd5b52b83f0dae935e88474b6de5d7ce2e3af134d871a5ba4a410d379

View File

@ -1,50 +0,0 @@
#alsa-lib
#atk
#bzip2
#cairo
#cbindgen make
#clang make
#expat
#ffmpeg
#fontconfig
#freetype-harfbuzz
#fribidi
#gdk-pixbuf
#glib
#gtk+3
#libICE
#libSM
#libX11
#libXau
#libXcomposite
#libXcursor
#libXdamage
#libXext
#libXfixes
#libXi
#libXinerama
#libXrandr
#libXrender
#libXt
#libXxf86vm
#libdrm
#libepoxy
#libffi
#libjpeg-turbo
#libpng
#libvpx
#libxcb
#libxshmfence
#llvm make
#m4 make
#mesa
#nasm make
#nodejs make
#pango
#perl make
#pixman
#pkgconf make
#python make
#rust make
#zip make
#zlib

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +0,0 @@
#!/bin/sh
cat <<EOF
NOTE: Install the 'hicolor-icon-theme' package if
no other icon themes are installed.
NOTE: Install the 'firefox-privacy' package to
enable extra privacy restrictions.
NOTE: This includes more telemetry removals,
hardened settings, no phoning-home etc.
EOF

View File

@ -1,4 +0,0 @@
https://ftp.mozilla.org/pub/firefox/releases/81.0.1/source/firefox-81.0.1.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

View File

@ -1 +0,0 @@
81.0.1 1