[chromium-browser-privacy: 87/103] Rename to chromium-browser-privacy
by qvint
commit 9bd4d868cb69d76ea7e5eddf430ff846d7fa86fe
Author: qvint <dotqvint(a)gmail.com>
Date: Sun Sep 22 15:02:59 2019 +0300
Rename to chromium-browser-privacy
chromium-browser-privacy.appdata.xml | 39 ++++++++++++++++++++++
chromium-vaapi.sh => chromium-browser-privacy.sh | 7 ++--
...ium-vaapi.spec => chromium-browser-privacy.spec | 19 ++++++++---
chromium-default-user-data-dir.patch | 14 ++++++++
chromium-vaapi.appdata.xml | 37 --------------------
5 files changed, 73 insertions(+), 43 deletions(-)
---
diff --git a/chromium-browser-privacy.appdata.xml b/chromium-browser-privacy.appdata.xml
new file mode 100644
index 0000000..b83b11f
--- /dev/null
+++ b/chromium-browser-privacy.appdata.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop">
+ <id>chromium-browser-privacy.desktop</id>
+ <update_contact>dotqvint(a)gmail.com</update_contact>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>
+ BSD-3-Clause and LGPL-2.1+ and Apache-2.0 and IJG and MIT and
+ GPL-2.0+ and ISC and OpenSSL and (MPL-1.1 or GPL-2.0 or LGPL-2.0)
+ </project_license>
+ <name>chromium-browser-privacy</name>
+ <summary>Chromium, sans integration with Google</summary>
+ <description>
+ <p>
+ chromium-browser-privacy is an ungoogled-chromium distribution.
+ </p>
+ <p>
+ ungoogled-chromium is Chromium, sans integration with Google. It also
+ features some tweaks to enhance privacy, control, and transparency (almost
+ all of which require manual activation or enabling).
+ </p>
+ <p>
+ ungoogled-chromium retains the default Chromium experience as closely as
+ possible. Unlike other Chromium forks that have their own visions of a web
+ browser, ungoogled-chromium is essentially a drop-in replacement for
+ Chromium.
+ </p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://user-images.githubusercontent.com/16843577/49707064-a0bf6280-fc3a...</image>
+ <caption/>
+ </screenshot>
+ </screenshots>
+ <translation/>
+ <developer_name>The Chromium Authors</developer_name>
+ <url type="homepage">https://github.com/Eloston/ungoogled-chromium</url>
+ <url type="bugtracker">https://github.com/Eloston/ungoogled-chromium/issues</url>
+ <url type="faq">https://ungoogled-software.github.io/ungoogled-chromium-wiki/faq</url>
+</component>
diff --git a/chromium-vaapi.sh b/chromium-browser-privacy.sh
similarity index 90%
rename from chromium-vaapi.sh
rename to chromium-browser-privacy.sh
index d01dba8..20c04f6 100644
--- a/chromium-vaapi.sh
+++ b/chromium-browser-privacy.sh
@@ -13,7 +13,7 @@ CHROMIUM_DISTRO_FLAGS=()
export CHROME_WRAPPER="$(readlink -f "$0")"
HERE="`dirname "$CHROME_WRAPPER"`"
-export CHROME_DESKTOP="chromium-vaapi.desktop"
+export CHROME_DESKTOP="chromium-browser-privacy.desktop"
# We include some xdg utilities next to the binary, and we want to prefer them
# over the system versions when we know the system versions are very old. We
# detect whether the system xdg utilities are sufficiently new to be likely to
@@ -58,6 +58,9 @@ CHROMIUM_DISTRO_FLAGS+=" --enable-plugins \
--enable-user-scripts \
--enable-features=WebRTCPipeWireCapturer \
--enable-printing \
- --enable-sync"
+ --disable-sync \
+ --disable-background-networking \
+ --force-local-ntp \
+ --disallow-signin"
exec -a "$0" "@@CHROMIUMDIR@@/$(basename "$0" | sed 's/\.sh$//')" $CHROMIUM_DISTRO_FLAGS "$@"
diff --git a/chromium-vaapi.spec b/chromium-browser-privacy.spec
similarity index 97%
rename from chromium-vaapi.spec
rename to chromium-browser-privacy.spec
index e870323..cde2f69 100644
--- a/chromium-vaapi.spec
+++ b/chromium-browser-privacy.spec
@@ -54,12 +54,12 @@
# Enable building with ozone support
%global ozone 0
##############################Package Definitions######################################
-Name: chromium-vaapi
+Name: chromium-browser-privacy
Version: 76.0.3809.132
Release: 2%{?dist}
-Summary: A Chromium web browser with video decoding acceleration
+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)
-URL: https://www.chromium.org/Home
+URL: https://github.com/Eloston/ungoogled-chromium
%if %{freeworld}
Source0: https://commondatastorage.googleapis.com/chromium-browser-official/chromi...
%else
@@ -182,6 +182,8 @@ Recommends: libva-utils
# This build should be only available to amd64
ExclusiveArch: x86_64
# Define Patches here ##
+# Use ~/.config/ungoogled-chromium instead of ~/.config/chromium
+Patch300: chromium-default-user-data-dir.patch
# Enable video acceleration on chromium for Linux
Patch1: enable-vaapi.patch
# Enable support for widevine
@@ -221,7 +223,15 @@ Patch85: chromium-quiche-gcc9.patch
%description
-chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
+chromium-browser-privacy is an ungoogled-chromium distribution.
+
+ungoogled-chromium is Chromium, sans integration with Google. It also features
+some tweaks to enhance privacy, control, and transparency (almost all of which
+require manual activation or enabling).
+
+ungoogled-chromium retains the default Chromium experience as closely as
+possible. Unlike other Chromium forks that have their own visions of a web
+browser, ungoogled-chromium is essentially a drop-in replacement for Chromium.
############################################PREP###########################################################
%prep
%setup -q -T -n ungoogled-chromium-%{ungoogled_chromium_revision} -b 300
@@ -233,6 +243,7 @@ python3 -B %{ungoogled_chromium_root}/utils/prune_binaries.py . \
%{ungoogled_chromium_root}/pruning.list
## Apply patches here ##
+%patch300 -p1 -b .udd
%patch1 -p1 -b .vaapi
%patch2 -p1 -b .widevine
%patch3 -p1 -b .fixvaapi
diff --git a/chromium-default-user-data-dir.patch b/chromium-default-user-data-dir.patch
new file mode 100644
index 0000000..23eccb6
--- /dev/null
+++ b/chromium-default-user-data-dir.patch
@@ -0,0 +1,14 @@
+Change default user data dir to ~/.config/ungoogled-chromium.
+https://github.com/Eloston/ungoogled-chromium/issues/568#issuecomment-433724920
+
+--- a/chrome/common/chrome_paths_linux.cc
++++ b/chrome/common/chrome_paths_linux.cc
+@@ -90,7 +90,7 @@ bool GetDefaultUserDataDirectory(base::F
+ #if defined(GOOGLE_CHROME_BUILD)
+ *result = config_dir.Append("google-chrome" + GetChannelSuffixForDataDir());
+ #else
+- *result = config_dir.Append("chromium");
++ *result = config_dir.Append("ungoogled-chromium");
+ #endif
+ return true;
+ }
5 years, 1 month
[chromium-browser-privacy: 86/103] Apply ungoogled-chromium modifications
by qvint
commit fee2c1becb4f49e4433287a85a014f965503fc1a
Author: qvint <dotqvint(a)gmail.com>
Date: Sun Sep 22 10:11:05 2019 +0300
Apply ungoogled-chromium modifications
.gitignore | 1 +
chromium-vaapi.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++---------
sources | 1 +
3 files changed, 46 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e912076..8dcfed7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
chromium-*.tar.xz
+ungoogled-chromium-*.tar.gz
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 3b15301..e870323 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -7,9 +7,9 @@
### Note: These are for Fedora use ONLY.
### For your own distribution, please get your own set of keys.
### http://lists.debian.org/debian-legal/2013/11/msg00006.html
-%global api_key AIzaSyDUIXvzVrt5OkVsgXhQ6NFfvWlA44by-aw
-%global default_client_id 449907151817.apps.googleusercontent.com
-%global default_client_secret miEreAep8nuvTdvLums6qyLK
+%global api_key %{nil}
+%global default_client_id %{nil}
+%global default_client_secret %{nil}
###############################Exclude Private chromium libs###########################
%global __requires_exclude %{chromiumdir}/.*\\.so
%global __provides_exclude_from %{chromiumdir}/.*\\.so
@@ -77,6 +77,8 @@ 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 76.0.3809.132-1
+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
#Add our own appdata file.
@@ -117,6 +119,8 @@ BuildRequires: pkgconfig(wayland-cursor)
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(wayland-server)
%endif
+# ungoogled-chromium dependencies
+BuildRequires: python3
# remove_bundled_libraries.py --do-remove
BuildRequires: python2-rpm-macros
BuildRequires: python2-beautifulsoup4
@@ -220,7 +224,14 @@ Patch85: chromium-quiche-gcc9.patch
chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
############################################PREP###########################################################
%prep
-%autosetup -n chromium-%{version} -N
+%setup -q -T -n ungoogled-chromium-%{ungoogled_chromium_revision} -b 300
+%setup -q -n chromium-%{version}
+
+# ungoogled-chromium: binary pruning
+%global ungoogled_chromium_root %{_builddir}/ungoogled-chromium-%{ungoogled_chromium_revision}
+python3 -B %{ungoogled_chromium_root}/utils/prune_binaries.py . \
+ %{ungoogled_chromium_root}/pruning.list
+
## Apply patches here ##
%patch1 -p1 -b .vaapi
%patch2 -p1 -b .widevine
@@ -514,6 +525,20 @@ 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
+python3 -B %{ungoogled_chromium_root}/utils/patches.py apply . \
+ %{ungoogled_chromium_root}/patches
+
+# ungoogled-chromium: domain substitution
+rm -f %{_builddir}/dsc.tar.gz
+python3 -B %{ungoogled_chromium_root}/utils/domain_substitution.py apply . \
+ -r %{ungoogled_chromium_root}/domain_regex.list \
+ -f %{ungoogled_chromium_root}/domain_substitution.list \
+ -c %{_builddir}/dsc.tar.gz
+
#####################################BUILD#############################################
%build
#export compilar variables
@@ -563,6 +588,21 @@ gn_args=(
'google_api_key="%{api_key}"'
'google_default_client_id="%{default_client_id}"'
'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
+ enable_one_click_signin=false
+ enable_reading_list=false
+ enable_remoting=false
+ enable_reporting=false
+ enable_service_discovery=false
+ exclude_unwind_tables=true
+ safe_browsing_mode=0
+ use_official_google_api_keys=false
+ use_unofficial_version_number=false
)
#compiler settings
@@ -616,7 +656,6 @@ ninja %{_smp_mflags} -C %{target} chrome chrome_sandbox chromedriver
%install
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{chromiumdir}/locales
-mkdir -p %{buildroot}%{chromiumdir}/MEIPreload
mkdir -p %{buildroot}%{_mandir}/man1
mkdir -p %{buildroot}%{_metainfodir}
mkdir -p %{buildroot}%{_datadir}/applications
@@ -644,7 +683,6 @@ install -m 644 %{target}/v8_context_snapshot.bin %{buildroot}%{chromiumdir}/
install -m 644 %{target}/*.pak %{buildroot}%{chromiumdir}/
install -m 644 %{target}/locales/*.pak %{buildroot}%{chromiumdir}/locales/
install -m 644 %{target}/xdg* %{buildroot}%{chromiumdir}/
-install -m 644 %{target}/MEIPreload/* %{buildroot}%{chromiumdir}/MEIPreload/
for i in 16 32; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
install -m 644 chrome/app/theme/default_100_percent/chromium/product_logo_$i.png \
@@ -690,9 +728,6 @@ appstream-util validate-relax --nonet "%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/*.pak
%{chromiumdir}/xdg-mime
%{chromiumdir}/xdg-settings
-%dir %{chromiumdir}/MEIPreload
-%{chromiumdir}/MEIPreload/manifest.json
-%{chromiumdir}/MEIPreload/preloaded_data.pb
%dir %{chromiumdir}/locales
%{chromiumdir}/locales/*.pak
#########################################changelogs#################################################
diff --git a/sources b/sources
index f749b0f..1e074e2 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
389e62cd2f0d7a21159241e3a31df0c0 chromium-76.0.3809.132.tar.xz
+1b6ed3fb865cd865cc91e95a9a8a5022 ungoogled-chromium-76.0.3809.132-1.tar.gz
5 years, 1 month
[chromium-browser-privacy: 85/103] Preserve bundled pylibs
by qvint
commit 08af7c11e6e1d1e9c653e29cfd9039f8a6a76844
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Sun Sep 22 08:56:34 2019 +0530
Preserve bundled pylibs
chromium-vaapi.spec | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 417b2d1..93a4375 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -288,6 +288,10 @@ find -depth -type f -writable -name "*.py" -exec sed -iE '1s=^#! */usr/bin/\(pyt
third_party/catapult \
third_party/catapult/common/py_vulcanize/third_party/rcssmin \
third_party/catapult/common/py_vulcanize/third_party/rjsmin \
+ %if 0%{?bundlepylibs}
+ third_party/catapult/third_party/beautifulsoup4 \
+ third_party/catapult/third_party/html5lib-python \
+ %endif
third_party/catapult/third_party/polymer \
third_party/catapult/third_party/six \
third_party/catapult/tracing/third_party/d3 \
5 years, 1 month
[chromium-browser-privacy: 84/103] Add build requires: /usr/bin/python2
by qvint
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, 1 month
[chromium-browser-privacy: 83/103] Use the bundled python2 as python2 is going to be removed from Fedora Upload new sources
by qvint
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, 1 month
[chromium-browser-privacy: 82/103] Update to 77.0.3865.90 Disabled Nvidia support
by qvint
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, 1 month
[chromium-browser-privacy: 81/103] Correct writting either RPM Fusion or rpmfusion
by qvint
commit 4fb036358b4fa78bfcd502e3ae107224146ac5ad
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Sep 5 09:43:25 2019 +0200
Correct writting either RPM Fusion or rpmfusion
brand.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/brand.patch b/brand.patch
index 002c423..0a3e2f9 100644
--- a/brand.patch
+++ b/brand.patch
@@ -16,7 +16,7 @@ index 6278a8a38..1611b4c80 100644
</message>
<message name="IDS_VERSION_UI_UNOFFICIAL" desc="unofficial build on the about:version page">
- Developer Build
-+ RPMFusion Build
++ RPM Fusion Build
</message>
<message name="IDS_VERSION_UI_32BIT" desc="32-bit on the chrome://version page">
(32-bit)
5 years, 1 month
[chromium-browser-privacy: 80/103] Merge branch 'master' into f30
by qvint
commit b65c857791c310226f9c2100bf7bdf79ddf60f26
Merge: ba193ad 7158681
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Fri Aug 30 12:25:20 2019 +0530
Merge branch 'master' into f30
chromium-gcc9-r666401.patch | 6 +++---
chromium-vaapi.spec | 5 ++++-
sources | 2 +-
3 files changed, 8 insertions(+), 5 deletions(-)
---
5 years, 1 month
[chromium-browser-privacy: 79/103] Update to 76.0.3809.132
by qvint
commit 715868151a043fe4a3a1fe4d98766d74dde91e4e
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Fri Aug 30 12:24:14 2019 +0530
Update to 76.0.3809.132
chromium-gcc9-r666401.patch | 6 +++---
chromium-vaapi.spec | 5 ++++-
sources | 2 +-
3 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/chromium-gcc9-r666401.patch b/chromium-gcc9-r666401.patch
index 45cdd01..9b884a0 100644
--- a/chromium-gcc9-r666401.patch
+++ b/chromium-gcc9-r666401.patch
@@ -25,7 +25,7 @@ diff --git a/services/network/cross_origin_read_blocking.cc b/services/network/c
index 30999c075d99..60a03f67ac9f 100644
--- a/services/network/cross_origin_read_blocking.cc
+++ b/services/network/cross_origin_read_blocking.cc
-@@ -211,7 +211,7 @@ bool ShouldEnforceInitiatorLock() {
+@@ -207,7 +207,7 @@ std::set<int>& GetPluginProxyingProcesses() {
// confirmation sniffing because images, scripts, etc. are frequently
// mislabelled by http servers as HTML/JSON/XML).
base::flat_set<std::string>& GetNeverSniffedMimeTypes() {
@@ -34,8 +34,8 @@ index 30999c075d99..60a03f67ac9f 100644
// The list below has been populated based on most commonly used content
// types according to HTTP Archive - see:
// https://github.com/whatwg/fetch/issues/860#issuecomment-457330454
-@@ -224,7 +224,7 @@ base::flat_set<std::string>& GetNeverSniffedMimeTypes() {
- "application/x-www-form-urlencoded",
+@@ -219,7 +219,7 @@ base::flat_set<std::string>& GetNeverSniffedMimeTypes() {
+ "application/x-protobuf",
"application/zip",
"text/event-stream",
- });
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index 4644694..3b15301 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -55,7 +55,7 @@
%global ozone 0
##############################Package Definitions######################################
Name: chromium-vaapi
-Version: 76.0.3809.100
+Version: 76.0.3809.132
Release: 2%{?dist}
Summary: A Chromium web browser with video decoding acceleration
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
@@ -697,6 +697,9 @@ 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
+- Update to 76.0.3809.132
+
* Mon Aug 12 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org> - 76.0.3809.100-2
- Fix a bug which causes chromium to reject certificates by throwing ERR_CERTIFICATE_TRANSPARENCY_REQUIRED
diff --git a/sources b/sources
index 367e6e0..f749b0f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d9d3eb0140a59b1772a1c831036c6246 chromium-76.0.3809.100.tar.xz
+389e62cd2f0d7a21159241e3a31df0c0 chromium-76.0.3809.132.tar.xz
5 years, 1 month
[chromium-browser-privacy: 78/103] Merge branch 'master' into f30
by qvint
commit ba193adfc3e82e5ebfb15597f8bf678ae38538c3
Merge: 7225b60 138fb15
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Mon Aug 12 15:35:24 2019 +0530
Merge branch 'master' into f30
cert-trans-google.patch | 13 +++++++++++++
chromium-vaapi.spec | 10 ++++++++--
2 files changed, 21 insertions(+), 2 deletions(-)
---
5 years, 1 month