Revert "firefox package is retired on branch c10s for CS-2551"

This reverts commit 234e1b40ad.
This commit is contained in:
Johnny Hughes 2024-10-14 09:34:09 -05:00
parent 234e1b40ad
commit cda4a31a3d
22 changed files with 1192 additions and 4 deletions

356
.gitignore vendored Normal file
View File

@ -0,0 +1,356 @@
/firefox-7.0b6.source.tar.bz2
/firefox-langpacks-7.0b6-20110919.tar.bz2
/firefox-langpacks-8.0-20111004.tar.bz2
/firefox-langpacks-8.0-20111007.tar.bz2
/firefox-8.0b2.source.tar.bz2
/firefox-8.0b3.source.tar.bz2
/firefox-langpacks-8.0-20111014.tar.bz2
/firefox-10.0.source.tar.bz2
/firefox-langpacks-10-20120128.tar.bz2
/firefox-langpacks-10.0-20120129.tar.bz2
/firefox-10.0esr.source.tar.bz2
/firefox-langpacks-10-20120207.tar.bz2
/firefox-langpacks-10.0-20120207.tar.bz2
/firefox-10.0.1esr.source.tar.bz2
/firefox-langpacks-10.0.1esr-20120209.tar.bz2
/firefox-10.0.3esr.source.tar.bz2
/firefox-langpacks-10.0.3-20120306.tar.bz2
/firefox-langpacks-10.0.3esr-20120306.tar.bz2
/firefox-10.0.7esr.source.tar.bz2
/firefox-langpacks-10.0.7esr-20120825.tar.bz2
/firefox-10.0.8esr.source.tar.bz2
/firefox-langpacks-10.0.8esr-20121008.tar.bz2
/firefox-17.0.1esr.source.tar.bz2
/firefox-langpacks-17.0.1esr-20121220.tar.bz2
/firefox-17.0.2esr.source.tar.bz2
/firefox-langpacks-17.0.2esr-20130110.tar.bz2
/firefox-langpacks-17.0.4esr-20130313.tar.bz2
/firefox-17.0.4esr.source.tar.bz2
/firefox-17.0.5esr.source.tar.bz2
/firefox-langpacks-17.0.5esr-20130329.tar.bz2
/firefox-17.0.6esr.source.tar.bz2
/firefox-langpacks-17.0.6esr-20130517.tar.bz2
/firefox-17.0.7esr.source.tar.bz2
/firefox-langpacks-17.0.7esr-20130620.tar.bz2
/firefox-17.0.9esr.source.tar.bz2
/firefox-langpacks-17.0.9esr-20130912.tar.bz2
/firefox-24.0esr.source.tar.bz2
/firefox-langpacks-24.0-20131031.tar.bz2
/firefox-langpacks-24.0esr-20131031.tar.bz2
/firefox-24.1.0esr.source.tar.bz2
/firefox-langpacks-24.1.0esr-20131106.tar.bz2
/firefox-24.3.0esr.source.tar.bz2
/firefox-langpacks-24.3.0esr-20140130.tar.bz2
/firefox-24.4.0esr.source.tar.bz2
/firefox-langpacks-24.4.0esr-20140318.tar.bz2
/firefox-24.5.0esr.source.tar.bz2
/firefox-langpacks-24.5.0esr-20140422.tar.bz2
/firefox-24.6.0esr.source.tar.bz2
/firefox-langpacks-24.6.0esr-20140604.tar.bz2
/firefox-31.0esr.source.tar.bz2
/firefox-langpacks-31.0esr-20140721.tar.bz2
/firefox-langpacks-31.1.0esr-20140828.tar.bz2
/firefox-31.1.0esr.source.tar.bz2
/firefox-31.2.0esr.source.tar.bz2
/firefox-langpacks-31.2.0esr-20141007.tar.bz2
/firefox-langpacks-31.2.0esr-20141013.tar.bz2
/firefox-31.3.0esr.source.tar.bz2
/firefox-langpacks-33.3.0esr-20141126.tar.bz2
/firefox-langpacks-31.3.0esr-20141126.tar.bz2
/firefox-31.4.0esr.source.tar.bz2
/firefox-langpacks-31.4.0esr-20150106.tar.bz2
/firefox-langpacks-31.5.0esr-20150218.tar.bz2
/firefox-31.5.0esr.source.tar.bz2
/firefox-langpacks-37.9.0esr-20150218.tar.bz2
/firefox-37.9.0esr.source.tar.bz2
/devhelp-2.28.1-6.el6_6.src.rpm
/yasm-1.2.0-3.el7_0.src.rpm
/firefox-38.0b1.source.tar.bz2
/firefox-langpacks-38.0b1-20150401.tar.bz2
/firefox-langpacks-38.0b3-20150410.tar.bz2
/firefox-38.0b3.source.tar.bz2
/firefox-langpacks-38.0b5-20150420.tar.bz2
/firefox-38.0b5.source.tar.bz2
/firefox-38.0b6.source.tar.bz2
/firefox-langpacks-38.0b6-20150421.tar.bz2
/firefox-38.0b8.source.tar.bz2
/firefox-langpacks-38.0b8-20150427.tar.bz2
/firefox-38.0.source.tar.bz2
/firefox-langpacks-38.0-20150504.tar.bz2
/firefox-38.0esr.source.tar.bz2
/firefox-langpacks-38.0esr-20150506.tar.bz2
/firefox-38.0.1esr.source.tar.bz2
/firefox-langpacks-38.0.1esr-20150515.tar.bz2
/firefox-38.1.0esr.source.tar.bz2
/firefox-langpacks-38.1.0esr-20150625.tar.bz2
/firefox-38.2.0esr.source.tar.bz2
/firefox-langpacks-38.2.0esr-20150804.tar.bz2
/firefox-38.1.1esr.source.tar.bz2
/firefox-langpacks-38.1.1esr-20150806.tar.bz2
/firefox-langpacks-38.2.0esr-20150807.tar.bz2
/firefox-38.2.1esr.source.tar.bz2
/firefox-langpacks-38.2.1-20150826.tar.bz2
/firefox-langpacks-38.2.1esr-20150826.tar.bz2
/firefox-38.3.0esr.source.tar.bz2
/firefox-langpacks-38.3.0esr-20150915.tar.bz2
/firefox-langpacks-38.3.0esr-20150917.tar.bz2
/firefox-38.4.0esr.source.tar.bz2
/firefox-langpacks-38.4.0esr-20151029.tar.bz2
/firefox-38.5.0esr.source.tar.bz2
/firefox-langpacks-38.5.0esr-20151211.tar.bz2
/gcc48-4.8.2-15.el6.src.rpm
/firefox-langpacks-38.5.0esr-20151215.tar.bz2
/firefox-45.0aurora.source.tar.bz2
/firefox-langpacks-45.0aurora-20151215.tar.bz2
/yasm-1.2.0.tar.gz
/yasm-1.2.0-3.el7.src.rpm
/Python-2.7.8.tgz
/devtoolset-2-binutils-2.23.52.0.1-10.el5.src.rpm
/yasm-1.2.0-3.el5.src.rpm
/gcc48-4.8.2-16.el5.src.rpm
/firefox-45.0b1.source.tar.xz
/firefox-langpacks-45.0b1-20160129.tar.xz
/firefox-langpacks-45.0b3-20160208.tar.xz
/firefox-45.0b3.source.tar.xz
/firefox-langpacks-45.0b5-20160212.tar.xz
/firefox-45.0b5.source.tar.xz
/firefox-langpacks-45.0b8-20160222.tar.xz
/firefox-45.0b8.source.tar.xz
/firefox-45.0b10.source.tar.xz
/firefox-langpacks-45.0b10-20160229.tar.xz
/firefox-45.0.source.tar.xz
/firefox-langpacks-45.0-20160302.tar.xz
/firefox-45.0esr.source.tar.xz
/firefox-langpacks-45.0esr-20160307.tar.xz
/firefox-45.0.1esr.source.tar.xz
/firefox-langpacks-45.0.1esr-20160406.tar.xz
/firefox-45.0.2esr.source.tar.xz
/firefox-langpacks-45.0.2esr-20160412.tar.xz
/firefox-45.1.0esr.source.tar.xz
/firefox-langpacks-45.1.0esr-20160421.tar.xz
/firefox-45.1.1esr.source.tar.xz
/firefox-langpacks-45.1.1esr-20160504.tar.xz
/firefox-45.2.0esr.source.tar.xz
/firefox-langpacks-45.2.0esr-20160603.tar.xz
/firefox-45.3.0esr.source.tar.xz
/firefox-langpacks-45.3.0esr-20160727.tar.xz
/firefox-45.4.0esr.source.tar.xz
/firefox-langpacks-45.4.0esr-20160907.tar.xz
/firefox-45.5.0esr.source.tar.xz
/firefox-langpacks-45.5.0esr-20161108.tar.xz
/firefox-52.0-0.1.el7.src.rpm
/firefox-langpacks-52.0esr-20161108.tar.xz
/firefox-52.0esr.source.tar.xz
/firefox-52.0b1.source.tar.xz
/firefox-langpacks-52.0b1-20170127.tar.xz
/firefox-52.0b2.source.tar.xz
/firefox-langpacks-52.0b2-20170131.tar.xz
/firefox-52.0b3.source.tar.xz
/firefox-langpacks-52.0b3-20170206.tar.xz
/firefox-52.0b8.source.tar.xz
/firefox-langpacks-52.0b8-20170221.tar.xz
/firefox-52.0b9.source.tar.xz
/firefox-langpacks-52.0b9-20170227.tar.xz
/firefox-langpacks-52.0esr-20170228.tar.xz
/firefox-langpacks-52.0esr-20170306.tar.xz
/c61f5f5ead48c78a80c80db5c489bdc7cfaf8175.tar.bz2
/firefox-langpacks-60.0b3-20180313.tar.xz
/gtk3-private-3.22.26-1.el6.src.rpm
/Python-2.7.13.tar.xz
/firefox-60.0b11.source.tar.xz
/firefox-langpacks-60.0b11-20180411.tar.xz
/firefox-60.0b15.source.tar.xz
/firefox-langpacks-60.0b15-20180425.tar.xz
/firefox-60.0.source.tar.xz
/firefox-langpacks-60.0-20180502.tar.xz
/firefox-60.0esr.source.tar.xz
/firefox-langpacks-60.0esr-20180503.tar.xz
/firefox-langpacks-60.0esr-20180506.tar.xz
/libffi-3.0.13-18.el7_3.src.rpm
/firefox-60.1.0esr.source.tar.xz
/firefox-langpacks-60.1.0esr-20180620.tar.xz
/firefox-langpacks-60.1.0esr-20180622.tar.xz
/firefox-60.2.0esr.source.tar.xz
/firefox-langpacks-60.2.0esr-20180831.tar.xz
/firefox-nightly.tar.bz2
/firefox-68.0b3.source.tar.xz
/firefox-langpacks-68.0b3-20190521.tar.xz
/Python-3.6.8.tar.xz
/cbindgen-vendor.tar.xz
/nodejs-8.11.4-1.fc27.src.rpm
/firefox-68.0b13.source.tar.xz
/firefox-langpacks-68.0b13-20190625.tar.xz
/firefox-68.0esr.source.tar.xz
/firefox-langpacks-68.0esr-20190716.tar.xz
/addon-751081-latest.xpi
/firefox-68.0.1esr.source.tar.xz
/firefox-langpacks-68.0.1esr-20190726.tar.xz
/firefox-68.1.0esr.source.tar.xz
/firefox-langpacks-68.1.0esr-20190828.tar.xz
/openssl-1.0.2k-19.el7_7.src.rpm
/openssl-1.0.2k-19.bundle.el7_7.src.rpm
/openssl-1.0.2k-19.1.bundle.el7_7.src.rpm
/openssl-1.0.2k-19.2.bundle.el7_7.src.rpm
/openssl-1.0.2k-19.3.bundle.el7_7.src.rpm
/openssl-1.0.2k-19.4.bundle.el7_7.src.rpm
/openssl-1.0.2k-19.5.bundle.el7_7.src.rpm
/openssl-1.0.2k-19.6.bundle.el7_7.src.rpm
/nodejs-8.11.4-1.1.fc27.src.rpm
/nodejs-8.11.4-1.2.fc27.src.rpm
/nodejs-8.11.4-1.3.fc27.src.rpm
/firefox-68.2.0esr.source.tar.xz
/firefox-langpacks-68.2.0esr-20191017.tar.xz
/firefox-68.3.0esr.source.tar.xz
/firefox-langpacks-68.3.0esr-20191127.tar.xz
/firefox-68.4.0esr.source.tar.xz
/firefox-langpacks-68.4.0esr-20200103.tar.xz
/firefox-68.4.1esr.source.tar.xz
/firefox-langpacks-68.4.1esr-20200108.tar.xz
/firefox-68.5.0esr.source.tar.xz
/firefox-langpacks-68.5.0esr-20200205.tar.xz
/firefox-langpacks-68.5.0esr-20200207.tar.xz
/firefox-68.6.0esr.source.tar.xz
/firefox-langpacks-68.6.0esr-20200304.tar.xz
/firefox-68.7.0esr.source.tar.xz
/firefox-langpacks-68.7.0esr-20200402.tar.xz
/firefox-68.6.1esr.source.tar.xz
/firefox-langpacks-68.6.1esr-20200406.tar.xz
/firefox-langpacks-68.7.0esr-20200407.tar.xz
/firefox-68.8.0esr.source.tar.xz
/firefox-langpacks-68.8.0esr-20200429.tar.xz
/firefox-68.9.0esr.source.tar.xz
/firefox-langpacks-68.9.0esr-20200529.tar.xz
/firefox-78.0b3.source.tar.xz
/firefox-langpacks-78.0b3-20200605.tar.xz
/firefox-78.0b8.source.tar.xz
/firefox-langpacks-78.0b8-20200617.tar.xz
/nodejs-12.16.1-1.fc31.src.rpm
/nodejs-12.16.3-1.fc33.src.rpm
/nodejs-10.21.0-3.el8_0.src.rpm
/firefox-78.0esr.source.tar.xz
/firefox-langpacks-78.0esr-20200626.tar.xz
/firefox-78.0.1esr.source.tar.xz
/firefox-langpacks-78.0.1esr-20200707.tar.xz
/nspr-4.25.0-1.el8_0.src.rpm
/nss-3.53.0-1.el8_0.src.rpm
/nss-3.53.1-3.el8_0.src.rpm
/firefox-78.1.0esr.source.tar.xz
/firefox-langpacks-78.1.0esr-20200723.tar.xz
/firefox-78.2.0esr.source.tar.xz
/firefox-langpacks-78.2.0esr-20200818.tar.xz
/firefox-91.0b5.source.tar.xz
/firefox-langpacks-78.12.0esr-20210707.tar.xz
/nss-3.53.1-3.fc32.src.rpm
/nodejs-10.21.0-5.fc32.src.rpm
/firefox-91.0b8.source.tar.xz
/firefox-langpacks-91.0b8-20210729.tar.xz
/firefox-91.0b8.processed-source.tar.xz
/firefox-91.0esr.source.tar.xz
/firefox-langpacks-91.0esr-20210810.tar.xz
/firefox-91.0esr.processed-source.tar.xz
/nspr-4.31.0-1.el8_1.src.rpm
/nss-3.67.0-6.el8_1.src.rpm
/firefox-91.0.1esr.source.tar.xz
/firefox-langpacks-91.0.1esr-20210817.tar.xz
/cbindgen-vendor-0.14.3.tar.xz
/firefox-91.0.1esr.processed-source.tar.xz
/nspr-4.32.0-1.el8_1.src.rpm
/firefox-91.1.0esr.processed-source.tar.xz
/firefox-langpacks-91.1.0esr-20210915.tar.xz
/firefox-102.0b2.source.tar.xz
/firefox-langpacks-102.0b2-20220601.tar.xz
/firefox-102.0b9.source.tar.xz
/firefox-langpacks-102.0b9-20220618.tar.xz
/firefox-102.0esr.source.tar.xz
/firefox-langpacks-102.0esr-20220629.tar.xz
/nss-3.79.0-6.el8_1.src.rpm
/nspr-4.34.0-3.el8_1.src.rpm
/firefox-102.2.0esr.source.tar.xz
/firefox-langpacks-102.2.0esr-20220822.tar.xz
/firefox-102.2.0esr.processed-source.tar.xz
/firefox-102.3.0esr.source.tar.xz
/firefox-langpacks-102.3.0esr-20220913.tar.xz
/firefox-102.3.0esr.processed-source.tar.xz
/firefox-langpacks-102.4.0esr-20221012.tar.xz
/firefox-102.4.0esr.processed-source.tar.xz
/firefox-102.5.0esr.processed-source.tar.xz
/firefox-langpacks-102.5.0esr-20221109.tar.xz
/firefox-102.6.0esr.processed-source.tar.xz
/firefox-langpacks-102.6.0esr-20221206.tar.xz
/firefox-102.7.0esr.processed-source.tar.xz
/firefox-langpacks-102.7.0esr-20230110.tar.xz
/firefox-102.8.0esr.processed-source.tar.xz
/firefox-langpacks-102.8.0esr-20230207.tar.xz
/firefox-102.8.0esr.b2.processed-source.tar.xz
/firefox-langpacks-102.8.0esr-20230214.tar.xz
/firefox-102.9.0esr.processed-source.tar.xz
/firefox-langpacks-102.9.0esr-20230307.tar.xz
/firefox-102.9.0esr.b2.processed-source.tar.xz
/firefox-langpacks-102.9.0esr-20230310.tar.xz
/nss-3.79.0-11.el8_1.src.rpm
/firefox-114.0b5.processed-source.tar.xz
/firefox-langpacks-114.0b5-20230504.tar.xz
/firefox-115.0b2.processed-source.tar.xz
/firefox-langpacks-115.0b2-20230504.tar.xz
/firefox-115.0b5.processed-source.tar.xz
/firefox-115.0b8.source.tar.xz
/firefox-langpacks-115.0b8-20230621.tar.xz
/firefox-115.0b8.processed-source.tar.xz
/firefox-115.0.2esr.source.tar.xz
/firefox-langpacks-115.0.2esr-20230717.tar.xz
/firefox-115.0.2esr.processed-source.tar.xz
/firefox-115.1.0esr.source.tar.xz
/firefox-langpacks-115.1.0esr-20230802.tar.xz
/nspr-4.35.0-1.el8_1.src.rpm
/nss-3.90.0-2.el8_1.src.rpm
/firefox-115.1.0esr.processed-source.tar.xz
/nss-3.90.0-2.fc38.src.rpm
/nss-3.90.0-3.el8_1.src.rpm
/firefox-115.2.0esr.source.tar.xz
/firefox-langpacks-115.2.0esr-20230904.tar.xz
/firefox-115.2.0esr.processed-source.tar.xz
/mochitest-python.tar.gz
/nss-3.90.0-3.el9_0.src.rpm
/firefox-115.3.0esr.source.tar.xz
/firefox-langpacks-115.3.0esr-20230921.tar.xz
/firefox-115.3.0esr.processed-source.tar.xz
/firefox-langpacks-115.3.1esr-20230929.tar.xz
/firefox-115.3.1esr.processed-source.tar.xz
/firefox-langpacks-115.4.0esr-20231017.tar.xz
/firefox-115.4.0esr.processed-source.tar.xz
/firefox-115.5.0esr.processed-source.tar.xz
/firefox-langpacks-115.5.0esr-20231114.tar.xz
/firefox-115.6.0esr.processed-source.tar.xz
/firefox-langpacks-115.6.0esr-20231212.tar.xz
/firefox-115.7.0esr.processed-source.tar.xz
/firefox-langpacks-115.7.0esr-20240116.tar.xz
/firefox-115.8.0esr.processed-source.tar.xz
/firefox-langpacks-115.8.0esr-20240213.tar.xz
/firefox-115.9.0esr.processed-source.tar.xz
/firefox-langpacks-115.9.0esr-20240312.tar.xz
/firefox-115.9.0esr.b2.processed-source.tar.xz
/firefox-langpacks-115.9.0esr-20240315.tar.xz
/firefox-115.9.1esr.processed-source.tar.xz
/firefox-langpacks-115.9.1esr-20240322.tar.xz
/firefox-115.10.0esr.processed-source.tar.xz
/firefox-langpacks-115.10.0esr-20240409.tar.xz
/firefox-128.0b2.source.tar.xz
/firefox-langpacks-128.0b2-20240613.tar.xz
/firefox-128.0b2.processed-source.tar.xz
/firefox-128.0b5.processed-source.tar.xz
/firefox-langpacks-128.0b5-20240620.tar.xz
/firefox-128.0esr.processed-source.tar.xz
/firefox-langpacks-128.0esr-20240709.tar.xz
/nss-3.101.0-6.el8_8.src.rpm
/nss-3.101.0-6.el9_2.src.rpm
/nss-3.101.0-6.fc40.src.rpm
/firefox-128.1.0esr.processed-source.tar.xz
/firefox-langpacks-128.1.0esr-20240820.tar.xz
/nss-3.101.0-6.el9_0.src.rpm
/firefox-128.1esr.processed-source.tar.xz
/firefox-langpacks-128.1esr-20240820.tar.xz
/firefox-128.1.0esr.source.tar.xz
/firefox-128.2.0esr.processed-source.tar.xz
/firefox-langpacks-128.2.0esr-20240827.tar.xz
/nss-3.101.0-6.el8_0.src.rpm
/nss-3.101.0-6.el8_2.src.rpm

View File

@ -1,3 +0,0 @@
# Package Not Available
This package is not available on CentOS Stream 10.
It may be available on another branch.

View File

@ -0,0 +1,57 @@
diff -up firefox-102.0/third_party/libwebrtc/common_audio/wav_file.cc.big-endian-errors firefox-102.0/third_party/libwebrtc/common_audio/wav_file.cc
--- firefox-102.0/third_party/libwebrtc/common_audio/wav_file.cc.big-endian-errors 2022-08-17 13:19:53.056891028 +0200
+++ firefox-102.0/third_party/libwebrtc/common_audio/wav_file.cc 2022-08-17 13:19:57.251879556 +0200
@@ -89,9 +89,6 @@ void WavReader::Reset() {
size_t WavReader::ReadSamples(const size_t num_samples,
int16_t* const samples) {
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
-#error "Need to convert samples to big-endian when reading from WAV file"
-#endif
size_t num_samples_left_to_read = num_samples;
size_t next_chunk_start = 0;
@@ -129,9 +126,6 @@ size_t WavReader::ReadSamples(const size
}
size_t WavReader::ReadSamples(const size_t num_samples, float* const samples) {
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
-#error "Need to convert samples to big-endian when reading from WAV file"
-#endif
size_t num_samples_left_to_read = num_samples;
size_t next_chunk_start = 0;
@@ -213,9 +207,6 @@ WavWriter::WavWriter(FileWrapper file,
}
void WavWriter::WriteSamples(const int16_t* samples, size_t num_samples) {
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
-#error "Need to convert samples to little-endian when writing to WAV file"
-#endif
for (size_t i = 0; i < num_samples; i += kMaxChunksize) {
const size_t num_remaining_samples = num_samples - i;
@@ -243,9 +234,6 @@ void WavWriter::WriteSamples(const int16
}
void WavWriter::WriteSamples(const float* samples, size_t num_samples) {
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
-#error "Need to convert samples to little-endian when writing to WAV file"
-#endif
for (size_t i = 0; i < num_samples; i += kMaxChunksize) {
const size_t num_remaining_samples = num_samples - i;
diff -up firefox-102.0/third_party/libwebrtc/common_audio/wav_header.cc.big-endian-errors firefox-102.0/third_party/libwebrtc/common_audio/wav_header.cc
--- firefox-102.0/third_party/libwebrtc/common_audio/wav_header.cc.big-endian-errors 2022-08-17 13:18:04.688187393 +0200
+++ firefox-102.0/third_party/libwebrtc/common_audio/wav_header.cc 2022-08-17 13:18:22.451138816 +0200
@@ -26,10 +26,6 @@
namespace webrtc {
namespace {
-#ifndef WEBRTC_ARCH_LITTLE_ENDIAN
-#error "Code not working properly for big endian platforms."
-#endif
-
#pragma pack(2)
struct ChunkHeader {
uint32_t ID;

View File

@ -0,0 +1,12 @@
diff -up firefox-128.0/toolkit/moz.configure.disable-elfhack firefox-128.0/toolkit/moz.configure
--- firefox-128.0/toolkit/moz.configure.disable-elfhack 2024-06-19 17:24:29.964976617 +0200
+++ firefox-128.0/toolkit/moz.configure 2024-06-19 17:24:53.015843805 +0200
@@ -1553,7 +1553,7 @@ with only_when("--enable-compile-environ
@depends(host, target)
def has_elfhack(host, target):
return (
- target.kernel == "Linux"
+ False and target.kernel == "Linux"
and host.kernel == "Linux"
and target.cpu in ("arm", "aarch64", "x86", "x86_64")
)

View File

@ -0,0 +1,12 @@
diff -up firefox-128.0/dom/gamepad/moz.build.gamepad firefox-128.0/dom/gamepad/moz.build
--- firefox-128.0/dom/gamepad/moz.build.gamepad 2024-07-30 16:24:07.326519645 +0200
+++ firefox-128.0/dom/gamepad/moz.build 2024-07-30 16:24:15.817492673 +0200
@@ -60,7 +60,7 @@ elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "wi
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "android":
UNIFIED_SOURCES += ["android/AndroidGamepad.cpp"]
elif CONFIG["OS_ARCH"] in ("Linux", "FreeBSD", "DragonFly"):
- UNIFIED_SOURCES += ["linux/LinuxGamepad.cpp"]
+ UNIFIED_SOURCES += ["fallback/FallbackGamepad.cpp"]
else:
UNIFIED_SOURCES += ["fallback/FallbackGamepad.cpp"]

24
build-ffvpx.patch Normal file
View File

@ -0,0 +1,24 @@
diff -up thunderbird-128.0/media/ffvpx/libavcodec/av1dec.c.build-ffvpx thunderbird-128.0/media/ffvpx/libavcodec/av1dec.c
--- thunderbird-128.0/media/ffvpx/libavcodec/av1dec.c.build-ffvpx 2024-06-24 22:43:40.000000000 +0200
+++ thunderbird-128.0/media/ffvpx/libavcodec/av1dec.c 2024-07-10 11:20:23.200948767 +0200
@@ -887,7 +887,7 @@ static av_cold int av1_decode_init(AVCod
ff_cbs_fragment_reset(&s->current_obu);
}
- s->dovi.logctx = avctx;
+ s->dovi.logctx = (AVContext *) avctx;
s->dovi.dv_profile = 10; // default for AV1
sd = ff_get_coded_side_data(avctx, AV_PKT_DATA_DOVI_CONF);
if (sd && sd->size > 0)
diff -up thunderbird-128.0/media/ffvpx/libavcodec/libdav1d.c.build-ffvpx thunderbird-128.0/media/ffvpx/libavcodec/libdav1d.c
--- thunderbird-128.0/media/ffvpx/libavcodec/libdav1d.c.build-ffvpx 2024-07-10 12:46:57.005539959 +0200
+++ thunderbird-128.0/media/ffvpx/libavcodec/libdav1d.c 2024-07-10 12:47:19.067507705 +0200
@@ -289,7 +289,7 @@ static av_cold int libdav1d_init(AVCodec
c->delay = res > 1 ? res : 0;
#endif
- dav1d->dovi.logctx = c;
+ dav1d->dovi.logctx = (AVContext *) c;
dav1d->dovi.dv_profile = 10; // default for AV1
sd = ff_get_coded_side_data(c, AV_PKT_DATA_DOVI_CONF);
if (sd && sd->size > 0)

20
build-libaom.patch Normal file
View File

@ -0,0 +1,20 @@
diff -up firefox-128.0/config/external/moz.build.libaom firefox-128.0/config/external/moz.build
--- firefox-128.0/config/external/moz.build.libaom 2024-07-31 15:32:39.460374047 +0200
+++ firefox-128.0/config/external/moz.build 2024-07-31 15:34:41.646064796 +0200
@@ -39,8 +39,8 @@ if CONFIG["MOZ_VORBIS"]:
if not CONFIG["MOZ_SYSTEM_LIBVPX"]:
external_dirs += ["media/libvpx"]
+external_dirs += ["media/libaom"]
if CONFIG["MOZ_AV1"]:
- external_dirs += ["media/libaom"]
external_dirs += ["media/libdav1d"]
if not CONFIG["MOZ_SYSTEM_PNG"]:
diff -up firefox-128.0/third_party/aom/third_party/fastfeat/README.libaom firefox-128.0/third_party/aom/third_party/fastfeat/README
diff -up firefox-128.0/third_party/aom/third_party/googletest/README.libaom firefox-128.0/third_party/aom/third_party/googletest/README
diff -up firefox-128.0/third_party/aom/third_party/libwebm/README.libaom firefox-128.0/third_party/aom/third_party/libwebm/README
diff -up firefox-128.0/third_party/aom/third_party/libyuv/README.libaom firefox-128.0/third_party/aom/third_party/libyuv/README
diff -up firefox-128.0/third_party/aom/third_party/SVT-AV1/README.libaom firefox-128.0/third_party/aom/third_party/SVT-AV1/README
diff -up firefox-128.0/third_party/aom/third_party/vector/README.libaom firefox-128.0/third_party/aom/third_party/vector/README
diff -up firefox-128.0/third_party/aom/third_party/x86inc/README.libaom firefox-128.0/third_party/aom/third_party/x86inc/README

12
build-ppc64-abiv2.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up firefox-115.0.2/security/nss/lib/freebl/sha512-p8.s.ppc-abiv2 firefox-115.0.2/security/nss/lib/freebl/sha512-p8.s
--- firefox-115.0.2/security/nss/lib/freebl/sha512-p8.s.ppc-abiv2 2023-07-25 09:01:42.602375809 +0200
+++ firefox-115.0.2/security/nss/lib/freebl/sha512-p8.s 2023-07-25 09:01:48.273373924 +0200
@@ -3,7 +3,7 @@
# See the full LICENSE under scripts/.
.machine "any"
-.abiversion 2
+.abiversion 1
.text
.globl sha512_block_p8

View File

@ -0,0 +1,11 @@
--- firefox-115.8.0/python/mozbuild/mozbuild/nodeutil.py.lower-node-min-version 2024-02-12 21:53:56.000000000 +0200
+++ firefox-115.8.0/python/mozbuild/mozbuild/nodeutil.py 2024-02-14 16:48:12.476182627 +0200
@@ -13,7 +13,7 @@ from mozboot.util import get_tools_dir
from packaging.version import Version
from six import PY3
-NODE_MIN_VERSION = Version("12.22.12")
+NODE_MIN_VERSION = Version("10.24.0")
NPM_MIN_VERSION = Version("6.14.16")

View File

@ -0,0 +1,12 @@
diff -up firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py.rhel7-nasm firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py
--- firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py.rhel7-nasm 2021-08-31 08:02:10.814740774 +0200
+++ firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py 2021-08-31 08:04:03.967146994 +0200
@@ -420,7 +420,7 @@ class AsmFlags(BaseCompileFlags):
if self._context.config.substs.get("OS_ARCH") == "WINNT":
debug_flags += ["-F", "cv8"]
elif self._context.config.substs.get("OS_ARCH") != "Darwin":
- debug_flags += ["-F", "dwarf"]
+ debug_flags += ["-f", "elf32"]
elif (
self._context.config.substs.get("OS_ARCH") == "WINNT"
and self._context.config.substs.get("CPU_ARCH") == "aarch64"

View File

@ -1 +0,0 @@
firefox package is retired on branch c10s for CS-2551

274
disable-pipewire.patch Normal file
View File

@ -0,0 +1,274 @@
diff -up firefox-128.0/dom/media/webrtc/third_party_build/webrtc.mozbuild.disable-pipewire firefox-128.0/dom/media/webrtc/third_party_build/webrtc.mozbuild
--- firefox-128.0/dom/media/webrtc/third_party_build/webrtc.mozbuild.disable-pipewire 2024-07-17 14:01:36.290603114 +0200
+++ firefox-128.0/dom/media/webrtc/third_party_build/webrtc.mozbuild 2024-07-17 14:52:02.039208338 +0200
@@ -31,7 +31,7 @@ if CONFIG["MOZ_WEBRTC"]:
and CONFIG["TARGET_CPU"].startswith("mips")
)
):
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
+ DEFINES["WEBRTC_USE_PIPEWIRE"] = False
elif CONFIG["OS_TARGET"] == "Darwin":
DEFINES["WEBRTC_MAC"] = True
elif CONFIG["OS_TARGET"] == "WINNT":
diff -up firefox-128.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build.disable-pipewire firefox-128.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build
--- firefox-128.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build.disable-pipewire 2024-07-17 14:01:36.291603109 +0200
+++ firefox-128.0/third_party/libwebrtc/modules/desktop_capture/desktop_capture_gn/moz.build 2024-07-17 14:56:35.419826494 +0200
@@ -241,102 +241,6 @@ if CONFIG["TARGET_CPU"] == "aarch64":
DEFINES["WEBRTC_ARCH_ARM64"] = True
DEFINES["WEBRTC_HAS_NEON"] = True
-if CONFIG["TARGET_CPU"] == "arm":
-
- CXXFLAGS += [
- "-mfpu=neon"
- ]
-
- DEFINES["WEBRTC_ARCH_ARM"] = True
- DEFINES["WEBRTC_ARCH_ARM_V7"] = True
- DEFINES["WEBRTC_HAS_NEON"] = True
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
- LOCAL_INCLUDES += [
- "/gfx/angle/checkout/include/",
- "/third_party/drm/drm/",
- "/third_party/drm/drm/include/",
- "/third_party/drm/drm/include/libdrm/",
- "/third_party/gbm/gbm/",
- "/third_party/libepoxy/libepoxy/include/",
- "/third_party/pipewire/"
- ]
-
- SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
- ]
-
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
- ]
-
-if CONFIG["TARGET_CPU"] == "mips32":
-
- DEFINES["MIPS32_LE"] = True
- DEFINES["MIPS_FPU_LE"] = True
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
- LOCAL_INCLUDES += [
- "/gfx/angle/checkout/include/",
- "/third_party/drm/drm/",
- "/third_party/drm/drm/include/",
- "/third_party/drm/drm/include/libdrm/",
- "/third_party/gbm/gbm/",
- "/third_party/libepoxy/libepoxy/include/",
- "/third_party/pipewire/"
- ]
-
- SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
- ]
-
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
- ]
-
-if CONFIG["TARGET_CPU"] == "mips64":
-
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
- LOCAL_INCLUDES += [
- "/gfx/angle/checkout/include/",
- "/third_party/drm/drm/",
- "/third_party/drm/drm/include/",
- "/third_party/drm/drm/include/libdrm/",
- "/third_party/gbm/gbm/",
- "/third_party/libepoxy/libepoxy/include/",
- "/third_party/pipewire/"
- ]
-
- SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
- ]
-
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
- ]
-
if CONFIG["TARGET_CPU"] == "ppc64":
DEFINES["USE_X11"] = "1"
@@ -389,35 +293,6 @@ if CONFIG["MOZ_DEBUG"] == "1" and CONFIG
DEFINES["_HAS_ITERATOR_DEBUGGING"] = "0"
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
- LOCAL_INCLUDES += [
- "/gfx/angle/checkout/include/",
- "/third_party/drm/drm/",
- "/third_party/drm/drm/include/",
- "/third_party/drm/drm/include/libdrm/",
- "/third_party/gbm/gbm/",
- "/third_party/libepoxy/libepoxy/include/",
- "/third_party/pipewire/"
- ]
-
- SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
- ]
-
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
- ]
-
if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "riscv64":
DEFINES["USE_X11"] = "1"
@@ -446,95 +321,6 @@ if CONFIG["OS_TARGET"] == "Linux" and CO
"/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
]
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86":
-
- CXXFLAGS += [
- "-msse2"
- ]
-
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
- LOCAL_INCLUDES += [
- "/gfx/angle/checkout/include/",
- "/third_party/drm/drm/",
- "/third_party/drm/drm/include/",
- "/third_party/drm/drm/include/libdrm/",
- "/third_party/gbm/gbm/",
- "/third_party/libepoxy/libepoxy/include/",
- "/third_party/pipewire/"
- ]
-
- SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
- ]
-
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
- ]
-
-if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "x86_64":
-
- DEFINES["WEBRTC_USE_PIPEWIRE"] = True
- DEFINES["_GNU_SOURCE"] = True
-
- LOCAL_INCLUDES += [
- "/gfx/angle/checkout/include/",
- "/third_party/drm/drm/",
- "/third_party/drm/drm/include/",
- "/third_party/drm/drm/include/libdrm/",
- "/third_party/gbm/gbm/",
- "/third_party/libepoxy/libepoxy/include/",
- "/third_party/pipewire/"
- ]
-
- SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/base_capturer_pipewire.cc"
- ]
-
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/egl_dmabuf.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/mouse_cursor_monitor_pipewire.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/restore_token_manager.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screen_capture_portal_interface.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_portal.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/screencast_stream_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/wayland/shared_screencast_stream.cc"
- ]
-
-if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "aarch64":
-
- DEFINES["USE_X11"] = "1"
- DEFINES["WEBRTC_USE_X11"] = True
-
- OS_LIBS += [
- "X11",
- "Xcomposite",
- "Xdamage",
- "Xext",
- "Xfixes",
- "Xrandr",
- "Xrender"
- ]
-
- UNIFIED_SOURCES += [
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/mouse_cursor_monitor_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/screen_capturer_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/shared_x_display.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_capturer_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_finder_x11.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/window_list_utils.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_atom_cache.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_error_trap.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_server_pixel_buffer.cc",
- "/third_party/libwebrtc/modules/desktop_capture/linux/x11/x_window_property.cc"
- ]
if CONFIG["MOZ_X11"] == "1" and CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "arm":
diff -up firefox-128.0/third_party/libwebrtc/modules/portal/portal_gn/moz.build.disable-pipewire firefox-128.0/third_party/libwebrtc/modules/portal/portal_gn/moz.build
--- firefox-128.0/third_party/libwebrtc/modules/portal/portal_gn/moz.build.disable-pipewire 2024-07-04 18:20:41.000000000 +0200
+++ firefox-128.0/third_party/libwebrtc/modules/portal/portal_gn/moz.build 2024-07-17 14:01:36.291603109 +0200
@@ -27,7 +27,7 @@ DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
-DEFINES["WEBRTC_USE_PIPEWIRE"] = True
+DEFINES["WEBRTC_USE_PIPEWIRE"] = False
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True
diff -up firefox-128.0/third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build.disable-pipewire firefox-128.0/third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build
--- firefox-128.0/third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build.disable-pipewire 2024-07-04 18:20:41.000000000 +0200
+++ firefox-128.0/third_party/libwebrtc/third_party/pipewire/pipewire_gn/moz.build 2024-07-17 14:01:36.291603109 +0200
@@ -25,7 +25,7 @@ DEFINES["WEBRTC_MOZILLA_BUILD"] = True
DEFINES["WEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS"] = "0"
DEFINES["WEBRTC_POSIX"] = True
DEFINES["WEBRTC_STRICT_FIELD_TRIALS"] = "0"
-DEFINES["WEBRTC_USE_PIPEWIRE"] = True
+DEFINES["WEBRTC_USE_PIPEWIRE"] = False
DEFINES["_FILE_OFFSET_BITS"] = "64"
DEFINES["_GNU_SOURCE"] = True
DEFINES["_LARGEFILE64_SOURCE"] = True

9
distribution.ini Normal file
View File

@ -0,0 +1,9 @@
[Global]
id=redhat
version=1.0
about=Mozilla Firefox for Red Hat Enterprise Linux
[Preferences]
app.distributor=redhat
app.distributor.channel=redhat
app.partner.redhat=redhat

View File

@ -0,0 +1,13 @@
diff -up firefox-128.0/browser/app/profile/firefox.js.addons firefox-128.0/browser/app/profile/firefox.js
--- firefox-128.0/browser/app/profile/firefox.js.addons 2024-06-13 11:47:04.255428350 +0200
+++ firefox-128.0/browser/app/profile/firefox.js 2024-06-13 11:53:00.442837371 +0200
@@ -56,7 +56,8 @@ pref("extensions.systemAddon.update.enab
// Disable add-ons that are not installed by the user in all scopes by default.
// See the SCOPE constants in AddonManager.sys.mjs for values to use here.
-pref("extensions.autoDisableScopes", 15);
+pref("extensions.autoDisableScopes", 0);
+pref("extensions.showMismatchUI", false);
// Scopes to scan for changes at startup.
pref("extensions.startupScanScopes", 0);

38
firefox-gcc-build.patch Normal file
View File

@ -0,0 +1,38 @@
--- firefox-80.0.1/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h 2020-08-31 10:04:19.000000000 -0400
+++ firefox-80.0.1/toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h 2020-09-12 07:24:35.298931628 -0400
@@ -1962,7 +1962,7 @@ struct kernel_statfs {
LSS_ENTRYPOINT \
"pop %%ebx" \
args \
- : "esp", "memory"); \
+ : "memory"); \
LSS_RETURN(type,__res)
#undef _syscall0
#define _syscall0(type,name) \
@@ -2019,7 +2019,7 @@ struct kernel_statfs {
: "i" (__NR_##name), "ri" ((long)(arg1)), \
"c" ((long)(arg2)), "d" ((long)(arg3)), \
"S" ((long)(arg4)), "D" ((long)(arg5)) \
- : "esp", "memory"); \
+ : "memory"); \
LSS_RETURN(type,__res); \
}
#undef _syscall6
@@ -2041,7 +2041,7 @@ struct kernel_statfs {
: "i" (__NR_##name), "0" ((long)(&__s)), \
"c" ((long)(arg2)), "d" ((long)(arg3)), \
"S" ((long)(arg4)), "D" ((long)(arg5)) \
- : "esp", "memory"); \
+ : "memory"); \
LSS_RETURN(type,__res); \
}
LSS_INLINE int LSS_NAME(clone)(int (*fn)(void *), void *child_stack,
@@ -2127,7 +2127,7 @@ struct kernel_statfs {
: "0"(-EINVAL), "i"(__NR_clone),
"m"(fn), "m"(child_stack), "m"(flags), "m"(arg),
"m"(parent_tidptr), "m"(newtls), "m"(child_tidptr)
- : "esp", "memory", "ecx", "edx", "esi", "edi");
+ : "memory", "ecx", "edx", "esi", "edi");
LSS_RETURN(int, __res);
}

31
firefox-mozconfig Normal file
View File

@ -0,0 +1,31 @@
. $topsrcdir/browser/config/mozconfig
ac_add_options --allow-addon-sideload
ac_add_options --disable-crashreporter
ac_add_options --disable-strip
ac_add_options --disable-updater
ac_add_options --enable-av1
ac_add_options --enable-chrome-format=omni
ac_add_options --enable-js-shell
ac_add_options --enable-necko-wifi
ac_add_options --enable-official-branding
ac_add_options --enable-pulseaudio
ac_add_options --enable-release
ac_add_options --enable-system-ffi
ac_add_options --without-sysroot
ac_add_options --without-system-icu
ac_add_options --without-wasm-sandboxed-libraries
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --with-unsigned-addon-scopes=app,system
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
export MOZ_UPDATE_CHANNEL=release
export MOZ_APP_REMOTINGNAME=firefox
mk_add_options MOZ_TELEMETRY_REPORTING=
mk_add_options MOZ_NORMANDY=
mk_add_options MOZ_SERVICES_HEALTHREPORT=
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir

View File

@ -0,0 +1,19 @@
diff -up firefox-84.0.2/security/certverifier/NSSCertDBTrustDomain.cpp.nss-hack firefox-84.0.2/security/certverifier/NSSCertDBTrustDomain.cpp
--- firefox-84.0.2/security/certverifier/NSSCertDBTrustDomain.cpp.nss-hack 2021-01-11 12:12:02.585514543 +0100
+++ firefox-84.0.2/security/certverifier/NSSCertDBTrustDomain.cpp 2021-01-11 12:47:50.345984582 +0100
@@ -1619,6 +1619,15 @@ SECStatus InitializeNSS(const nsACString
return srv;
}
+ /* Sets the NSS_USE_ALG_IN_ANY_SIGNATURE bit.
+ * does not change NSS_USE_ALG_IN_CERT_SIGNATURE,
+ * so policy will still disable use of sha1 in
+ * certificate related signature processing. */
+ srv = NSS_SetAlgorithmPolicy(SEC_OID_SHA1, NSS_USE_ALG_IN_ANY_SIGNATURE, 0);
+ if (srv != SECSuccess) {
+ NS_WARNING("Unable to use SHA1 for Add-ons, expect broken/disabled Add-ons. See https://bugzilla.redhat.com/show_bug.cgi?id=1908018 for details.");
+ }
+
if (nssDbConfig == NSSDBConfig::ReadWrite) {
UniquePK11SlotInfo slot(PK11_GetInternalKeySlot());
if (!slot) {

View File

@ -0,0 +1,42 @@
pref("app.update.auto", false);
pref("app.update.enabled", false);
pref("app.update.autoInstallEnabled", false);
pref("general.smoothScroll", true);
pref("intl.locale.requested", "");
pref("toolkit.storage.synchronous", 0);
pref("toolkit.networkmanager.disable", false);
pref("offline.autoDetect", true);
pref("browser.backspace_action", 2);
pref("browser.display.use_system_colors", true);
pref("browser.download.folderList", 1);
pref("browser.link.open_external", 3);
pref("browser.shell.checkDefaultBrowser", false);
pref("network.manage-offline-status", true);
pref("extensions.shownSelectionUI", true);
pref("ui.SpellCheckerUnderlineStyle", 1);
pref("startup.homepage_override_url", "%HOMEPAGE%");
pref("startup.homepage_welcome_url", "%HOMEPAGE%");
pref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=file:///%PREFIX%/share/doc/HTML/index.html");
pref("media.gmp-gmpopenh264.autoupdate",true);
pref("media.gmp-gmpopenh264.enabled",false);
pref("media.gmp.decoder.enabled", true);
pref("plugins.notifyMissingFlash", false);
/* See https://bugzilla.redhat.com/show_bug.cgi?id=1226489 */
pref("browser.display.use_system_colors", false);
/* Allow sending credetials to all https:// sites */
pref("network.negotiate-auth.trusted-uris", "https://");
pref("security.use_sqldb", false);
pref("spellchecker.dictionary_path","/usr/share/myspell");
/* Disable DoH by default */
pref("network.trr.mode", 5);
/* Enable per-user policy dir, see mozbz#1583466 */
pref("browser.policies.perUserDir", true);
pref("browser.gnome-search-provider.enabled",true);
/* Enable ffvpx playback for WebRTC */
pref("media.navigator.mediadatadecoder_vpx_enabled", true);
/* See https://bugzilla.redhat.com/show_bug.cgi?id=1672424 */
pref("storage.nfs_filesystem", true);
/* Disable Private Attribution collection and submission */
pref("dom.private-attribution.submission.enabled", false);
/* ECH is not supported in the system nss */
pref("security.tls.ech.grease_probability", 0);

View File

@ -0,0 +1,5 @@
[Shell Search Provider]
DesktopId=firefox.desktop
BusName=org.mozilla.Firefox.SearchProvider
ObjectPath=/org/mozilla/Firefox/SearchProvider
Version=2

3
firefox-symbolic.svg Normal file
View File

@ -0,0 +1,3 @@
<svg id="Assets" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path d="M190.368 150.591c0.157 0.009 0.079 0.003 0 0zm-57.874-28.933c0.158 0.008 0.079 0.003 0 0zm346.228 44.674c-10.445-25.123-31.6-52.248-48.211-60.82 13.52 26.5 21.345 53.093 24.335 72.935 0 0.04 0.015 0.136 0.047 0.4-27.175-67.732-73.254-95.047-110.886-154.512-1.9-3.008-3.805-6.022-5.661-9.2a73.237 73.237 0 0 1-2.646-4.972 43.757 43.757 0 0 1-3.585-9.5 0.625 0.625 0 0 0-0.546-0.644 0.8 0.8 0 0 0-0.451 0c-0.033 0.011-0.084 0.051-0.119 0.065-0.053 0.02-0.12 0.069-0.176 0.095 0.026-0.036 0.083-0.117 0.1-0.135-53.437 31.3-75.587 86.093-81.282 120.97a128.057 128.057 0 0 0-47.624 12.153 6.144 6.144 0 0 0-3.041 7.63 6.034 6.034 0 0 0 8.192 3.525 116.175 116.175 0 0 1 41.481-10.826c0.468-0.033 0.937-0.062 1.405-0.1a117.624 117.624 0 0 1 5.932-0.211 120.831 120.831 0 0 1 34.491 4.777c0.654 0.192 1.295 0.414 1.946 0.616a120.15 120.15 0 0 1 5.539 1.842 121.852 121.852 0 0 1 3.992 1.564c1.074 0.434 2.148 0.868 3.206 1.331a118.453 118.453 0 0 1 4.9 2.307c0.743 0.368 1.485 0.735 2.217 1.117a120.535 120.535 0 0 1 4.675 2.587 107.785 107.785 0 0 1 2.952 1.776 123.018 123.018 0 0 1 42.028 43.477c-12.833-9.015-35.81-17.918-57.947-14.068 86.441 43.214 63.234 192.027-56.545 186.408a106.7 106.7 0 0 1-31.271-6.031 132.461 132.461 0 0 1-7.059-2.886c-1.356-0.618-2.711-1.243-4.051-1.935-29.349-15.168-53.583-43.833-56.611-78.643 0 0 11.093-41.335 79.433-41.335 7.388 0 28.508-20.614 28.9-26.593-0.09-1.953-41.917-18.59-58.223-34.656-8.714-8.585-12.851-12.723-16.514-15.829a71.7 71.7 0 0 0-6.225-4.7 111.335 111.335 0 0 1-0.675-58.733c-24.687 11.242-43.89 29.011-57.849 44.7h-0.111c-9.528-12.067-8.855-51.873-8.312-60.184-0.114-0.516-7.107 3.63-8.024 4.254a175.21 175.21 0 0 0-23.486 20.12 210.5 210.5 0 0 0-22.443 26.913c0 0.012-0.007 0.025-0.011 0.037 0-0.012 0.007-0.025 0.011-0.038a202.837 202.837 0 0 0-32.244 72.81c-0.058 0.265-2.29 10.054-3.92 22.147a265.794 265.794 0 0 0-0.769 5.651c-0.558 3.636-0.992 7.6-1.42 13.767-0.019 0.239-0.031 0.474-0.048 0.712a591.152 591.152 0 0 0-0.481 7.995c0 0.411-0.025 0.816-0.025 1.227 0 132.709 107.6 240.29 240.324 240.29 118.865 0 217.559-86.288 236.882-199.63 0.407-3.075 0.732-6.168 1.092-9.27 4.777-41.21-0.53-84.525-15.588-120.747zm-164.068 72.1z" fill="#fff"/>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

235
firefox-x11.desktop Normal file
View File

@ -0,0 +1,235 @@
[Desktop Entry]
Version=1.0
Name=Firefox on X11
GenericName=Web Browser
Comment=Browse the Web
Exec=firefox-x11 --name firefox-x11 %u
Icon=firefox
Terminal=false
Type=Application
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
StartupNotify=true
Categories=Network;WebBrowser;
Keywords=web;browser;internet;
Actions=new-window;new-private-window;profile-manager-window;
[Desktop Action new-window]
Name=Open a New Window
Name[ach]=Dirica manyen
Name[af]=Nuwe venster
Name[an]=Nueva finestra
Name[ar]=نافذة جديدة
Name[as]=
Name[ast]=Ventana nueva
Name[az]=Yeni Pəncərə
Name[be]=Новае акно
Name[bg]=Нов прозорец
Name[bn_BD]= (N)
Name[bn_IN]=
Name[br]=Prenestr nevez
Name[brx]= '(N)
Name[bs]=Novi prozor
Name[ca]=Finestra nova
Name[cak]=K'ak'a' tzuwäch
Name[cs]=Nové okno
Name[cy]=Ffenestr Newydd
Name[da]=Nyt vindue
Name[de]=Neues Fenster
Name[dsb]=Nowe wokno
Name[el]=Νέο παράθυρο
Name[en_GB]=New Window
Name[en_US]=New Window
Name[en_ZA]=New Window
Name[eo]=Nova fenestro
Name[es_AR]=Nueva ventana
Name[es_CL]=Nueva ventana
Name[es_ES]=Nueva ventana
Name[es_MX]=Nueva ventana
Name[et]=Uus aken
Name[eu]=Leiho berria
Name[fa]=پنجره جدید
Name[ff]=Henorde Hesere
Name[fi]=Uusi ikkuna
Name[fr]=Nouvelle fenêtre
Name[fy_NL]=Nij finster
Name[ga_IE]=Fuinneog Nua
Name[gd]=Uinneag ùr
Name[gl]=Nova xanela
Name[gn]=Ovetã pyahu
Name[gu_IN]= િ
Name[he]=חלון חדש
Name[hi_IN]= ि
Name[hr]=Novi prozor
Name[hsb]=Nowe wokno
Name[hu]=Új ablak
Name[hy_AM]=Նոր Պատուհան
Name[id]=Jendela Baru
Name[is]=Nýr gluggi
Name[it]=Nuova finestra
Name[ja]=
Name[ja_JP-mac]=
Name[ka]=
Name[kk]=Жаңа терезе
Name[km]=
Name[kn]= ಿಿ
Name[ko]=
Name[kok]=
Name[ks]=نئئ وِنڈو
Name[lij]=Neuvo barcon
Name[lo]=
Name[lt]=Naujas langas
Name[ltg]=Jauns lūgs
Name[lv]=Jauns logs
Name[mai]= ि
Name[mk]=Нов прозорец
Name[ml]=ി
Name[mr]=
Name[ms]=Tetingkap Baru
Name[my]=
Name[nb_NO]=Nytt vindu
Name[ne_NP]=
Name[nl]=Nieuw venster
Name[nn_NO]=Nytt vindauge
Name[or]= ି
Name[pa_IN]= ਿ
Name[pl]=Nowe okno
Name[pt_BR]=Nova janela
Name[pt_PT]=Nova janela
Name[rm]=Nova fanestra
Name[ro]=Fereastră nouă
Name[ru]=Новое окно
Name[sat]= ि (N)
Name[si]=
Name[sk]=Nové okno
Name[sl]=Novo okno
Name[son]=Zanfun taaga
Name[sq]=Dritare e Re
Name[sr]=Нови прозор
Name[sv_SE]=Nytt fönster
Name[ta]=ி
Name[te]= ి
Name[th]=
Name[tr]=Yeni pencere
Name[tsz]=Eraatarakua jimpani
Name[uk]=Нове вікно
Name[ur]=نیا دریچہ
Name[uz]=Yangi oyna
Name[vi]=Ca s mi
Name[wo]=Palanteer bu bees
Name[xh]=Ifestile entsha
Name[zh_CN]=
Name[zh_TW]=
Exec=firefox-x11 --name firefox-x11 --new-window %u
[Desktop Action new-private-window]
Name=Open a New Private Window
Name[ach]=Dirica manyen me mung
Name[af]=Nuwe privaatvenster
Name[an]=Nueva finestra privada
Name[ar]=نافذة خاصة جديدة
Name[as]= ি
Name[ast]=Ventana privada nueva
Name[az]=Yeni Məxfi Pəncərə
Name[be]=Новае акно адасаблення
Name[bg]=Нов прозорец за поверително сърфиране
Name[bn_BD]= ি
Name[bn_IN]= ি
Name[br]=Prenestr merdeiñ prevez nevez
Name[brx]= '
Name[bs]=Novi privatni prozor
Name[ca]=Finestra privada nova
Name[cak]=K'ak'a' ichinan tzuwäch
Name[cs]=Nové anonymní okno
Name[cy]=Ffenestr Breifat Newydd
Name[da]=Nyt privat vindue
Name[de]=Neues privates Fenster
Name[dsb]=Nowe priwatne wokno
Name[el]=Νέο παράθυρο ιδιωτικής περιήγησης
Name[en_GB]=New Private Window
Name[en_US]=New Private Window
Name[en_ZA]=New Private Window
Name[eo]=Nova privata fenestro
Name[es_AR]=Nueva ventana privada
Name[es_CL]=Nueva ventana privada
Name[es_ES]=Nueva ventana privada
Name[es_MX]=Nueva ventana privada
Name[et]=Uus privaatne aken
Name[eu]=Leiho pribatu berria
Name[fa]=پنجره ناشناس جدید
Name[ff]=Henorde Suturo Hesere
Name[fi]=Uusi yksityinen ikkuna
Name[fr]=Nouvelle fenêtre de navigation privée
Name[fy_NL]=Nij priveefinster
Name[ga_IE]=Fuinneog Nua Phríobháideach
Name[gd]=Uinneag phrìobhaideach ùr
Name[gl]=Nova xanela privada
Name[gn]=Ovetã ñemi pyahu
Name[gu_IN]= િ
Name[he]=חלון פרטי חדש
Name[hi_IN]= ि ि
Name[hr]=Novi privatni prozor
Name[hsb]=Nowe priwatne wokno
Name[hu]=Új privát ablak
Name[hy_AM]=Սկսել Գաղտնի դիտարկում
Name[id]=Jendela Mode Pribadi Baru
Name[is]=Nýr huliðsgluggi
Name[it]=Nuova finestra anonima
Name[ja]=
Name[ja_JP-mac]=
Name[ka]=
Name[kk]=Жаңа жекелік терезе
Name[km]=
Name[kn]= ಿ ಿಿ
Name[ko]=
Name[kok]= ि
Name[ks]=نْو پرایوٹ وینڈو&amp;
Name[lij]=Neuvo barcon privou
Name[lo]=
Name[lt]=Naujas privataus naršymo langas
Name[ltg]=Jauns privatais lūgs
Name[lv]=Jauns privātais logs
Name[mai]= ि ि (W)
Name[mk]=Нов приватен прозорец
Name[ml]=ി
Name[mr]= ि
Name[ms]=Tetingkap Persendirian Baharu
Name[my]=New Private Window
Name[nb_NO]=Nytt privat vindu
Name[ne_NP]= ि
Name[nl]=Nieuw privévenster
Name[nn_NO]=Nytt privat vindauge
Name[or]= ି ି
Name[pa_IN]= ਿ
Name[pl]=Nowe okno prywatne
Name[pt_BR]=Nova janela privativa
Name[pt_PT]=Nova janela privada
Name[rm]=Nova fanestra privata
Name[ro]=Fereastră privată nouă
Name[ru]=Новое приватное окно
Name[sat]= ि ि (W )
Name[si]= (W)
Name[sk]=Nové okno v režime Súkromné prehliadanie
Name[sl]=Novo zasebno okno
Name[son]=Sutura zanfun taaga
Name[sq]=Dritare e Re Private
Name[sr]=Нови приватан прозор
Name[sv_SE]=Nytt privat fönster
Name[ta]=ி ி
Name[te]= ి ి
Name[th]=
Name[tr]=Yeni gizli pencere
Name[tsz]=Juchiiti eraatarakua jimpani
Name[uk]=Приватне вікно
Name[ur]=نیا نجی دریچہ
Name[uz]=Yangi maxfiy oyna
Name[vi]=Ca s riêng tư mi
Name[wo]=Panlanteeru biir bu bees
Name[xh]=Ifestile yangasese entsha
Name[zh_CN]=
Name[zh_TW]=
Exec=firefox-x11 --private-window --name firefox-x11 %u
[Desktop Action profile-manager-window]
Name=Open the Profile Manager
Name[cs]=Správa profilů
Exec=firefox-x11 --name firefox-x11 --ProfileManager

7
firefox-x11.sh.in Normal file
View File

@ -0,0 +1,7 @@
#!/usr/bin/bash
#
# Run Firefox on X11 backend
#
export MOZ_DISABLE_WAYLAND=1
exec /__PREFIX__/bin/firefox "$@"