[chromium-libs-media-freeworld: 176/259] Remove obsolete scriptlets
by Nicolas Chauvet
commit ea2fe9d69d3c17e6de6deea7b37f4afd6776747f
Author: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
Date: Tue Jan 29 05:57:55 2019 +0100
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain(a)fedoraproject.org>
chromium.spec | 13 -------------
1 file changed, 13 deletions(-)
---
diff --git a/chromium.spec b/chromium.spec
index ba0b240..d182531 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -1605,19 +1605,6 @@ if selinuxenabled; then
restorecon -R -v %{chromium_path}/%{chromium_browser_channel}
fi
-touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
-update-desktop-database &> /dev/null || :
-
-%postun
-if [ $1 -eq 0 ] ; then
- touch --no-create %{_datadir}/icons/hicolor &>/dev/null
- gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-fi
-update-desktop-database &> /dev/null || :
-
-%posttrans
-gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
-
%pretrans -n chrome-remote-desktop -p <lua>
path = "/etc/opt/chrome/native-messaging-hosts"
st = posix.stat(path)
5 years, 6 months
[chromium-libs-media-freeworld: 175/259] rebuild with widevine fix
by Nicolas Chauvet
commit 17888344634a108a1ad99c8fd575ff3a66df8cf0
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Mon Jan 21 14:07:36 2019 -0500
rebuild with widevine fix
chromium.spec | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/chromium.spec b/chromium.spec
index 60eb2b8..ba0b240 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -150,7 +150,7 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
Name: chromium%{chromium_channel}
%endif
Version: %{majorversion}.0.3578.98
-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)
@@ -1834,6 +1834,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%changelog
+* Mon Jan 21 2019 Tom Callaway <spot(a)fedoraproject.org> - 71.0.3578.98-3
+- rebuild with widevine fix
+
* Tue Jan 8 2019 Tom Callaway <spot(a)fedoraproject.org> - 71.0.3578.98-2
- drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
5 years, 6 months
[chromium-libs-media-freeworld: 174/259] Fix widevine on chromium
by Nicolas Chauvet
commit c8e53a4c094d5a93ef287581de5311ef0b44f965
Author: Akarshan Biswas <akarshan.biswas(a)gmail.com>
Date: Wed Jan 9 17:32:59 2019 +0000
Fix widevine on chromium
Fixes #RHBZ 1464705
chromium-71.0.3578.98-widevine-r3.patch | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/chromium-71.0.3578.98-widevine-r3.patch b/chromium-71.0.3578.98-widevine-r3.patch
index a8deaf0..8d875c6 100644
--- a/chromium-71.0.3578.98-widevine-r3.patch
+++ b/chromium-71.0.3578.98-widevine-r3.patch
@@ -1,11 +1,22 @@
-diff -up chromium-71.0.3578.98/third_party/widevine/cdm/BUILD.gn.wvhack chromium-71.0.3578.98/third_party/widevine/cdm/BUILD.gn
-diff -up chromium-71.0.3578.98/third_party/widevine/cdm/widevine_cdm_version.h.wvhack chromium-71.0.3578.98/third_party/widevine/cdm/widevine_cdm_version.h
---- chromium-71.0.3578.98/third_party/widevine/cdm/widevine_cdm_version.h.wvhack 2018-12-14 11:58:37.918972853 -0500
-+++ chromium-71.0.3578.98/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-14 11:58:57.327554078 -0500
-@@ -11,5 +11,6 @@
- // If the Widevine CDM is available define the following:
+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-21 20:18:01.000000000 +0000
++++ chromium-71.0.3578.80/third_party/widevine/cdm/widevine_cdm_version.h 2018-12-21 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").
-+#define WIDEVINE_CDM_VERSION_STRING "unknown"
++#define WIDEVINE_CDM_VERSION_STRING "unknown"
++
#endif // WIDEVINE_CDM_VERSION_H_
5 years, 6 months
[chromium-libs-media-freeworld: 173/259] drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
by Nicolas Chauvet
commit 7ccede1e1c9540468ce6fb36b26563941b92bc01
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Tue Jan 8 13:31:12 2019 -0500
drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch | 12 ++++++++++++
chromium.spec | 8 +++++++-
2 files changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch b/chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch
new file mode 100644
index 0000000..d071e81
--- /dev/null
+++ b/chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch
@@ -0,0 +1,12 @@
+diff -up chromium-71.0.3578.98/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h.gcc9 chromium-71.0.3578.98/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h
+--- chromium-71.0.3578.98/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h.gcc9 2019-01-08 13:27:25.193614727 -0500
++++ chromium-71.0.3578.98/third_party/tcmalloc/gperftools-2.0/chromium/src/base/linux_syscall_support.h 2019-01-08 13:27:35.161392234 -0500
+@@ -1231,7 +1231,7 @@ typedef unsigned long int ulong;
+ "d"(LSS_SYSCALL_ARG(parent_tidptr)),
+ "r"(LSS_SYSCALL_ARG(newtls)),
+ "r"(LSS_SYSCALL_ARG(child_tidptr))
+- : "rsp", "memory", "r8", "r10", "r11", "rcx");
++ : "memory", "r8", "r10", "r11", "rcx");
+ }
+ LSS_RETURN(int, __res);
+ }
diff --git a/chromium.spec b/chromium.spec
index d5a1ed9..60eb2b8 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -150,7 +150,7 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
Name: chromium%{chromium_channel}
%endif
Version: %{majorversion}.0.3578.98
-Release: 1%{?dist}
+Release: 2%{?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)
@@ -307,6 +307,8 @@ Patch123: relax-libva-version.patch
Patch124: chromium-71.0.3578.98-vaapi-libva1-compatibility.patch
# From gentoo
Patch125: https://gitweb.gentoo.org/repo/gentoo.git/plain/www-client/chromium/files...
+# drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
+Patch126: chromium-71.0.3578.98-gcc9-drop-rsp-clobber.patch
# Use chromium-latest.py to generate clean tarball from released build tarballs, found here:
@@ -862,6 +864,7 @@ udev.
%patch123 -p1 -b .relaxva
%patch124 -p1 -b .va1compat
%patch125 -p1 -b .gcc-overloaded
+%patch126 -p1 -b .gcc9
# Change shebang in all relevant files in this directory and all subdirectories
# See `man find` for how the `-exec command {} +` syntax works
@@ -1831,6 +1834,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%changelog
+* Tue Jan 8 2019 Tom Callaway <spot(a)fedoraproject.org> - 71.0.3578.98-2
+- drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
+
* Fri Dec 14 2018 Tom Callaway <spot(a)fedoraproject.org> - 71.0.3578.98-1
- update to 71.0.3578.98
5 years, 6 months
[chromium-libs-media-freeworld: 172/259] I SAID MOAR
by Nicolas Chauvet
commit 1b1fef91b988e0ef60ad0b152a51555142f37653
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Wed Jan 2 14:46:12 2019 -0500
I SAID MOAR
chromium-71.0.3578.98-el7-fix-noexcept.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/chromium-71.0.3578.98-el7-fix-noexcept.patch b/chromium-71.0.3578.98-el7-fix-noexcept.patch
index 929aed5..234f0a9 100644
--- a/chromium-71.0.3578.98-el7-fix-noexcept.patch
+++ b/chromium-71.0.3578.98-el7-fix-noexcept.patch
@@ -1,3 +1,15 @@
+diff -up chromium-71.0.3578.98/chrome/common/media_router/media_sink.cc.fix-noexcept chromium-71.0.3578.98/chrome/common/media_router/media_sink.cc
+--- chromium-71.0.3578.98/chrome/common/media_router/media_sink.cc.fix-noexcept 2019-01-02 14:44:40.449801789 -0500
++++ chromium-71.0.3578.98/chrome/common/media_router/media_sink.cc 2019-01-02 14:44:54.167481936 -0500
+@@ -24,7 +24,7 @@ MediaSink::MediaSink() = default;
+ MediaSink::~MediaSink() = default;
+
+ MediaSink& MediaSink::operator=(const MediaSink& other) = default;
+-MediaSink& MediaSink::operator=(MediaSink&& other) noexcept = default;
++MediaSink& MediaSink::operator=(MediaSink&& other) = default;
+
+ bool MediaSink::Equals(const MediaSink& other) const {
+ return sink_id_ == other.sink_id_;
diff -up chromium-71.0.3578.98/components/policy/core/common/policy_map.cc.fix-noexcept chromium-71.0.3578.98/components/policy/core/common/policy_map.cc
--- chromium-71.0.3578.98/components/policy/core/common/policy_map.cc.fix-noexcept 2019-01-02 12:06:10.867313533 -0500
+++ chromium-71.0.3578.98/components/policy/core/common/policy_map.cc 2019-01-02 12:06:27.544980078 -0500
5 years, 6 months
[chromium-libs-media-freeworld: 171/259] fix noexcept, moar moar
by Nicolas Chauvet
commit 143e46648dc83e5358e73b5af359fdf7f35013d1
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Wed Jan 2 12:07:14 2019 -0500
fix noexcept, moar moar
chromium-71.0.3578.98-el7-fix-noexcept.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/chromium-71.0.3578.98-el7-fix-noexcept.patch b/chromium-71.0.3578.98-el7-fix-noexcept.patch
index 0080e81..929aed5 100644
--- a/chromium-71.0.3578.98-el7-fix-noexcept.patch
+++ b/chromium-71.0.3578.98-el7-fix-noexcept.patch
@@ -1,3 +1,15 @@
+diff -up chromium-71.0.3578.98/components/policy/core/common/policy_map.cc.fix-noexcept chromium-71.0.3578.98/components/policy/core/common/policy_map.cc
+--- chromium-71.0.3578.98/components/policy/core/common/policy_map.cc.fix-noexcept 2019-01-02 12:06:10.867313533 -0500
++++ chromium-71.0.3578.98/components/policy/core/common/policy_map.cc 2019-01-02 12:06:27.544980078 -0500
+@@ -18,7 +18,7 @@ PolicyMap::Entry::Entry() = default;
+ PolicyMap::Entry::~Entry() = default;
+
+ PolicyMap::Entry::Entry(Entry&&) noexcept = default;
+-PolicyMap::Entry& PolicyMap::Entry::operator=(Entry&&) noexcept = default;
++PolicyMap::Entry& PolicyMap::Entry::operator=(Entry&&) = default;
+
+ PolicyMap::Entry PolicyMap::Entry::DeepCopy() const {
+ Entry copy;
diff -up chromium-71.0.3578.98/components/signin/core/browser/account_info.cc.fix-noexcept chromium-71.0.3578.98/components/signin/core/browser/account_info.cc
--- chromium-71.0.3578.98/components/signin/core/browser/account_info.cc.fix-noexcept 2019-01-02 10:57:29.194710662 -0500
+++ chromium-71.0.3578.98/components/signin/core/browser/account_info.cc 2019-01-02 10:58:57.829965474 -0500
5 years, 6 months
[chromium-libs-media-freeworld: 170/259] fix noexcept, moar
by Nicolas Chauvet
commit 41f326e57d36a3e123011d05baa739adea17e447
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Wed Jan 2 10:59:58 2019 -0500
fix noexcept, moar
chromium-71.0.3578.98-el7-fix-noexcept.patch | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/chromium-71.0.3578.98-el7-fix-noexcept.patch b/chromium-71.0.3578.98-el7-fix-noexcept.patch
index ba1268b..0080e81 100644
--- a/chromium-71.0.3578.98-el7-fix-noexcept.patch
+++ b/chromium-71.0.3578.98-el7-fix-noexcept.patch
@@ -1,3 +1,15 @@
+diff -up chromium-71.0.3578.98/components/signin/core/browser/account_info.cc.fix-noexcept chromium-71.0.3578.98/components/signin/core/browser/account_info.cc
+--- chromium-71.0.3578.98/components/signin/core/browser/account_info.cc.fix-noexcept 2019-01-02 10:57:29.194710662 -0500
++++ chromium-71.0.3578.98/components/signin/core/browser/account_info.cc 2019-01-02 10:58:57.829965474 -0500
+@@ -32,7 +32,7 @@ AccountInfo::AccountInfo(AccountInfo&& o
+
+ AccountInfo& AccountInfo::operator=(const AccountInfo& other) = default;
+
+-AccountInfo& AccountInfo::operator=(AccountInfo&& other) noexcept = default;
++AccountInfo& AccountInfo::operator=(AccountInfo&& other) = default;
+
+ bool AccountInfo::IsEmpty() const {
+ return account_id.empty() && email.empty() && gaia.empty() &&
diff -up chromium-71.0.3578.98/gpu/config/gpu_info.cc.fix-noexcept chromium-71.0.3578.98/gpu/config/gpu_info.cc
--- chromium-71.0.3578.98/gpu/config/gpu_info.cc.fix-noexcept 2018-12-20 09:50:03.320449807 -0500
+++ chromium-71.0.3578.98/gpu/config/gpu_info.cc 2018-12-20 09:50:25.768849091 -0500
5 years, 6 months
[chromium-libs-media-freeworld: 169/259] add BR
by Nicolas Chauvet
commit 09bce8257e004b7e09d8b871464c1db9ea855778
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Sat Dec 22 19:46:19 2018 -0500
add BR
chromium.spec | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/chromium.spec b/chromium.spec
index c9d0936..093f861 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -377,6 +377,7 @@ BuildRequires: libdrm-devel
%endif
BuildRequires: libgcrypt-devel
BuildRequires: libudev-devel
+BuildRequires: libuuid-devel
BuildRequires: libusb-devel
BuildRequires: libXdamage-devel
BuildRequires: libXScrnSaver-devel
5 years, 6 months
[chromium-libs-media-freeworld: 168/259] use prebuilt node on rhel7
by Nicolas Chauvet
commit a4a01ebc744a8952aa85ac347bf11863a2297c2e
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Fri Dec 21 16:37:45 2018 -0500
use prebuilt node on rhel7
.gitignore | 1 +
chromium.spec | 12 +++++++++++-
sources | 1 +
3 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
index 4a49cb4..8f49a5f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -72,3 +72,4 @@
/chromium-70.0.3538.77-clean.tar.xz
/chromium-70.0.3538.110-clean.tar.xz
/chromium-71.0.3578.98-clean.tar.xz
+/node-v8.9.1-linux-x64.tar.gz
diff --git a/chromium.spec b/chromium.spec
index b3c89c5..c9d0936 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -344,7 +344,10 @@ Source15: http://download.savannah.nongnu.org/releases/freebangfont/MuktiNarrow-
Source16: https://github.com/web-platform-tests/wpt/raw/master/fonts/Ahem.ttf
Source17: GardinerModBug.ttf
Source18: GardinerModCat.ttf
-
+# RHEL needs newer nodejs
+%if 0%{?rhel}
+Source19: node-v8.9.1-linux-x64.tar.gz
+%endif
# We can assume gcc and binutils.
BuildRequires: gcc-c++
@@ -1075,8 +1078,15 @@ CHROMIUM_HEADLESS_GN_DEFINES+=' use_cups=false use_dbus=false use_gio=false use_
CHROMIUM_HEADLESS_GN_DEFINES+=' use_pulseaudio=false use_udev=false'
export CHROMIUM_HEADLESS_GN_DEFINES
+%if 0%{?rhel}
+pushd third_party/node/linux
+tar xf %{SOURCE19}
+mv node-v8.9.1-linux-x64 node-linux-x64
+popd
+%else
mkdir -p third_party/node/linux/node-linux-x64/bin
ln -s %{_bindir}/node third_party/node/linux/node-linux-x64/bin/node
+%endif
# Remove most of the bundled libraries. Libraries specified below (taken from
# Gentoo's Chromium ebuild) are the libraries that needs to be preserved.
diff --git a/sources b/sources
index 4b6d47b..f0cf139 100644
--- a/sources
+++ b/sources
@@ -17,3 +17,4 @@ SHA512 (Tinos-Italic.ttf) = d4f4f096110ef98a781a2a0e0d319317e5f84e650fe6f4d4f6b0
SHA512 (Tinos-Regular.ttf) = 58085c5dac6d067d60ba2ab3220c4a0cc1efcf279cadfcfb8746a5e5fa1a6f6daa62750dc2051b3b2d8a51b4d2e9bb0f66594caf2253c0870ed9c7286fa45e8f
SHA512 (Ahem.ttf) = aeb64b10ab9c87860714cb60b4900254b13dc52c51319256a1a3722c882026ab7c616bf628fbc2fe14e38a6003f3a481af60b52a7ed62071d28ddaf428e4e3fd
SHA512 (chromium-71.0.3578.98-clean.tar.xz) = 8e92cefb1079944a742cd99ef4b50baa71a4517420b7e30bd9cba556df9a032f1dd08acd421e0ad28b40c4d93367529029edebd8c2e6c25ccec2ab231c81828c
+SHA512 (node-v8.9.1-linux-x64.tar.gz) = a707fd4567041c56e7f9d415e505e3fa650627f31def7fefdd7ec50f9e7066bb33332b67f479e1159d85e1105a7e6d034aad7429f4f3d034c9161170d7e0b844
5 years, 6 months
[chromium-libs-media-freeworld: 167/259] RHEL 7s nodejs is too old, do not use it in the buildroot
by Nicolas Chauvet
commit 2829ac37e82ed716e939cfe509bc3426268bae08
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Thu Dec 20 12:35:41 2018 -0500
RHEL 7s nodejs is too old, do not use it in the buildroot
chromium.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/chromium.spec b/chromium.spec
index a050d5e..b3c89c5 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -383,7 +383,10 @@ BuildRequires: minizip-compat-devel
%else
BuildRequires: minizip-devel
%endif
+# RHEL 7's nodejs is too old
+%if 0%{?fedora}
BuildRequires: nodejs
+%endif
BuildRequires: nss-devel >= 3.26
BuildRequires: pciutils-devel
BuildRequires: pulseaudio-libs-devel
5 years, 6 months