From 4a3c4e4f881bf381ca1675c3666c9743a42a855f Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Mon, 21 Sep 2020 10:31:36 +0200 Subject: [PATCH] Updated to 81 Build 2 --- .gitignore | 1 + firefox-disable-ffvpx-with-vapi.patch | 56 ++-- firefox.spec | 415 +------------------------- sources | 4 +- 4 files changed, 33 insertions(+), 443 deletions(-) diff --git a/.gitignore b/.gitignore index 6f7cd7e..dcd9708 100644 --- a/.gitignore +++ b/.gitignore @@ -417,3 +417,4 @@ firefox-3.6.4.source.tar.bz2 /firefox-langpacks-80.0.1-20200901.tar.xz /firefox-81.0.source.tar.xz /firefox-langpacks-81.0-20200915.tar.xz +/firefox-langpacks-81.0-20200921.tar.xz diff --git a/firefox-disable-ffvpx-with-vapi.patch b/firefox-disable-ffvpx-with-vapi.patch index c46a11d..dfe6dd8 100644 --- a/firefox-disable-ffvpx-with-vapi.patch +++ b/firefox-disable-ffvpx-with-vapi.patch @@ -1,41 +1,29 @@ -diff --git a/dom/media/platforms/PDMFactory.cpp b/dom/media/platforms/PDMFactory.cpp ---- a/dom/media/platforms/PDMFactory.cpp -+++ b/dom/media/platforms/PDMFactory.cpp -@@ -21,16 +21,17 @@ - #include "mozilla/GpuDecoderModule.h" - #include "mozilla/RemoteDecoderModule.h" - #include "mozilla/SharedThreadPool.h" - #include "mozilla/StaticPrefs_media.h" - #include "mozilla/StaticPtr.h" - #include "mozilla/SyncRunnable.h" - #include "mozilla/TaskQueue.h" - #include "mozilla/gfx/gfxVars.h" -+#include "gfxPlatformGtk.h" - - #ifdef XP_WIN - # include "WMFDecoderModule.h" - # include "mozilla/WindowsVersion.h" - #endif - #ifdef MOZ_FFVPX - # include "FFVPXRuntimeLinker.h" - #endif -@@ -362,17 +363,18 @@ void PDMFactory::CreatePDMs() { - #endif - #ifdef MOZ_OMX - if (StaticPrefs::media_omx_enabled()) { - m = OmxDecoderModule::Create(); +diff -up firefox-81.0/dom/media/platforms/PDMFactory.cpp.firefox-disable-ffvpx-with-vapi firefox-81.0/dom/media/platforms/PDMFactory.cpp +--- firefox-81.0/dom/media/platforms/PDMFactory.cpp.firefox-disable-ffvpx-with-vapi 2020-09-17 02:32:43.000000000 +0200 ++++ firefox-81.0/dom/media/platforms/PDMFactory.cpp 2020-09-21 10:30:29.393903183 +0200 +@@ -371,12 +371,6 @@ void PDMFactory::CreatePDMs() { StartupPDM(m); } #endif - #ifdef MOZ_FFVPX +-#ifdef MOZ_FFVPX - if (StaticPrefs::media_ffvpx_enabled()) { -+ if (StaticPrefs::media_ffvpx_enabled() && -+ !gfxPlatformGtk::GetPlatform()->UseHardwareVideoDecoding()) { - m = FFVPXRuntimeLinker::CreateDecoderModule(); - StartupPDM(m); - } - #endif +- m = FFVPXRuntimeLinker::CreateDecoderModule(); +- StartupPDM(m); +- } +-#endif #ifdef MOZ_FFMPEG if (StaticPrefs::media_ffmpeg_enabled()) { m = FFmpegRuntimeLinker::CreateDecoderModule(); - mFFmpegFailedToLoad = !StartupPDM(m); +@@ -385,6 +379,12 @@ void PDMFactory::CreatePDMs() { + mFFmpegFailedToLoad = false; + } + #endif ++#ifdef MOZ_FFVPX ++ if (StaticPrefs::media_ffvpx_enabled()) { ++ m = FFVPXRuntimeLinker::CreateDecoderModule(); ++ StartupPDM(m); ++ } ++#endif + #ifdef MOZ_WIDGET_ANDROID + if (StaticPrefs::media_android_media_codec_enabled()) { + m = new AndroidDecoderModule(); diff --git a/firefox.spec b/firefox.spec index ffd1b6f..947f497 100644 --- a/firefox.spec +++ b/firefox.spec @@ -120,12 +120,12 @@ ExcludeArch: armv7hl Summary: Mozilla Firefox Web browser Name: firefox Version: 81.0 -Release: 2%{?dist} +Release: 3%{?dist} URL: https://www.mozilla.org/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz %if %{with langpacks} -Source1: firefox-langpacks-%{version}%{?pre_version}-20200915.tar.xz +Source1: firefox-langpacks-%{version}%{?pre_version}-20200921.tar.xz %endif Source2: cbindgen-vendor.tar.xz Source10: firefox-mozconfig @@ -975,6 +975,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Mon Sep 21 2020 Martin Stransky - 81.0-3 +- Updated to 81.0 Build 2 +- Updated firefox-disable-ffvpx-with-vapi patch +- Deleted old changelog entries + * Thu Sep 17 2020 Martin Stransky - 81.0-2 - Added upstream patches mzbz#1665324 mozbz#1665329 - Updated requested nss version to 3.56 @@ -1250,408 +1255,4 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - Switched to in-tree nss due to rhbz#1752303 * Tue Oct 15 2019 Martin Stransky - 70.0-1 -- Updated to 70.0 - -* Mon Oct 14 2019 Martin Stransky - 69.0.3-2 -- Build firefox-wayland again (rhbz#1761578). - -* Thu Oct 10 2019 Martin Stransky - 69.0.3-1 -- Updated to 69.0.3 - -* Wed Oct 9 2019 Martin Stransky - 69.0.2-3 -- Obsolete firefox-wayland when we're on wayland by default. - -* Thu Oct 3 2019 Martin Stransky - 69.0.2-2 -- Added fix for mozilla#1587008 - flickering during GL resize. - -* Thu Oct 3 2019 Martin Stransky - 69.0.2-1 -- Updated to 69.0.2 - -* Mon Sep 30 2019 Martin Stransky - 69.0.1-5 -- Updated rhbz#1754460/mzbz#1583466 - per user policy dir. - -* Tue Sep 24 2019 Martin Stransky - 69.0.1-4 -- Added fix for rhbz#1754460 - -* Thu Sep 19 2019 Martin Stransky - 69.0.1-3 -- Updated cache-missing strategy for Wayland image cache. - -* Thu Sep 19 2019 Martin Stransky - 69.0.1-2 -- Do PGO builds with X11 backend. - -* Wed Sep 18 2019 Martin Stransky - 69.0.1-1 -- Updated to 69.0.1 - -* Wed Sep 18 2019 Martin Stransky - 69.0-11 -- Do PGO builds with Wayland backend. - -* Wed Sep 18 2019 Martin Stransky - 69.0-10 -- Disabled DoH by default (rhbz#1751410), - patch by Eduardo Mínguez Pérez (eminguez). - -* Tue Sep 17 2019 Martin Stransky - 69.0-9 -- Enable Wayland cache mode control (mozbz#1577024) - -* Tue Sep 17 2019 Martin Stransky - 69.0-7 -- Added fixes for mozbz#1581748 - -* Mon Sep 16 2019 Martin Stransky - 69.0-6 -- Added fixes for mozbz#1579823, mozbz#1580152 - -* Wed Sep 11 2019 Martin Stransky - 69.0-5 -- Added fix for mozbz#1579849 - partial screen update when - page switches. - -* Wed Sep 11 2019 Martin Stransky - 69.0-4 -- Added fix for mozbz#1579794 - Flickering on video playback on - 4k/HiDPI displays. - -* Mon Sep 9 2019 Martin Stransky - 69.0-3 -- Added fix for mozbz#1579023 - -* Mon Sep 2 2019 Martin Stransky - 69.0-2 -- Added upstream Wayland patches (mozilla-1548475, mozilla-1562827, - mozilla-1567434, mozilla-1573813, mozilla-1574036, - mozilla-1576268). -- Enable multiprocess compilation. -- Enable profile downgrade. -- Disabled ppc64le on Fedora 29 (rhbz#1749729) - -* Thu Aug 29 2019 Jan Horak - 69.0-1 -- Update to 69.0 - -* Wed Aug 14 2019 Jan Horak - 68.0.2-1 -- Update to 68.0.2 - -* Mon Aug 5 2019 Jan Horak - 68.0.1-3 -- Added workaround fix for webrtc indicator -- Added rust build workaround - -* Wed Jul 24 2019 Martin Stransky - 68.0.1-2 -- Added fix for rhbz#1709840 -- Added node js wrapper to fix koji freezes - (https://pagure.io/fedora-infrastructure/issue/8026) -- Updated mozbz#1512162 for ppc64le - -* Mon Jul 22 2019 Martin Stransky - 68.0.1-1 -- Updated to 68.0.1 -- Enabled WebRTC on ppc64le (rhbz#1732069) - -* Thu Jul 11 2019 Martin Stransky - 68.0-5 -- Enabled aarch64 and ppc64le - -* Wed Jul 10 2019 Martin Stransky - 68.0-4 -- Added fixes for aarch64 builds. - -* Tue Jul 9 2019 Dan Horák - 68.0-3 -- Fix crash on ppc64le (mozilla#1512162) - -* Mon Jul 8 2019 Jan Horak - 68.0-2 -- Update pipewire patch - -* Tue Jul 2 2019 Martin Stransky - 68.0-1 -- Updated to 68.0 - -* Thu Jun 20 2019 Martin Stransky - 67.0.4-1 -- Updated to 67.0.4 - -* Tue Jun 18 2019 Martin Stransky - 67.0.3-1 -- Updated to 67.0.3 - -* Tue Jun 11 2019 Martin Stransky - 67.0.2-1 -- Updated to 67.0.2 Build 2 - -* Thu May 23 2019 Martin Stransky - 67.0-4 -- Added wayland buffer optimization (mozilla#1553747). - -* Fri May 17 2019 Martin Stransky - 67.0-3 -- Use %lang() in regular builds. -- Updated to 67.0 Build 2 - -* Thu May 16 2019 Jan Horak - 67.0-2 -- Removed %lang() prefix from langpacks file list due to flatpak - -* Wed May 15 2019 Martin Stransky - 67.0-1 -- Updated to 67.0 - -* Wed May 8 2019 Martin Stransky - 66.0.5-1 -- Updated to 66.0.5 - -* Sun May 5 2019 Martin Stransky - 66.0.4-1 -- Updated to 66.0.4 - -* Thu May 2 2019 Martin Stransky - 66.0.3-2 -- Removed fix for mozbz#526293 as it's broken and does not - bring any new functionality. - -* Thu Apr 11 2019 Martin Stransky - 66.0.3-1 -- Updated to 66.0.3 (Build 1) - -* Mon Apr 1 2019 Martin Stransky - 66.0.2-1 -- Updated to 66.0.2 (Build 1) -- Added fixes for mozbz#1526243, mozbz#1540145 - -* Thu Mar 28 2019 Martin Stransky - 66.0.1-4 -- Added fix for mozbz#1539471 - wayland popups/tooltips - -* Wed Mar 27 2019 Martin Stransky - 66.0.1-3 -- Added fix for mozbz#526293 - show remote locations at - file chooser dialog - -* Fri Mar 22 2019 Martin Stransky - 66.0.1-1 -- Updated to 66.0.1 (Build 1) - -* Thu Mar 21 2019 Martin Stransky - 66.0-10.test -- Test module build, use flatpak global define -- Added fix for F31 (mozbz#1533969) - -* Thu Mar 21 2019 Martin Stransky - 66.0-9 -- Release build - -* Thu Mar 21 2019 Martin Stransky - 66.0-8.test -- Added module specific build config -- Fixed mozbz#1423598 for multi-monitor setup - -* Wed Mar 20 2019 Martin Stransky - 66.0-7.test -- Switched to test builds -- Updated mozbz#1468911 patch - -* Mon Mar 18 2019 Martin Stransky - 66.0-6 -- Build release candidate -- Disabled default Wayland backend for Fedora 30 - -* Mon Mar 18 2019 Martin Stransky - 66.0-5 -- Added fix for mozbz#1468911 - -* Mon Mar 18 2019 Martin Stransky - 66.0-4 -- Release build - -* Fri Mar 15 2019 Martin Stransky - 66.0-3 -- Updated to 66.0 (Build 3) -- Re-enable s390x arches -- Fixed Wayland specific bugs mozbz#1535567, mozbz#1431399 - -* Tue Mar 12 2019 Martin Stransky - 66.0-1 -- Updated to 66.0 (Build 1) - -* Fri Mar 1 2019 Martin Stransky - 65.0.2-1 -- Updated to 65.0.2 -- Disabled PGO+LTO for Fedora 30 -- Disabled Mozilla Crashreporter to get Wayland crashes by ABRT -- Disabled s390x builds due to - https://pagure.io/fedora-infrastructure/issue/7581 - - -* Thu Feb 28 2019 Martin Stransky - 65.0.1-2 -- Enable ARBT for Fedora 29 and later to catch wayland crashes. -- Disable system libvpx for Fedora 30 and later. - -* Wed Feb 20 2019 Martin Stransky - 65.0.1-1 -- Disabled s390x/f28 builds due to - https://pagure.io/fedora-infrastructure/issue/7581 - -* Fri Feb 15 2019 Jan Horak - 65.0.1-1 -- Update to 65.0.1 - -* Mon Feb 4 2019 Martin Stransky - 65.0-4 -- Added fix for mozbz#1522780 - -* Thu Jan 31 2019 Fedora Release Engineering - 65.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jan 31 2019 Jan Grulich - 65.0-2 -- Re-enable PipeWire support - -* Mon Jan 28 2019 Martin Stransky - 65.0-1 -- Update to 65.0 build 2 - -* Wed Jan 16 2019 Martin Stransky - 64.0.2-2 -- Rebuild - -* Thu Jan 10 2019 Jan Horak - 64.0.2-1 -- Update to 64.0.2 - -* Mon Jan 7 2019 Jan Horak - 64.0-7 -- Pipewire patch rebased (thanks to Tomas Popela) -- Enabled PGO on some arches. - -* Fri Jan 4 2019 Carmen Bianca Bakker - 64.0-6 -- Changed locale detector to handle Esperanto (rhbz#1656900) - -* Fri Dec 21 2018 Martin Stransky - 64.0-5 -- Test PGO build. - -* Wed Dec 12 2018 Martin Stransky - 64.0-4 -- Use gcc on all platforms for official release. - -* Wed Dec 12 2018 Martin Stransky - 64.0-3 -- Updated PGO build setup. - -* Tue Dec 4 2018 Martin Stransky - 64.0-2 -- Updated to Firefox 64 (Build 3) -- Built with Clang on some arches. - -* Mon Nov 26 2018 Martin Stransky - 63.0.3-3 -- [Wayland] Fixed issues with Sway compositor and wl_keyboard setup - (mozbz#1507475). - -* Wed Nov 21 2018 Martin Stransky - 63.0.3-2 -- [Wayland] Fixed mozbz#1507475 - crash when display changes - (rhbz#1646151). - -* Thu Nov 15 2018 Martin Stransky - 63.0.3-1 -- Updated to latest upstream (63.0.3) - -* Tue Nov 13 2018 Martin Stransky - 63.0.1-6 -- Added an option to build with clang/llvm. -- Fixed debug builds. -- Fixed warnings at Wayland clipboard code. - -* Tue Nov 6 2018 Martin Stransky - 63.0.1-5 -- Added fix for mozbz#1502457- disable Contextual Feature - Recommender/shield studies by default. - -* Mon Nov 5 2018 Martin Stransky - 63.0.1-4 -- Added clipboard fix (mozbz#1504689) - -* Fri Nov 2 2018 Dan Horak - 63.0.1-3 -- Added fixes for ppc64le - -* Thu Nov 1 2018 Martin Stransky - 63.0.1-2 -- Fixed typo on man page (rhbz#1643766) - -* Thu Nov 1 2018 Martin Stransky - 63.0.1-1 -- Updated to latest upstream (63.0.1 build 4) - -* Tue Oct 23 2018 Martin Stransky - 63.0-2 -- Updated to latest upstream (63.0 build 2) - -* Thu Oct 18 2018 Martin Stransky - 63.0-1 -- Updated to latest upstream (63.0) -- Updated PipeWire patch - -* Tue Oct 9 2018 Martin Stransky - 62.0.3-4 -- Added fix for mozbz#1447775 - wrong dropspace sizing. - -* Tue Oct 9 2018 Martin Stransky - 62.0.3-3 -- Added fix for mozbz#1493081 - popups incorrectly placed and sized. - -* Mon Oct 8 2018 Martin Stransky - 62.0.3-2 -- Added pipewire patch (mozbz#1496359) -- Added Wayland patches from Firefox 63 -- Enable Wayland backed by default on Fedora 30 - -* Tue Oct 2 2018 Martin Stransky - 62.0.3-1 -- Updated to latest upstream (62.0.3) - -* Wed Sep 26 2018 Martin Stransky - 62.0.2-3 -- Enabled DBus remote for all Gtk+ backends -- Removed obsoleted patches - -* Tue Sep 25 2018 Martin Stransky - 62.0.2-2 -- Disable workaround for mozbz#1342344 - GFX glitches when building - with -O3/gcc 7.2 - -* Mon Sep 24 2018 Jan Horak - 62.0.2-1 -- Update to 62.0.2 - -* Mon Sep 17 2018 Martin Stransky - 62.0-3 -- Added spellchecker.dictionary_path pref pointer to /usr/share/myspell. - Thanks to Peter Oliver (rhbz#1627837) - -* Tue Sep 4 2018 Martin Stransky - 62.0-2 -- Update to 62.0 (Build 2) - -* Tue Aug 28 2018 Martin Stransky - 62.0-1 -- Update to 62.0 - -* Wed Aug 15 2018 Ondrej Zoder - 61.0.2-3 -- Added patches for mozbz#1427700 and mozbz#1463809 - -* Mon Aug 13 2018 Ondrej Zoder - 61.0.2-2 -- Updated symbolic icon - -* Thu Aug 9 2018 Martin Stransky - 61.0.2-1 -- Update to 61.0.2 - -* Wed Aug 1 2018 Ondrej Zoder - 61.0.1-4 -- Fixed rhbz#1610428 - -* Tue Jul 17 2018 Ondrej Zoder - 61.0.1-3 -- Bump release - -* Fri Jul 13 2018 Fedora Release Engineering - 61.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jul 10 2018 Ondrej Zoder - 61.0.1 -- Update to 61.0.1 - -* Mon Jun 25 2018 Martin Stransky - 61.0-4 -- Disabled mozbz#1424422 as it's broken. - -* Fri Jun 22 2018 Martin Stransky - 61.0-3 -- Update to 61.0 Build 3 - -* Thu Jun 21 2018 Martin Stransky - 61.0-2 -- Disabled system hunspell due to rhbz#1593494 - -* Tue Jun 19 2018 Martin Stransky - 61.0-1 -- Updated to 61.0 -- Created firefox-wayland subpackage with wayland launcher. - -* Mon Jun 11 2018 Jan Horak - 60.0.2-1 -- Update to 60.0.2 - -* Mon Jun 4 2018 Martin Stransky - 60.0.1-6 -- Fixed mozbz#1466473, rhbz#1585300 - Fix GL detection. -- Fixed desktop file names (rhbz#1585369). - -* Wed May 30 2018 Martin Stransky - 60.0.1-5 -- Added workaround for mozbz#1464823 which makes GL layer - compositor usable on Wayland. - -* Tue May 29 2018 Martin Stransky - 60.0.1-4 -- Added fix for mozbz#1464808 - Set default D&D action to move - on Wayland. - -* Fri May 25 2018 Martin Stransky - 60.0.1-3 -- Added fix for mozbz#1436242 (rhbz#1577277) - Firefox IPC crashes. -- Added fix for mozbz#1462640 - Sandbox disables eglGetDisplay() - call on Wayland/EGL backend. - -* Fri May 25 2018 Martin Stransky - 60.0.1-2 -- Enable Wayland backend. - -* Wed May 23 2018 Jan Horak - 60.0.1-1 -- Update to 60.0.1 - -* Wed May 16 2018 Martin Stransky - 60.0-6 -- Added patch from rhbz#1498561 - second arch (ppc*) crashes. - -* Wed May 16 2018 Martin Stransky - 60.0-5 -- Disabled jemalloc on second arches. - -* Thu May 3 2018 Martin Stransky - 60.0-4 -- Updated to Firefox 60 build 2 - -* Thu May 3 2018 Martin Stransky - 60.0-3 -- Added patch from mozbz#1375074 - fixes aarch64 baseline JIT crashes - -* Thu May 3 2018 Martin Stransky - 60.0-2 -- Make Wayland backend optional and disable it by default due to WebGL issues. - -* Wed May 2 2018 Martin Stransky - 60.0-1 -- Update to Firefox 60 build 1 -- Ship firefox-wayland launch script - -* Mon Apr 30 2018 Martin Stransky - 60.0-0.5 -- Build with Wayland backend enabled. - -* Mon Apr 30 2018 Martin Stransky - 60.0-0.4 -- Added patches for correct popups position at CSD mode (mozilla-1457691). - -* Fri Apr 27 2018 Martin Stransky - 60.0-0.2 -- Update to 60.0 Beta 16 - -* Tue Apr 24 2018 Martin Stransky - 60.0-0.1 -- Update to 60.0 Beta 15 +- Updated to 70.0 \ No newline at end of file diff --git a/sources b/sources index 60f96ae..8fa62bb 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (cbindgen-vendor.tar.xz) = f0425020e2d43a3d28b03f82bdb9719728112a2c94b1d595da384d0674ca21d0940a6f729a690434d670e598fbc6bb5193c89da0a4633a734c70dd786222e711 -SHA512 (firefox-81.0.source.tar.xz) = 859ebc3f898b0f44681033f6b11c983ace5d4db1c6e813129025bdbefcbe444b985a4f922664cabf3d3f99f0b12be7505c127ca0ad7ea259c17eb7d415b8c67a -SHA512 (firefox-langpacks-81.0-20200915.tar.xz) = 91f28ce3b05a92753b8729f02f4402f4dc55116761e5d61ad2269317869a800efb4fa82b0cba31942085baacabb9292bb3b2057a30842dbb994f6e405af1614b +SHA512 (firefox-81.0.source.tar.xz) = 29e0af4c53a09451c3b8e6850c3f19538530035fb576ebe99b3b3a7ed55c37f51bdf44d6c02704e0cbb05ef4ce8278c9b47877643e64c68cd594d626e5d86e5b +SHA512 (firefox-langpacks-81.0-20200921.tar.xz) = 5ebaea48e1310549eb1ddf189c5333027da5b34a45fb735af413899aed00d04223159615787a3d65f0cb15582809ee21b91a594d1ad0f6ab5fe857f074002c4b