mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-04 23:12:28 +00:00
firefox [testing]: 81.0.1
This commit is contained in:
parent
cb9a29266e
commit
66b4e68212
99
testing/firefox/build
Executable file
99
testing/firefox/build
Executable file
|
@ -0,0 +1,99 @@
|
||||||
|
#!/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"
|
4
testing/firefox/checksums
Normal file
4
testing/firefox/checksums
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
7eac8d3eaaf580e0f30e9bd79d798c3138aaa5fa2737616fa08c588b730e8fff
|
||||||
|
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
|
||||||
|
3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f
|
||||||
|
f203806dd5b52b83f0dae935e88474b6de5d7ce2e3af134d871a5ba4a410d379
|
50
testing/firefox/depends
Normal file
50
testing/firefox/depends
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
#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
|
1542
testing/firefox/patches/no-gtk2.patch
Normal file
1542
testing/firefox/patches/no-gtk2.patch
Normal file
File diff suppressed because it is too large
Load Diff
14
testing/firefox/post-install
Executable file
14
testing/firefox/post-install
Executable file
|
@ -0,0 +1,14 @@
|
||||||
|
#!/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
|
4
testing/firefox/sources
Normal file
4
testing/firefox/sources
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
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
|
1
testing/firefox/version
Normal file
1
testing/firefox/version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
81.0.1 1
|
Loading…
Reference in New Issue
Block a user