MFH: r568897 r568900

update firefox to 87.0

Release Notes (soon):
  https://www.mozilla.org/en-US/firefox/87.0/releasenotes/

www/firefox: bump minimum dependencies after r568897
This commit is contained in:
Christoph Moench-Tegeder 2021-03-22 13:10:04 +00:00
parent ebb3230a02
commit 64b874d99c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=568958
5 changed files with 23 additions and 27 deletions

View File

@ -77,7 +77,7 @@ BINARY_ALIAS+= python3=${PYTHON_CMD}
BUNDLE_LIBS= yes BUNDLE_LIBS= yes
BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \ BUILD_DEPENDS+= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} \
rust-cbindgen>=0.15.0:devel/rust-cbindgen \ rust-cbindgen>=0.16.0:devel/rust-cbindgen \
${RUST_DEFAULT}>=1.43:lang/${RUST_DEFAULT} \ ${RUST_DEFAULT}>=1.43:lang/${RUST_DEFAULT} \
node:www/node node:www/node
LIB_DEPENDS+= libdrm.so:graphics/libdrm LIB_DEPENDS+= libdrm.so:graphics/libdrm

View File

@ -2,7 +2,7 @@
# $FreeBSD$ # $FreeBSD$
PORTNAME= firefox PORTNAME= firefox
DISTVERSION= 86.0.1 DISTVERSION= 87.0
PORTEPOCH= 2 PORTEPOCH= 2
CATEGORIES= www CATEGORIES= www
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \ MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
@ -13,10 +13,10 @@ MAINTAINER= gecko@FreeBSD.org
COMMENT= Web browser based on the browser portion of Mozilla COMMENT= Web browser based on the browser portion of Mozilla
BUILD_DEPENDS= nspr>=4.26:devel/nspr \ BUILD_DEPENDS= nspr>=4.26:devel/nspr \
nss>=3.58:security/nss \ nss>=3.62:security/nss \
icu>=67.1,1:devel/icu \ icu>=67.1,1:devel/icu \
libevent>=2.1.8:devel/libevent \ libevent>=2.1.8:devel/libevent \
harfbuzz>=2.6.8:print/harfbuzz \ harfbuzz>=2.7.4:print/harfbuzz \
graphite2>=1.3.14:graphics/graphite2 \ graphite2>=1.3.14:graphics/graphite2 \
png>=1.6.35:graphics/png \ png>=1.6.35:graphics/png \
libvpx>=1.8.2:multimedia/libvpx \ libvpx>=1.8.2:multimedia/libvpx \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1615464256 TIMESTAMP = 1616281703
SHA256 (firefox-86.0.1.source.tar.xz) = 74f99c226ae6747f0170566f4f88be410866b0120214d2a593566cd1fff3d3df SHA256 (firefox-87.0.source.tar.xz) = ce98be0522f971b6950f22c738c4b2caf19cf7f48ab2ae2e6d46694af7fd58ab
SIZE (firefox-86.0.1.source.tar.xz) = 369541992 SIZE (firefox-87.0.source.tar.xz) = 377285124

View File

@ -3,11 +3,9 @@ using any cubeb backends other than pulse-rust to play media. The loss of
such change will be that users will not be able to do profiling on threads such change will be that users will not be able to do profiling on threads
created by libcubeb. created by libcubeb.
diff --git dom/media/AudioStream.cpp dom/media/AudioStream.cpp --- dom/media/AudioStream.cpp.orig 2021-03-20 22:57:21.194862000 +0100
index 1b62a26ab32b2..35c61f612bf72 100644 +++ dom/media/AudioStream.cpp 2021-03-20 23:00:50.527112000 +0100
--- dom/media/AudioStream.cpp @@ -26,7 +26,6 @@
+++ dom/media/AudioStream.cpp
@@ -25,7 +25,6 @@
#endif #endif
#include "Tracing.h" #include "Tracing.h"
#include "webaudio/blink/DenormalDisabler.h" #include "webaudio/blink/DenormalDisabler.h"
@ -15,18 +13,18 @@ index 1b62a26ab32b2..35c61f612bf72 100644
// Use abort() instead of exception in SoundTouch. // Use abort() instead of exception in SoundTouch.
#define ST_NO_EXCEPTION_HANDLING 1 #define ST_NO_EXCEPTION_HANDLING 1
@@ -138,9 +137,7 @@ @@ -139,9 +138,7 @@
mTimeStretcher(nullptr), mTimeStretcher(nullptr),
mState(INITIALIZED), mState(INITIALIZED),
mDataSource(aSource), mDataSource(aSource),
- mPrefillQuirk(false), - mPrefillQuirk(false),
- mAudioThreadId(0), - mAudioThreadId(0),
- mSandboxed(CubebUtils::SandboxEnabled()) { - mSandboxed(CubebUtils::SandboxEnabled()) {}
+ mPrefillQuirk(false) { + mPrefillQuirk(false) {}
#if defined(XP_WIN)
if (XRE_IsContentProcess()) { AudioStream::~AudioStream() {
audio::AudioNotificationReceiver::Register(this); LOG("deleted, state %d", mState);
@@ -587,21 +584,7 @@ @@ -565,21 +562,7 @@
aWriter.Available()); aWriter.Available());
} }
@ -48,7 +46,7 @@ index 1b62a26ab32b2..35c61f612bf72 100644
WebCore::DenormalDisabler disabler; WebCore::DenormalDisabler disabler;
TRACE_AUDIO_CALLBACK_BUDGET(aFrames, mAudioClock.GetInputRate()); TRACE_AUDIO_CALLBACK_BUDGET(aFrames, mAudioClock.GetInputRate());
@@ -657,9 +640,6 @@ @@ -635,9 +618,6 @@
mDumpFile.Write(static_cast<const AudioDataValue*>(aBuffer), mDumpFile.Write(static_cast<const AudioDataValue*>(aBuffer),
aFrames * mOutChannels); aFrames * mOutChannels);
@ -58,11 +56,9 @@ index 1b62a26ab32b2..35c61f612bf72 100644
return aFrames - writer.Available(); return aFrames - writer.Available();
} }
diff --git dom/media/AudioStream.h dom/media/AudioStream.h --- dom/media/AudioStream.h.orig 2021-03-20 23:01:10.169773000 +0100
index 933e4cb3bfdb5..5d2181e632af9 100644 +++ dom/media/AudioStream.h 2021-03-20 23:01:56.622691000 +0100
--- dom/media/AudioStream.h @@ -294,7 +294,6 @@
+++ dom/media/AudioStream.h
@@ -307,7 +307,6 @@ class AudioStream final
template <typename Function, typename... Args> template <typename Function, typename... Args>
int InvokeCubeb(Function aFunction, Args&&... aArgs); int InvokeCubeb(Function aFunction, Args&&... aArgs);
@ -70,7 +66,7 @@ index 933e4cb3bfdb5..5d2181e632af9 100644
// The monitor is held to protect all access to member variables. // The monitor is held to protect all access to member variables.
Monitor mMonitor; Monitor mMonitor;
@@ -341,9 +340,6 @@ class AudioStream final @@ -328,9 +327,6 @@
// the default device is used. It is set // the default device is used. It is set
// during the Init() in decoder thread. // during the Init() in decoder thread.
RefPtr<AudioDeviceInfo> mSinkInfo; RefPtr<AudioDeviceInfo> mSinkInfo;

View File

@ -278,7 +278,7 @@ index 9297e4d6f501..d8e273887e4b 100644
+option("--with-system-harfbuzz", +option("--with-system-harfbuzz",
+ help="Use system harfbuzz (located with pkgconfig)") + help="Use system harfbuzz (located with pkgconfig)")
+ +
+system_harfbuzz = pkg_check_modules("MOZ_HARFBUZZ", "harfbuzz >= 2.6.8", +system_harfbuzz = pkg_check_modules("MOZ_HARFBUZZ", "harfbuzz >= 2.7.4",
+ when="--with-system-harfbuzz") + when="--with-system-harfbuzz")
+ +
+set_config("MOZ_SYSTEM_HARFBUZZ", depends_if(system_harfbuzz)(lambda _: True)) +set_config("MOZ_SYSTEM_HARFBUZZ", depends_if(system_harfbuzz)(lambda _: True))