mirror of
https://codeberg.org/kiss-community/repo
synced 2024-08-21 13:46:17 +00:00
firefox: remove from testing
This commit is contained in:
parent
5bc1562889
commit
60aca989dd
|
@ -1,126 +0,0 @@
|
||||||
firefox
|
|
||||||
________________________________________________________________________________
|
|
||||||
|
|
||||||
Mozilla Firefox or simply Firefox, is a free and open-source web browser
|
|
||||||
developed by the Mozilla Foundation and its subsidiary, the Mozilla Corporation.
|
|
||||||
Firefox uses the Gecko rendering engine to display web pages. [0]
|
|
||||||
|
|
||||||
Upstream: https://www.mozilla.org/firefox
|
|
||||||
|
|
||||||
|
|
||||||
[000] Index
|
|
||||||
________________________________________________________________________________
|
|
||||||
|
|
||||||
* Installation ........................................................... [001]
|
|
||||||
* Runtime Dependencies ................................................. [002]
|
|
||||||
* Privacy Package ...................................................... [003]
|
|
||||||
* Setup .................................................................. [004]
|
|
||||||
* Enable VAAPI Acceleration ............................................ [005]
|
|
||||||
* Usage .................................................................. [006]
|
|
||||||
* References ............................................................. [007]
|
|
||||||
|
|
||||||
|
|
||||||
[001] Installation
|
|
||||||
________________________________________________________________________________
|
|
||||||
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
| |
|
|
||||||
| $ kiss b firefox |
|
|
||||||
| |
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
|
|
||||||
|
|
||||||
--[002] Runtime Dependencies ---------------------------------------------------
|
|
||||||
|
|
||||||
Firefox needs a few additional things to be fully functional. One is an icon
|
|
||||||
theme and the other is a font. If you have already installed the fonts and
|
|
||||||
icon theme of your choosing, this step can be skipped.
|
|
||||||
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
| |
|
|
||||||
| $ kiss b [hicolor-icon-theme|adwaita-icon-theme] |
|
|
||||||
| $ kiss b ttf-croscore |
|
|
||||||
| |
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
|
|
||||||
|
|
||||||
--[003] Privacy Package --------------------------------------------------------
|
|
||||||
|
|
||||||
Provided is also an optional privacy package which makes Firefox perform zero
|
|
||||||
unsolicited network requests. More information can be found in the
|
|
||||||
documentation (@/firefox-privacy) Expect some website breakage when using this
|
|
||||||
privacy package YMMV.
|
|
||||||
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
| |
|
|
||||||
| $ kiss b firefox-privacy |
|
|
||||||
| |
|
|
||||||
+----------------------------------------------------------------------------+
|
|
||||||
|
|
||||||
|
|
||||||
[004] Setup
|
|
||||||
________________________________________________________________________________
|
|
||||||
|
|
||||||
As of Firefox 91. There is no need to set special environment variables to
|
|
||||||
enable Wayland support (in a Wayland only environment like ours). The browser
|
|
||||||
should start with no further configuration.
|
|
||||||
|
|
||||||
|
|
||||||
--[005] Enable VAAPI Acceleration ----------------------------------------------
|
|
||||||
|
|
||||||
Make sure that the following are set in your about:config page.
|
|
||||||
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
| |
|
|
||||||
| about:config |
|
|
||||||
| |
|
|
||||||
| gfx.webrender.all=true |
|
|
||||||
| media.av1.enabled=false |
|
|
||||||
| media.ffmpeg.dmabuf-textures.disabled=false |
|
|
||||||
| media.ffmpeg.vaapi.enabled=true |
|
|
||||||
| media.ffvpx.enabled=false |
|
|
||||||
| |
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
|
|
||||||
If using AMDGPU, the following kernel option must be enabled. [1]
|
|
||||||
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
| |
|
|
||||||
| .config |
|
|
||||||
| |
|
|
||||||
| CONFIG_CHECKPOINT_RESTORE=y |
|
|
||||||
| |
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
|
|
||||||
You may also need to set the following environment variable.
|
|
||||||
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
| |
|
|
||||||
| .profile |
|
|
||||||
| |
|
|
||||||
| export MOZ_WAYLAND_DRM_DEVICE=/dev/dri/renderD128 |
|
|
||||||
| |
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
|
|
||||||
To verify that VAAPI is working, launch Firefox with the following argument and
|
|
||||||
attempt to watch a video. Pay attention for errors in the output.
|
|
||||||
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
| |
|
|
||||||
| $ firefox --MOZ_LOG=PlatformDecoderModule:4 |
|
|
||||||
| |
|
|
||||||
+------------------------------------------------------------------------------+
|
|
||||||
|
|
||||||
|
|
||||||
[006] Usage
|
|
||||||
________________________________________________________________________________
|
|
||||||
|
|
||||||
Refer to the browser's help output and online documentation for further
|
|
||||||
information.
|
|
||||||
|
|
||||||
|
|
||||||
[007] References
|
|
||||||
________________________________________________________________________________
|
|
||||||
|
|
||||||
[0] https://en.wikipedia.org/wiki/Firefox
|
|
||||||
|
|
|
@ -1,119 +0,0 @@
|
||||||
#!/bin/sh -e
|
|
||||||
|
|
||||||
for p in *.patch; do
|
|
||||||
patch -p1 < "$p"
|
|
||||||
done
|
|
||||||
|
|
||||||
# X11-less webrtc patch from bugzilla. Very large so a URL is used.
|
|
||||||
patch -p1 < attachment.cgi\?id=9202429
|
|
||||||
|
|
||||||
# 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=/
|
|
||||||
|
|
||||||
make
|
|
||||||
make DESTDIR="$PWD/../junk" install
|
|
||||||
)
|
|
||||||
|
|
||||||
# Build zip/unzip for Firefox's sole use.
|
|
||||||
for f in zip unzip; do (
|
|
||||||
cd "$f"
|
|
||||||
|
|
||||||
make \
|
|
||||||
CC="$CC $CFLAGS $CXXFLAGS" \
|
|
||||||
-f unix/Makefile generic
|
|
||||||
|
|
||||||
make \
|
|
||||||
prefix="$PWD/../junk" \
|
|
||||||
-f unix/Makefile install
|
|
||||||
) done
|
|
||||||
|
|
||||||
export PATH="$PWD/junk/bin:$PATH"
|
|
||||||
|
|
||||||
# If using libc++, CXXSTDLIB needs to be set manually.
|
|
||||||
case $("$CC" -print-file-name=libc++.so) in */*)
|
|
||||||
export CXXSTDLIB=c++
|
|
||||||
esac
|
|
||||||
|
|
||||||
# Instruct the compiler to trim absolute paths in resulting binaries and instead
|
|
||||||
# change them to relative paths ($PWD/... ./...).
|
|
||||||
export RUSTFLAGS="$RUSTFLAGS --remap-path-prefix=$PWD=."
|
|
||||||
|
|
||||||
export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/firefox,--enable-new-dtags"
|
|
||||||
export RUSTFLAGS="$RUSTFLAGS -Cdebuginfo=0"
|
|
||||||
export MACH_USE_SYSTEM_PYTHON=1
|
|
||||||
export MOZ_DEBUG_FLAGS=-g0
|
|
||||||
export MOZBUILD_STATE_PATH=$PWD/state
|
|
||||||
export MOZ_NOSPAM=1
|
|
||||||
|
|
||||||
cat > .mozconfig << EOF
|
|
||||||
ac_add_options --enable-default-toolkit=cairo-gtk3-wayland
|
|
||||||
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-libvpx
|
|
||||||
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 --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
|
|
||||||
|
|
||||||
./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/usr/lib/firefox/browser/features/fxmonitor@mozilla.org.xpi" \
|
|
||||||
"$1/usr/lib/firefox/browser/features/screenshots@mozilla.org.xpi" \
|
|
||||||
"$1/usr/lib/firefox/browser/features/webcompat-reporter@mozilla.org.xpi" \
|
|
||||||
"$1/usr/lib/firefox/browser/features/webcompat@mozilla.org.xpi" \
|
|
||||||
"$1/usr/lib/firefox/browser/features/doh-rollout@mozilla.org.xpi"
|
|
||||||
|
|
|
@ -1,10 +0,0 @@
|
||||||
8831811a2bf240c3bb6dc24bd56761bfaf08e91ba182ee49e1dbad8edc722ef6
|
|
||||||
f0611136bee505811e9ca11ca7ac188ef5323a8e2ef19cffd3edb3cf08fd791e
|
|
||||||
3dce6601b495f5b3d45b59f7d2492a340ee7e84b5beca17e48f862502bd5603f
|
|
||||||
f0e8bb1f9b7eb0b01285495a2699df3a4b766784c1765a8f1aeedf63c0806369
|
|
||||||
036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37
|
|
||||||
42b3c7a29e61905be0e7425b8786870eb1d1c9e0f74c3f0909521b2ac52ac702
|
|
||||||
2b5732c15e7eade2a01ad9794de372f25fbb75e4e2f53bce089548bcbbba20d1
|
|
||||||
4b06181475f667ae2851540552ade56d5257a03cd21da588e2eb1e538bbc8176
|
|
||||||
45a0db13fd5cf7b4686613fd8096db99633cc260318c6ef002882d8abd1a20c8
|
|
||||||
47d30d0b73d3174f8ebbb6d686892fa5435beb3355ddacded70194ef0249ba51
|
|
|
@ -1,31 +0,0 @@
|
||||||
alsa-lib
|
|
||||||
atk
|
|
||||||
bzip2
|
|
||||||
cairo
|
|
||||||
cbindgen make
|
|
||||||
clang make
|
|
||||||
expat
|
|
||||||
ffmpeg
|
|
||||||
fontconfig
|
|
||||||
freetype-harfbuzz
|
|
||||||
gdk-pixbuf
|
|
||||||
glib
|
|
||||||
gtk+3
|
|
||||||
libdrm
|
|
||||||
libffi
|
|
||||||
libjpeg-turbo
|
|
||||||
libpng
|
|
||||||
libvpx
|
|
||||||
llvm make
|
|
||||||
m4 make
|
|
||||||
mesa
|
|
||||||
nasm make
|
|
||||||
nodejs make
|
|
||||||
pango
|
|
||||||
perl make
|
|
||||||
pixman
|
|
||||||
pkgconf make
|
|
||||||
python make
|
|
||||||
rust make
|
|
||||||
wayland
|
|
||||||
zlib
|
|
|
@ -1,48 +0,0 @@
|
||||||
diff --git a/security/nss/lib/freebl/Makefile b/security/nss/lib/freebl/Makefile
|
|
||||||
index 0b8c6f4..e9668e1 100644
|
|
||||||
--- a/security/nss/lib/freebl/Makefile
|
|
||||||
+++ b/security/nss/lib/freebl/Makefile
|
|
||||||
@@ -753,7 +753,6 @@ $(OBJDIR)/$(PROG_PREFIX)intel-gcm-wrap$(OBJ_SUFFIX): CFLAGS += -mssse3
|
|
||||||
# .set Htbl, %rdi
|
|
||||||
# So we can't use Clang's integrated assembler with intel-gcm.s.
|
|
||||||
ifdef CC_IS_CLANG
|
|
||||||
-$(OBJDIR)/$(PROG_PREFIX)intel-gcm$(OBJ_SUFFIX): CFLAGS += -no-integrated-as
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
diff --git a/security/nss/lib/freebl/freebl.gyp b/security/nss/lib/freebl/freebl.gyp
|
|
||||||
index e7703ba..3ee3435 100644
|
|
||||||
--- a/security/nss/lib/freebl/freebl.gyp
|
|
||||||
+++ b/security/nss/lib/freebl/freebl.gyp
|
|
||||||
@@ -19,13 +19,10 @@
|
|
||||||
'conditions': [
|
|
||||||
[ 'cc_is_clang==1', {
|
|
||||||
'cflags': [
|
|
||||||
- '-no-integrated-as',
|
|
||||||
],
|
|
||||||
'cflags_mozilla': [
|
|
||||||
- '-no-integrated-as',
|
|
||||||
],
|
|
||||||
'asflags_mozilla': [
|
|
||||||
- '-no-integrated-as',
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
],
|
|
||||||
diff --git a/security/nss/lib/freebl/freebl_base.gypi b/security/nss/lib/freebl/freebl_base.gypi
|
|
||||||
index afbffac..795bbd8 100644
|
|
||||||
--- a/security/nss/lib/freebl/freebl_base.gypi
|
|
||||||
+++ b/security/nss/lib/freebl/freebl_base.gypi
|
|
||||||
@@ -74,13 +74,10 @@
|
|
||||||
'conditions': [
|
|
||||||
[ 'cc_is_clang==1 and fuzz!=1 and coverage!=1', {
|
|
||||||
'cflags': [
|
|
||||||
- '-no-integrated-as',
|
|
||||||
],
|
|
||||||
'cflags_mozilla': [
|
|
||||||
- '-no-integrated-as',
|
|
||||||
],
|
|
||||||
'asflags_mozilla': [
|
|
||||||
- '-no-integrated-as',
|
|
||||||
],
|
|
||||||
}],
|
|
||||||
],
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff --git a/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c b/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c
|
|
||||||
index 73e85c6..9eca548 100644
|
|
||||||
--- a/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c
|
|
||||||
+++ b/dom/media/webrtc/transport/third_party/nICEr/src/stun/addrs-netlink.c
|
|
||||||
@@ -31,6 +31,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#if defined(LINUX)
|
|
||||||
+#include <net/if.h>
|
|
||||||
#include "addrs-netlink.h"
|
|
||||||
#include <csi_platform.h>
|
|
||||||
#include <assert.h>
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff --git a/config/system-headers.mozbuild b/config/system-headers.mozbuild
|
|
||||||
index 6e017df..7659b8e 100644
|
|
||||||
--- a/config/system-headers.mozbuild
|
|
||||||
+++ b/config/system-headers.mozbuild
|
|
||||||
@@ -267,7 +267,6 @@ system_headers = [
|
|
||||||
'freetype/t1tables.h',
|
|
||||||
'freetype/ttnameid.h',
|
|
||||||
'freetype/tttables.h',
|
|
||||||
- 'fribidi/fribidi.h',
|
|
||||||
'FSp_fopen.h',
|
|
||||||
'fstream',
|
|
||||||
'fstream.h',
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,12 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
cat <<EOF
|
|
||||||
|
|
||||||
Run 'kiss help firefox' for setup
|
|
||||||
information and general troubleshooting.
|
|
||||||
|
|
||||||
Also available here:
|
|
||||||
|
|
||||||
https://kisslinux.org/wiki/software/firefox
|
|
||||||
|
|
||||||
EOF
|
|
|
@ -1,10 +0,0 @@
|
||||||
https://ftp.mozilla.org/pub/firefox/releases/VERSION/source/firefox-VERSION.source.tar.xz
|
|
||||||
https://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz autoconf2.13/
|
|
||||||
https://github.com/yasm/yasm/releases/download/v1.3.0/yasm-1.3.0.tar.gz yasm
|
|
||||||
https://fossies.org/linux/misc/zip30.tar.gz zip
|
|
||||||
https://fossies.org/linux/misc/unzip60.tar.gz unzip
|
|
||||||
patches/fix-clang-as.patch
|
|
||||||
patches/fix-linux-header.patch
|
|
||||||
patches/no-fribidi.patch
|
|
||||||
patches/no-x11.patch
|
|
||||||
https://bugzilla.mozilla.org/attachment.cgi?id=9202429
|
|
|
@ -1 +0,0 @@
|
||||||
93.0b7 1
|
|
Loading…
Reference in New Issue
Block a user