[chromium-libs-media-freeworld: 6/259] fixed sources for aarch64
by Nicolas Chauvet
commit 7d1f0eac97963a947de652c5301165efb02a9521
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Fri Aug 25 13:45:36 2017 -0400
fixed sources for aarch64
.gitignore | 1 +
clean_ffmpeg.sh | 3 +++
sources | 2 +-
3 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/.gitignore b/.gitignore
index 57a8df9..4364688 100644
--- a/.gitignore
+++ b/.gitignore
@@ -28,3 +28,4 @@
/chromium-60.0.3112.90-clean.tar.xz
/chromium-60.0.3112.101-clean.tar.xz
/chromium-60.0.3112.113-clean.tar.xz
+/chromium-60.0.3112.113.tar.xz
diff --git a/clean_ffmpeg.sh b/clean_ffmpeg.sh
index 272ec2d..728a677 100755
--- a/clean_ffmpeg.sh
+++ b/clean_ffmpeg.sh
@@ -211,6 +211,9 @@ manual_files=" libavcodec/x86/hpeldsp_rnd_template.c \
libavformat/options.c \
libavformat/pcm.c \
libavformat/utils.c \
+ libavutil/aarch64/asm.S \
+ libavutil/aarch64/bswap.h \
+ libavutil/aarch64/timer.h \
libavutil/cpu.c \
libavutil/fixed_dsp.c \
libavutil/float_dsp.c \
diff --git a/sources b/sources
index a3e56fa..82d3d69 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (depot_tools.git-master.tar.gz) = d3d6a1873b2b0296a8cd99e0d8d2e629a17b1808934b4972556168f8b4ccea60577ebaeab4445baf15afb1b04080808db59a832a5b61d247bd48da14fa6acf03
SHA512 (policy_templates.zip) = 4d2a7162adb3ca224f3e1bf1d2936ae395603e8ffa3fda7753e666a16c42c7ba54c7acfcfdc742e22978ace37e471ed099d222063708d4d8a299da3daf135f15
-SHA512 (chromium-60.0.3112.113-clean.tar.xz) = 67cd2d29761b61187ccec90da7d755f4214afd99bcfba4f0633b444532e094fe4c6624f2b1f0695df5ea5d616cff971fa4be52e60ff108e660db36f54fc73c02
+SHA512 (chromium-60.0.3112.113-clean.tar.xz) = 197b8b44a98709cbc17f7081d0fdcc0cd57e8a1516cca47cc5004d2f002a2b49e9dca362bc139cf0b9c042701601c27c22ff62af001eb026126adfc461cb4ff8
5 years
[chromium-libs-media-freeworld: 5/259] fixed sources
by Nicolas Chauvet
commit 761a02838d7de421b957b9ce089d1103606a9581
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Thu Aug 24 17:03:09 2017 -0400
fixed sources
clean_ffmpeg.sh | 1 +
sources | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/clean_ffmpeg.sh b/clean_ffmpeg.sh
index 7bd9e5d..272ec2d 100755
--- a/clean_ffmpeg.sh
+++ b/clean_ffmpeg.sh
@@ -220,6 +220,7 @@ manual_files=" libavcodec/x86/hpeldsp_rnd_template.c \
libavutil/x86/x86util.asm "
mp3_files=" libavcodec/aarch64/mpegaudiodsp_init.c \
+ libavcodec/aarch64/mpegaudiodsp_neon.S \
libavcodec/aac_ac3_parser.c \
libavcodec/aac_parser.c \
libavcodec/aacadtsdec.c \
diff --git a/sources b/sources
index e3cfeb6..a3e56fa 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,3 @@
SHA512 (depot_tools.git-master.tar.gz) = d3d6a1873b2b0296a8cd99e0d8d2e629a17b1808934b4972556168f8b4ccea60577ebaeab4445baf15afb1b04080808db59a832a5b61d247bd48da14fa6acf03
SHA512 (policy_templates.zip) = 4d2a7162adb3ca224f3e1bf1d2936ae395603e8ffa3fda7753e666a16c42c7ba54c7acfcfdc742e22978ace37e471ed099d222063708d4d8a299da3daf135f15
-SHA512 (chromium-60.0.3112.101-clean.tar.xz) = 3ed13c6a32752294898fa72f2333f32fcf081eef7328307645dbc09baae95aca762d3083d2ae053fc903a0b4dc92e04da91a810d267aab21dea196362ed6abc6
-SHA512 (chromium-60.0.3112.113-clean.tar.xz) = 7b9dcea4b256113757e57da6b4025873b0e57da38cbb37d6ea8ae8910127a885c02be2bd3f4e6f0af3c8403986da1190d94f2f060198a25d4780a3c70b3e6065
+SHA512 (chromium-60.0.3112.113-clean.tar.xz) = 67cd2d29761b61187ccec90da7d755f4214afd99bcfba4f0633b444532e094fe4c6624f2b1f0695df5ea5d616cff971fa4be52e60ff108e660db36f54fc73c02
5 years
[chromium-libs-media-freeworld: 4/259] update to 60.0.3112.113, fix ffmpeg clean script to not delete aarch64 file
by Nicolas Chauvet
commit 984bf67d4286d0c64b3ee2d80e37482367559d01
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Thu Aug 24 16:03:00 2017 -0400
update to 60.0.3112.113, fix ffmpeg clean script to not delete aarch64 file
.gitignore | 1 +
chromium.spec | 8 ++++++--
clean_ffmpeg.sh | 3 ++-
sources | 1 +
4 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 428fd64..57a8df9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -27,3 +27,4 @@
/chromium-59.0.3071.109-freetype.tar.bz2
/chromium-60.0.3112.90-clean.tar.xz
/chromium-60.0.3112.101-clean.tar.xz
+/chromium-60.0.3112.113-clean.tar.xz
diff --git a/chromium.spec b/chromium.spec
index 44792d6..9552beb 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -115,8 +115,8 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
%else
Name: chromium%{chromium_channel}
%endif
-Version: %{majorversion}.0.3112.101
-Release: 2%{?dist}
+Version: %{majorversion}.0.3112.113
+Release: 1%{?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)
@@ -1862,6 +1862,10 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%changelog
+* Thu Aug 23 2017 Tom Callaway <spot(a)fedoraproject.org> 60.0.3112.113-1
+- fix ffmpeg clean script to not delete aarch64 file
+- update to 60.0.3112.113
+
* Wed Aug 23 2017 Tom Callaway <spot(a)fedoraproject.org> 60.0.3112.101-3
- apply aarch64 fixes from Ryan Blakely <rblakely(a)redhat.com>
diff --git a/clean_ffmpeg.sh b/clean_ffmpeg.sh
index 755ce8a..7bd9e5d 100755
--- a/clean_ffmpeg.sh
+++ b/clean_ffmpeg.sh
@@ -219,7 +219,8 @@ manual_files=" libavcodec/x86/hpeldsp_rnd_template.c \
libavutil/x86/x86inc.asm \
libavutil/x86/x86util.asm "
-mp3_files=" libavcodec/aac_ac3_parser.c \
+mp3_files=" libavcodec/aarch64/mpegaudiodsp_init.c \
+ libavcodec/aac_ac3_parser.c \
libavcodec/aac_parser.c \
libavcodec/aacadtsdec.c \
libavcodec/aacps_float.c \
diff --git a/sources b/sources
index 9309b9e..e3cfeb6 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,4 @@
SHA512 (depot_tools.git-master.tar.gz) = d3d6a1873b2b0296a8cd99e0d8d2e629a17b1808934b4972556168f8b4ccea60577ebaeab4445baf15afb1b04080808db59a832a5b61d247bd48da14fa6acf03
SHA512 (policy_templates.zip) = 4d2a7162adb3ca224f3e1bf1d2936ae395603e8ffa3fda7753e666a16c42c7ba54c7acfcfdc742e22978ace37e471ed099d222063708d4d8a299da3daf135f15
SHA512 (chromium-60.0.3112.101-clean.tar.xz) = 3ed13c6a32752294898fa72f2333f32fcf081eef7328307645dbc09baae95aca762d3083d2ae053fc903a0b4dc92e04da91a810d267aab21dea196362ed6abc6
+SHA512 (chromium-60.0.3112.113-clean.tar.xz) = 7b9dcea4b256113757e57da6b4025873b0e57da38cbb37d6ea8ae8910127a885c02be2bd3f4e6f0af3c8403986da1190d94f2f060198a25d4780a3c70b3e6065
5 years
[chromium-libs-media-freeworld: 3/259] add BR: ninja-build
by Nicolas Chauvet
commit c74ab79e4c2fddb71c175103babba7636e013a78
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Wed Aug 23 16:34:59 2017 -0400
add BR: ninja-build
chromium.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/chromium.spec b/chromium.spec
index b058c6d..44792d6 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -377,6 +377,8 @@ BuildRequires: pkgconfig(gnome-keyring-1)
# remote desktop needs this
BuildRequires: pam-devel
BuildRequires: systemd
+# using the built from source version on aarch64
+BuildRequires: ninja-build
# We pick up an automatic requires on the library, but we need the version check
# because the nss shared library is unversioned.
5 years
[chromium-libs-media-freeworld: 2/259] Another player has entered the game: aarch64!
by Nicolas Chauvet
commit b413a74418255ded1c8f4c6b45002d03372b0179
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Wed Aug 23 14:53:36 2017 -0400
Another player has entered the game: aarch64!
chromium-60.0.3112.101-fix-ffmpeg-aarch64.patch | 12 +++++++++++
chromium.spec | 28 ++++++++++++++++++++-----
2 files changed, 35 insertions(+), 5 deletions(-)
---
diff --git a/chromium-60.0.3112.101-fix-ffmpeg-aarch64.patch b/chromium-60.0.3112.101-fix-ffmpeg-aarch64.patch
new file mode 100644
index 0000000..a39e044
--- /dev/null
+++ b/chromium-60.0.3112.101-fix-ffmpeg-aarch64.patch
@@ -0,0 +1,12 @@
+diff -up chromium-60.0.3112.101/third_party/ffmpeg/ffmpeg_generated.gni.aarch64 chromium-60.0.3112.101/third_party/ffmpeg/ffmpeg_generated.gni
+--- chromium-60.0.3112.101/third_party/ffmpeg/ffmpeg_generated.gni.aarch64 2017-08-23 14:46:37.305832399 -0400
++++ chromium-60.0.3112.101/third_party/ffmpeg/ffmpeg_generated.gni 2017-08-23 14:47:06.217148864 -0400
+@@ -539,7 +539,7 @@ if (is_linux && current_cpu == "arm64")
+ ]
+ }
+
+-if ((is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS")) {
++if ((is_android && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chrome") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "ChromeOS") || (is_linux && current_cpu == "arm64" && ffmpeg_branding == "Chromium")) {
+ ffmpeg_c_sources += [
+ "libavcodec/aarch64/mpegaudiodsp_init.c",
+ ]
diff --git a/chromium.spec b/chromium.spec
index 2c2e466..b058c6d 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -202,6 +202,8 @@ Patch46: chromium-60.0.3112.90-init-list-hack.patch
Patch47: chromium-60.0.3112.90-vulkan-force-c99.patch
# https://chromium.googlesource.com/chromium/src/+/9c77470ff34bac937ceb765a...
Patch48: chromium-60.0.3112.101-camfix.patch
+# Fix mp3 for aarch64
+Patch49: chromium-60.0.3112.101-fix-ffmpeg-aarch64.patch
### Chromium Tests Patches ###
Patch100: chromium-46.0.2490.86-use_system_opus.patch
@@ -411,7 +413,7 @@ Provides: chromium-libs = %{version}-%{release}
Obsoletes: chromium-libs <= %{version}-%{release}
%endif
-ExclusiveArch: x86_64 i686
+ExclusiveArch: x86_64 i686 aarch64
# Bundled bits (I'm sure I've missed some)
Provides: bundled(angle) = 2422
@@ -623,6 +625,7 @@ udev.
# Do not apply mp3 change
%else
%patch34 -p1 -b .mp3
+%patch49 -p1 -b .aarch64
%endif
%patch36 -p1 -b .revert
%patch37 -p1 -b .ffmpeg-stdatomic
@@ -751,7 +754,7 @@ popd
# Core defines are flags that are true for both the browser and headless.
CHROMIUM_CORE_GN_DEFINES=""
CHROMIUM_CORE_GN_DEFINES+=' is_debug=false'
-%ifarch x86_64
+%ifarch x86_64 aarch64
CHROMIUM_CORE_GN_DEFINES+=' system_libdir="lib64"'
%endif
CHROMIUM_CORE_GN_DEFINES+=' google_api_key="%{api_key}" google_default_client_id="%{default_client_id}" google_default_client_secret="%{default_client_secret}"'
@@ -762,6 +765,9 @@ CHROMIUM_CORE_GN_DEFINES+=' ffmpeg_branding="ChromeOS" proprietary_codecs=true'
CHROMIUM_CORE_GN_DEFINES+=' ffmpeg_branding="Chromium" proprietary_codecs=false'
%endif
CHROMIUM_CORE_GN_DEFINES+=' treat_warnings_as_errors=false'
+%ifarch aarch64
+CHROMIUM_CORE_GN_DEFINES+=' target_cpu="arm64"'
+%endif
export CHROMIUM_CORE_GN_DEFINES
CHROMIUM_BROWSER_GN_DEFINES=""
@@ -1005,6 +1011,18 @@ build/linux/unbundle/replace_gn_files.py --system-libraries \
yasm \
zlib
+# fix arm gcc
+sed -i 's|arm-linux-gnueabihf-|arm-linux-gnu-|g' build/toolchain/linux/BUILD.gn
+
+%ifarch aarch64
+# We don't need to cross compile while building on an aarch64 system.
+sed -i 's|aarch64-linux-gnu-||g' build/toolchain/linux/BUILD.gn
+
+# Correct the ninja file to check for aarch64, not just x86.
+sed -i '/${LONG_BIT}/ a \ aarch64)\' ../depot_tools/ninja
+sed -i '/aarch64)/ a \ exec "/usr/bin/ninja-build" "$@";;\' ../depot_tools/ninja
+%endif
+
tools/gn/bootstrap/bootstrap.py -v --gn-gen-args "$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES"
%{target}/gn gen --args="$CHROMIUM_CORE_GN_DEFINES $CHROMIUM_BROWSER_GN_DEFINES" %{target}
@@ -1030,9 +1048,6 @@ sed '14i#define WIDEVINE_CDM_VERSION_STRING "Something fresh"' -i "third_party/w
FILE=chrome/common/channel_info_posix.cc
sed -i.orig -e 's/getenv("CHROME_VERSION_EXTRA")/"Fedora Project"/' $FILE
-# fix arm gcc
-sed -i 's|arm-linux-gnueabihf-|arm-linux-gnu-|g' build/toolchain/linux/BUILD.gn
-
%build
%if %{?tests}
@@ -1845,6 +1860,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%changelog
+* Wed Aug 23 2017 Tom Callaway <spot(a)fedoraproject.org> 60.0.3112.101-3
+- apply aarch64 fixes from Ryan Blakely <rblakely(a)redhat.com>
+
* Thu Aug 17 2017 Tom Callaway <spot(a)fedoraproject.org> 60.0.3112.101-2
- fix dep issue with chrome-remote-desktop on el7
5 years
[chromium-libs-media-freeworld: 1/259] fix dep issue with chrome-remote-desktop on el7
by Nicolas Chauvet
commit ae08a775d9336ef42c6aa3f65faf978fb71ddf1f
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Thu Aug 17 09:31:37 2017 -0400
fix dep issue with chrome-remote-desktop on el7
chromium.spec | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/chromium.spec b/chromium.spec
index c99bb84..2c2e466 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -116,7 +116,7 @@ Name: chromium%{chromium_channel}%{?freeworld:-freeworld}
Name: chromium%{chromium_channel}
%endif
Version: %{majorversion}.0.3112.101
-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)
@@ -549,7 +549,11 @@ Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires: xorg-x11-server-Xvfb
+%if 0%{?rhel} == 7
+Requires: python-psutil
+%else
Requires: python2-psutil
+%endif
%if 0%{?shared}
Requires: chromium-libs%{_isa} = %{version}-%{release}
%endif
@@ -1841,6 +1845,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%changelog
+* Thu Aug 17 2017 Tom Callaway <spot(a)fedoraproject.org> 60.0.3112.101-2
+- fix dep issue with chrome-remote-desktop on el7
+
* Wed Aug 16 2017 Tom Callaway <spot(a)fedoraproject.org> 60.0.3112.101-1
- update to 60.0.3112.101
- apply upstream fix for cameras which report zero resolution formats
5 years
[chromium-libs-media-freeworld] (259 commits) ...Merge remote-tracking branch 'fedora/master'
by Nicolas Chauvet
Summary of changes:
ae08a77... fix dep issue with chrome-remote-desktop on el7
b413a74... Another player has entered the game: aarch64!
c74ab79... add BR: ninja-build
984bf67... update to 60.0.3112.113, fix ffmpeg clean script to not del
761a028... fixed sources
7d1f0ea... fixed sources for aarch64
321d5de... fix include pathing in libavutil/timer.h
21e3607... more aarch64 ffmpeg files
a546230... disable aarch64 on rhel7, missing libatomic.so for some rea
1c11a82... Require explicit version-release of chromium-libs from medi
9debcb0... 61.0.3163.79
2484dd8... fix aarch64 compile in rawhide
661f204... fix patch
f43b0ab... drop unnecessary patch for epel7
bcf9692... use fpermissive on cc/paint
92bd8d8... try different cc/paint fix
c00dedb... more epel gcc fixes
5ff888b... will it never stop?
a0a687b... ugly hack to make epel7 build. maybe
1144ae5... i think this will build
79d8235... 61.0.3163.100 and lots of epel7 fixes
fac5ada... uploaded sources this time
faa2842... Update the chromium-lastest.py to always download the polic
9d223e0... Update the chromium-lastest.py to always download the polic
18ab5a5... Update the chromium-lastest.py to always download the polic
b36884a... Improve the chromium-latest.py script
404a6d2... Improve the chromium-latest.py script
07728cd... Improve the chromium-latest.py script
69e5304... 62.0.3202.62
3f324a0... Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/
c28ea78... Merge branch 'master' into f26
12bdf54... Merge branch 'master' into epel7
7abe45e... do not attempt to use std=c++14 on epel7
2abf30d... Fix the policy templates handling
d02ac4e... Fix the policy templates handling
d8f6aaa... Fix the policy templates handling
530c35b... instead use std=c++11 on epel7
6aefd88... Merge branch 'epel7' of ssh://pkgs.fedoraproject.org/rpms/c
f6767a1... fix decay_t usage for gcc 4.8/c++11
2180bdb... more C++11 type handling (enable_if)
2f12a92... even moar c++11
4b560f7... 62.0.3202.75
7d1b47a... fix merge
7745b94... fix merge
bc9e77b... 62.0.3202.89
6844a76... Merge branch 'master' into f26
db2acc0... Remove support for running the unit tests
06c182b... Adapt to man page changes for Chromium 63
8a70ade... Remove unused patches
b8d27d6... Remove unused AppData file
b0b7736... Merge #4 `Remove unused patches and an AppData file`
07c88ef... Merge #3 `Remove support for running the unit tests`
6af85f9... 63.0.3239.84
a2f0a87... Merge branch 'master' into f26
42ed338... fix aarch64 patch
b18325e... new sources for aarch64
70ab91a... moar aarch64 files
b9fa76f... moar moar aarch64 files
3698ffd... moar moar aarch64 files
eac1e39... moar moar moar aarch64 files
7bb0a21... Don't require libcanberra-gtk2 GTK+ 3 build is enabled
7d49b3d... Add missing ffmpeg files on aarch64
41a8870... Update to 63.0.3239.108
699efa4... Merge branch 'master' into f26
dfd304e... Add python2 as BR
6fc5f9d... Merge branch 'master' into f26
867ed1f... 64.0.3282.119
b75e5eb... correct source
7bfd513... include user-session binary in chrome-remote-desktop subpac
7451062... 64.0.3282.140
ff8eb29... update to 64.0.3282.167, include workaround for gcc8 bug in
dee55f8... Merge branch 'master' into f26
cf44702... Merge branch 'f26' of ssh://pkgs.fedoraproject.org/rpms/chr
c558cc1... 64.0.3282.186
1795734... Merge branch 'master' into f26
e36a0c8... 65.0.3325.146
c5342c3... this gets past prep...
4e6c6ef... 65.0.3325.162
8ca12f1... clean sources
fb49317... Merge branch 'master' into f26
fe5b552... version conditionalize gnome-keyring-devel
3534f5e... use bundled libjpeg on epel7
8cfa28d... fix bool issue triggered by newer gcc
61203bf... use normal bool cast
9e38b7c... fix skia build issue on aarch64
bdba7c7... disable StartupNotify in chromium-browser.desktop (not in g
b2a482e... Merge branch 'master' into f26
6d9e418... use bundled freetype on epel7
dcb134e... Merge branch 'master' into f26
f7e3b54... use bundled libdrm on epel7
f525a51... try use_custom_libcxx=true on epel7
6113fdf... rhel 7 might need libc++ bundled
0d818fb... force lstdc++ on epel7
c747d58... 65.0.3325.181
752de26... Merge branch 'master' into f26
6588e7b... check that there is no system google module, shadowing bund
11492d0... add explicit dependency on minizip (bz 1534282)
0996727... Merge branch 'master' into f26
cdad621... Be explicit about the Python version used
e00e15d... use system fontconfig (except on epel7)
b899d5f... Merge branch 'master' of ssh://pkgs.fedoraproject.org/rpms/
5479a8c... 66.0.3359.139
5afa5c7... Merge branch 'master' into f26
840f0be... fix sources
85fa5c5... missing patch
c380501... Merge branch 'master' into f26
8667898... disable patch47
3f9e662... fix arm build
0f7615a... Merge branch 'master' into f26
55ffd95... 66.0.3359.170
b3bbed0... add swiftshader to files
16a75be... only x86_64 i686 have swiftshader
f953b3f... fix gcc8 alignof issue on i686
7575596... update to 66.0.3359.181
f1f56dc... fix missing files
d164b66... also filter out fontconfig on epel7
afb86c1... 67
169992d... 67 patches
02b89a3... fixup spec
3bfff4f... fix sources
022abfe... fix crashpad issue on aarch64
27ff9a9... fix epel fonts
0b37303... work around bug in RHEL7 python exec
9cdea2b... update to 67.0.3396.79
afed03b... 67.0.3396.87
92b60dd... move from appdata/ to metainfo/
77c46e3... add fedora to the user agent string
2c3a8f9... 67.0.3396.99
8fac8b3... try to fix version.py for rawhide
f7dfb30... - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass
7048e95... setuid user-session, more python2 hacks
f3867e4... missed one gn gen
e0bcc17... include third_party/rcssmin
cb0be2c... fix more python hardcoding
14101bb... 68
9ac9791... add Ahem font
65058cd... add Public Domain GardinerMod fonts
1d9acb4... fix aarch64 compile
4cfe27e... Fix default on redeclaration error
016a7a3... fix library filters
f9b8d48... Update dependency to minizip-compat(-devel)
e688f35... conditionalize minizip-compat change
0fc6cb9... 69.0.3497.92
a913b5c... Also fix shebangs with spaces
a367efa... update to 69.0.3497.100
cf170d6... freeworld build does not need fonts
5266162... 70.0.3538.77
a8d905f... drop jumbo_file_merge_limit to 8 to (hopefully) avoid OOMs
3558506... fix build with harfbuzz2 in rawhide
35ec6a6... fix aarch64 build against latest linux kernel headers
4e28fb2... fix library requires filtering
785459d... https://fedoraproject.org/wiki/Changes/No_more_automagic_Py
8401a03... .110
7029b1f... remove sysroot options
278c627... enable vaapi support (thanks to Akarshan Biswas for doing t
4a92824... increment release, you dummy
8529bb8... fix patch
0d5fe2e... use clean vaapi patch, add BR: libva-devel
20998a3... use fpermissive on vaapi code on i686
6223833... Update vaapi patch for 71 and add to patch to relax the ver
f97ba1b... Add relax libva version check patch
b2e427f... 71.0.3578.98
39f8148... need to use devtoolset-8-*. I love hardcoded versions in pa
8e01649... more hardcoded devtoolset versions
e708c75... Use a variable for the DTS version
e9829bb... okay, lets try this
2829ac3... RHEL 7s nodejs is too old, do not use it in the buildroot
a4a01eb... use prebuilt node on rhel7
09bce82... add BR
41f326e... fix noexcept, moar
143e466... fix noexcept, moar moar
1b1fef9... I SAID MOAR
7ccede1... drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
c8e53a4... Fix widevine on chromium
1788834... rebuild with widevine fix
ea2fe9d... Remove obsolete scriptlets
e58b7c1... - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass
2d03f67... rebuild for libva api change
4818465... chromium 72
6f3b08b... new source
9071ee2... go 73, go!
a73d776... Add java to build requires
70ab9e4... Rebase the vaapi i686 -fpermissive patch
d805cb9... swiftshader for aarch64? ok.
a21606a... add aarch64 crashpad compile fix
6a0dee3... try disabling jumbo for aarch64
24a7923... do not package pyproto/protoc
9d8ad7c... fix merge
a01021d... disable vaapi on epel7
6bc005a... update noexcept patch
f9dc161... update to 73.0.3683.86
c0e09c7... remove lang macro from en-US.pak* because Chromium crashes
ae0be16... update to 73.0.3683.103, add CLONE_VFORK to seccomp filter
41b87b0... improved seccomp glibc 2.29 patch
f4a1a5c... 74.0.3729.169
43b2c19... 75.0.3770.80
ee64066... fix i686 fpermissive
86f6063... more headers to save
3d2e9d1... rename function to avoid conflict with rawhide glibc "getti
e860623... one more file for aarch64
8008a52... .90 and another missing aarch64 file
3a2a8e7... update to 75.0.3770.100
8ca0005... update epel7 patches
583677e... disable jumbo for epel7
1646709... fix v8 compile with gcc
3da184d... apply upstream fix to resolve issue where it is dangerous t
8c4c53d... - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass
a779813... Cleanup the patches
38e8f68... Update to 76.0.3809.100
44822a9... Add more fixes
fcb9e6e... Backport more build fixes from upstream
481c90e... third_party/openscreen need to be preserved
3f2dbf4... third_party/boringssl/linux-x86_64/crypto/third_party/sike
6c1fd53... loosen dependency on chromium-libs in freeworld build
8b12346... Pulseaudio changed the API in 12.99 and we need to adapt th
a491a86... Add missing ffmpeg file on aarch64
4376be3... Update the Pulseaudio's pa_operation_get_state() signature
453dfe1... Backport another upstream build fix
cfc50a5... Upload the new cleaned tarball with aarch64 sources
6ab36cd... Backport and create more of the GCC fixes
f32de41... //third_party dependency missing for remoting
05ed80c... Fix the build of remoting_all target
234bd98... Fix the previously uploaded patch
02877cc... Update the list of private libraries and remove a pak file
32351d8... Clean-up gitignore using wildcard
fcd18a8... Fix the EL7 build as it doesn't like part of the upstream G
250b15f... More el7 fixes
2f9ffec... Another el7 noexcept change
77fd050... Another noexec fix for EL7
937790b... Update to 76.0.3809.132
5039438... Add an updated patch that was missed
ec9d075... Use bundled Python 2 libraries during build
9bb933d... update chromium-latest.py to Python3
41c2299... Backport patch to fix certificate transparency
be81360... Fix certificate-transparency patch
f341b67... More fixes to a backported patch for certificate transparen
892e596... Update to 77.0.3865.75
8458f58... Unbundle the zlib
1b0a93b... Missing bundled dependency for headless
2cfc18c... Fix the previously rebased patched
5e3b7f3... Update the clean-ffmpeg.sh script
d08e680... Include <memory> to fix the headless build
1a11ef1... Use the bundled harfbuzz-ng for < F31
63945f4... Remove an unneeded patch that's breaking the build
8ed36c4... Another export and alignas gcc compilation fix
fb22c7a... Preserve the spirv heads for swiftshader compilation
ecb75de... Fix the release number and add a changelog entry
dc2f301... More of the harfbuzz related fixes
057d9fc... Don't remove an additional bundled library
63ccbdc... Backport another GCC build fix
578228a... Customize the ninja status to show the currently build targ
4d35c8a... Fix the aarch64 build
7fc2813... 22x22 icon was removed and use the symbolic one as well
fa69419... Update the list of private libraries
ce1cd8e... Update the list of private libraries
1a179e7... Update the el7 noexcept patch and fix the el7 build
c510174... Forget to generate diff for one affected el7-noexcept file
06cf3b0... Update to 77.0.3865.90
baa2c18... Merge remote-tracking branch 'fedora/master'
5 years
[chromium-vaapi] Add build requires: /usr/bin/python2
by hellbanger
commit 58a9a8f7d41cd47b63c5cbbb671a5d2f191598d7
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Sat Sep 21 16:49:27 2019 +0530
Add build requires: /usr/bin/python2
chromium-vaapi.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 0665833..417b2d1 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -128,6 +128,8 @@ BuildRequires: pkgconfig(wayland-server)
%if 0%{?bundlepylibs}
# Using bundled bits, do nothing.
+#This is needed for remove_bundled_libraries.py
+BuildRequires: /usr/bin/python2
%else
BuildRequires: python2-rpm-macros
5 years
[chromium-vaapi] Use the bundled python2 as python2 is going to be removed from Fedora Upload new sources
by hellbanger
commit 7b33c5435ec92559333e211f9b14882996261f23
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Sat Sep 21 15:29:13 2019 +0530
Use the bundled python2 as python2 is going to be removed from Fedora
Upload new sources
chromium-vaapi.spec | 34 ++++++++++++++++++++++++++--------
sources | 2 +-
2 files changed, 27 insertions(+), 9 deletions(-)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 5ea832c..0665833 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -14,6 +14,14 @@
%global __requires_exclude %{chromiumdir}/.*\\.so
%global __provides_exclude_from %{chromiumdir}/.*\\.so
#######################################CONFIGS###########################################
+# Fedora's Python 2 stack is being removed, we use the bundled Python libraries
+# This can be revisited once we upgrade to Python 3
+%global bundlepylibs 1
+%if 0%{bundlepylibs}
+%bcond_with system_ply
+%else
+%bcond_without system_ply
+%endif
# This package depends on automagic byte compilation
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompi...
%global _python_bytecompile_extra 1
@@ -26,8 +34,6 @@
# Require libxml2 > 2.9.4 for XML_PARSE_NOXXE
%bcond_without system_libxml2
-# https://github.com/dabeaz/ply/issues/66
-%bcond_without system_ply
# Allow testing whether icu can be unbundled
# A patch fix building so enabled by default for Fedora 30
@@ -117,19 +123,26 @@ BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(wayland-server)
%endif
-# remove_bundled_libraries.py --do-remove
+
+#Python stuffs
+%if 0%{?bundlepylibs}
+
+# Using bundled bits, do nothing.
+
+%else
BuildRequires: python2-rpm-macros
BuildRequires: python2-beautifulsoup4
BuildRequires: python2-lxml
BuildRequires: python2-html5lib
BuildRequires: python2-markupsafe
Buildrequires: python2-six
-%if %{with system_re2}
-BuildRequires: re2-devel
-%endif
%if %{with system_ply}
BuildRequires: python2-ply
%endif
+%endif
+%if %{with system_re2}
+BuildRequires: re2-devel
+%endif
# replace_gn_files.py --system-libraries
BuildRequires: flac-devel
BuildRequires: freetype-devel
@@ -342,6 +355,9 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/libyuv \
third_party/lss \
third_party/lzma_sdk \
+%if 0%{?bundlepylibs}
+ third_party/markupsafe \
+%endif
third_party/mesa \
third_party/metrics_proto \
%if %{ozone}
@@ -469,14 +485,15 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
sed -i 's|//third_party/usb_ids|/usr/share/hwdata|g' \
services/device/public/cpp/usb/BUILD.gn
-
+%if !0%{?bundlepylibs}
rmdir third_party/markupsafe
ln -s %{python2_sitearch}/markupsafe third_party/markupsafe
-
%if %{with system_ply}
rmdir third_party/ply
ln -s %{python2_sitelib}/ply third_party/ply
%endif
+%endif
+
# 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
@@ -668,6 +685,7 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
* Sat Sep 21 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 77.0.3865.90-1
- Update to 77.0.3865.90
- Disabled Nvidia support
+- Use the bundled python2 as python2 is going to be removed from Fedora
* Fri Aug 30 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 76.0.3809.132-2
- Update to 76.0.3809.132
diff --git a/sources b/sources
index f749b0f..1ecf8bb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-389e62cd2f0d7a21159241e3a31df0c0 chromium-76.0.3809.132.tar.xz
+8580912b6c254d8c422f514be178a0a5 chromium-77.0.3865.90.tar.xz
5 years
[chromium-vaapi] Update to 77.0.3865.90 Disabled Nvidia support
by hellbanger
commit 97b636ae38c9e839fab67d2ab6e9434667356348
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Sat Sep 21 11:59:37 2019 +0530
Update to 77.0.3865.90
Disabled Nvidia support
...VPP-on-Linux-Add-some-info-logs-and-fix-v.patch | 154 -------------
UseNormalBAM.patch | 82 +++++++
chromium-base-location.patch | 13 ++
chromium-gcc9-r666279.patch | 59 -----
chromium-gcc9-r666336.patch | 40 ----
chromium-gcc9-r666401.patch | 48 ----
chromium-gcc9-r666436.patch | 42 ----
chromium-gcc9-r666619.patch | 38 ----
chromium-gcc9-r666714.patch | 111 ----------
chromium-gcc9-r667064.patch | 114 ----------
chromium-gcc9-r667228.patch | 102 ---------
chromium-gcc9-r667260.patch | 46 ----
chromium-gcc9-r667484.patch | 68 ------
chromium-gcc9-r667901.patch | 105 ---------
chromium-gcc9-r668015.patch | 72 ------
chromium-gcc9-r668033.patch | 124 -----------
chromium-gcc9-r670973.patch | 55 -----
chromium-gcc9-r670980.patch | 61 -----
chromium-gcc9-r681321.patch | 35 +++
chromium-gcc9-r681333.patch | 71 ++++++
chromium-gcc9-r684731.patch | 138 ++++++++++++
chromium-quiche-gcc9.patch | 245 ---------------------
chromium-skia-harmony.patch | 14 --
chromium-unbundle-zlib.patch | 25 +++
chromium-vaapi.spec | 92 +++-----
enable-vaapi.patch | 62 +++---
26 files changed, 425 insertions(+), 1591 deletions(-)
---
diff --git a/UseNormalBAM.patch b/UseNormalBAM.patch
new file mode 100644
index 0000000..62a25bb
--- /dev/null
+++ b/UseNormalBAM.patch
@@ -0,0 +1,82 @@
+From 2fb5ffb6de4752a404e1ec406b31880288f1cc82 Mon Sep 17 00:00:00 2001
+From: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
+Date: Fri, 20 Sep 2019 19:04:07 +0530
+Subject: [PATCH] Use Normal BAM on Linux to workaround some intel driver
+ issues
+
+---
+ media/gpu/vaapi/vaapi_video_decode_accelerator.cc | 9 +++++++++
+ media/gpu/vaapi/vaapi_wrapper.cc | 2 +-
+ 2 files changed, 10 insertions(+), 1 deletion(-)
+
+diff --git a/media/gpu/vaapi/vaapi_video_decode_accelerator.cc b/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
+index 95df4498b..d7f39be58 100644
+--- a/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
++++ b/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
+@@ -66,6 +66,7 @@ void ReportToUMA(VAVDADecoderFailure failure) {
+ // Returns true if the CPU is an Intel Gemini Lake or later (including Kaby
+ // Lake) Cpu platform id's are referenced from the following file in kernel
+ // source arch/x86/include/asm/intel-family.h
++#if defined(OS_ANDROID) || defined(OS_CHROMEOS)
+ bool IsGeminiLakeOrLater() {
+ constexpr int kPentiumAndLaterFamily = 0x06;
+ constexpr int kGeminiLakeModelId = 0x7A;
+@@ -75,6 +76,7 @@ bool IsGeminiLakeOrLater() {
+ cpuid.model() >= kGeminiLakeModelId;
+ return is_geminilake_or_later;
+ }
++#endif
+
+ } // namespace
+
+@@ -1077,6 +1079,10 @@ VaapiVideoDecodeAccelerator::GetSupportedProfiles() {
+
+ VaapiVideoDecodeAccelerator::BufferAllocationMode
+ VaapiVideoDecodeAccelerator::DecideBufferAllocationMode() {
++#if defined(OS_LINUX) && !defined(OS_ANDROID) && !defined(OS_CHROMEOS)
++ return BufferAllocationMode::kNormal;
++#else
++
+ // TODO(crbug.com/912295): Enable a better BufferAllocationMode for IMPORT
+ // |output_mode_| as well.
+ if (output_mode_ == VideoDecodeAccelerator::Config::OutputMode::IMPORT)
+@@ -1089,6 +1095,7 @@ VaapiVideoDecodeAccelerator::DecideBufferAllocationMode() {
+ // depends on the bitstream and sometimes it's not enough to cover the amount
+ // of frames needed by the client pipeline (see b/133733739).
+ // TODO(crbug.com/911754): Enable for VP9 Profile 2.
++
+ if (IsGeminiLakeOrLater() &&
+ (profile_ == VP9PROFILE_PROFILE0 || profile_ == VP8PROFILE_ANY)) {
+ // Add one to the reference frames for the one being currently egressed, and
+@@ -1098,6 +1105,7 @@ VaapiVideoDecodeAccelerator::DecideBufferAllocationMode() {
+ num_extra_pics_ = 3;
+ return BufferAllocationMode::kNone;
+ }
++
+
+ // If we're here, we have to use the Vpp unit and allocate buffers for
+ // |decoder_|; usually we'd have to allocate the |decoder_|s
+@@ -1112,6 +1120,7 @@ VaapiVideoDecodeAccelerator::DecideBufferAllocationMode() {
+ return BufferAllocationMode::kReduced;
+
+ return BufferAllocationMode::kSuperReduced;
++#endif
+ }
+
+ bool VaapiVideoDecodeAccelerator::IsBufferAllocationModeReducedOrSuperReduced()
+diff --git a/media/gpu/vaapi/vaapi_wrapper.cc b/media/gpu/vaapi/vaapi_wrapper.cc
+index 7df60e273..d291d3ad0 100644
+--- a/media/gpu/vaapi/vaapi_wrapper.cc
++++ b/media/gpu/vaapi/vaapi_wrapper.cc
+@@ -397,7 +397,7 @@ bool VADisplayState::InitializeOnce() {
+ int major_version, minor_version;
+ VAStatus va_res = vaInitialize(va_display_, &major_version, &minor_version);
+ if (va_res != VA_STATUS_SUCCESS) {
+- LOG(ERROR) << "vaInitialize failed: " << vaErrorStr(va_res);
++ LOG(ERROR) << "vaInitialize failed!(ignore if using Wayland desktop environment, refer:https://github.com/akarshanbiswas/chromium-vaapi/issues/7) " << vaErrorStr(va_res);
+ return false;
+ }
+
+--
+2.21.0
+
diff --git a/chromium-base-location.patch b/chromium-base-location.patch
new file mode 100644
index 0000000..a57b5a4
--- /dev/null
+++ b/chromium-base-location.patch
@@ -0,0 +1,13 @@
+diff --git a/base/location.h b/base/location.h
+index c07e747..924db1c 100644
+--- a/base/location.h
++++ b/base/location.h
+@@ -18,7 +18,7 @@
+
+ namespace base {
+
+-#if defined(__has_builtin)
++#if defined(__clang__)
+ // Clang allows detection of these builtins.
+ #define SUPPORTS_LOCATION_BUILTINS \
+ (__has_builtin(__builtin_FUNCTION) && __has_builtin(__builtin_FILE) && \
diff --git a/chromium-gcc9-r681321.patch b/chromium-gcc9-r681321.patch
new file mode 100644
index 0000000..9c4f681
--- /dev/null
+++ b/chromium-gcc9-r681321.patch
@@ -0,0 +1,35 @@
+From 8c747a9c14ed4905f60f6680e2e09e33ea34163e Mon Sep 17 00:00:00 2001
+From: Jose Dapena Paz <jose.dapena(a)lge.com>
+Date: Fri, 26 Jul 2019 16:18:17 +0000
+Subject: [PATCH] IWYU: include <memory> in one_euro_filter.h as it uses
+ std::unique_ptr
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Bug: 819294
+Change-Id: Ie1530f7046b0c8eb76e26adca530fa57c67ed876
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1720637
+Reviewed-by: Ella Ge <eirage(a)chromium.org>
+Commit-Queue: José Dapena Paz <jose.dapena(a)lge.com>
+Cr-Commit-Position: refs/heads/master@{#681321}
+---
+ third_party/one_euro_filter/src/one_euro_filter.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/third_party/one_euro_filter/src/one_euro_filter.h b/third_party/one_euro_filter/src/one_euro_filter.h
+index 7f8d15b62afa..a8cd0ab9a256 100644
+--- a/third_party/one_euro_filter/src/one_euro_filter.h
++++ b/third_party/one_euro_filter/src/one_euro_filter.h
+@@ -1,6 +1,8 @@
+ #ifndef ONE_EURO_ONE_EURO_FILTER_H_
+ #define ONE_EURO_ONE_EURO_FILTER_H_
+
++#include <memory>
++
+ #include "low_pass_filter.h"
+
+ namespace one_euro_filter {
+--
+2.21.0
+
diff --git a/chromium-gcc9-r681333.patch b/chromium-gcc9-r681333.patch
new file mode 100644
index 0000000..54e046f
--- /dev/null
+++ b/chromium-gcc9-r681333.patch
@@ -0,0 +1,71 @@
+From f08cb0022527081c078e8b96062e6c9b4fbda151 Mon Sep 17 00:00:00 2001
+From: Jose Dapena Paz <jose.dapena(a)lge.com>
+Date: Fri, 26 Jul 2019 16:48:06 +0000
+Subject: [PATCH] BinaryUploadService: change parameter passing that cannot
+ afford abstract class
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+The method UploadForDeepScanning gets a Request as parameter. But Request is an
+abstract class, so GCC will not allow that declaration (polimorphycs should be
+passed by reference). Use std::unique_ptr so BinaryUploadService can assume
+ownership.
+
+Bug: 819294
+Change-Id: I9e8c75cc92b01abd704d9049b0421555377da5ba
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1713550
+Reviewed-by: Daniel Rubery <drubery(a)chromium.org>
+Commit-Queue: José Dapena Paz <jose.dapena(a)lge.com>
+Cr-Commit-Position: refs/heads/master@{#681333}
+---
+ .../download_protection/binary_upload_service.cc | 2 +-
+ .../download_protection/binary_upload_service.h | 5 ++++-
+ 2 files changed, 5 insertions(+), 2 deletions(-)
+
+diff --git a/chrome/browser/safe_browsing/download_protection/binary_upload_service.cc b/chrome/browser/safe_browsing/download_protection/binary_upload_service.cc
+index 6430c89de49d..4e9048762366 100644
+--- a/chrome/browser/safe_browsing/download_protection/binary_upload_service.cc
++++ b/chrome/browser/safe_browsing/download_protection/binary_upload_service.cc
+@@ -10,7 +10,7 @@
+ namespace safe_browsing {
+
+ void BinaryUploadService::UploadForDeepScanning(
+- BinaryUploadService::Request request) {
++ std::unique_ptr<BinaryUploadService::Request> request) {
+ DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
+ NOTREACHED();
+ }
+diff --git a/chrome/browser/safe_browsing/download_protection/binary_upload_service.h b/chrome/browser/safe_browsing/download_protection/binary_upload_service.h
+index d2dfd83410c3..9b6f3958e1fe 100644
+--- a/chrome/browser/safe_browsing/download_protection/binary_upload_service.h
++++ b/chrome/browser/safe_browsing/download_protection/binary_upload_service.h
+@@ -5,6 +5,8 @@
+ #ifndef CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_BINARY_UPLOAD_SERVICE_H_
+ #define CHROME_BROWSER_SAFE_BROWSING_DOWNLOAD_PROTECTION_BINARY_UPLOAD_SERVICE_H_
+
++#include <memory>
++
+ #include "base/callback.h"
+ #include "components/safe_browsing/proto/webprotect.pb.h"
+
+@@ -40,6 +42,7 @@ class BinaryUploadService {
+ public:
+ // |callback| will run on the UI thread.
+ explicit Request(Callback callback);
++ virtual ~Request() = default;
+ Request(const Request&) = delete;
+ Request& operator=(const Request&) = delete;
+
+@@ -67,7 +70,7 @@ class BinaryUploadService {
+ // Upload the given file contents for deep scanning. The results will be
+ // returned asynchronously by calling |request|'s |callback|. This must be
+ // called on the UI thread.
+- void UploadForDeepScanning(Request request);
++ void UploadForDeepScanning(std::unique_ptr<Request> request);
+ };
+
+ } // namespace safe_browsing
+--
+2.21.0
+
diff --git a/chromium-gcc9-r684731.patch b/chromium-gcc9-r684731.patch
new file mode 100644
index 0000000..3f6fce4
--- /dev/null
+++ b/chromium-gcc9-r684731.patch
@@ -0,0 +1,138 @@
+From 74138b9febd37eac0fc26b8efb110014a83a52c6 Mon Sep 17 00:00:00 2001
+From: Jeremy Roman <jbroman(a)chromium.org>
+Date: Wed, 7 Aug 2019 13:26:48 +0000
+Subject: [PATCH] WTF: Make LinkedHashSet understand values for which memset
+ initialization would be bad.
+
+Includes a unit test which fails before, and uses this to fix FontCacheKeyTraits.
+
+Bug: 980025
+Change-Id: If41f97444c7fd37b9b95d6dadaf3da5689079e9e
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1739948
+Reviewed-by: Kentaro Hara <haraken(a)chromium.org>
+Reviewed-by: Yutaka Hirano <yhirano(a)chromium.org>
+Commit-Queue: Jeremy Roman <jbroman(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#684731}
+---
+ .../renderer/platform/fonts/font_cache_key.h | 4 ++
+ .../renderer/platform/wtf/linked_hash_set.h | 10 ++++-
+ .../platform/wtf/list_hash_set_test.cc | 45 +++++++++++++++++--
+ 3 files changed, 55 insertions(+), 4 deletions(-)
+
+diff --git a/third_party/blink/renderer/platform/fonts/font_cache_key.h b/third_party/blink/renderer/platform/fonts/font_cache_key.h
+index 0efc8fb90941..90063cb2eacd 100644
+--- a/third_party/blink/renderer/platform/fonts/font_cache_key.h
++++ b/third_party/blink/renderer/platform/fonts/font_cache_key.h
+@@ -133,6 +133,10 @@ struct FontCacheKeyHash {
+
+ struct FontCacheKeyTraits : WTF::SimpleClassHashTraits<FontCacheKey> {
+ STATIC_ONLY(FontCacheKeyTraits);
++
++ // std::string's empty state need not be zero in all implementations,
++ // and it is held within FontFaceCreationParams.
++ static const bool kEmptyValueIsZero = false;
+ };
+
+ } // namespace blink
+diff --git a/third_party/blink/renderer/platform/wtf/linked_hash_set.h b/third_party/blink/renderer/platform/wtf/linked_hash_set.h
+index b35b6e95f1e4..77e524c0843b 100644
+--- a/third_party/blink/renderer/platform/wtf/linked_hash_set.h
++++ b/third_party/blink/renderer/platform/wtf/linked_hash_set.h
+@@ -146,6 +146,11 @@ class LinkedHashSetNode : public LinkedHashSetNodeBase {
+ LinkedHashSetNodeBase* next)
+ : LinkedHashSetNodeBase(prev, next), value_(value) {}
+
++ LinkedHashSetNode(ValueArg&& value,
++ LinkedHashSetNodeBase* prev,
++ LinkedHashSetNodeBase* next)
++ : LinkedHashSetNodeBase(prev, next), value_(std::move(value)) {}
++
+ LinkedHashSetNode(LinkedHashSetNode&& other)
+ : LinkedHashSetNodeBase(std::move(other)),
+ value_(std::move(other.value_)) {}
+@@ -445,10 +450,13 @@ struct LinkedHashSetTraits
+
+ // The slot is empty when the next_ field is zero so it's safe to zero
+ // the backing.
+- static const bool kEmptyValueIsZero = true;
++ static const bool kEmptyValueIsZero = ValueTraits::kEmptyValueIsZero;
+
+ static const bool kHasIsEmptyValueFunction = true;
+ static bool IsEmptyValue(const Node& node) { return !node.next_; }
++ static Node EmptyValue() {
++ return Node(ValueTraits::EmptyValue(), nullptr, nullptr);
++ }
+
+ static const int kDeletedValue = -1;
+
+diff --git a/third_party/blink/renderer/platform/wtf/list_hash_set_test.cc b/third_party/blink/renderer/platform/wtf/list_hash_set_test.cc
+index 4c3f8990b01c..cd1be0089b98 100644
+--- a/third_party/blink/renderer/platform/wtf/list_hash_set_test.cc
++++ b/third_party/blink/renderer/platform/wtf/list_hash_set_test.cc
+@@ -487,6 +487,7 @@ struct Simple {
+ };
+
+ struct Complicated {
++ Complicated() : Complicated(0) {}
+ Complicated(int value) : simple_(value) { objects_constructed_++; }
+
+ Complicated(const Complicated& other) : simple_(other.simple_) {
+@@ -495,9 +496,6 @@ struct Complicated {
+
+ Simple simple_;
+ static int objects_constructed_;
+-
+- private:
+- Complicated() = delete;
+ };
+
+ int Complicated::objects_constructed_ = 0;
+@@ -731,4 +729,45 @@ TYPED_TEST(ListOrLinkedHashSetMoveOnlyTest, MoveOnlyValue) {
+
+ } // anonymous namespace
+
++// A unit type which objects to its state being initialized wrong.
++struct InvalidZeroValue {
++ InvalidZeroValue() = default;
++ InvalidZeroValue(WTF::HashTableDeletedValueType) : deleted_(true) {}
++ ~InvalidZeroValue() { CHECK(ok_); }
++ bool IsHashTableDeletedValue() const { return deleted_; }
++
++ bool ok_ = true;
++ bool deleted_ = false;
++};
++
++template <>
++struct HashTraits<InvalidZeroValue> : SimpleClassHashTraits<InvalidZeroValue> {
++ static const bool kEmptyValueIsZero = false;
++};
++
++template <>
++struct DefaultHash<InvalidZeroValue> {
++ struct Hash {
++ static unsigned GetHash(const InvalidZeroValue&) { return 0; }
++ static bool Equal(const InvalidZeroValue&, const InvalidZeroValue&) {
++ return true;
++ }
++ };
++};
++
++template <typename Set>
++class ListOrLinkedHashSetInvalidZeroTest : public testing::Test {};
++
++using InvalidZeroValueSetTypes =
++ testing::Types<ListHashSet<InvalidZeroValue>,
++ ListHashSet<InvalidZeroValue, 1>,
++ LinkedHashSet<InvalidZeroValue>>;
++TYPED_TEST_SUITE(ListOrLinkedHashSetInvalidZeroTest, InvalidZeroValueSetTypes);
++
++TYPED_TEST(ListOrLinkedHashSetInvalidZeroTest, InvalidZeroValue) {
++ using Set = TypeParam;
++ Set set;
++ set.insert(InvalidZeroValue());
++}
++
+ } // namespace WTF
+--
+2.21.0
+
diff --git a/chromium-unbundle-zlib.patch b/chromium-unbundle-zlib.patch
new file mode 100644
index 0000000..d6c45ad
--- /dev/null
+++ b/chromium-unbundle-zlib.patch
@@ -0,0 +1,25 @@
+From e1bbdec720a333937bd1b990ae0f7ee97db0d3b0 Mon Sep 17 00:00:00 2001
+From: Your Name <you(a)example.com>
+Date: Fri, 28 Jun 2019 15:56:23 +0000
+Subject: [PATCH] update zlib
+
+---
+ third_party/perfetto/gn/BUILD.gn | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/third_party/perfetto/gn/BUILD.gn b/third_party/perfetto/gn/BUILD.gn
+index c951f5f..297eee3 100644
+--- a/third_party/perfetto/gn/BUILD.gn
++++ b/third_party/perfetto/gn/BUILD.gn
+@@ -200,7 +200,7 @@ group("zlib") {
+ "//buildtools:zlib",
+ ]
+ } else if (build_with_chromium) {
+- public_configs = [ "//third_party/zlib:zlib_config" ]
++ public_configs = [ "//third_party/zlib:system_zlib" ]
+ public_deps = [
+ "//third_party/zlib",
+ ]
+--
+2.21.0
+
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 3b15301..5ea832c 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -17,8 +17,8 @@
# This package depends on automagic byte compilation
# https://fedoraproject.org/wiki/Changes/No_more_automagic_Python_bytecompi...
%global _python_bytecompile_extra 1
-#Require harfbuzz >= 2 for hb_ot_tags_from_script_and_language
-%if 0%{?fedora} >= 30
+#Require harfbuzz >= 2.4.0 for hb_subset_input_set_retain_gids
+%if 0%{?fedora} >= 31
%bcond_without system_harfbuzz
%else
%bcond_with system_harfbuzz
@@ -39,7 +39,7 @@
%bcond_without system_ffmpeg
#Allow minizip to be unbundled
#mini-compat is going to be removed from fedora 30!
-%bcond_with system_minizip
+%bcond_without system_minizip
# Need re2 ver. 2016.07.21 for re2::LazyRE2
%bcond_with system_re2
@@ -55,8 +55,8 @@
%global ozone 0
##############################Package Definitions######################################
Name: chromium-vaapi
-Version: 76.0.3809.132
-Release: 2%{?dist}
+Version: 77.0.3865.90
+Release: 1%{?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
@@ -182,8 +182,8 @@ ExclusiveArch: x86_64
Patch1: enable-vaapi.patch
# Enable support for widevine
Patch2: widevine.patch
-Patch3: Do-not-use-VPP-on-Linux-Add-some-info-logs-and-fix-v.patch
-Patch4: chromium-skia-harmony.patch
+#Use Normal BAM on Linux
+Patch3: UseNormalBAM.patch
#Fix certificare transperancy error introduced by the current stable version of chromium
Patch5: cert-trans-google.patch
# Bootstrap still uses python command
@@ -198,63 +198,25 @@ Patch65: chromium-73.0.3683.75-pipewire-cstring-fix.patch
# Fix header
Patch68: Add-missing-header-to-fix-webrtc-build.patch
# GCC patches
-Patch70: chromium-gcc9-r666279.patch
-Patch71: chromium-gcc9-r666336.patch
-Patch72: chromium-gcc9-r666401.patch
-Patch73: chromium-gcc9-r666436.patch
-Patch74: chromium-gcc9-r666619.patch
-Patch75: chromium-gcc9-r666714.patch
-Patch76: chromium-gcc9-r667064.patch
-Patch77: chromium-gcc9-r667228.patch
-Patch78: chromium-gcc9-r667260.patch
-Patch79: chromium-gcc9-r667484.patch
-Patch80: chromium-gcc9-r667901.patch
-Patch81: chromium-gcc9-r668015.patch
-Patch82: chromium-gcc9-r668033.patch
-Patch83: chromium-gcc9-r670973.patch
-Patch84: chromium-gcc9-r670980.patch
-Patch85: chromium-quiche-gcc9.patch
+Patch69: chromium-gcc9-r681333.patch
+Patch70: chromium-gcc9-r681321.patch
+Patch71: chromium-unbundle-zlib.patch
+Patch72: chromium-base-location.patch
+Patch73: chromium-gcc9-r684731.patch
%description
-chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
+%{name} is an open-source web browser, powered by WebKit (Blink)
############################################PREP###########################################################
%prep
-%autosetup -n chromium-%{version} -N
-## Apply patches here ##
-%patch1 -p1 -b .vaapi
-%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
+%autosetup -n chromium-%{version} -p1
+%if !%{with system_libicu}
+%patch52 -p1 -R
%endif
-%if %{freeworld}
-%patch54 -p1 -b .brand
+%if !%{freeworld}
+%patch54 -p1 -R
%endif
-%if 0%{?fedora} >= 29
-%patch65 -p1 -b .pipewire
-%endif
-%patch68 -p1 -b .socket
-# GCC patches area
-%patch70 -p1 -b .gcc1
-%patch71 -p1 -b .gcc2
-%patch72 -p1 -b .gcc2
-%patch73 -p1 -b .gcc3
-%patch74 -p1 -b .gcc4
-%patch75 -p1 -b .gcc5
-%patch76 -p1 -b .gcc6
-%patch77 -p1 -b .gcc7
-%patch78 -p1 -b .gcc8
-%patch79 -p1 -b .gcc9
-%patch80 -p1 -b .gcc10
-%patch81 -p1 -b .gcc11
-%patch82 -p1 -b .gcc12
-%patch83 -p1 -b .gcc13
-%patch84 -p1 -b .gcc14
-%patch85 -p1 -b .gcc15
+
#Let's change the default shebang of python files.
find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(python\|env python\)[23]\?=#!%{__python2}=' {} +
@@ -392,8 +354,10 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/nasm \
third_party/node \
third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 \
+ third_party/one_euro_filter \
third_party/openh264 \
third_party/openscreen \
+ third_party/openscreen/src/third_party/tinycbor/src/src \
third_party/ots \
third_party/pdfium \
third_party/pdfium/third_party/agg23 \
@@ -432,6 +396,11 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/spirv-headers \
third_party/SPIRV-Tools \
third_party/sqlite \
+ third_party/swiftshader \
+ third_party/swiftshader/third_party/llvm-7.0 \
+ third_party/swiftshader/third_party/llvm-subzero \
+ third_party/swiftshader/third_party/subzero \
+ third_party/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1 \
third_party/tcmalloc \
third_party/unrar \
third_party/usb_ids \
@@ -650,7 +619,7 @@ for i in 16 32; do
install -m 644 chrome/app/theme/default_100_percent/chromium/product_logo_$i.png \
%{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/%{name}.png
done
-for i in 22 24 32 48 64 128 256; do
+for i in 24 32 48 64 128 256; do
if [ ${i} = 32 ]; then ext=xpm; else ext=png; fi
if [ ${i} = 32 ]; then dir=linux/; else dir=; fi
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
@@ -669,7 +638,6 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{_datadir}/applications/%{name}.desktop
%{_datadir}/gnome-control-center/default-apps/%{name}.xml
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
-%{_datadir}/icons/hicolor/22x22/apps/%{name}.png
%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm
@@ -697,7 +665,11 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/locales/*.pak
#########################################changelogs#################################################
%changelog
-* Fri Aug 30 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 76.0.3809.132-1
+* Sat Sep 21 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 77.0.3865.90-1
+- Update to 77.0.3865.90
+- Disabled Nvidia support
+
+* Fri Aug 30 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 76.0.3809.132-2
- Update to 76.0.3809.132
* Mon Aug 12 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 76.0.3809.100-2
diff --git a/enable-vaapi.patch b/enable-vaapi.patch
index 92b4946..dfc69ac 100644
--- a/enable-vaapi.patch
+++ b/enable-vaapi.patch
@@ -1,31 +1,31 @@
-From a07806f7b76dab142efc9342c952781573a004f4 Mon Sep 17 00:00:00 2001
+From f183ba2daac36bea97ea3be10c6ab9ed561f1cda Mon Sep 17 00:00:00 2001
From: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
-Date: Tue, 9 Jul 2019 19:03:09 +0530
-Subject: [PATCH] Enable vaapi on Linux
+Date: Fri, 20 Sep 2019 19:55:45 +0530
+Subject: [PATCH] Enable VAAPI on Linux
---
chrome/browser/about_flags.cc | 8 ++++----
chrome/browser/flag_descriptions.cc | 10 ++++++++--
chrome/browser/flag_descriptions.h | 10 ++++++++--
- gpu/config/software_rendering_list.json | 11 -----------
- 4 files changed, 20 insertions(+), 19 deletions(-)
+ gpu/config/software_rendering_list.json | 3 ++-
+ 4 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
-index 61bb2977b..dd9318a7e 100644
+index 245672956..c48193fb4 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
-@@ -1450,7 +1450,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1563,7 +1563,7 @@ const FeatureEntry kFeatureEntries[] = {
"disable-accelerated-video-decode",
flag_descriptions::kAcceleratedVideoDecodeName,
flag_descriptions::kAcceleratedVideoDecodeDescription,
- kOsMac | kOsWin | kOsCrOS | kOsAndroid,
-+ kOsMac | kOsWin | kOsCrOS | kOsAndroid | kOsLinux,
++ kOsMac | kOsWin | kOsCrOS | kOsAndroid | kOsLinux,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
},
- {"enable-history-favicons-google-server-query",
-@@ -1883,12 +1883,12 @@ const FeatureEntry kFeatureEntries[] = {
+ {
+@@ -2039,12 +2039,12 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(service_manager::features::kXRSandbox)},
- #endif // ENABLE_ISOLATED_XR_SERVICE
+ #endif // !defined(OS_ANDROID)
#endif // ENABLE_VR
-#if defined(OS_CHROMEOS)
+#if defined(OS_CHROMEOS) || defined(OS_LINUX)
@@ -35,15 +35,15 @@ index 61bb2977b..dd9318a7e 100644
+ flag_descriptions::kAcceleratedMjpegDecodeDescription, kOsCrOS | kOsLinux,
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedMjpegDecode)},
-#endif // OS_CHROMEOS
-+#endif // OS_CHROMEOS //OS_LINUX
++#endif // OS_CHROMEOS | OS_LINUX
{"system-keyboard-lock", flag_descriptions::kSystemKeyboardLockName,
flag_descriptions::kSystemKeyboardLockDescription, kOsDesktop,
FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)},
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
-index fe57ff6b6..2584e5cb4 100644
+index 4321b01dd..e24136410 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
-@@ -2766,15 +2766,21 @@ const char kMacSystemMediaPermissionsInfoUiDescription[] =
+@@ -2927,15 +2927,21 @@ const char kMacSystemMediaPermissionsInfoUiDescription[] =
#endif
@@ -68,10 +68,10 @@ index fe57ff6b6..2584e5cb4 100644
const char kAppServiceAshName[] = "App Service Ash";
const char kAppServiceAshDescription[] =
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
-index 233ecb56d..9bd48777a 100644
+index ebca9b5eb..31f7e5571 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
-@@ -1645,13 +1645,19 @@ extern const char kPermissionPromptPersistenceToggleDescription[];
+@@ -1737,13 +1737,19 @@ extern const char kPermissionPromptPersistenceToggleDescription[];
#endif // defined(OS_MACOSX)
@@ -94,27 +94,23 @@ index 233ecb56d..9bd48777a 100644
extern const char kAppServiceAshDescription[];
diff --git a/gpu/config/software_rendering_list.json b/gpu/config/software_rendering_list.json
-index 03e251547..9eb0f1148 100644
+index 9def82b55..b1c76c84e 100644
--- a/gpu/config/software_rendering_list.json
+++ b/gpu/config/software_rendering_list.json
-@@ -368,17 +368,6 @@
- "all"
- ]
+@@ -370,11 +370,12 @@
},
-- {
-- "id": 48,
-- "description": "Accelerated video decode is unavailable on Linux",
-- "cr_bugs": [137247],
-- "os": {
-- "type": "linux"
-- },
-- "features": [
-- "accelerated_video_decode"
-- ]
-- },
{
- "id": 50,
- "description": "Disable VMware software renderer on older Mesa",
+ "id": 48,
+- "description": "Accelerated video decode is unavailable on Linux",
++ "description": "Accelerated VA-API video decode is not supported on NVIDIA platforms",
+ "cr_bugs": [137247],
+ "os": {
+ "type": "linux"
+ },
++ "vendor_id": "0x10de",
+ "features": [
+ "accelerated_video_decode"
+ ]
--
2.21.0
5 years