1
0

Accepting request 821616 from mozilla:Factory

- Add mozilla-libavcodec58_91.patch to link against updated
  soversion of libavcodec (58.91) with ffmpeg >= 4.3.
  (patch provided by Atri Bhattacharya <badshah400@gmail.com>
- enable MOZ_USE_XINPUT2 for TW (again) (boo#1173320)
  (Plasma 5.19.3 is now in TW)

OBS-URL: https://build.opensuse.org/request/show/821616
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MozillaFirefox?expand=0&rev=316
This commit is contained in:
Dominique Leuenberger 2020-07-21 13:45:26 +00:00 committed by Git OBS Bridge
commit dd933aa336
4 changed files with 35 additions and 4 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Jul 17 15:07:45 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
- Add mozilla-libavcodec58_91.patch to link against updated
soversion of libavcodec (58.91) with ffmpeg >= 4.3.
(patch provided by Atri Bhattacharya <badshah400@gmail.com>
- enable MOZ_USE_XINPUT2 for TW (again) (boo#1173320)
(Plasma 5.19.3 is now in TW)
-------------------------------------------------------------------
Sat Jul 11 11:08:06 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>

View File

@ -208,6 +208,7 @@ Patch24: mozilla-bmo1602730.patch
Patch25: mozilla-bmo998749.patch
Patch26: mozilla-bmo1626236.patch
Patch27: mozilla-s390x-skia-gradient.patch
Patch28: mozilla-libavcodec58_91.patch
# Firefox/browser
Patch101: firefox-kde.patch
Patch102: firefox-branded-icons.patch
@ -349,6 +350,7 @@ cd $RPM_BUILD_DIR/%{srcname}-%{orig_version}
%patch25 -p1
%patch26 -p1
%patch27 -p1
%patch28 -p1
# Firefox
%patch101 -p1
%patch102 -p1

View File

@ -0,0 +1,20 @@
Index: firefox-78.0.2/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
===================================================================
--- firefox-78.0.2.orig/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
+++ firefox-78.0.2/dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
@@ -30,6 +30,7 @@ static FFmpegLibWrapper sLibAV;
static const char* sLibs[] = {
// clang-format off
#if defined(XP_DARWIN)
+ "libavcodec.58.91.dylib",
"libavcodec.58.dylib",
"libavcodec.57.dylib",
"libavcodec.56.dylib",
@@ -37,6 +38,7 @@ static const char* sLibs[] = {
"libavcodec.54.dylib",
"libavcodec.53.dylib",
#else
+ "libavcodec.so.58.91",
"libavcodec.so.58",
"libavcodec-ffmpeg.so.58",
"libavcodec-ffmpeg.so.57",

View File

@ -97,10 +97,10 @@ if [ "$WAYLAND_DISPLAY" ]; then
fi
# xinput2 (boo#1173320)
#source /etc/os-release
#if [ "$ID" = "opensuse-tumbleweed" ]; then
# export MOZ_USE_XINPUT2=1
#fi
source /etc/os-release
if [ "$ID" = "opensuse-tumbleweed" ]; then
export MOZ_USE_XINPUT2=1
fi
##
## To disable the use of Firefox localization handling for