--- a/MozillaFirefox/MozillaFirefox.changes Sat Dec 04 11:19:16 2021 +0100
+++ b/MozillaFirefox/MozillaFirefox.changes Sat Jan 08 10:41:19 2022 +0100
@@ -1,4 +1,79 @@
-------------------------------------------------------------------
+Tue Dec 28 17:45:28 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
+
+- Add upstream patches:
+ * mozilla-bmo1745560.patch: Fix build against wayland 1.20.
+ * mozilla-bmo1744896.patch: Create WaylandVsyncSource on window
+ creation
+
+-------------------------------------------------------------------
+Mon Dec 20 21:57:30 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
+
+- Mozilla Firefox 95.0.2
+ * Addresses frequent crashes experienced by users with C/E/Z-Series
+ "Bobcat" CPUs running on Windows 7, 8, and 8.1.
+- updated constraints for ppc and x86-64
+
+-------------------------------------------------------------------
+Fri Dec 17 13:49:16 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
+
+- Mozilla Firefox 95.0.1 (bsc#1193845)
+ * Fixed frequent
+ MOZILLA_PKIX_ERROR_OCSP_RESPONSE_FOR_CERT_MISSING error
+ messages when trying to connect to various microsoft.com
+ domains (bmo#1745600)
+ * Fix for a WebRender crash on some Linux/X11 systems (bmo#1741956)
+ * Fix for a frequent Windows shutdown crash (bmo#1738984)
+ * Fix websites contrast issues for some Linux users with
+ Dark mode set at OS level (bmo#1740518)
+
+-------------------------------------------------------------------
+Sat Dec 4 12:07:21 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
+
+- Mozilla Firefox 95.0
+ * You can now move the Picture-in-Picture toggle button to the
+ opposite side of the video. Simply look for the new context menu
+ option Move Picture-in-Picture Toggle to Left (Right) Side.
+ * To better protect Firefox users against side-channel attacks such
+ as Spectre, Site Isolation is now enabled for all Firefox 95 users.
+ * https://www.mozilla.org/en-US/firefox/95.0/releasenotes
+ MFSA 2021-52 (bsc#1193485)
+ * CVE-2021-43536 (bmo#1730120)
+ URL leakage when navigating while executing asynchronous
+ function
+ * CVE-2021-43537 (bmo#1738237)
+ Heap buffer overflow when using structured clone
+ * CVE-2021-43538 (bmo#1739091)
+ Missing fullscreen and pointer lock notification when
+ requesting both
+ * CVE-2021-43539 (bmo#1739683)
+ GC rooting failure when calling wasm instance methods
+ * MOZ-2021-0010 (bmo#1735852)
+ Use-after-free in fullscreen objects on MacOS
+ * CVE-2021-43540 (bmo#1636629)
+ WebExtensions could have installed persistent ServiceWorkers
+ * CVE-2021-43541 (bmo#1696685)
+ External protocol handler parameters were unescaped
+ * CVE-2021-43542 (bmo#1723281)
+ XMLHttpRequest error codes could have leaked the existence of
+ an external protocol handler
+ * CVE-2021-43543 (bmo#1738418)
+ Bypass of CSP sandbox directive when embedding
+ * CVE-2021-43544 (bmo#1739934)
+ Receiving a malicious URL as text through a SEND intent could
+ have led to XSS
+ * CVE-2021-43545 (bmo#1720926)
+ Denial of Service when using the Location API in a loop
+ * CVE-2021-43546 (bmo#1737751)
+ Cursor spoofing could overlay user interface when native
+ cursor is zoomed
+ * MOZ-2021-0009 (bmo#1393362, bmo#1736046, bmo#1736751,
+ bmo#1737009, bmo#1739372, bmo#1739421)
+ Memory safety bugs fixed in Firefox 95 and Firefox ESR 91.4
+- requires
+ NSS >= 3.72
+
+-------------------------------------------------------------------
Thu Dec 2 20:32:42 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- remove x-scheme-handler/ftp from firefox.desktop boo#1193321
--- a/MozillaFirefox/MozillaFirefox.spec Sat Dec 04 11:19:16 2021 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec Sat Jan 08 10:41:19 2022 +0100
@@ -28,9 +28,9 @@
# orig_suffix b3
# major 69
# mainver %major.99
-%define major 94
+%define major 95
%define mainver %major.0.2
-%define orig_version 94.0.2
+%define orig_version 95.0.2
%define orig_suffix %{nil}
%define update_channel release
%define branding 1
@@ -223,6 +223,8 @@
Patch28: mozilla-libavcodec58_91.patch
Patch29: mozilla-silence-no-return-type.patch
Patch31: mozilla-bmo531915.patch
+Patch32: mozilla-bmo1745560.patch
+Patch33: mozilla-bmo1744896.patch
# Firefox/browser
Patch101: firefox-kde.patch
Patch102: firefox-branded-icons.patch
@@ -351,6 +353,8 @@
%patch28 -p1
%patch29 -p1
%patch31 -p1
+%patch32 -p1
+%patch33 -p1
# Firefox
%patch101 -p1
%patch102 -p1
@@ -492,6 +496,8 @@
ac_add_options --with-google-safebrowsing-api-keyfile=%{SOURCE19}
ac_add_options --with-unsigned-addon-scopes=app
ac_add_options --allow-addon-sideload
+# at least temporary until the "wasi-sysroot" issue is solved
+ac_add_options --without-wasm-sandboxed-libraries
%if %branding
ac_add_options --enable-official-branding
%endif
@@ -548,6 +554,7 @@
ac_add_options --prefix=%{_prefix}
ac_add_options --with-l10n-base=$RPM_BUILD_DIR/l10n
ac_add_options --disable-updater
+ac_add_options --without-wasm-sandboxed-libraries
%if %branding
ac_add_options --enable-official-branding
%endif
--- a/MozillaFirefox/_constraints Sat Dec 04 11:19:16 2021 +0100
+++ b/MozillaFirefox/_constraints Sat Jan 08 10:41:19 2022 +0100
@@ -51,7 +51,7 @@
</conditions>
<hardware>
<memory>
- <size unit="G">16</size>
+ <size unit="G">18</size>
</memory>
</hardware>
</overwrite>
@@ -62,10 +62,10 @@
</conditions>
<hardware>
<disk>
- <size unit="G">25</size>
+ <size unit="G">36</size>
</disk>
<physicalmemory>
- <size unit="G">10</size>
+ <size unit="G">11</size>
</physicalmemory>
<memoryperjob>
<size unit="M">2500</size>
--- a/MozillaFirefox/mozilla-bmo1602730.patch Sat Dec 04 11:19:16 2021 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../mozilla-bmo1602730.patch
\ No newline at end of file
--- a/MozillaFirefox/mozilla-bmo1725828.patch Sat Dec 04 11:19:16 2021 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../mozilla-bmo1725828.patch
\ No newline at end of file
--- a/MozillaFirefox/mozilla-bmo1729124.patch Sat Dec 04 11:19:16 2021 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-../mozilla-bmo1729124.patch
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/mozilla-bmo1744896.patch Sat Jan 08 10:41:19 2022 +0100
@@ -0,0 +1,1 @@
+../mozilla-bmo1744896.patch
\ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/MozillaFirefox/mozilla-bmo1745560.patch Sat Jan 08 10:41:19 2022 +0100
@@ -0,0 +1,1 @@
+../mozilla-bmo1745560.patch
\ No newline at end of file
--- a/MozillaFirefox/tar_stamps Sat Dec 04 11:19:16 2021 +0100
+++ b/MozillaFirefox/tar_stamps Sat Jan 08 10:41:19 2022 +0100
@@ -1,10 +1,10 @@
PRODUCT="firefox"
CHANNEL="release"
-VERSION="94.0.2"
+VERSION="95.0.2"
VERSION_SUFFIX=""
-PREV_VERSION="94.0.1"
+PREV_VERSION="95.0.1"
PREV_VERSION_SUFFIX=""
#SKIP_LOCALES="" # Uncomment to skip l10n and compare-locales-generation
RELEASE_REPO="https://hg.mozilla.org/releases/mozilla-release"
-RELEASE_TAG="f09593707108af9f9f4d580cf748c3537639ecd4"
-RELEASE_TIMESTAMP="20211119140621"
+RELEASE_TAG="1ff2cec0bb36e389df1a209a9f882b443ed48495"
+RELEASE_TIMESTAMP="20211218203254"
--- a/mozilla-bmo1602730.patch Sat Dec 04 11:19:16 2021 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,25 +0,0 @@
-# HG changeset patch
-# User msirringhaus@suse.de
-# Date 1582805890 -3600
-# Thu Feb 27 13:18:10 2020 +0100
-# Node ID 457cbe5705f2a3759d3da36a05c0ed66ec61ea12
-# Parent 7440f4b6bab85068ca2f84e9c48e0706d04330e8
-imported patch mozilla-bmo1602730-FF73.patch
-
-diff -r 7440f4b6bab8 gfx/layers/composite/CompositableHost.cpp
---- a/gfx/layers/composite/CompositableHost.cpp Thu Feb 27 13:17:56 2020 +0100
-+++ b/gfx/layers/composite/CompositableHost.cpp Wed Jun 17 15:33:32 2020 +0200
-@@ -92,9 +92,13 @@
- }
- MOZ_ASSERT(source);
-
-+ // Setting an alpha-mask here breaks the URL-bar on big endian (s390x)
-+ // if the typed URL is too long for the textbox (automatic scrolling needed)
-+#if MOZ_LITTLE_ENDIAN()
- RefPtr<EffectMask> effect =
- new EffectMask(source, source->GetSize(), aTransform);
- aEffects.mSecondaryEffects[EffectTypes::MASK] = effect;
-+#endif
- return true;
- }
-
--- a/mozilla-bmo1725828.patch Sat Dec 04 11:19:16 2021 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,553 +0,0 @@
-# HG changeset patch
-# Parent fbca0d2a522cd1ab78001476293d3d79bfabb4cf
-
-<!DOCTYPE html>
-<html lang='en'>
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <title>Tree - rpms/firefox - src.fedoraproject.org</title>
- <link rel="shortcut icon" type="image/vnd.microsoft.icon"
- href="/theme/static/favicon.ico?version=5.13.2"/>
- <link href="/theme/static/fedora-bootstrap-1.3.0/fedora-bootstrap.min.css?version=5.13.2"
- type="text/css" rel="stylesheet" />
- <link href="/theme/static/fonts/fonts.css?version=5.13.2"
- rel="stylesheet" type="text/css" />
- <link href="/theme/static/fonts/hack_fonts/css/hack-extended.min.css?version=5.13.2"
- type="text/css" rel="stylesheet" />
- <link href="/theme/static/theme.css?version=5.13.2"
- type="text/css" rel="stylesheet" />
-
- <link type="text/css" rel="stylesheet" nonce="5VHCMUQ81dmw6zbPtdKqrXAJZ" href="/static/vendor/font-awesome/font-awesome.css?version=5.13.2"/>
- <link type="text/css" rel="stylesheet" nonce="5VHCMUQ81dmw6zbPtdKqrXAJZ" href="/static/pagure.css?version=5.13.2"/>
-<link nonce="5VHCMUQ81dmw6zbPtdKqrXAJZ" rel="stylesheet" href="/static/vendor/highlight.js/styles/github.css?version=5.13.2"/>
-<link nonce="5VHCMUQ81dmw6zbPtdKqrXAJZ" rel="stylesheet" href="/static/vendor/highlightjs-line-numbers/highlightjs-line-numbers.min.css?version=5.13.2"/>
-<style nonce="5VHCMUQ81dmw6zbPtdKqrXAJZ">
- .hljs {
- background: #fff;
- }
-</style>
- </head>
- <body id="home">
-
- <!-- start masthead -->
- <nav class="navbar navbar-light masthead p-0 navbar-expand">
- <div class="container">
- <a href="/" class="navbar-brand">
- <img height=40px src="/theme/static/pagure-logo.png?version=5.13.2"
- alt="pagure Logo" id="pagureLogo"/>
- </a>
- <ul class="navbar-nav ml-auto">
-
-
-
- <li class="nav-item">
- <a class="btn btn-primary" href="/login/?next=https://src.fedoraproject.org/rpms/firefox/blob/fc69159c16b8035abdc07e69134357970f6b516f/f/mozilla-1725828.patch">Log In</a>
- </li>
- </ul>
- </div>
- </nav>
- <!-- close masthead-->
-
- <div class="bodycontent">
-
-
-<div class="bg-light border border-bottom pt-3">
- <div class="container">
- <div class="row mb-3">
- <div class="col-6">
- <div class="row">
- <div class="col-auto pr-0">
- <h3>
-<i class="fa fa-archive text-muted"></i></h3>
- </div>
- <div class="col-auto pl-2">
- <h3 class="mb-0">
-<a href="/projects/rpms/%2A">rpms</a> / <a href="/rpms/firefox"><strong>firefox</strong></a>
- </h3>
- </div>
- </div>
- </div>
- <div class="col-6 text-right">
- <div class="btn-group">
- <div class="btn-group">
- <a href="#"
- class="btn btn-sm dropdown-toggle btn-outline-primary"
- data-toggle="dropdown" id="watch-button">
- <i class="fa fa-clone fa-fw"></i>
- <span>Clone</span>
- </a>
- <div class="dropdown-menu dropdown-menu-right">
- <div class="m-3" id="source-dropdown" class="pointer">
- <div>
- <h5><strong>Source Code</strong></h5>
-
- <div class="form-group">
- <div class="input-group input-group-sm">
- <div class="input-group-prepend"><span class="input-group-text">GIT</span></div>
- <input class="form-control bg-white select-on-focus" type="text" value="https://src.fedoraproject.org/rpms/firefox.git" readonly>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- </div>
- </div>
- </div>
-</div>
-
-<ul class="nav nav-tabs nav-small border-bottom-0">
- <li class="nav-item mr-2 text-dark">
- <a class="nav-link active" href="/rpms/firefox">
- <i class="fa fa-code fa-fw text-muted"></i>
- <span class="d-none d-md-inline">Source</span>
- </a>
- </li>
-
- <li class="nav-item mr-2 text-dark">
- <a class="nav-link" href="https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&classification=Fedora&product=Fedora&product=Fedora EPEL&component=firefox">
- <i class="fa fa-fw text-muted fa-exclamation-circle"></i>
- <span class="d-none d-md-inline">Issues </span>
- <span class="fa fa-external-link"></span>
- </a>
- </li>
-
- <li class="nav-item mr-2 text-dark">
- <a class="nav-link" href="/rpms/firefox/pull-requests">
- <i class="fa fa-fw text-muted fa-arrow-circle-down"></i>
- <span class="d-none d-md-inline">Pull Requests </span>
- <span class="badge badge-secondary py-0 d-none d-md-inline">
- 0
- </span>
- </a>
- </li>
-
-
- <li class="nav-item mr-2 text-dark">
- <a class="nav-link" href="/rpms/firefox/stats">
- <i class="fa fa-line-chart fa-fw text-muted"></i>
- <span class="d-none d-md-inline">Stats</span>
- </a>
- </li>
-
-
-</ul>
- </div>
-</div>
-
-<div class="container pt-5 repo-body-container">
- <div class="row">
- <div class="col-2">
-<nav class="nav nav-tabs nav-sidetabs flex-column">
- <a class=
- "nav-link nowrap
-"
- href="/rpms/firefox">
- <i class="fa fa-home text-muted fa-fw"></i> <span class="d-none d-md-inline">Overview</span>
- </a>
- <a class=
- "nav-link nowrap
- active"
- href="/rpms/firefox/tree/fc69159c16b8035abdc07e69134357970f6b516f">
- <i class="fa fa-file-code-o text-muted fa-fw"></i> Files
- </a>
- <a class=
- "nav-link nowrap
-"
- href="/rpms/firefox/commits/fc69159c16b8035abdc07e69134357970f6b516f">
- <i class="fa fa-list-alt text-muted fa-fw" data-glyph="spreadsheet"></i> Commits
- </a>
- <a class=
- "nav-link nowrap
-"
- href="/rpms/firefox/branches?branchname=fc69159c16b8035abdc07e69134357970f6b516f">
- <i class="fa fa-random text-muted fa-fw"></i> Branches
- </a>
- <a class=
- "nav-link nowrap
-"
- href="/rpms/firefox/forks">
- <i class="fa fa-code-fork text-muted fa-fw"></i> Forks
- </a>
- <a class=
- "nav-link nowrap
-"
- href="/rpms/firefox/releases">
- <i class="fa fa-tags text-muted fa-fw"></i> Releases
- </a>
-
- <div class="col-xs-2 line-height-1"></div>
- <h6>Monitoring status:</h6>
- <div class="btn-group">
- <button title="Monitoring status" class="btn btn-sm btn-outline-primary disabled"
- id="monitoring-button">
- <i id="monitoring-icon" class="fa fa-fw fa-eye"></i>
- <span id="monitoring-label" class="fa fa-circle-o-notch fa-spin fa-1x fa-fw"></span>
- </button>
- </div>
-
- <div class="col-xs-2 line-height-1"></div>
- <div id="orphan-section" class="pt-3">
- <div class="col-xs-2 line-height-1"></div>
-
- </div>
-
- <div class="pt-3">
- <div class="col-xs-2 line-height-1">
- <h6>Bugzilla Assignee:</h6>
- <dl>
- <dt>Fedora: </dt>
- <dd id="fedora_assignee_txt">
- gecko-maint
- </dd>
- <dt>EPEL: </dt>
- <dd id="epel_assignee_txt">
- gecko-maint
- </dd>
- </dl>
- </div>
- </div>
-
- <div class="modal fade" id="modal_assignee" tabindex="-1"
- role="dialog" aria-labelledby="Bugzilla assignee" aria-hidden="true">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h4 class="modal-title">Bugzilla Assignee</h4>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- <span class="sr-only">Close</span>
- </button>
- </div>
- <form id="change_assignees">
- <div class="modal-body">
- <label for="fedora_assignee">Fedora</label>
- <input title="Default assignee for Fedora in bugzilla - Empty input resets to default"
- class="form-control" name="fedora_assignee" id="fedora_assignee" value="gecko-maint"/>
- <label for="epel_assignee">EPEL</label>
- <input title="Default assignee for EPEL in bugzilla (if applicable) - Empty input resets to default"
- class="form-control" name="epel_assignee" id="epel_assignee" value="gecko-maint" />
- <p class="pt-2">
- These two fields allow to specify a different default assignee for ticket opened against
- this package in bugzilla. Note: The EPEL field is
- always displayed for packages in the 'rpms' namespace regardless of whether it
- is used in bugzilla or not. </p>
- </div>
- <div class="modal-footer">
- <button class="btn btn-secondary" type="button" title="Update bugzilla overrides" id="reset_assignees">
- Reset to defaults
- </button>
- <button class="btn btn-primary" type="submit" title="Update bugzilla overrides" id="update_assignees">
- Update
- </button>
- </div>
- </form>
- </div>
- </div>
- </div>
-
- <div class="modal fade" id="modal_orphan" tabindex="-1"
- role="dialog" aria-labelledby="Orphan this package" aria-hidden="true">
- <div class="modal-dialog" role="document">
- <div class="modal-content">
- <div class="modal-header">
- <h4 class="modal-title">Orphan package</h4>
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
- <span aria-hidden="true">×</span>
- <span class="sr-only">Close</span>
- </button>
- </div>
- <div class="modal-body">
- <div class="form-group">
- <label for="reason_menu">Reason</label>
- <select id="reason_menu" class="form-control">
-
- <option id="lack_of_time_option_button">Lack of time</option>
-
- <option id="do_not_use_it_option_button">Do not use it anymore</option>
-
- <option id="unmaintained_option_button">Unmaintained upstream</option>
-
- <option id="fails_to_build_option_button">Fails to build from source</option>
-
- <option id="not_fixed_option_button">Important bug not fixed</option>
-
- <option id="other_option_button">Other</option>
- </select>
- </div>
- <label for="orphan_reason_info">Additional info</label>
- <input title="Additional info for orphaning reason"
- class="form-control" name="orphan_reason_info" id="orphan_reason_info" value=""/>
- </div>
- <div class="modal-footer">
- <button class="btn btn-primary" type="submit" title="Orphan this package" id="orphan_button">
- Update
- </button>
- </div>
- </div>
- </div>
- </div>
-
- <script type="text/javascript" nonce="5VHCMUQ81dmw6zbPtdKqrXAJZ">
- window.addEventListener('load', function() {
- set_up_monitoring = function(status){
- var _label = "Disabled"
- if (status === "monitoring") {
- _label = "Monitoring";
- $("#monitoring-icon").attr("class", "fa fa-fw fa-eye")
- } else if (status === "monitoring-with-scratch") {
- _label = "Scratch builds"
- $("#monitoring-icon").attr("class", "fa fa-fw fa-eye")
- } else {
- $("#monitoring-icon").attr("class", "fa fa-fw fa-eye-slash")
- }
-
- $("#monitoring-label").text(_label);
- $("#monitoring-label").removeClass("fa fa-circle-o-notch fa-spin fa-1x fa-fw");
- }
-
- $.ajax({
- url: "/_dg/anitya/rpms/firefox",
- type: 'GET',
- dataType: 'json',
- success: function(res) {
- console.log(res);
- set_up_monitoring(res.monitoring)
- }
- });
-
-
- $("#reset_assignees").on('click', function(){
- $('#fedora_assignee').val('');
- $('#epel_assignee').val('');
- $("#change_assignees").submit();
- return false;
- });
-
- $("#change_assignees").on('submit', function(){
- $('html').css('cursor', 'progress');
- $('#reset_assignees').attr('disabled', true);
- $('#update_assignees').attr('disabled', true);
- $('#update_assignees').text('Updating...');
- $.ajax({
- url: "/_dg/bzoverrides/rpms/firefox",
- type: 'POST',
- dataType: 'json',
- data: {
- 'epel_assignee': $('#epel_assignee').val(),
- 'fedora_assignee': $('#fedora_assignee').val()
- },
- success: function(res) {
- $("#fedora_assignee_txt").text(res.fedora_assignee);
- $("#epel_assignee_txt").text(res.epel_assignee);
- $('#modal_assignee').modal('hide');
- $('#reset_assignees').attr('disabled', false);
- $('#update_assignees').attr('disabled', false);
- $('#update_assignees').text('Update');
- $('html').css('cursor', 'default');
- console.log("Successfully changed the bugzilla assignees");
- return false;
- },
- error: function(res) {
- var msg = '';
- if(res.responseJSON.errors){
- msg = ': ' + res.responseJSON.errors.join(', ');
- }
- alert("Unable to update the bugzilla assignee(s)" + msg);
- $('html').css('cursor', 'default');
- $('#reset_assignees').attr('disabled', false);
- $('#update_assignees').attr('disabled', false);
- $('#update_assignees').text('Update');
- return false;
- }
- })
- return false;
- });
-
-
- $.ajax({
- url: "/_dg/actived/rpms/firefox",
- type: 'GET',
- dataType: 'json',
- success: function(res) {
- var _btn = $("#take_orphan_button");
- if (!res.active){
- _btn.off("click");
- _btn.click(function(){
- window.open(
- "https://pagure.io/releng/new_issue?title="
- + "Unretire rpms/firefox"
- + "&template=package_unretiremet");
- });
- _btn.prop( "title", "Package retired - Open a releng ticket to adopt it" );
- _btn.html("Retired");
- }
- _btn.removeClass('disabled');
- }
- });
-
- $("#orphan_button").click(function(){
- $("#orphan_button").attr("disabled", true);
- $.ajax({
- url: "/_dg/orphan/rpms/firefox",
- type: 'POST',
- dataType: 'json',
- data: {
- 'orphan_reason': $('#reason_menu').val(),
- 'orphan_reason_info': $('#orphan_reason_info').val()
- },
- success: function(res) {
- $("#point_of_contact_div").html("Package is currently unmaintained");
- $("#orphan_button").attr("disabled", false);
- $('#modal_orphan').modal('hide');
- $('#orphan-section').html('');
- },
- error: function(res) {
- if (res.responseJSON.errors) {
- alert('Unable to orphan the package: ' + res.responseJSON.errors);
- } else {
- alert('Unable to orphan the package: ' + res.responseJSON.error);
- }
- $("#orphan_button").attr("disabled", false);
- }
- });
- });
- });
- </script>
-
-</nav> </div>
- <div class="col-10">
- <div class="row mb-1">
- <div class="col-sm-6">
- <h3>
- Files
- </h3>
- </div>
-
- <div class="col-sm-6">
- <div class="float-right">
- <a href="#" class="btn btn-outline-light border-secondary text-dark btn-sm"
- aria-haspopup="true" aria-expanded="false">
- Commit: <span class="font-weight-bold">fc69159c16b8035abdc07e69134357970f6b516f</span>
- </a>
- </div>
- </div>
- </div>
- <div class="card mb-3">
- <div class="card-header">
- <ol class="breadcrumb p-0 bg-transparent mb-0">
- <li class="breadcrumb-item">
- <a href="/rpms/firefox/tree/fc69159c16b8035abdc07e69134357970f6b516f">
- <span class="fa fa-random">
- </span> fc69159c16b8035abdc07e69134357970f6b516f
- </a>
- </li>
- <li class="active breadcrumb-item">
- <span class="fa fa-file" data-glyph="">
- </span> mozilla-1725828.patch
- </li>
- </ol>
- </div>
-
- <div class="card-body p-0">
- <div class="bg-light border text-right pr-2">
- <form class="btn btn-sm" method="POST" name="fork_project"
- action="/fork_edit/rpms/firefox/edit/fc69159c16b8035abdc07e69134357970f6b516f/f/mozilla-1725828.patch">
- <button class="btn btn-sm btn-secondary fork_project_btn">
- Fork and Edit
- </button>
-
- </form>
-
- <a class="btn btn-secondary btn-sm" href="/rpms/firefox/blob/fc69159c16b8035abdc07e69134357970f6b516f/f/mozilla-1725828.patch" title="View as blob">Blob</a>
-
- <a class="btn btn-secondary btn-sm" href="/rpms/firefox/blame/mozilla-1725828.patch?identifier=fc69159c16b8035abdc07e69134357970f6b516f" title="View git blame">Blame</a>
-
- <a class="btn btn-secondary btn-sm" href="/rpms/firefox/history/mozilla-1725828.patch?identifier=fc69159c16b8035abdc07e69134357970f6b516f" title="View git log for this file">History</a>
-
- <a class="btn btn-secondary btn-sm" href="/rpms/firefox/raw/fc69159c16b8035abdc07e69134357970f6b516f/f/mozilla-1725828.patch" title="View as raw">Raw</a>
- </div>
-
- <pre class="syntaxhighlightblock"><code class="lang-diff">diff -up firefox-92.0/dom/media/gmp/GMPChild.cpp.1725828 firefox-92.0/dom/media/gmp/GMPChild.cpp
-
-diff --git a/dom/media/gmp/GMPChild.cpp b/dom/media/gmp/GMPChild.cpp
---- a/dom/media/gmp/GMPChild.cpp
-+++ b/dom/media/gmp/GMPChild.cpp
-@@ -227,18 +227,24 @@ mozilla::ipc::IPCResult GMPChild::RecvPr
- .EqualsASCII(lib.Data(), lib.Length())) {
- LoadLibraryW(char16ptr_t(whiteListedLib));
- break;
- }
- }
- }
- #elif defined(XP_LINUX)
- constexpr static const char* whitelist[] = {
-+ // NSS libraries used by clearkey.
- "libfreeblpriv3.so",
- "libsoftokn3.so",
-+ // glibc libraries merged into libc.so.6; see bug 1725828 and
-+ // the corresponding code in GMPParent.cpp.
-+ "libdl.so.2",
-+ "libpthread.so.0",
-+ "librt.so.1",
- };
-
- nsTArray<nsCString> libs;
- SplitAt(", ", aLibs, libs);
- for (const nsCString& lib : libs) {
- for (const char* whiteListedLib : whitelist) {
- if (lib.EqualsASCII(whiteListedLib)) {
- auto libHandle = dlopen(whiteListedLib, RTLD_NOW | RTLD_GLOBAL);
-@@ -251,17 +257,17 @@ mozilla::ipc::IPCResult GMPChild::RecvPr
- if (error) {
- // We should always have an error, but gracefully handle just in
- // case.
- nsAutoCString nsError{error};
- CrashReporter::AppendAppNotesToCrashReport(nsError);
- }
- // End bug 1698718 logging.
-
-- MOZ_CRASH("Couldn't load lib needed by NSS");
-+ MOZ_CRASH("Couldn't load lib needed by media plugin");
- }
- }
- }
- }
- #endif
- return IPC_OK();
- }
-
-diff --git a/dom/media/gmp/GMPParent.cpp b/dom/media/gmp/GMPParent.cpp
---- a/dom/media/gmp/GMPParent.cpp
-+++ b/dom/media/gmp/GMPParent.cpp
-@@ -871,16 +871,30 @@ RefPtr<GenericPromise> GMPParent::ParseC
- mLibs = "dxva2.dll"_ns;
- #endif
- } else {
- GMP_PARENT_LOG_DEBUG("%s: Unrecognized key system: %s, failing.",
- __FUNCTION__, mDisplayName.get());
- return GenericPromise::CreateAndReject(NS_ERROR_FAILURE, __func__);
- }
-
-+#ifdef XP_LINUX
-+ // These glibc libraries were merged into libc.so.6 as of glibc
-+ // 2.34; they now exist only as stub libraries for compatibility and
-+ // newly linked code won't depend on them, so we need to ensure
-+ // they're loaded for plugins that may have been linked against a
-+ // different version of glibc. (See also bug 1725828.)
-+ if (!mDisplayName.EqualsASCII("clearkey")) {
-+ if (!mLibs.IsEmpty()) {
-+ mLibs.AppendLiteral(", ");
-+ }
-+ mLibs.AppendLiteral("libdl.so.2, libpthread.so.0, librt.so.1");
-+ }
-+#endif
-+
- nsCString codecsString = NS_ConvertUTF16toUTF8(m.mX_cdm_codecs);
- nsTArray<nsCString> codecs;
- SplitAt(",", codecsString, codecs);
-
- // Parse the codec strings in the manifest and map them to strings used
- // internally by Gecko for capability recognition.
- //
- // Google's code to parse manifests can be used as a reference for strings
--- a/mozilla-bmo1729124.patch Sat Dec 04 11:19:16 2021 +0100
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-
-# HG changeset patch
-# User Zhao Jiazhong <zhaojiazhong-hf@loongson.cn>
-# Date 1631000649 0
-# Node ID eac40293649628d32911c909219d514bebb8ce63
-# Parent 6582d77235867224aaf8621bad8ee167dfb31460
-Bug 1729124 - [MIPS64][ARM64] Fix gcc build issue. r=lth
-
-The SpecificRegs struct needs a constructor.
-
-Differential Revision: https://phabricator.services.mozilla.com/D124535
-
-diff --git a/js/src/wasm/WasmBCRegDefs.h b/js/src/wasm/WasmBCRegDefs.h
---- a/js/src/wasm/WasmBCRegDefs.h
-+++ b/js/src/wasm/WasmBCRegDefs.h
-@@ -374,25 +374,31 @@ struct SpecificRegs {
- };
- #elif defined(JS_CODEGEN_ARM)
- struct SpecificRegs {
- RegI64 abiReturnRegI64;
-
- SpecificRegs() : abiReturnRegI64(ReturnReg64) {}
- };
- #elif defined(JS_CODEGEN_ARM64)
--struct SpecificRegs {};
-+struct SpecificRegs {
-+ // Required by gcc.
-+ SpecificRegs() {}
-+};
- #elif defined(JS_CODEGEN_MIPS32)
- struct SpecificRegs {
- RegI64 abiReturnRegI64;
-
- SpecificRegs() : abiReturnRegI64(ReturnReg64) {}
- };
- #elif defined(JS_CODEGEN_MIPS64)
--struct SpecificRegs {};
-+struct SpecificRegs {
-+ // Required by gcc.
-+ SpecificRegs() {}
-+};
- #else
- struct SpecificRegs {
- # ifndef JS_64BIT
- RegI64 abiReturnRegI64;
- # endif
-
- SpecificRegs() { MOZ_CRASH("BaseCompiler porting interface: SpecificRegs"); }
- };
-
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-bmo1744896.patch Sat Jan 08 10:41:19 2022 +0100
@@ -0,0 +1,43 @@
+diff -up firefox-95.0.2/widget/gtk/nsWindow.cpp.1744896 firefox-95.0.2/widget/gtk/nsWindow.cpp
+--- firefox-95.0.2/widget/gtk/nsWindow.cpp.1744896 2021-12-23 11:54:31.522539340 +0100
++++ firefox-95.0.2/widget/gtk/nsWindow.cpp 2021-12-23 11:55:56.070270174 +0100
+@@ -5765,6 +5765,17 @@ nsresult nsWindow::Create(nsIWidget* aPa
+ }
+ }
+ #endif
++#ifdef MOZ_WAYLAND
++ // Initialize the window specific VsyncSource early in order to avoid races
++ // with BrowserParent::UpdateVsyncParentVsyncSource().
++ // Only use for toplevel windows for now, see bug 1619246.
++ if (GdkIsWaylandDisplay() &&
++ StaticPrefs::widget_wayland_vsync_enabled_AtStartup() &&
++ mWindowType == eWindowType_toplevel) {
++ mWaylandVsyncSource = new WaylandVsyncSource();
++ MOZ_RELEASE_ASSERT(mWaylandVsyncSource);
++ }
++#endif
+
+ // We create input contexts for all containers, except for
+ // toplevel popup windows
+@@ -6077,19 +6088,12 @@ void nsWindow::ResumeCompositorFromCompo
+
+ void nsWindow::WaylandStartVsync() {
+ #ifdef MOZ_WAYLAND
+- // only use for toplevel windows for now - see bug 1619246
+- if (!GdkIsWaylandDisplay() ||
+- !StaticPrefs::widget_wayland_vsync_enabled_AtStartup() ||
+- mWindowType != eWindowType_toplevel) {
++ if (!mWaylandVsyncSource) {
+ return;
+ }
+
+ LOG("nsWindow::WaylandStartVsync() [%p]\n", (void*)this);
+
+- if (!mWaylandVsyncSource) {
+- mWaylandVsyncSource = new WaylandVsyncSource();
+- }
+-
+ WaylandVsyncSource::WaylandDisplay& display =
+ static_cast<WaylandVsyncSource::WaylandDisplay&>(
+ mWaylandVsyncSource->GetGlobalDisplay());
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mozilla-bmo1745560.patch Sat Jan 08 10:41:19 2022 +0100
@@ -0,0 +1,15 @@
+diff --git a/widget/gtk/mozwayland/mozwayland.c b/widget/gtk/mozwayland/mozwayland.c
+--- a/widget/gtk/mozwayland/mozwayland.c
++++ b/widget/gtk/mozwayland/mozwayland.c
+@@ -200,3 +200,10 @@
+
+ MOZ_EXPORT void wl_list_insert_list(struct wl_list* list,
+ struct wl_list* other) {}
++
++MOZ_EXPORT struct wl_proxy* wl_proxy_marshal_flags(
++ struct wl_proxy* proxy, uint32_t opcode,
++ const struct wl_interface* interface, uint32_t version, uint32_t flags,
++ ...) {
++ return NULL;
++}
+
--- a/mozilla-kde.patch Sat Dec 04 11:19:16 2021 +0100
+++ b/mozilla-kde.patch Sat Jan 08 10:41:19 2022 +0100
@@ -3,7 +3,7 @@
# Date 1559294891 -7200
# Fri May 31 11:28:11 2019 +0200
# Node ID c2aa7198fb925e7fde96abf65b6f68b9b755f112
-# Parent 9eb4df0e07175ce38fc6699b2b8544b9eda7f0ad
+# Parent d065e5213c971b1f80d4a13458c412a3a25f7c1c
Description: Add KDE integration to Firefox (toolkit parts)
Author: Wolfgang Rosenauer <wolfgang@rosenauer.org>
Author: Lubos Lunak <lunak@suse.com>
@@ -31,7 +31,7 @@
#ifdef MOZ_MEMORY
# include "mozmemory.h"
#endif
-@@ -4634,16 +4635,27 @@ nsresult Preferences::InitInitialObjects
+@@ -4635,16 +4636,27 @@ nsresult Preferences::InitInitialObjects
"unix.js"
# if defined(_AIX)
,
@@ -59,7 +59,7 @@
// Load jar:$app/omni.jar!/defaults/preferences/*.js
// or jar:$gre/omni.jar!/defaults/preferences/*.js.
-@@ -4708,17 +4720,17 @@ nsresult Preferences::InitInitialObjects
+@@ -4709,17 +4721,17 @@ nsresult Preferences::InitInitialObjects
}
nsCOMPtr<nsIFile> path = do_QueryInterface(elem);
@@ -346,7 +346,7 @@
diff --git a/toolkit/xre/moz.build b/toolkit/xre/moz.build
--- a/toolkit/xre/moz.build
+++ b/toolkit/xre/moz.build
-@@ -91,17 +91,19 @@ elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "co
+@@ -92,17 +92,19 @@ elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "co
"../components/printingui",
]
elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "uikit":
@@ -360,12 +360,12 @@
+ "nsKDEUtils.cpp",
"nsNativeAppSupportUnix.cpp",
]
+ CXXFLAGS += CONFIG["MOZ_X11_SM_CFLAGS"]
else:
UNIFIED_SOURCES += [
"nsNativeAppSupportDefault.cpp",
]
- if CONFIG["MOZ_HAS_REMOTE"]:
diff --git a/toolkit/xre/nsKDEUtils.cpp b/toolkit/xre/nsKDEUtils.cpp
new file mode 100644
--- /dev/null
--- a/mozilla-pgo.patch Sat Dec 04 11:19:16 2021 +0100
+++ b/mozilla-pgo.patch Sat Jan 08 10:41:19 2022 +0100
@@ -1,37 +1,48 @@
# HG changeset patch
# User Wolfgang Rosenauer <wr@rosenauer.org>
-# Parent ed9681bd4359b83145247fb6b01a56a2c84879fd
+# Parent 066aba2f6d1fbc0fe31d1864d539714041404fe6
diff --git a/build/moz.configure/lto-pgo.configure b/build/moz.configure/lto-pgo.configure
--- a/build/moz.configure/lto-pgo.configure
+++ b/build/moz.configure/lto-pgo.configure
-@@ -235,23 +235,23 @@ def lto(
- "configure."
- )
+@@ -243,34 +243,34 @@ def lto(
+ "configure."
+ )
+
+ if c_compiler.type == "clang":
+ if value == "full":
+ cflags.append("-flto")
+ ldflags.append("-flto")
+ else:
+- cflags.append("-flto=thin")
+- ldflags.append("-flto=thin")
++ cflags.append("-flto")
++ ldflags.append("-flto")
- if c_compiler.type == "clang":
- if len(value) and value[0].lower() == "full":
- cflags.append("-flto")
- ldflags.append("-flto")
- else:
-- cflags.append("-flto=thin")
-- ldflags.append("-flto=thin")
-+ cflags.append("-flto")
-+ ldflags.append("-flto")
- elif c_compiler.type == "clang-cl":
- if len(value) and value[0].lower() == "full":
- cflags.append("-flto")
- else:
-- cflags.append("-flto=thin")
-+ cflags.append("-flto")
- # With clang-cl, -flto can only be used with -c or -fuse-ld=lld.
- # AC_TRY_LINKs during configure don't have -c, so pass -fuse-ld=lld.
- cflags.append("-fuse-ld=lld")
+ if target.os == "Android" and value == "cross":
+ # Work around https://github.com/rust-lang/rust/issues/90088
+ # by enabling the highest level of SSE the rust targets default
+ # to.
+ # https://github.com/rust-lang/rust/blob/bdfcb88e8b6203ccb46a2fb6649979b773efc8ac/compiler/rustc_target/src/spec/i686_linux_android.rs#L13
+ # https://github.com/rust-lang/rust/blob/8d1083e319841624f64400e1524805a40d725439/compiler/rustc_target/src/spec/x86_64_linux_android.rs#L7
+ if target.cpu == "x86":
+ ldflags.append("-Wl,-plugin-opt=-mattr=+ssse3")
+ elif target.cpu == "x86_64":
+ ldflags.append("-Wl,-plugin-opt=-mattr=+sse4.2")
+ elif c_compiler.type == "clang-cl":
+ if value == "full":
+ cflags.append("-flto")
+ else:
+- cflags.append("-flto=thin")
++ cflags.append("-flto")
+ # With clang-cl, -flto can only be used with -c or -fuse-ld=lld.
+ # AC_TRY_LINKs during configure don't have -c, so pass -fuse-ld=lld.
+ cflags.append("-fuse-ld=lld")
- # Explicitly set the CPU to optimize for so the linker doesn't
- # choose a poor default. Rust compilation by default uses the
- # pentium4 CPU on x86:
- #
+ # Explicitly set the CPU to optimize for so the linker doesn't
+ # choose a poor default. Rust compilation by default uses the
+ # pentium4 CPU on x86:
+ #
diff --git a/build/pgo/profileserver.py b/build/pgo/profileserver.py
--- a/build/pgo/profileserver.py
+++ b/build/pgo/profileserver.py
@@ -155,7 +166,7 @@
diff --git a/toolkit/components/terminator/nsTerminator.cpp b/toolkit/components/terminator/nsTerminator.cpp
--- a/toolkit/components/terminator/nsTerminator.cpp
+++ b/toolkit/components/terminator/nsTerminator.cpp
-@@ -451,16 +451,21 @@ void nsTerminator::StartWatchdog() {
+@@ -461,16 +461,21 @@ void nsTerminator::StartWatchdog() {
// Defend against overflow
crashAfterMS = INT32_MAX;
} else {
--- a/series Sat Dec 04 11:19:16 2021 +0100
+++ b/series Sat Jan 08 10:41:19 2022 +0100
@@ -17,15 +17,14 @@
mozilla-fix-top-level-asm.patch
mozilla-bmo1504834-part4.patch
mozilla-bmo849632.patch
-mozilla-bmo1602730.patch
mozilla-bmo998749.patch
mozilla-bmo1626236.patch
mozilla-s390x-skia-gradient.patch
mozilla-libavcodec58_91.patch
mozilla-silence-no-return-type.patch
-mozilla-bmo1725828.patch
mozilla-bmo531915.patch
-mozilla-bmo1729124.patch
+mozilla-bmo1745560.patch
+mozilla-bmo1744896.patch
# Firefox patches
firefox-kde.patch