[lightspark] Add patch to build with libswresample
by Xavier Bachelot
commit 810b0580bbff303f9d327e7e87c36c6d0f7676f4
Author: Xavier Bachelot <xavier(a)bachelot.org>
Date: Mon Aug 12 14:48:39 2019 +0200
Add patch to build with libswresample
lightspark-0.7.2-fix_ffmpeg_include_dir.patch | 12 --
lightspark-0.8.1-use_libswresample.patch | 222 ++++++++++++++++++++++++++
lightspark.spec | 11 +-
3 files changed, 230 insertions(+), 15 deletions(-)
---
diff --git a/lightspark-0.8.1-use_libswresample.patch b/lightspark-0.8.1-use_libswresample.patch
new file mode 100644
index 0000000..9c72440
--- /dev/null
+++ b/lightspark-0.8.1-use_libswresample.patch
@@ -0,0 +1,222 @@
+commit cebe33766bd1d672618a2931ceb50ae64fb994ed
+Author: Ludger Krämer <dbluelle(a)onlinehome.de>
+Date: Sat Sep 1 13:17:34 2018 +0200
+
+ use libswresample instead of libavresample, if available
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index c195aa14..b76e228f 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -291,6 +291,7 @@ ENDIF(WIN32)
+
+ IF(ENABLE_LIBAVCODEC)
+ pkg_check_modules(FFMPEG libavcodec libavutil libavformat)
++ pkg_check_modules(LIBSWRESAMPLE libswresample)
+ pkg_check_modules(LIBAVRESAMPLE libavresample)
+ IF(NOT(FFMPEG_FOUND))
+ INCLUDE(FindFFMpeg REQUIRED)
+@@ -298,9 +299,16 @@ IF(ENABLE_LIBAVCODEC)
+ # Compatibility checks for ffmpeg deprecated functions
+ INCLUDE(CheckFunctionExists REQUIRED)
+ INCLUDE(CheckCSourceCompiles)
+- SET(FFMPEG_FLAGS "${LIBAVCODEC_CFLAGS} ${LIBAVRESAMPLE_FLAGS}")
+- SET(FFMPEG_INCLUDE_DIRS "${FFMPEG_INCLUDE_DIRS};${LIBAVRESAMPLE_INCLUDE_DIRS}")
+- SET(FFMPEG_LIBRARIES "${FFMPEG_LIBRARIES};${LIBAVRESAMPLE_LIBRARIES}")
++ IF(LIBSWRESAMPLE_FOUND)
++ SET(FFMPEG_FLAGS "${LIBAVCODEC_CFLAGS} ${LIBSWRESAMPLE_FLAGS}")
++ SET(FFMPEG_INCLUDE_DIRS "${FFMPEG_INCLUDE_DIRS};${LIBSWRESAMPLE_INCLUDE_DIRS}")
++ SET(FFMPEG_LIBRARIES "${FFMPEG_LIBRARIES};${LIBSWRESAMPLE_LIBRARIES}")
++ ELSE()
++ # libavresample is deprecated, so only use it as a fallback for older ffmpeg
++ SET(FFMPEG_FLAGS "${LIBAVCODEC_CFLAGS} ${LIBAVRESAMPLE_FLAGS}")
++ SET(FFMPEG_INCLUDE_DIRS "${FFMPEG_INCLUDE_DIRS};${LIBAVRESAMPLE_INCLUDE_DIRS}")
++ SET(FFMPEG_LIBRARIES "${FFMPEG_LIBRARIES};${LIBAVRESAMPLE_LIBRARIES}")
++ ENDIF(LIBSWRESAMPLE_FOUND)
+ SET(CMAKE_REQUIRED_FLAGS ${FFMPEG_FLAGS})
+ SET(CMAKE_REQUIRED_INCLUDES ${FFMPEG_INCLUDE_DIRS})
+ SET(CMAKE_REQUIRED_LIBRARIES ${FFMPEG_LIBRARIES})
+@@ -351,9 +359,14 @@ IF(ENABLE_LIBAVCODEC)
+ IF(HAVE_AVCODECID)
+ ADD_DEFINITIONS(-DHAVE_AVCODECID)
+ ENDIF(HAVE_AVCODECID)
+- IF(LIBAVRESAMPLE_FOUND)
+- ADD_DEFINITIONS(-DHAVE_LIBAVRESAMPLE)
+- ENDIF(LIBAVRESAMPLE_FOUND)
++ IF(LIBSWRESAMPLE_FOUND)
++ ADD_DEFINITIONS(-DHAVE_LIBSWRESAMPLE)
++ ELSE()
++ # libavresample is deprecated, so only use it as a fallback for older ffmpeg
++ IF(LIBAVRESAMPLE_FOUND)
++ ADD_DEFINITIONS(-DHAVE_LIBAVRESAMPLE)
++ ENDIF(LIBAVRESAMPLE_FOUND)
++ ENDIF(LIBSWRESAMPLE_FOUND)
+ IF(HAVE_AV_FRAME_ALLOC)
+ ADD_DEFINITIONS(-DHAVE_AV_FRAME_ALLOC)
+ ENDIF(HAVE_AV_FRAME_ALLOC)
+diff --git a/ChangeLog b/ChangeLog
+index e5a6f242..a8b24a6c 100644
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -1,5 +1,12 @@
+ lightspark: An open source flash player implementation
+
++Version NEXT:
++
++ * use libswresample instead of libavresample, if available
++ * reduce memory usage
++ * several performance improvements
++ * add partial support for rtmfp protocol
++
+ Version 0.8.1:
+
+ * make plugins work with newer versions of firefox and chromium
+diff --git a/src/backends/decoder.cpp b/src/backends/decoder.cpp
+index d1290cbd..e567c041 100755
+--- a/src/backends/decoder.cpp
++++ b/src/backends/decoder.cpp
+@@ -572,7 +572,7 @@ void AudioDecoder::skipAll()
+
+ #ifdef ENABLE_LIBAVCODEC
+ FFMpegAudioDecoder::FFMpegAudioDecoder(EngineData* eng,LS_AUDIO_CODEC audioCodec, uint8_t* initdata, uint32_t datalen):engine(eng),ownedContext(true)
+-#ifdef HAVE_LIBAVRESAMPLE
++ #if defined HAVE_LIBAVRESAMPLE || defined HAVE_LIBSWRESAMPLE
+ ,resamplecontext(NULL)
+ #endif
+ {
+@@ -585,7 +585,10 @@ void FFMpegAudioDecoder::switchCodec(LS_AUDIO_CODEC audioCodec, uint8_t* initdat
+ {
+ if (codecContext)
+ avcodec_close(codecContext);
+-#ifdef HAVE_LIBAVRESAMPLE
++#ifdef HAVE_LIBSWRESAMPLE
++ if (resamplecontext)
++ swr_free(&resamplecontext);
++#elif defined HAVE_LIBAVRESAMPLE
+ if (resamplecontext)
+ avresample_free(&resamplecontext);
+ #endif
+@@ -618,7 +621,7 @@ void FFMpegAudioDecoder::switchCodec(LS_AUDIO_CODEC audioCodec, uint8_t* initdat
+ }
+
+ FFMpegAudioDecoder::FFMpegAudioDecoder(EngineData* eng,LS_AUDIO_CODEC lscodec, int sampleRate, int channels, bool):engine(eng),ownedContext(true)
+-#ifdef HAVE_LIBAVRESAMPLE
++#if defined HAVE_LIBAVRESAMPLE || defined HAVE_LIBSWRESAMPLE
+ ,resamplecontext(NULL)
+ #endif
+ {
+@@ -652,7 +655,7 @@ FFMpegAudioDecoder::FFMpegAudioDecoder(EngineData* eng,LS_AUDIO_CODEC lscodec, i
+
+ #if LIBAVFORMAT_VERSION_INT >= AV_VERSION_INT(57, 40, 101)
+ FFMpegAudioDecoder::FFMpegAudioDecoder(EngineData* eng,AVCodecParameters* codecPar):engine(eng),ownedContext(true),codecContext(NULL)
+-#ifdef HAVE_LIBAVRESAMPLE
++#if defined HAVE_LIBAVRESAMPLE || defined HAVE_LIBSWRESAMPLE
+ ,resamplecontext(NULL)
+ #endif
+ {
+@@ -681,7 +684,7 @@ FFMpegAudioDecoder::FFMpegAudioDecoder(EngineData* eng,AVCodecParameters* codecP
+ }
+ #else
+ FFMpegAudioDecoder::FFMpegAudioDecoder(EngineData* eng,AVCodecContext* _c):engine(eng),ownedContext(false),codecContext(_c)
+-#ifdef HAVE_LIBAVRESAMPLE
++#if defined HAVE_LIBAVRESAMPLE || defined HAVE_LIBSWRESAMPLE
+ ,resamplecontext(NULL)
+ #endif
+ {
+@@ -712,7 +715,10 @@ FFMpegAudioDecoder::~FFMpegAudioDecoder()
+ #if HAVE_AVCODEC_DECODE_AUDIO4
+ av_free(frameIn);
+ #endif
+-#ifdef HAVE_LIBAVRESAMPLE
++#ifdef HAVE_LIBSWRESAMPLE
++ if (resamplecontext)
++ swr_free(&resamplecontext);
++#elif defined HAVE_LIBAVRESAMPLE
+ if (resamplecontext)
+ avresample_free(&resamplecontext);
+ #endif
+@@ -990,7 +996,35 @@ int FFMpegAudioDecoder::resampleFrameToS16(FrameSamples& curTail)
+ return frameIn->linesize[0];
+ }
+ int maxLen;
+-#ifdef HAVE_LIBAVRESAMPLE
++#ifdef HAVE_LIBSWRESAMPLE
++ if (!resamplecontext)
++ resamplecontext = swr_alloc();
++ av_opt_set_int(resamplecontext, "in_channel_layout", frameIn->channel_layout, 0);
++ av_opt_set_int(resamplecontext, "out_channel_layout", channel_layout, 0);
++ av_opt_set_int(resamplecontext, "in_sample_rate", framesamplerate, 0);
++ av_opt_set_int(resamplecontext, "out_sample_rate", sample_rate, 0);
++ av_opt_set_int(resamplecontext, "in_sample_fmt", frameIn->format, 0);
++ av_opt_set_int(resamplecontext, "out_sample_fmt", AV_SAMPLE_FMT_S16, 0);
++ swr_init(resamplecontext);
++
++
++ uint8_t *output;
++ int out_samples = av_rescale_rnd(swr_get_delay(resamplecontext, framesamplerate) + frameIn->nb_samples, sample_rate, sample_rate, AV_ROUND_UP);
++ int res = av_samples_alloc(&output, NULL, 2, out_samples,AV_SAMPLE_FMT_S16, 0);
++
++ if (res >= 0)
++ {
++ maxLen = swr_convert(resamplecontext, &output, out_samples, (const uint8_t**)frameIn->extended_data, frameIn->nb_samples)*2*av_get_channel_layout_nb_channels(channel_layout);// 2 bytes in AV_SAMPLE_FMT_S16
++ memcpy(curTail.samples, output, maxLen);
++ av_freep(&output);
++ }
++ else
++ {
++ LOG(LOG_ERROR, "resampling failed, error code:"<<res);
++ memset(curTail.samples, 0, frameIn->linesize[0]);
++ maxLen = frameIn->linesize[0];
++ }
++#elif defined HAVE_LIBAVRESAMPLE
+ if (!resamplecontext)
+ {
+ resamplecontext = avresample_alloc_context();
+@@ -1020,7 +1054,7 @@ int FFMpegAudioDecoder::resampleFrameToS16(FrameSamples& curTail)
+ maxLen = frameIn->linesize[0];
+ }
+ #else
+- LOG(LOG_ERROR, "unexpected sample format and can't resample, recompile with libavresample");
++ LOG(LOG_ERROR, "unexpected sample format and can't resample, recompile with libswresample");
+ memset(curTail.samples, 0, frameIn->linesize[0]);
+ maxLen = frameIn->linesize[0];
+ #endif
+diff --git a/src/backends/decoder.h b/src/backends/decoder.h
+index 701a725b..b09800ce 100644
+--- a/src/backends/decoder.h
++++ b/src/backends/decoder.h
+@@ -28,7 +28,9 @@ extern "C"
+ {
+ #include <libavcodec/avcodec.h>
+ #include <libavformat/avformat.h>
+-#ifdef HAVE_LIBAVRESAMPLE
++#ifdef HAVE_LIBSWRESAMPLE
++#include <libswresample/swresample.h>
++#elif defined HAVE_LIBAVRESAMPLE
+ #include <libavresample/avresample.h>
+ #endif
+ #include <libavutil/opt.h>
+@@ -319,7 +321,9 @@ private:
+ EngineData* engine;
+ bool ownedContext;
+ AVCodecContext* codecContext;
+-#ifdef HAVE_LIBAVRESAMPLE
++#ifdef HAVE_LIBSWRESAMPLE
++ SwrContext* resamplecontext;
++#elif defined HAVE_LIBAVRESAMPLE
+ AVAudioResampleContext* resamplecontext;
+ #endif
+ std::vector<uint8_t> overflowBuffer;
+diff --git a/src/platforms/engineutils.cpp b/src/platforms/engineutils.cpp
+index b24d3167..0509d11d 100644
+--- a/src/platforms/engineutils.cpp
++++ b/src/platforms/engineutils.cpp
+@@ -923,7 +923,7 @@ void mixer_effect_ffmpeg_cb(int chan, void * stream, int len, void * udata)
+ AudioStream *s = (AudioStream*)udata;
+ if (!s)
+ return;
+-
++ memset(stream,0,len);
+ uint32_t readcount = 0;
+ while (readcount < ((uint32_t)len))
+ {
diff --git a/lightspark.spec b/lightspark.spec
index e1d027b..1724e47 100644
--- a/lightspark.spec
+++ b/lightspark.spec
@@ -19,7 +19,7 @@
Name: lightspark
Version: 0.8.1
-Release: %{?pre:0.}4%{?git_snapshot:.%{date}git}%{?pre:.%{pre}}%{?dist}.2
+Release: %{?pre:0.}5%{?git_snapshot:.%{date}git}%{?pre:.%{pre}}%{?dist}
Summary: An alternative Flash Player implementation
License: LGPLv3+
URL: http://lightspark.github.io/
@@ -29,13 +29,14 @@ Source0: https://github.com/lightspark/lightspark/archive/%{commit}.tar.g
Source0: https://github.com/lightspark/lightspark/archive/%{name}-%{version}.tar.gz
%endif
-Patch0: lightspark-0.7.2-fix_ffmpeg_include_dir.patch
# https://github.com/lightspark/lightspark/commit/8f9d470f2fe9bb729a41ebe28...
Patch1: lightspark-0.8.1-ppc64_buildfix.patch
# https://github.com/lightspark/lightspark/commit/3e0fe0862af60768716b04543...
Patch2: lightspark-0.8.1-big_endian_buildfix.patch
# https://github.com/lightspark/lightspark/commit/aa970bcfa33cf9e88647e8268...
Patch3: lightspark-0.8.1-make_llvm_optional.patch
+# https://github.com/lightspark/lightspark/commit/cebe33766bd1d672618a2931c...
+Patch4: lightspark-0.8.1-use_libswresample.patch
BuildRequires: boost-devel
BuildRequires: cmake3
@@ -96,10 +97,10 @@ This is the Chromium compatible plugin for %{name}.
%else
%setup -q -n %{name}-%{name}-%{version}
%endif
-%patch0 -p1 -b .ffmpeg-include-dir
%patch1 -p1 -b .ppc64_buildfix
%patch2 -p1 -b .big_endian_buildfix
%patch3 -p1 -b .disable_llvm
+%patch4 -p1 -b .libswresample
%build
@@ -152,6 +153,10 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%changelog
+* Mon Aug 12 2019 Xavier Bachelot <xavier(a)bachelot.org> - 0.8.1-5
+- Add patch to build with libswresample rather than deprecated libavresample.
+- Drop old ffmpeg include dir patch.
+
* Wed Aug 07 2019 Leigh Scott <leigh123linux(a)gmail.com> - 0.8.1-4.2
- Rebuild for new ffmpeg version
5 years, 3 months
[chromium-freeworld/f30] Fix typo in changelog.
by Vasiliy Glazov
commit 8ba72839c10621fb66aad73d16a8f12cde265d1c
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Mon Aug 12 14:06:41 2019 +0300
Fix typo in changelog.
chromium-freeworld.spec | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 51902e5..aa80e77 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -1925,11 +1925,10 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%changelog
-+* Tue Jul 2 2019 Tom Callaway <spot(a)fedoraproject.org> - 75.0.3770.100-3
-+- apply upstream fix to resolve issue where it is dangerous to post a
-+ task with a RenderProcessHost pointer because the RenderProcessHost
-+ can go away before the task is run (causing a segfault).
-+
+* Tue Jul 2 2019 Tom Callaway <spot(a)fedoraproject.org> - 75.0.3770.100-3
+- apply upstream fix to resolve issue where it is dangerous to post a
+ task with a RenderProcessHost pointer because the RenderProcessHost
+ can go away before the task is run (causing a segfault).
* Tue Jun 25 2019 Tom Callaway <spot(a)fedoraproject.org> - 75.0.3770.100-2
- fix v8 compile with gcc
5 years, 3 months
[chromium-freeworld/f30] Sync with Fedora.
by Vasiliy Glazov
commit 039e3464925fb78238e1a0fe155da5940524a879
Author: Vasiliy Glazov <vascom2(a)gmail.com>
Date: Mon Aug 12 13:44:28 2019 +0300
Sync with Fedora.
chromium-75.0.3770.100-git00281713.patch | 34 ++++++++++++++++++++++++++++++++
chromium-freeworld.spec | 11 ++++++++++-
2 files changed, 44 insertions(+), 1 deletion(-)
---
diff --git a/chromium-75.0.3770.100-git00281713.patch b/chromium-75.0.3770.100-git00281713.patch
new file mode 100644
index 0000000..4356435
--- /dev/null
+++ b/chromium-75.0.3770.100-git00281713.patch
@@ -0,0 +1,34 @@
+diff -up chromium-75.0.3770.100/chrome/browser/performance_manager/chrome_content_browser_client_performance_manager_part.cc.git00281713 chromium-75.0.3770.100/chrome/browser/performance_manager/chrome_content_browser_client_performance_manager_part.cc
+--- chromium-75.0.3770.100/chrome/browser/performance_manager/chrome_content_browser_client_performance_manager_part.cc.git00281713 2019-07-02 09:10:38.951369854 -0400
++++ chromium-75.0.3770.100/chrome/browser/performance_manager/chrome_content_browser_client_performance_manager_part.cc 2019-07-02 09:11:59.864642942 -0400
+@@ -12,13 +12,19 @@
+ #include "chrome/browser/performance_manager/graph/process_node_impl.h"
+ #include "chrome/browser/performance_manager/performance_manager.h"
+ #include "chrome/browser/performance_manager/render_process_user_data.h"
++#include "content/public/browser/render_process_host.h"
+ #include "services/resource_coordinator/public/mojom/coordination_unit.mojom.h"
+
+ namespace {
+
+ void BindProcessNode(
+- content::RenderProcessHost* render_process_host,
++ int render_process_host_id,
+ resource_coordinator::mojom::ProcessCoordinationUnitRequest request) {
++ content::RenderProcessHost* render_process_host =
++ content::RenderProcessHost::FromID(render_process_host_id);
++ if (!render_process_host)
++ return;
++
+ performance_manager::RenderProcessUserData* user_data =
+ performance_manager::RenderProcessUserData::GetForRenderProcessHost(
+ render_process_host);
+@@ -47,8 +53,7 @@ void ChromeContentBrowserClientPerforman
+ blink::AssociatedInterfaceRegistry* associated_registry,
+ content::RenderProcessHost* render_process_host) {
+ registry->AddInterface(
+- base::BindRepeating(&BindProcessNode,
+- base::Unretained(render_process_host)),
++ base::BindRepeating(&BindProcessNode, render_process_host->GetID()),
+ base::SequencedTaskRunnerHandle::Get());
+
+ // Ideally this would strictly be a "CreateForRenderProcess", but when a
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 3af12a1..51902e5 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -165,7 +165,7 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
Name: chromium%{chromium_channel}
%endif
Version: %{majorversion}.0.3770.100
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A WebKit (Blink) powered web browser
Url: http://www.chromium.org/Home
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
@@ -340,6 +340,8 @@ Patch145: chromium-75.0.3770.80-grpc-gettid-fix.patch
# fix v8 compile with gcc
# https://chromium.googlesource.com/v8/v8/+/3b8c624bda58d05aea80dd9626cd550...
Patch146: chromium-75.0.3770.100-fix-v8-gcc.patch
+# https://chromium.googlesource.com/chromium/src/+/00281713519dbd84b90d2996...
+Patch147: chromium-75.0.3770.100-git00281713.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found here:
# http://build.chromium.org/buildbot/official/
@@ -924,6 +926,7 @@ udev.
%patch144 -p1 -b .pure-virtual-fix
%patch145 -p1 -b .gettid-fix
%patch146 -p1 -b .fix-v8-gcc
+%patch147 -p1 -b .git00281713
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
@@ -1922,6 +1925,12 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%changelog
++* Tue Jul 2 2019 Tom Callaway <spot(a)fedoraproject.org> - 75.0.3770.100-3
++- apply upstream fix to resolve issue where it is dangerous to post a
++ task with a RenderProcessHost pointer because the RenderProcessHost
++ can go away before the task is run (causing a segfault).
++
+
* Tue Jun 25 2019 Tom Callaway <spot(a)fedoraproject.org> - 75.0.3770.100-2
- fix v8 compile with gcc
5 years, 3 months
[chromium-vaapi/f30: 2/2] Merge branch 'master' into f30
by hellbanger
commit ba193adfc3e82e5ebfb15597f8bf678ae38538c3
Merge: 7225b60 138fb15
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Mon Aug 12 15:35:24 2019 +0530
Merge branch 'master' into f30
cert-trans-google.patch | 13 +++++++++++++
chromium-vaapi.spec | 10 ++++++++--
2 files changed, 21 insertions(+), 2 deletions(-)
---
5 years, 3 months
[chromium-vaapi] Fix a bug which causes chromium to reject certificates by throwing ERR_CERTIFICATE_TRANSPARENCY_REQU
by hellbanger
commit 138fb15be203aa10a5b250c5312fa5666205c250
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Mon Aug 12 15:34:39 2019 +0530
Fix a bug which causes chromium to reject certificates by throwing ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
cert-trans-google.patch | 13 +++++++++++++
chromium-vaapi.spec | 10 ++++++++--
2 files changed, 21 insertions(+), 2 deletions(-)
---
diff --git a/cert-trans-google.patch b/cert-trans-google.patch
new file mode 100644
index 0000000..60a7b8c
--- /dev/null
+++ b/cert-trans-google.patch
@@ -0,0 +1,13 @@
+--- chromium-76.0.3809.87/components/certificate_transparency/chrome_ct_policy_enforcer.cc.orig 2019-07-30 04:35:59.000000000 +0800
++++ chromium-76.0.3809.87/components/certificate_transparency/chrome_ct_policy_enforcer.cc 2019-08-09 11:55:35.123756411 +0800
+@@ -159,8 +159,8 @@
+
+ bool ChromeCTPolicyEnforcer::IsLogOperatedByGoogle(
+ base::StringPiece log_id) const {
+- return std::binary_search(std::begin(operated_by_google_logs_),
+- std::end(operated_by_google_logs_), log_id);
++ return std::find(operated_by_google_logs_.begin(),
++ operated_by_google_logs_.end(), log_id) != operated_by_google_logs_.end();
+ }
+
+ bool ChromeCTPolicyEnforcer::IsLogDataTimely() const {
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 42db47a..4644694 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -56,7 +56,7 @@
##############################Package Definitions######################################
Name: chromium-vaapi
Version: 76.0.3809.100
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Chromium web browser with video decoding acceleration
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
URL: https://www.chromium.org/Home
@@ -184,6 +184,8 @@ Patch1: enable-vaapi.patch
Patch2: widevine.patch
Patch3: Do-not-use-VPP-on-Linux-Add-some-info-logs-and-fix-v.patch
Patch4: chromium-skia-harmony.patch
+#Fix certificare transperancy error introduced by the current stable version of chromium
+Patch5: cert-trans-google.patch
# Bootstrap still uses python command
Patch51: py2-bootstrap.patch
# Fix building with system icu
@@ -224,6 +226,7 @@ chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
%patch2 -p1 -b .widevine
%patch3 -p1 -b .fixvaapi
%patch4 -p0 -b .skia
+%patch5 -p1 -b .cert
%patch51 -p1 -b .py2boot
%if %{with system_libicu}
%patch52 -p1 -b .icu
@@ -693,7 +696,10 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%dir %{chromiumdir}/locales
%{chromiumdir}/locales/*.pak
#########################################changelogs#################################################
-%changelog
+%changelog
+* Mon Aug 12 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 76.0.3809.100-2
+- Fix a bug which causes chromium to reject certificates by throwing ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
+
* Sat Aug 10 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 76.0.3809.100-1
- Update to 76.0.3809.100
5 years, 3 months
[gr-dab] Fixed FTBFS in f30 Resolves: rfbz#5336
by Jaroslav Škarvada
commit afed4f6944b42c2272721c2fa62d16675c58aa8b
Author: Jaroslav Škarvada <jskarvad(a)redhat.com>
Date: Mon Aug 12 11:24:12 2019 +0200
Fixed FTBFS in f30
Resolves: rfbz#5336
gr-dab.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/gr-dab.spec b/gr-dab.spec
index a093857..3610362 100644
--- a/gr-dab.spec
+++ b/gr-dab.spec
@@ -7,11 +7,11 @@
Name: gr-dab
URL: https://github.com/andrmuel/gr-dab
Version: 0.3
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv3+
BuildRequires: cmake, gcc-c++, python2-devel, scipy, gnuradio-devel
BuildRequires: python2-matplotlib, cppunit-devel, boost-devel, doxygen
-BuildRequires: swig, faad2-devel, findutils
+BuildRequires: swig, faad2-devel, findutils, texlive-latex, texlive-dvips
Requires: scipy, python2-matplotlib
Summary: GNU Radio DAB digital audio broadcasting module
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
@@ -78,6 +78,10 @@ popd
%doc %{_docdir}/%{name}/xml
%changelog
+* Mon Aug 12 2019 Jaroslav Škarvada <jskarvad(a)redhat.com> - 0.3-5
+- Fixed FTBFS in f30
+ Resolves: rfbz#5336
+
* Fri Aug 09 2019 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> - 0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5 years, 3 months
[gstreamer-plugins-bad-nonfree] Fedora has dropped gstreamer from the f31 repo
by Leigh Scott
commit e2d6ffc35b118ffc15cc4f76d511a068b75e8268
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Mon Aug 12 00:09:47 2019 +0100
Fedora has dropped gstreamer from the f31 repo
.gitignore | 1 -
dead.package | 1 +
gstreamer-plugins-bad-nonfree.spec | 105 -------------------------------------
sources | 1 -
4 files changed, 1 insertion(+), 107 deletions(-)
---
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..efd7080
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Fedora has dropped gstreamer from the f31 repo
5 years, 3 months