[mpv] Rebuild for new libplacebo version
by Leigh Scott
commit 68fd3b80064ed9e2d10d164d79f3c6892b191c2b
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Dec 19 14:19:38 2019 +0000
Rebuild for new libplacebo version
mpv.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/mpv.spec b/mpv.spec
index e3d94ee..d24696c 100644
--- a/mpv.spec
+++ b/mpv.spec
@@ -1,6 +1,6 @@
Name: mpv
Version: 0.30.0
-Release: 2%{?gitrelease}%{?dist}
+Release: 3%{?gitrelease}%{?dist}
Summary: Movie player playing most video formats and DVDs
License: GPLv2+ and LGPLv2+
URL: http://mpv.io/
@@ -173,6 +173,9 @@ install -Dpm 644 README.md etc/input.conf etc/mpv.conf -t %{buildroot}%{_docdir}
%{_libdir}/pkgconfig/mpv.pc
%changelog
+* Thu Dec 19 2019 Leigh Scott <leigh123linux(a)gmail.com> - 0.30.0-3
+- Rebuild for new libplacebo version
+
* Mon Nov 18 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 0.30.0-2
- rebuild for libdvdread ABI bump
4 years, 11 months
[chromium-browser-privacy] Update to 79.0.3945.88
by qvint
commit cd54aa9772c1128a65bea12c872479fa844ccf2f
Author: qvint <dotqvint(a)gmail.com>
Date: Fri Dec 13 15:28:24 2019 +0300
Update to 79.0.3945.88
- Update Chromium to 79.0.3945.88
- Update ungoogled-chromium to 7ddfefb
- Sync spec and sources with free/chromium-freeworld (e472355)
chromium-79.0.3945.56-glibc-clock-nanosleep.patch | 52 +
chromium-browser-privacy.spec | 105 +-
chromium-fix-use_system_harfbuzz-ng.patch | 44 +
chromium-gcc9-dns_util-ambiguous-ctor.patch | 20 -
chromium-gcc9-r688676.patch | 1471 ---------------------
chromium-gcc9-r694853.patch | 51 -
chromium-gcc9-r696834.patch | 89 --
chromium-gcc9-r706467.patch | 48 -
chromium-system-icu.patch | 34 +-
chromium-v8-gcc9.patch | 32 -
fix-spammy-unique-font-matching-log.patch | 13 +
icu65.patch | 64 +
include-algorithm-to-use-std-lower_bound.patch | 49 +
launch_manager.h-uses-std-vector.patch | 36 +
sources | 4 +-
widevine.patch | 33 +-
16 files changed, 367 insertions(+), 1778 deletions(-)
---
diff --git a/chromium-79.0.3945.56-glibc-clock-nanosleep.patch b/chromium-79.0.3945.56-glibc-clock-nanosleep.patch
new file mode 100644
index 0000000..71a5876
--- /dev/null
+++ b/chromium-79.0.3945.56-glibc-clock-nanosleep.patch
@@ -0,0 +1,52 @@
+diff -up chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc.glibc-clock-nanosleep chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc
+--- chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc.glibc-clock-nanosleep 2019-12-03 11:36:08.592386976 -0500
++++ chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/baseline_policy.cc 2019-12-03 11:36:34.889947958 -0500
+@@ -148,7 +148,7 @@ ResultExpr EvaluateSyscallImpl(int fs_de
+ return Allow();
+ #endif
+
+- if (sysno == __NR_clock_gettime) {
++ if (sysno == __NR_clock_gettime || sysno == __NR_clock_nanosleep) {
+ return RestrictClockID();
+ }
+
+diff -up chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h.glibc-clock-nanosleep chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h
+--- chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h.glibc-clock-nanosleep 2019-12-03 11:36:56.808582039 -0500
++++ chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions.h 2019-12-03 11:37:34.944945377 -0500
+@@ -86,12 +86,13 @@ SANDBOX_EXPORT bpf_dsl::ResultExpr Restr
+ // process).
+ SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictGetrusage();
+
+-// Restrict |clk_id| for clock_getres(), clock_gettime() and clock_settime().
+-// We allow accessing only CLOCK_MONOTONIC, CLOCK_PROCESS_CPUTIME_ID,
+-// CLOCK_REALTIME, and CLOCK_THREAD_CPUTIME_ID. In particular, this disallows
+-// access to arbitrary per-{process,thread} CPU-time clock IDs (such as those
+-// returned by {clock,pthread}_getcpuclockid), which can leak information
+-// about the state of the host OS.
++// Restrict |clk_id| for clock_getres(), clock_gettime(), clock_settime(), and
++// clock_nanosleep(). We allow accessing only CLOCK_BOOTTIME,
++// CLOCK_MONOTONIC{,_RAW,_COARSE}, CLOCK_PROCESS_CPUTIME_ID,
++// CLOCK_REALTIME{,_COARSE}, and CLOCK_THREAD_CPUTIME_ID. In particular, on
++// non-Android platforms this disallows access to arbitrary per-{process,thread}
++// CPU-time clock IDs (such as those returned by {clock,pthread}_getcpuclockid),
++// which can leak information about the state of the host OS.
+ SANDBOX_EXPORT bpf_dsl::ResultExpr RestrictClockID();
+
+ // Restrict the flags argument to getrandom() to allow only no flags, or
+diff -up chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc.glibc-clock-nanosleep chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc
+--- chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc.glibc-clock-nanosleep 2019-12-03 11:37:53.752639332 -0500
++++ chromium-79.0.3945.56/sandbox/linux/seccomp-bpf-helpers/syscall_sets.cc 2019-12-03 11:38:32.802051407 -0500
+@@ -35,9 +35,10 @@ bool SyscallSets::IsAllowedGettime(int s
+ return true;
+ case __NR_adjtimex: // Privileged.
+ case __NR_clock_adjtime: // Privileged.
+- case __NR_clock_getres: // Could be allowed.
+- case __NR_clock_gettime:
+- case __NR_clock_nanosleep: // Could be allowed.
++ case __NR_clock_getres: // Allowed only on Android with parameters
++ // filtered by RestrictClockID().
++ case __NR_clock_gettime: // Parameters filtered by RestrictClockID().
++ case __NR_clock_nanosleep: // Parameters filtered by RestrictClockID().
+ case __NR_clock_settime: // Privileged.
+ #if defined(__i386__) || \
+ (defined(ARCH_CPU_MIPS_FAMILY) && defined(ARCH_CPU_32_BITS))
diff --git a/chromium-browser-privacy.spec b/chromium-browser-privacy.spec
index 321e083..5d4501a 100644
--- a/chromium-browser-privacy.spec
+++ b/chromium-browser-privacy.spec
@@ -34,16 +34,18 @@
# Require libxml2 > 2.9.4 for XML_PARSE_NOXXE
%bcond_without system_libxml2
+# Clang toggle
+%global clang 1
# Allow testing whether icu can be unbundled
# A patch fix building so enabled by default for Fedora 30
# Need icu version >= 64
%bcond_with system_libicu
-%if 0%{?fedora} >= 30
+%if 0%{?fedora} >= 31
# Allow testing whether libvpx can be unbundled
%bcond_with system_libvpx
# Allow testing whether ffmpeg can be unbundled
-%bcond_with system_ffmpeg
+%bcond_without system_ffmpeg
#Allow minizip to be unbundled
#mini-compat is going to be removed from fedora 30!
%bcond_without system_minizip
@@ -60,9 +62,6 @@
#Turn on verbose mode
%global debug_logs 0
-#Allow jumbo builds
-# Enabled by default
-%global jumbo 1
#------------------------------------------------------
#Build debug packages for debugging
%global debug_pkg 0
@@ -70,7 +69,7 @@
%global ozone 0
##############################Package Definitions######################################
Name: chromium-browser-privacy
-Version: 78.0.3904.108
+Version: 79.0.3945.88
Release: 1%{?dist}
Summary: Chromium, sans integration with Google
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)
@@ -92,7 +91,7 @@ Source0: https://commondatastorage.googleapis.com/chromium-browser-official/c
# ./chromium-latest.py --stable --ffmpegclean --ffmpegarm --deleteunrar
Source0: chromium-%{version}-clean.tar.xz
%endif
-%global ungoogled_chromium_revision 0529d60fdaae64165cc59c7ba79c1930bdf264d2
+%global ungoogled_chromium_revision 7ddfefbcea9945595d09ed574437f5f3d328e553
Source300: https://github.com/Eloston/ungoogled-chromium/archive/%{ungoogled_chromiu...
# The following two source files are copied and modified from the chromium source
Source10: %{name}.sh
@@ -106,7 +105,11 @@ Source15: LICENSE
########################################################################################
#Compiler settings
# Make sure we don't encounter any bug
+%if %{clang}
+BuildRequires: clang, llvm, lld
+%else
BuildRequires: gcc-c++
+%endif
# Basic tools and libraries needed for building
BuildRequires: ninja-build, nodejs, bison, gperf, hwdata
BuildRequires: libgcc, glibc, libatomic
@@ -229,13 +232,17 @@ Patch65: chromium-73.0.3683.75-pipewire-cstring-fix.patch
Patch68: Add-missing-header-to-fix-webrtc-build.patch
Patch69: chromium-unbundle-zlib.patch
Patch70: chromium-base-location.patch
-# GCC patches
-Patch73: chromium-gcc9-r688676.patch
-Patch74: chromium-gcc9-r694853.patch
-Patch75: chromium-gcc9-r696834.patch
-Patch76: chromium-gcc9-r706467.patch
-Patch77: chromium-v8-gcc9.patch
-Patch78: chromium-gcc9-dns_util-ambiguous-ctor.patch
+Patch71: fix-spammy-unique-font-matching-log.patch
+# GCC
+Patch72: include-algorithm-to-use-std-lower_bound.patch
+Patch73: launch_manager.h-uses-std-vector.patch
+# Fix: STolen from Fedora
+Patch74: chromium-79.0.3945.56-glibc-clock-nanosleep.patch
+# ICU ver. 65 support on Rawhide
+Patch75: icu65.patch
+#Fix building with system harfbuzz
+Patch76: chromium-fix-use_system_harfbuzz-ng.patch
+
%description
%{name} is an ungoogled-chromium distribution.
@@ -264,6 +271,11 @@ python3 -B %{ungoogled_chromium_root}/utils/prune_binaries.py . \
%if !%{freeworld}
%patch54 -p1 -R
%endif
+%if 0%{?fedora} <= 31
+# Only on Rawhide
+%patch74 -p1 -R
+%patch75 -p1 -R
+%endif
#Let's change the default shebang of python files.
@@ -457,6 +469,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/swiftshader \
third_party/swiftshader/third_party/llvm-7.0 \
third_party/swiftshader/third_party/llvm-subzero \
+ third_party/swiftshader/third_party/marl \
third_party/swiftshader/third_party/subzero \
third_party/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1 \
third_party/tcmalloc \
@@ -540,10 +553,6 @@ ln -s %{python2_sitelib}/ply third_party/ply
# Fix the path to nodejs binary
mkdir -p third_party/node/linux/node-linux-x64/bin
ln -s %{_bindir}/node third_party/node/linux/node-linux-x64/bin/node
-# Hard code extra version
-FILE=chrome/common/channel_info_posix.cc
-sed -i.orig -e 's/getenv("CHROME_VERSION_EXTRA")/"%{name}"/' $FILE
-
# ungoogled-chromium: patches
sed -i '/extra\/inox-patchset\/chromium-widevine.patch/d' \
%{ungoogled_chromium_root}/patches/series
@@ -560,15 +569,39 @@ python3 -B %{ungoogled_chromium_root}/utils/domain_substitution.py apply . \
#####################################BUILD#############################################
%build
#export compilar variables
+
+%if %{clang}
+
+export AR=llvm-ar NM=llvm-nm AS=llvm-as
+export CC=clang CXX=clang++
+
+# Add required compiler flags here
+export CXXFLAGS="$CXXFLAGS -Wno-unknown-warning-option"
+export CFLAGS="$CFLAGS -Wno-unknown-warning-option"
+
+%else
export AR=ar NM=nm AS=as
export CC=gcc CXX=g++
-# GN needs gold to bootstrap
-export LDFLAGS="$LDFLAGS -fuse-ld=gold"
+
+# GN needs gold to bootstrap
+export LDFLAGS="$LDFLAGS -fuse-ld=gold"
+
export CXXFLAGS="$CXXFLAGS -fpermissive"
+%if !%{debug_logs}
+# Disable useless warning on non debug log builds
+export CFLAGS="$CFLAGS -w"
+export CXXFLAGS="$CXXFLAGS -w"
+%endif
+%if !%{debug_pkg}
+export CFLAGS="$CFLAGS -g0"
+export CXXFLAGS="$CXXFLAGS -g0"
+%endif
%if 0%{?fedora} <= 29
export CXXFLAGS="$CXXFLAGS -fno-ipa-cp-clone"
%endif
+#end compiler part
+%endif
gn_args=(
is_debug=false
@@ -610,7 +643,6 @@ gn_args=(
'google_default_client_secret="%{default_client_secret}"'
closure_compile=false
- enable_hevc_demuxing=true
enable_mdns=false
enable_mse_mpeg2ts_stream_parser=true
enable_nacl_nonsfi=false
@@ -625,18 +657,24 @@ gn_args=(
use_unofficial_version_number=false
)
-
+# Optimizations
gn_args+=(
- is_clang=false
+ enable_vr=false
+%if %{with system_libicu}
+ icu_use_data_file=false
+%endif
)
-#Jumbo stuff
+
gn_args+=(
-%if %{jumbo}
- use_jumbo_build=true
- jumbo_file_merge_limit=7
- concurrent_links=1
-%endif
+%if %{clang}
+ is_clang=true
+ 'clang_base_path="/usr"'
+ clang_use_chrome_plugins=false
+ use_lld=true
+%else
+ is_clang=false
+%endif
)
#Pipewire
@@ -661,6 +699,9 @@ gn_args+=(
gn_args+=(
%if %{debug_pkg}
symbol_level=1
+%else
+ symbol_level=0
+ blink_symbol_level=0
%endif
)
tools/gn/bootstrap/bootstrap.py --gn-gen-args "${gn_args[*]}"
@@ -754,9 +795,13 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%dir %{chromiumdir}/swiftshader
%{chromiumdir}/swiftshader/libEGL.so
%{chromiumdir}/swiftshader/libGLESv2.so
-%{chromiumdir}/swiftshader/libvk_swiftshader.so
#########################################changelogs#################################################
%changelog
+* Wed Dec 18 2019 qvint <dotqvint(a)gmail.com> - 79.0.3945.88-1
+- Update Chromium to 79.0.3945.88
+- Update ungoogled-chromium to 7ddfefb
+- Sync spec and sources with free/chromium-freeworld (e472355)
+
* Tue Nov 19 2019 qvint <dotqvint(a)gmail.com> - 78.0.3904.108-1
- Update Chromium to 78.0.3904.108
- Update ungoogled-chromium to 0529d60
diff --git a/chromium-fix-use_system_harfbuzz-ng.patch b/chromium-fix-use_system_harfbuzz-ng.patch
new file mode 100644
index 0000000..383aa0a
--- /dev/null
+++ b/chromium-fix-use_system_harfbuzz-ng.patch
@@ -0,0 +1,44 @@
+From ea7a9bad96f921da314ab8d171b1e22ad19d49a7 Mon Sep 17 00:00:00 2001
+From: ckitagawa <ckitagawa(a)chromium.org>
+Date: Tue, 22 Oct 2019 14:31:41 +0000
+Subject: [PATCH] [Build] fix use_system_harfbuzz-ng
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Use <> for harfbuzz includes to support the option to build with system
+harfbuzz rather than the version in third_party.
+
+Bug: 1016158
+Change-Id: I8a85e928c010ca65e04b5ebc4909a051b4312672
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1873236
+Commit-Queue: Calder Kitagawa <ckitagawa(a)chromium.org>
+Commit-Queue: Dominik Röttsches <drott(a)chromium.org>
+Reviewed-by: Dominik Röttsches <drott(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#708176}
+---
+ components/paint_preview/common/subset_font.cc | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/components/paint_preview/common/subset_font.cc b/components/paint_preview/common/subset_font.cc
+index a218d6373350..287f5600ce9b 100644
+--- a/components/paint_preview/common/subset_font.cc
++++ b/components/paint_preview/common/subset_font.cc
+@@ -7,11 +7,12 @@
+ #include <memory>
+ #include <utility>
+
++#include <hb-subset.h>
++#include <hb.h>
++
+ #include "base/bind.h"
+ #include "base/callback.h"
+ #include "base/macros.h"
+-#include "third_party/harfbuzz-ng/src/src/hb-subset.h"
+-#include "third_party/harfbuzz-ng/src/src/hb.h"
+ #include "third_party/skia/include/core/SkStream.h"
+ #include "third_party/skia/include/core/SkTypeface.h"
+
+--
+2.23.0
+
diff --git a/chromium-system-icu.patch b/chromium-system-icu.patch
index f00330b..1f848d7 100644
--- a/chromium-system-icu.patch
+++ b/chromium-system-icu.patch
@@ -1,14 +1,20 @@
-Index: chromium-76.0.3800.0/third_party/blink/renderer/platform/text/character_property_data.h
-===================================================================
---- chromium-76.0.3800.0.orig/third_party/blink/renderer/platform/text/character_property_data.h
-+++ chromium-76.0.3800.0/third_party/blink/renderer/platform/text/character_property_data.h
-@@ -258,7 +258,7 @@ static const UChar32 kIsHangulRanges[] =
- 0xFFA0, 0xFFDC,
- };
-
--static const UChar32 kIsHangulArray[] = {};
-+static const UChar32 kIsHangulArray[] = {0xFFDC,};
-
- // Freezed trie tree, see character_property_data_generator.cc.
- extern const int32_t kSerializedCharacterDataSize;
-
+diff --git a/build/linux/unbundle/icu.gn b/build/linux/unbundle/icu.gn
+index 4450e40..9ca36dd 100644
+--- a/build/linux/unbundle/icu.gn
++++ b/build/linux/unbundle/icu.gn
+@@ -96,6 +96,7 @@ shim_headers("icui18n_shim") {
+ "unicode/fpositer.h",
+ "unicode/gender.h",
+ "unicode/gregocal.h",
++ "unicode/listformatter.h",
+ "unicode/measfmt.h",
+ "unicode/measunit.h",
+ "unicode/measure.h",
+@@ -178,7 +179,6 @@ shim_headers("icuuc_shim") {
+ "unicode/icudataver.h",
+ "unicode/icuplug.h",
+ "unicode/idna.h",
+- "unicode/listformatter.h",
+ "unicode/localpointer.h",
+ "unicode/locdspnm.h",
+ "unicode/locid.h",
diff --git a/fix-spammy-unique-font-matching-log.patch b/fix-spammy-unique-font-matching-log.patch
new file mode 100644
index 0000000..9321a98
--- /dev/null
+++ b/fix-spammy-unique-font-matching-log.patch
@@ -0,0 +1,13 @@
+diff --git a/content/child/child_process_sandbox_support_impl_linux.cc b/content/child/child_process_sandbox_support_impl_linux.cc
+index 0a57543eb5..fe2ee491a2 100644
+--- a/content/child/child_process_sandbox_support_impl_linux.cc
++++ b/content/child/child_process_sandbox_support_impl_linux.cc
+@@ -78,8 +78,6 @@ void WebSandboxSupportLinux::MatchFontByPostscriptNameOrFullFontName(
+ std::string family_name;
+ if (!font_loader_->MatchFontByPostscriptNameOrFullFontName(font_unique_name,
+ &font_identity)) {
+- LOG(ERROR) << "FontService unique font name matching request did not "
+- "receive a response.";
+ return;
+ }
+
diff --git a/icu65.patch b/icu65.patch
new file mode 100644
index 0000000..811d562
--- /dev/null
+++ b/icu65.patch
@@ -0,0 +1,64 @@
+From 5679c3c191ed62b62d8db22f1657a296ee9bfe8e Mon Sep 17 00:00:00 2001
+From: Frank Tang <ftang(a)chromium.org>
+Date: Wed, 30 Oct 2019 22:49:47 +0000
+Subject: [PATCH] Update ICU to 65.1 from 64 and fix broken tests
+
+ICU 65-1 release note
+http://site.icu-project.org/download/65
+
+CLDR 36 release blog
+http://blog.unicode.org/2019/10/unicode-cldr-version-36-languagelocale.html
+
+Most of the test expectation change is due to CLDR 36 update
+of Grapheme Cluster for Indic languages
+See the following for related changes in ICU 65.1 in this area:
+https://unicode-org.atlassian.net/browse/CLDR-10994
+https://unicode-org.atlassian.net/browse/ICU-13637
+https://github.com/unicode-org/cldr/blob/master/common/properties/segments/readme.txt
+
+Bug: chromium:1014272, chromium:1017047
+Change-Id: I9fc6d4620bf2a4c189940d06d8c79893502db3dd
+Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng_disabled
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1866059
+Reviewed-by: Jungshik Shin <jshin(a)chromium.org>
+Reviewed-by: Doug Turner <dougt(a)chromium.org>
+Reviewed-by: Michael Wasserman <msw(a)chromium.org>
+Reviewed-by: Kent Tamura <tkent(a)chromium.org>
+Reviewed-by: Trent Apted <tapted(a)chromium.org>
+Reviewed-by: Mason Freed <masonfreed(a)chromium.org>
+Commit-Queue: Frank Tang <ftang(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#711027}
+---
+ third_party/blink/renderer/core/dom/document.cc | 2 +-
+ ui/gfx/render_text_harfbuzz.cc | 5 ++++-
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/third_party/blink/renderer/core/dom/document.cc b/third_party/blink/renderer/core/dom/document.cc
+index 511aac29086..f188cf548a6 100644
+--- a/third_party/blink/renderer/core/dom/document.cc
++++ b/third_party/blink/renderer/core/dom/document.cc
+@@ -6191,7 +6191,7 @@ static ParseQualifiedNameResult ParseQualifiedNameInternal(
+
+ for (unsigned i = 0; i < length;) {
+ UChar32 c;
+- U16_NEXT(characters, i, length, c)
++ U16_NEXT(characters, i, length, c);
+ if (c == ':') {
+ if (saw_colon)
+ return ParseQualifiedNameResult(kQNMultipleColons);
+diff --git a/ui/gfx/render_text_harfbuzz.cc b/ui/gfx/render_text_harfbuzz.cc
+index 50e86af6b97..0339ff3ff8e 100644
+--- a/ui/gfx/render_text_harfbuzz.cc
++++ b/ui/gfx/render_text_harfbuzz.cc
+@@ -971,7 +971,10 @@ RangeF TextRunHarfBuzz::GetGraphemeBounds(RenderTextHarfBuzz* render_text,
+ ++total;
+ }
+ }
+- DCHECK_GT(total, 0);
++ // With ICU 65.1, DCHECK_GT() below fails.
++ // See https://crbug.com/1017047 for more details.
++ //
++ // DCHECK_GT(total, 0);
+
+ // It's possible for |text_index| to point to a diacritical mark, at the end
+ // of |chars|. In this case all the grapheme boundaries come before it. Just
diff --git a/include-algorithm-to-use-std-lower_bound.patch b/include-algorithm-to-use-std-lower_bound.patch
new file mode 100644
index 0000000..dc37632
--- /dev/null
+++ b/include-algorithm-to-use-std-lower_bound.patch
@@ -0,0 +1,49 @@
+From f7c177d35242311ea7a2cf49a0980c61664f27ba Mon Sep 17 00:00:00 2001
+From: Jose Dapena Paz <jose.dapena(a)lge.com>
+Date: Fri, 25 Oct 2019 15:07:09 +0000
+Subject: [PATCH] IWYU: include algorithm to use std::lower_bound in
+ ui/gfx/font.cc
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fix GCC build because of missing include:
+../../ui/gfx/font.cc: In function ‘gfx::Font::Weight gfx::FontWeightFromInt(int)’:
+../../ui/gfx/font.cc:114:8: error: no matching function for call to ‘lower_bound(const gfx::Font::Weight*, const gfx::Font::Weight*, int&, gfx::FontWeightFromInt(int)::<lambda(const gfx::Font::Weight&, const int&)>)’
+ });
+ ^
+In file included from /usr/include/c++/8/bits/char_traits.h:39,
+ from /usr/include/c++/8/string:40,
+ from ../../ui/gfx/font.h:8,
+ from ../../ui/gfx/font.cc:5:
+/usr/include/c++/8/bits/stl_algobase.h:984:5: note: candidate: ‘template<class _ForwardIterator, class _Tp> _ForwardIterator std::lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&)’
+ lower_bound(_ForwardIterator __first, _ForwardIterator __last,
+ ^~~~~~~~~~~
+/usr/include/c++/8/bits/stl_algobase.h:984:5: note: template argument deduction/substitution failed:
+../../ui/gfx/font.cc:114:8: note: candidate expects 3 arguments, 4 provided
+ });
+ ^
+
+Bug: 819294
+Change-Id: Ic59dcf3a06bdd54d1d426c08a61624873a0ff30c
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879909
+Commit-Queue: Alexei Svitkine <asvitkine(a)chromium.org>
+Reviewed-by: Alexei Svitkine <asvitkine(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#709472}
+---
+ ui/gfx/font.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/ui/gfx/font.cc b/ui/gfx/font.cc
+index 21367fd7297..92b159e13d1 100644
+--- a/ui/gfx/font.cc
++++ b/ui/gfx/font.cc
+@@ -4,6 +4,8 @@
+
+ #include "ui/gfx/font.h"
+
++#include <algorithm>
++
+ #include "base/strings/utf_string_conversions.h"
+ #include "build/build_config.h"
+ #include "ui/gfx/platform_font.h"
diff --git a/launch_manager.h-uses-std-vector.patch b/launch_manager.h-uses-std-vector.patch
new file mode 100644
index 0000000..72abe9b
--- /dev/null
+++ b/launch_manager.h-uses-std-vector.patch
@@ -0,0 +1,36 @@
+From 97eb905ba262382bc3583078761c68f4452aea71 Mon Sep 17 00:00:00 2001
+From: Jose Dapena Paz <jose.dapena(a)lge.com>
+Date: Fri, 25 Oct 2019 09:27:53 +0000
+Subject: [PATCH] IWYU: launch_manager.h uses std::vector
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Add #include <vector> for using std::vector. This fixes GCC build.
+
+./../chrome/browser/apps/launch_service/launch_manager.h:46:15: error: ‘vector’ in namespace ‘std’ does not name a template type
+ static std::vector<base::FilePath> GetLaunchFilesFromCommandLine(
+ ^~~~~~
+
+Bug: 819294
+Change-Id: I02ec3a2914a8fbe3aa0041017a0228f4b0ca1ec9
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1879289
+Reviewed-by: Alexey Baskakov <loyso(a)chromium.org>
+Commit-Queue: José Dapena Paz <jose.dapena(a)lge.com>
+Cr-Commit-Position: refs/heads/master@{#709411}
+---
+ chrome/browser/apps/launch_service/launch_manager.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/chrome/browser/apps/launch_service/launch_manager.h b/chrome/browser/apps/launch_service/launch_manager.h
+index 00aeb9d9c2a..76570ead0f9 100644
+--- a/chrome/browser/apps/launch_service/launch_manager.h
++++ b/chrome/browser/apps/launch_service/launch_manager.h
+@@ -6,6 +6,7 @@
+ #define CHROME_BROWSER_APPS_LAUNCH_SERVICE_LAUNCH_MANAGER_H_
+
+ #include <string>
++#include <vector>
+
+ #include "base/macros.h"
+
diff --git a/sources b/sources
index e83f6fd..11a1b3a 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (chromium-78.0.3904.108.tar.xz) = 9801634358974dbe61484963599719b7c5571d32c70d7568287ab6b72054ed82afa146a0470c53129266a9fbc4a24dc50a43d552b8f1756776907c2760f15589
-SHA512 (ungoogled-chromium-0529d60fdaae64165cc59c7ba79c1930bdf264d2.tar.gz) = 093deda75ccbe5ada24979bc629ff0cf1904ceb58a52ebd4a205fe0e524d6809407bd68c8dd4670e55832e824f99772b8ecdf588dc5650e1f8bd5711191b501b
+SHA512 (chromium-79.0.3945.88.tar.xz) = 6474da7225beb9c99c01dc234b820924dd2fb3d736f53abbac02556f3bec43acd09aa02224666c4a735417500d10f57265ab130c29cce27124e5a69463cf5e0d
+SHA512 (ungoogled-chromium-7ddfefbcea9945595d09ed574437f5f3d328e553.tar.gz) = 6f404a2e2c7888b75116125b2498ffa6486e2be3580cc29d7c6fd7832c38c4cff4d1d832133fcdb245684b819febce79ae15f5ed43a0dc943ccd47287a968b3d
diff --git a/widevine.patch b/widevine.patch
index 3ecf0e7..32f0ae2 100644
--- a/widevine.patch
+++ b/widevine.patch
@@ -1,22 +1,13 @@
-diff -upr chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc chromium-71.0.3578.80/chrome/common/chrome_content_client.cc
---- chromium-71.0.3578.80.orig/chrome/common/chrome_content_client.cc 2018-12-21 20:16:43.000000000 +0000
-+++ chromium-71.0.3578.80/chrome/common/chrome_content_client.cc 2018-12-21 21:34:28.658206942 +0000
-@@ -99,7 +99,7 @@
- // Registers Widevine CDM if Widevine is enabled, the Widevine CDM is
- // bundled and not a component. When the Widevine CDM is a component, it is
- // registered in widevine_cdm_component_installer.cc.
--#if BUILDFLAG(BUNDLE_WIDEVINE_CDM) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
-+#if BUILDFLAG(ENABLE_WIDEVINE) && !BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT)
- #define REGISTER_BUNDLED_WIDEVINE_CDM
- #include "third_party/widevine/cdm/widevine_cdm_common.h" // nogncheck
- // TODO(crbug.com/663554): Needed for WIDEVINE_CDM_VERSION_STRING. Support
-diff -upr chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h
---- chromium-71.0.3578.80.orig/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-03 20:18:01.000000000 +0000
-+++ chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-04 21:37:45.635374949 +0000
-@@ -12,4 +12,6 @@
- // - WIDEVINE_CDM_VERSION_STRING (with the version of the CDM that's available
- // as a string, e.g., "1.0.123.456").
+diff --git a/third_party/widevine/cdm/BUILD.gn b/third_party/widevine/cdm/BUILD.gn
+index ed0e2f5208b..5b431a030d5 100644
+--- a/third_party/widevine/cdm/BUILD.gn
++++ b/third_party/widevine/cdm/BUILD.gn
+@@ -14,7 +14,7 @@ buildflag_header("buildflags") {
-+#define WIDEVINE_CDM_VERSION_STRING "unknown"
-+
- #endif // WIDEVINE_CDM_VERSION_H_
+ flags = [
+ "ENABLE_WIDEVINE=$enable_widevine",
+- "BUNDLE_WIDEVINE_CDM=$bundle_widevine_cdm",
++ "BUNDLE_WIDEVINE_CDM=true",
+ "ENABLE_WIDEVINE_CDM_COMPONENT=$enable_widevine_cdm_component",
+ ]
+ }
4 years, 11 months
[shotcut/f30] Update to 19.10.16
by Martin Gansser
Summary of changes:
5d7ceda... Update to 19.10.16 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 11 months
[shotcut/f31] Update to 19.10.16
by Martin Gansser
Summary of changes:
5d7ceda... Update to 19.10.16 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 11 months
[shotcut] Update to 19.10.16
by Martin Gansser
commit 5d7ceda084e9e6d9cf010a3b8ad9d4d048cfaaa3
Author: Martin Gansser <mgansser(a)online.de>
Date: Wed Dec 18 08:48:11 2019 +0100
Update to 19.10.16
.gitignore | 1 +
shotcut.spec | 9 ++++++---
sources | 2 +-
3 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6b35271..a98d86c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -26,3 +26,4 @@
/shotcut-19.09.14.tar.gz
/shotcut-19.10.20.tar.gz
/shotcut-19.12.08.tar.gz
+/shotcut-19.12.16.tar.gz
diff --git a/shotcut.spec b/shotcut.spec
index b158c88..6716f3d 100644
--- a/shotcut.spec
+++ b/shotcut.spec
@@ -3,9 +3,9 @@
%define _vstring %(echo %{version} |tr -d ".")
Name: shotcut
-Version: 19.12.08
-#Release: 1%%{dist}
-Release: 0.1.beta1%{dist}
+Version: 19.12.16
+Release: 1%{dist}
+#Release: 0.1.beta1%%{dist}
Summary: A free, open source, cross-platform video editor
# The entire source code is GPLv3+ except mvcp/ which is LGPLv2+
License: GPLv3+ and LGPLv2+
@@ -193,6 +193,9 @@ appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/org.%{name}.S
%doc doc
%changelog
+* Wed Dec 18 2019 Martin Gansser <martinkg(a)fedoraproject.org> - 19.12.16-1
+- Update to 19.10.16
+
* Mon Dec 09 2019 Martin Gansser <martinkg(a)fedoraproject.org> - 19.12.08-0.1.beta1
- Update to 19.12.08-0.1.beta1
diff --git a/sources b/sources
index 9af7550..ba706a3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (shotcut-19.12.08.tar.gz) = 99143b950528150cbb24c567f777b2e334c36fa1a4e61372e4e1aa4d92070c90572a26063a9a5a5219b7edc2ca4817644aed8dc225c1127bce52c01eb2ace392
+SHA512 (shotcut-19.12.16.tar.gz) = 2adc8d444f213395aa50f3acd2b991b46049be5a8ec766046174311421427d809a85a707e12900a74d98176eff1cee1a0510fe77886c911454a7ba0416b2e3c4
4 years, 11 months
[mpd/el8] (2 commits) ...Update to 0.21.17
by Leigh Scott
Summary of changes:
4699174... Rebuilt for new libicu (*)
41c912b... Update to 0.21.17 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 11 months
[mpd/f30] (2 commits) ...Update to 0.21.17
by Leigh Scott
Summary of changes:
4699174... Rebuilt for new libicu (*)
41c912b... Update to 0.21.17 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 11 months
[mpd/f31] (2 commits) ...Update to 0.21.17
by Leigh Scott
Summary of changes:
4699174... Rebuilt for new libicu (*)
41c912b... Update to 0.21.17 (*)
(*) This commit already existed in another branch; no separate mail sent
4 years, 11 months
[mpd] Update to 0.21.17
by Leigh Scott
commit 41c912b567078a55332714d3337813d1e4e8c4af
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Tue Dec 17 17:20:41 2019 +0000
Update to 0.21.17
mpd.spec | 7 +++++--
sources | 4 ++--
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/mpd.spec b/mpd.spec
index 2aa5662..badb7ad 100644
--- a/mpd.spec
+++ b/mpd.spec
@@ -16,8 +16,8 @@
Name: mpd
Epoch: 1
-Version: 0.21.16
-Release: 2%{?dist}
+Version: 0.21.17
+Release: 1%{?dist}
Summary: The Music Player Daemon
License: GPLv2+
URL: https://www.musicpd.org
@@ -228,6 +228,9 @@ fi
%changelog
+* Tue Dec 17 2019 Leigh Scott <leigh123linux(a)gmail.com> - 1:0.21.17-1
+- Update to 0.21.17
+
* Sun Dec 01 2019 Leigh Scott <leigh123linux(a)googlemail.com> - 1:0.21.16-2
- Rebuilt for new libicu
diff --git a/sources b/sources
index 58830e9..00b6185 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (mpd-0.21.16.tar.xz) = bb7587acd03d675ae3127ab4e196d549170551ac643e5134baa2bccaf8d7c9bba6c9a9edec9bcb61a2ec3a6ce26f4d77190323ef0329033d0cd8c1f8964be05c
-SHA512 (mpd-0.21.16.tar.xz.sig) = 42f1ec0459d11da8b65402a3e04da92b488975cd741d5d5427d42877672114a67523d39d5280d8ff91315a8b914a1fae68431cc3b156bf217bd5c81434de6227
+SHA512 (mpd-0.21.17.tar.xz) = 71a53ec7262d7292a7227878f3d6187563727a0fabb8716bd6df70d4b96990e2d0da0ea5e59a84530cdb1b5e3046f08118c6409cc67c731c191095bd66f256ec
+SHA512 (mpd-0.21.17.tar.xz.sig) = faf0e202f6099cf5e14f1c4408c29304fed1f8929516d302799137671ab1bcc70880807b5d4a0e8ea7c486d553a50635312c667864250ffd51c8830062a38f01
4 years, 11 months