forked from pool/MozillaFirefox
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:
commit
dd933aa336
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
20
mozilla-libavcodec58_91.patch
Normal file
20
mozilla-libavcodec58_91.patch
Normal 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",
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user