|
|
@ -171,7 +171,8 @@ BuildRequires: libicu-devel >= 5.4
|
|
|
|
%global bundlelibwebp 0
|
|
|
|
%global bundlelibwebp 0
|
|
|
|
%global bundlelibpng 0
|
|
|
|
%global bundlelibpng 0
|
|
|
|
%global bundlelibjpeg 0
|
|
|
|
%global bundlelibjpeg 0
|
|
|
|
%global bundlefreetype 0
|
|
|
|
# Needs FT_ClipBox which was implemented after 2.11.0. Should be able to set this back to 0 later.
|
|
|
|
|
|
|
|
%global bundlefreetype 1
|
|
|
|
%global bundlelibdrm 0
|
|
|
|
%global bundlelibdrm 0
|
|
|
|
%global bundlefontconfig 0
|
|
|
|
%global bundlefontconfig 0
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -217,15 +218,15 @@ BuildRequires: libicu-devel >= 5.4
|
|
|
|
%global chromoting_client_id %nil
|
|
|
|
%global chromoting_client_id %nil
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global majorversion 93
|
|
|
|
%global majorversion 94
|
|
|
|
|
|
|
|
|
|
|
|
%if %{freeworld}
|
|
|
|
%if %{freeworld}
|
|
|
|
Name: chromium%{chromium_channel}%{nsuffix}
|
|
|
|
Name: chromium%{chromium_channel}%{nsuffix}
|
|
|
|
%else
|
|
|
|
%else
|
|
|
|
Name: chromium%{chromium_channel}
|
|
|
|
Name: chromium%{chromium_channel}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Version: %{majorversion}.0.4577.82
|
|
|
|
Version: %{majorversion}.0.4606.61
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
%if %{?freeworld}
|
|
|
|
%if %{?freeworld}
|
|
|
|
%if %{?shared}
|
|
|
|
%if %{?shared}
|
|
|
|
# chromium-libs-media-freeworld
|
|
|
|
# chromium-libs-media-freeworld
|
|
|
@ -260,7 +261,7 @@ Patch7: chromium-71.0.3578.98-widevine-r3.patch
|
|
|
|
# Disable fontconfig cache magic that breaks remoting
|
|
|
|
# Disable fontconfig cache magic that breaks remoting
|
|
|
|
Patch8: chromium-91.0.4472.77-disable-fontconfig-cache-magic.patch
|
|
|
|
Patch8: chromium-91.0.4472.77-disable-fontconfig-cache-magic.patch
|
|
|
|
# drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
|
|
|
|
# drop rsp clobber, which breaks gcc9 (thanks to Jeff Law)
|
|
|
|
Patch9: chromium-78.0.3904.70-gcc9-drop-rsp-clobber.patch
|
|
|
|
Patch9: chromium-94.0.4606.54-gcc9-drop-rsp-clobber.patch
|
|
|
|
# Try to load widevine from other places
|
|
|
|
# Try to load widevine from other places
|
|
|
|
Patch10: chromium-92.0.4515.107-widevine-other-locations.patch
|
|
|
|
Patch10: chromium-92.0.4515.107-widevine-other-locations.patch
|
|
|
|
# Tell bootstrap.py to always use the version of Python we specify
|
|
|
|
# Tell bootstrap.py to always use the version of Python we specify
|
|
|
@ -289,9 +290,6 @@ Patch57: chromium-93.0.4577.63-missing-cstring.patch
|
|
|
|
Patch58: chromium-53-ffmpeg-no-deprecation-errors.patch
|
|
|
|
Patch58: chromium-53-ffmpeg-no-deprecation-errors.patch
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-91-libyuv-aarch64.patch
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-91-libyuv-aarch64.patch
|
|
|
|
Patch60: chromium-91-libyuv-aarch64.patch
|
|
|
|
Patch60: chromium-91-libyuv-aarch64.patch
|
|
|
|
# Update third_party/highway to 0.12.2
|
|
|
|
|
|
|
|
# this is needed for sane arm/aarch64
|
|
|
|
|
|
|
|
Patch61: chromium-92.0.4515.107-update-highway-0.12.2.patch
|
|
|
|
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-90-ruy-include.patch
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-90-ruy-include.patch
|
|
|
|
Patch62: chromium-90-ruy-include.patch
|
|
|
|
Patch62: chromium-90-ruy-include.patch
|
|
|
|
# Extra CXXFLAGS for aarch64
|
|
|
|
# Extra CXXFLAGS for aarch64
|
|
|
@ -308,9 +306,6 @@ Patch66: chromium-84.0.4147.125-remoting-cstring.patch
|
|
|
|
Patch67: chromium-84.0.4147.125-i686-fix_textrels.patch
|
|
|
|
Patch67: chromium-84.0.4147.125-i686-fix_textrels.patch
|
|
|
|
# Work around binutils bug in aarch64 (F33+)
|
|
|
|
# Work around binutils bug in aarch64 (F33+)
|
|
|
|
Patch68: chromium-84.0.4147.125-aarch64-clearkeycdm-binutils-workaround.patch
|
|
|
|
Patch68: chromium-84.0.4147.125-aarch64-clearkeycdm-binutils-workaround.patch
|
|
|
|
# Fix sandbox code to properly handle the new way that glibc handles fstat in Fedora 34+
|
|
|
|
|
|
|
|
# Thanks to Kevin Kofler for the fix.
|
|
|
|
|
|
|
|
Patch75: chromium-90.0.4430.72-fstatfix.patch
|
|
|
|
|
|
|
|
# Rawhide (f35) glibc defines SIGSTKSZ as a long instead of a constant
|
|
|
|
# Rawhide (f35) glibc defines SIGSTKSZ as a long instead of a constant
|
|
|
|
Patch76: chromium-92.0.4515.107-rawhide-gcc-std-max-fix.patch
|
|
|
|
Patch76: chromium-92.0.4515.107-rawhide-gcc-std-max-fix.patch
|
|
|
|
# Do not download proprietary widevine module in the background (thanks Debian)
|
|
|
|
# Do not download proprietary widevine module in the background (thanks Debian)
|
|
|
@ -318,27 +313,16 @@ Patch79: chromium-93.0.4577.63-widevine-no-download.patch
|
|
|
|
# Fix crashes with components/cast_*
|
|
|
|
# Fix crashes with components/cast_*
|
|
|
|
# Thanks to Gentoo
|
|
|
|
# Thanks to Gentoo
|
|
|
|
Patch80: chromium-92.0.4515.107-EnumTable-crash.patch
|
|
|
|
Patch80: chromium-92.0.4515.107-EnumTable-crash.patch
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-93-BluetoothLowEnergyScanFilter-include.patch
|
|
|
|
|
|
|
|
Patch81: chromium-93-BluetoothLowEnergyScanFilter-include.patch
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-94-ConversionStorageSql-lambda.patch
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-93-ClassProperty-include.patch
|
|
|
|
Patch81: chromium-94-ConversionStorageSql-lambda.patch
|
|
|
|
Patch82: chromium-93-ClassProperty-include.patch
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-94-CustomSpaces-include.patch
|
|
|
|
|
|
|
|
Patch82: chromium-94-CustomSpaces-include.patch
|
|
|
|
# Fixes for python3
|
|
|
|
# Fixes for python3
|
|
|
|
Patch83: chromium-92.0.4515.107-py3-fixes.patch
|
|
|
|
Patch83: chromium-92.0.4515.107-py3-fixes.patch
|
|
|
|
# Clean up clang-format for python3
|
|
|
|
# Clean up clang-format for python3
|
|
|
|
# thanks to Jon Nettleton
|
|
|
|
# thanks to Jon Nettleton
|
|
|
|
Patch86: chromium-93.0.4577.63-clang-format.patch
|
|
|
|
Patch86: chromium-93.0.4577.63-clang-format.patch
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-93-ContextSet-permissive.patch
|
|
|
|
|
|
|
|
Patch87: chromium-93-ContextSet-permissive.patch
|
|
|
|
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-93-DevToolsEmbedderMessageDispatcher-include.patch
|
|
|
|
|
|
|
|
Patch88: chromium-93-DevToolsEmbedderMessageDispatcher-include.patch
|
|
|
|
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-93-FormForest-constexpr.patch
|
|
|
|
|
|
|
|
Patch89: chromium-93-FormForest-constexpr.patch
|
|
|
|
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-93-HashPasswordManager-include.patch
|
|
|
|
|
|
|
|
Patch90: chromium-93-HashPasswordManager-include.patch
|
|
|
|
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-93-pdfium-include.patch
|
|
|
|
|
|
|
|
Patch91: chromium-93-pdfium-include.patch
|
|
|
|
|
|
|
|
# https://github.com/stha09/chromium-patches/blob/master/chromium-93-ScopedTestDialogAutoConfirm-include.patch
|
|
|
|
|
|
|
|
Patch92: chromium-93-ScopedTestDialogAutoConfirm-include.patch
|
|
|
|
|
|
|
|
# In file included from ../../components/cast_channel/enum_table.cc:5:
|
|
|
|
# In file included from ../../components/cast_channel/enum_table.cc:5:
|
|
|
|
# ../../components/cast_channel/enum_table.h:359:18: error: 'vector' in namespace 'std' does not name a template type
|
|
|
|
# ../../components/cast_channel/enum_table.h:359:18: error: 'vector' in namespace 'std' does not name a template type
|
|
|
|
# 359 | const std::vector<Entry> data_;
|
|
|
|
# 359 | const std::vector<Entry> data_;
|
|
|
@ -346,12 +330,13 @@ Patch92: chromium-93-ScopedTestDialogAutoConfirm-include.patch
|
|
|
|
# ../../components/cast_channel/enum_table.h:18:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
|
|
|
|
# ../../components/cast_channel/enum_table.h:18:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
|
|
|
|
Patch93: chromium-93.0.4577.63-vector-fix.patch
|
|
|
|
Patch93: chromium-93.0.4577.63-vector-fix.patch
|
|
|
|
# Fix NoDestructor issue with gcc
|
|
|
|
# Fix NoDestructor issue with gcc
|
|
|
|
Patch94: chromium-93.0.4577.63-remoting-nodestructor-fix.patch
|
|
|
|
Patch94: chromium-94.0.4606.54-remoting-nodestructor-fix.patch
|
|
|
|
# include full UrlResponseHead header
|
|
|
|
# include full UrlResponseHead header
|
|
|
|
Patch95: chromium-93.0.4577.63-mojo-header-fix.patch
|
|
|
|
Patch95: chromium-93.0.4577.63-mojo-header-fix.patch
|
|
|
|
# Fix against HarfBuzz v3
|
|
|
|
# Fix multiple defines issue in webrtc/BUILD.gn
|
|
|
|
# Thanks to Jan Beich @ FreeBSD
|
|
|
|
Patch96: chromium-94.0.4606.54-webrtc-BUILD.gn-fix-multiple-defines.patch
|
|
|
|
Patch96: chromium-93.0.4577.82-harfbuzz3.patch
|
|
|
|
# Fix extra qualification error
|
|
|
|
|
|
|
|
Patch97: chromium-94.0.4606.61-remoting-extra-qualification.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Use lstdc++ on EPEL7 only
|
|
|
|
# Use lstdc++ on EPEL7 only
|
|
|
@ -770,7 +755,7 @@ Provides: bundled(fips181) = 2.2.3
|
|
|
|
Provides: bundled(fontconfig) = 2.12.6
|
|
|
|
Provides: bundled(fontconfig) = 2.12.6
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%if 0%{?bundlefreetype}
|
|
|
|
%if 0%{?bundlefreetype}
|
|
|
|
Provides: bundled(freetype) = 2.9.3
|
|
|
|
Provides: bundled(freetype) = 2.11.0git
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
Provides: bundled(gperftools) = svn144
|
|
|
|
Provides: bundled(gperftools) = svn144
|
|
|
|
%if 0%{?bundleharfbuzz}
|
|
|
|
%if 0%{?bundleharfbuzz}
|
|
|
@ -1007,7 +992,6 @@ udev.
|
|
|
|
%patch57 -p1 -b .missing-cstring
|
|
|
|
%patch57 -p1 -b .missing-cstring
|
|
|
|
%patch58 -p1 -b .ffmpeg-deprecations
|
|
|
|
%patch58 -p1 -b .ffmpeg-deprecations
|
|
|
|
%patch60 -p1 -b .libyuv-aarch64
|
|
|
|
%patch60 -p1 -b .libyuv-aarch64
|
|
|
|
%patch61 -p1 -b .update-highway-0.12.2
|
|
|
|
|
|
|
|
%patch62 -p1 -b .ruy-include
|
|
|
|
%patch62 -p1 -b .ruy-include
|
|
|
|
%patch63 -p1 -b .aarch64-cxxflags-addition
|
|
|
|
%patch63 -p1 -b .aarch64-cxxflags-addition
|
|
|
|
%patch64 -p1 -b .java-only-allowed
|
|
|
|
%patch64 -p1 -b .java-only-allowed
|
|
|
@ -1015,28 +999,20 @@ udev.
|
|
|
|
%patch66 -p1 -b .remoting-cstring
|
|
|
|
%patch66 -p1 -b .remoting-cstring
|
|
|
|
%patch67 -p1 -b .i686-textrels
|
|
|
|
%patch67 -p1 -b .i686-textrels
|
|
|
|
%patch68 -p1 -b .aarch64-clearkeycdm-binutils-workaround
|
|
|
|
%patch68 -p1 -b .aarch64-clearkeycdm-binutils-workaround
|
|
|
|
%patch75 -p1 -b .fstatfix
|
|
|
|
|
|
|
|
%if 0%{?fedora} >= 35
|
|
|
|
%if 0%{?fedora} >= 35
|
|
|
|
%patch76 -p1 -b .sigstkszfix
|
|
|
|
%patch76 -p1 -b .sigstkszfix
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%patch79 -p1 -b .widevine-no-download
|
|
|
|
%patch79 -p1 -b .widevine-no-download
|
|
|
|
%patch80 -p1 -b .EnumTable-crash
|
|
|
|
%patch80 -p1 -b .EnumTable-crash
|
|
|
|
%patch81 -p1 -b .BluetoothLowEnergyScanFilter-include
|
|
|
|
%patch81 -p1 -b .ConversionStorageSql-lambda-include
|
|
|
|
%patch82 -p1 -b .ClassProperty-include
|
|
|
|
%patch82 -p1 -b .CustomSpaces-include
|
|
|
|
%patch83 -p1 -b .py3fixes
|
|
|
|
%patch83 -p1 -b .py3fixes
|
|
|
|
%patch86 -p1 -b .clang-format-py3
|
|
|
|
%patch86 -p1 -b .clang-format-py3
|
|
|
|
%patch87 -p1 -b .ContextSet-permissive
|
|
|
|
|
|
|
|
%patch88 -p1 -b .DevToolsEmbedderMessageDispatcher-include
|
|
|
|
|
|
|
|
%patch89 -p1 -b .FormForest-constexpr
|
|
|
|
|
|
|
|
%patch90 -p1 -b .HashPasswordManager-include
|
|
|
|
|
|
|
|
%patch91 -p1 -b .pdfium-include
|
|
|
|
|
|
|
|
%patch92 -p1 -b .ScopedTestDialogAutoConfirm-include
|
|
|
|
|
|
|
|
%patch93 -p1 -b .vector-fix
|
|
|
|
%patch93 -p1 -b .vector-fix
|
|
|
|
%patch94 -p1 -b .remoting-nodestructor-fix
|
|
|
|
%patch94 -p1 -b .remoting-nodestructor-fix
|
|
|
|
%patch95 -p1 -b .mojo-header-fix
|
|
|
|
%patch95 -p1 -b .mojo-header-fix
|
|
|
|
%if 0%{?fedora} >= 36
|
|
|
|
%patch96 -p1 -b .webrtc-BUILD.gn-fix-multiple-defines
|
|
|
|
%patch96 -p1 -b .hbfix
|
|
|
|
%patch97 -p1 -b .remoting-extra-qualification
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Fedora branded user agent
|
|
|
|
# Fedora branded user agent
|
|
|
|
%if 0%{?fedora}
|
|
|
|
%if 0%{?fedora}
|
|
|
@ -1175,7 +1151,7 @@ CHROMIUM_CORE_GN_DEFINES+=' google_api_key="%{api_key}"'
|
|
|
|
%if %{userestrictedapikeys}
|
|
|
|
%if %{userestrictedapikeys}
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' google_default_client_id="%{default_client_id}" google_default_client_secret="%{default_client_secret}"'
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' google_default_client_id="%{default_client_id}" google_default_client_secret="%{default_client_secret}"'
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' is_clang=false use_sysroot=false fieldtrial_testing_like_official_build=true use_lld=false rtc_enable_symbol_export=true'
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' is_clang=false use_sysroot=false disable_fieldtrial_testing_config=true use_lld=false rtc_enable_symbol_export=true'
|
|
|
|
%if %{use_gold}
|
|
|
|
%if %{use_gold}
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' use_gold=true'
|
|
|
|
CHROMIUM_CORE_GN_DEFINES+=' use_gold=true'
|
|
|
|
%else
|
|
|
|
%else
|
|
|
@ -1335,6 +1311,7 @@ build/linux/unbundle/remove_bundled_libraries.py \
|
|
|
|
'third_party/devtools-frontend/src/front_end/third_party/marked' \
|
|
|
|
'third_party/devtools-frontend/src/front_end/third_party/marked' \
|
|
|
|
'third_party/devtools-frontend/src/front_end/third_party/puppeteer' \
|
|
|
|
'third_party/devtools-frontend/src/front_end/third_party/puppeteer' \
|
|
|
|
'third_party/devtools-frontend/src/front_end/third_party/wasmparser' \
|
|
|
|
'third_party/devtools-frontend/src/front_end/third_party/wasmparser' \
|
|
|
|
|
|
|
|
'third_party/devtools-frontend/src/test/unittests/front_end/third_party/i18n' \
|
|
|
|
'third_party/dom_distiller_js' \
|
|
|
|
'third_party/dom_distiller_js' \
|
|
|
|
'third_party/eigen3' \
|
|
|
|
'third_party/eigen3' \
|
|
|
|
'third_party/emoji-segmenter' \
|
|
|
|
'third_party/emoji-segmenter' \
|
|
|
@ -1733,7 +1710,7 @@ rm -rf %{buildroot}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
cp -a chrome %{buildroot}%{chromium_path}/%{chromium_browser_channel}
|
|
|
|
cp -a chrome %{buildroot}%{chromium_path}/%{chromium_browser_channel}
|
|
|
|
cp -a chrome_sandbox %{buildroot}%{chromium_path}/chrome-sandbox
|
|
|
|
cp -a chrome_sandbox %{buildroot}%{chromium_path}/chrome-sandbox
|
|
|
|
cp -a crashpad_handler %{buildroot}%{chromium_path}/crashpad_handler
|
|
|
|
cp -a chrome_crashpad_handler %{buildroot}%{chromium_path}/chrome_crashpad_handler
|
|
|
|
cp -a ../../chrome/app/resources/manpage.1.in %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
|
|
|
|
cp -a ../../chrome/app/resources/manpage.1.in %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
|
|
|
|
sed -i "s|@@PACKAGE@@|%{chromium_browser_channel}|g" %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
|
|
|
|
sed -i "s|@@PACKAGE@@|%{chromium_browser_channel}|g" %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
|
|
|
|
sed -i "s|@@MENUNAME@@|%{chromium_menu_name}|g" %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
|
|
|
|
sed -i "s|@@MENUNAME@@|%{chromium_menu_name}|g" %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
|
|
|
@ -1965,7 +1942,7 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
|
|
|
|
%dir %{chromium_path}
|
|
|
|
%dir %{chromium_path}
|
|
|
|
%{chromium_path}/*.bin
|
|
|
|
%{chromium_path}/*.bin
|
|
|
|
%{chromium_path}/chrome_*.pak
|
|
|
|
%{chromium_path}/chrome_*.pak
|
|
|
|
%{chromium_path}/crashpad_handler
|
|
|
|
%{chromium_path}/chrome_crashpad_handler
|
|
|
|
%{chromium_path}/resources.pak
|
|
|
|
%{chromium_path}/resources.pak
|
|
|
|
%{chromium_path}/icudtl.dat
|
|
|
|
%{chromium_path}/icudtl.dat
|
|
|
|
%{chromium_path}/%{chromium_browser_channel}
|
|
|
|
%{chromium_path}/%{chromium_browser_channel}
|
|
|
@ -2121,6 +2098,12 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Sep 24 2021 Tom Callaway <spot@fedoraproject.org> - 94.0.4606.61-1
|
|
|
|
|
|
|
|
- update to 94.0.4606.61
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Sep 23 2021 Tom Callaway <spot@fedoraproject.org> - 94.0.4606.54-1
|
|
|
|
|
|
|
|
- update to 94.0.4606.54
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Sep 20 2021 Tom Callaway <spot@fedoraproject.org> - 93.0.4577.82-2
|
|
|
|
* Mon Sep 20 2021 Tom Callaway <spot@fedoraproject.org> - 93.0.4577.82-2
|
|
|
|
- add fix for harfbuzz v3 (thanks to Jan Beich @ FreeBSD)
|
|
|
|
- add fix for harfbuzz v3 (thanks to Jan Beich @ FreeBSD)
|
|
|
|
|
|
|
|
|
|
|
|