diff --git a/chromium-112-feed_protos.patch b/chromium-112-feed_protos.patch new file mode 100644 index 00000000..11a90e5f --- /dev/null +++ b/chromium-112-feed_protos.patch @@ -0,0 +1,19 @@ +diff -up chromium-112.0.5615.49/components/feed/core/v2/protocol_translator.cc.me chromium-112.0.5615.49/components/feed/core/v2/protocol_translator.cc +--- chromium-112.0.5615.49/components/feed/core/v2/protocol_translator.cc.me 2023-03-31 20:33:32.129658455 +0200 ++++ chromium-112.0.5615.49/components/feed/core/v2/protocol_translator.cc 2023-03-31 20:41:19.593822038 +0200 +@@ -10,7 +10,6 @@ + #include "base/logging.h" + #include "base/time/time.h" + #include "components/feed/core/proto/v2/packing.pb.h" +-#include "components/feed/core/proto/v2/wire/chrome_feed_response_metadata.pb.h" + #include "components/feed/core/proto/v2/wire/data_operation.pb.h" + #include "components/feed/core/proto/v2/wire/feature.pb.h" + #include "components/feed/core/proto/v2/wire/feed_response.pb.h" +@@ -19,7 +18,6 @@ + #include "components/feed/core/proto/v2/wire/stream_structure.pb.h" + #include "components/feed/core/proto/v2/wire/token.pb.h" + #include "components/feed/core/v2/feedstore_util.h" +-#include "components/feed/core/v2/ios_shared_experiments_translator.h" + #include "components/feed/core/v2/metrics_reporter.h" + #include "components/feed/core/v2/proto_util.h" + #include "components/feed/feed_feature_list.h" diff --git a/chromium-108-norar.patch b/chromium-112-norar.patch similarity index 51% rename from chromium-108-norar.patch rename to chromium-112-norar.patch index f226f001..41e54ef6 100644 --- a/chromium-108-norar.patch +++ b/chromium-112-norar.patch @@ -1,7 +1,7 @@ -diff -up chromium-108.0.5359.124/chrome/common/safe_browsing/BUILD.gn.nounrar chromium-108.0.5359.124/chrome/common/safe_browsing/BUILD.gn ---- chromium-108.0.5359.124/chrome/common/safe_browsing/BUILD.gn.nounrar 2022-12-14 01:39:45.000000000 +0100 -+++ chromium-108.0.5359.124/chrome/common/safe_browsing/BUILD.gn 2022-12-24 13:15:57.877070764 +0100 -@@ -58,39 +58,6 @@ if (safe_browsing_mode == 1) { +diff -up chromium-112.0.5615.20/chrome/common/safe_browsing/BUILD.gn.nounrar chromium-112.0.5615.20/chrome/common/safe_browsing/BUILD.gn +--- chromium-112.0.5615.20/chrome/common/safe_browsing/BUILD.gn.nounrar 2023-03-08 23:00:09.000000000 +0100 ++++ chromium-112.0.5615.20/chrome/common/safe_browsing/BUILD.gn 2023-03-10 16:02:12.970759171 +0100 +@@ -58,25 +58,6 @@ if (safe_browsing_mode == 1) { public_deps = [ "//components/safe_browsing/core/common/proto:csd_proto" ] } @@ -21,27 +21,13 @@ diff -up chromium-108.0.5359.124/chrome/common/safe_browsing/BUILD.gn.nounrar ch - "//third_party/unrar:unrar", - ] - -- defines = [ -- "_FILE_OFFSET_BITS=64", -- "LARGEFILE_SOURCE", -- "RAR_SMP", -- "SILENT", -- -- # The following is set to disable certain macro definitions in the unrar -- # source code. -- "CHROMIUM_UNRAR", -- -- # Disables exceptions in unrar, replaces them with process termination. -- "UNRAR_NO_EXCEPTIONS", -- ] -- - public_deps = [ "//components/safe_browsing/core/common/proto:csd_proto" ] - } - if (is_linux || is_win) { source_set("document_analyzer") { sources = [ -@@ -191,7 +158,6 @@ source_set("safe_browsing") { +@@ -172,7 +153,6 @@ source_set("safe_browsing") { ":archive_analyzer_results", ":binary_feature_extractor", ":download_type_util", @@ -49,9 +35,9 @@ diff -up chromium-108.0.5359.124/chrome/common/safe_browsing/BUILD.gn.nounrar ch "//components/safe_browsing/core/common", "//third_party/lzma_sdk/google:seven_zip_reader", ] -diff -up chromium-108.0.5359.124/chrome/common/safe_browsing/DEPS.nounrar chromium-108.0.5359.124/chrome/common/safe_browsing/DEPS ---- chromium-108.0.5359.124/chrome/common/safe_browsing/DEPS.nounrar 2022-12-24 12:49:52.621400599 +0100 -+++ chromium-108.0.5359.124/chrome/common/safe_browsing/DEPS 2022-12-24 13:16:21.551486489 +0100 +diff -up chromium-112.0.5615.20/chrome/common/safe_browsing/DEPS.nounrar chromium-112.0.5615.20/chrome/common/safe_browsing/DEPS +--- chromium-112.0.5615.20/chrome/common/safe_browsing/DEPS.nounrar 2023-03-08 23:00:09.000000000 +0100 ++++ chromium-112.0.5615.20/chrome/common/safe_browsing/DEPS 2023-03-10 13:20:06.558188423 +0100 @@ -3,7 +3,6 @@ include_rules = [ "+components/safe_browsing/core/common", "+third_party/maldoca", @@ -60,9 +46,9 @@ diff -up chromium-108.0.5359.124/chrome/common/safe_browsing/DEPS.nounrar chromi "+third_party/zlib", "+third_party/lzma_sdk/google", ] -diff -up chromium-108.0.5359.124/chrome/services/file_util/BUILD.gn.nounrar chromium-108.0.5359.124/chrome/services/file_util/BUILD.gn ---- chromium-108.0.5359.124/chrome/services/file_util/BUILD.gn.nounrar 2022-12-14 01:39:45.000000000 +0100 -+++ chromium-108.0.5359.124/chrome/services/file_util/BUILD.gn 2022-12-24 12:49:52.622400617 +0100 +diff -up chromium-112.0.5615.20/chrome/services/file_util/BUILD.gn.nounrar chromium-112.0.5615.20/chrome/services/file_util/BUILD.gn +--- chromium-112.0.5615.20/chrome/services/file_util/BUILD.gn.nounrar 2023-03-08 23:00:09.000000000 +0100 ++++ chromium-112.0.5615.20/chrome/services/file_util/BUILD.gn 2023-03-10 13:20:06.558188423 +0100 @@ -60,7 +60,6 @@ source_set("file_util") { deps += [ "//chrome/common/safe_browsing", @@ -71,9 +57,9 @@ diff -up chromium-108.0.5359.124/chrome/services/file_util/BUILD.gn.nounrar chro ] if (is_linux || is_win) { -diff -up chromium-108.0.5359.124/chrome/services/file_util/safe_archive_analyzer.cc.nounrar chromium-108.0.5359.124/chrome/services/file_util/safe_archive_analyzer.cc ---- chromium-108.0.5359.124/chrome/services/file_util/safe_archive_analyzer.cc.nounrar 2022-12-24 12:49:52.622400617 +0100 -+++ chromium-108.0.5359.124/chrome/services/file_util/safe_archive_analyzer.cc 2022-12-24 13:18:43.477966285 +0100 +diff -up chromium-112.0.5615.20/chrome/services/file_util/safe_archive_analyzer.cc.nounrar chromium-112.0.5615.20/chrome/services/file_util/safe_archive_analyzer.cc +--- chromium-112.0.5615.20/chrome/services/file_util/safe_archive_analyzer.cc.nounrar 2023-03-08 23:00:09.000000000 +0100 ++++ chromium-112.0.5615.20/chrome/services/file_util/safe_archive_analyzer.cc 2023-03-10 13:20:06.558188423 +0100 @@ -45,12 +45,16 @@ void SafeArchiveAnalyzer::AnalyzeDmgFile void SafeArchiveAnalyzer::AnalyzeRarFile(base::File rar_file, base::File temporary_file, diff --git a/chromium-browser.sh b/chromium-browser.sh index a67c2a93..5c95ef8f 100755 --- a/chromium-browser.sh +++ b/chromium-browser.sh @@ -50,8 +50,6 @@ CHROMIUM_DISTRO_FLAGS=" --enable-plugins \ --enable-printing \ --enable-gpu-rasterization \ --enable-sync \ - --disable-features=AudioServiceSandbox,UseChromeOSDirectVideoDecoder \ - --enable-features=VaapiVideoDecoder,VaapiVideoEncoder \ --auto-ssl-client-auth @@EXTRA_FLAGS@@" exec -a "$0" "$HERE/@@CHROMIUM_BROWSER_CHANNEL@@" $CHROMIUM_FLAGS $CHROMIUM_DISTRO_FLAGS "$@" diff --git a/chromium.conf b/chromium.conf index 72c565cc..bf46e2cf 100644 --- a/chromium.conf +++ b/chromium.conf @@ -1,5 +1,8 @@ # system wide chromium flags +CHROMIUM_FLAGS="" +CHROMIUM_FLAGS+=" --disable-features=AudioServiceSandbox,UseChromeOSDirectVideoDecoder,AllowQt" +CHROMIUM_FLAGS+=" --enable-features=VaapiVideoDecoder,VaapiVideoEncoder" if [ "$XDG_SESSION_TYPE" == "wayland" ] || [[ $WAYLAND_DISPLAY ]] ; then - CHROMIUM_FLAGS="--use-gl=egl" + CHROMIUM_FLAGS+=" --use-gl=egl" fi diff --git a/chromium.spec b/chromium.spec index 0a8e4d1b..67c54520 100644 --- a/chromium.spec +++ b/chromium.spec @@ -241,7 +241,7 @@ %endif Name: chromium%{chromium_channel} -Version: 111.0.5563.146 +Version: 112.0.5615.49 Release: 1%{?dist} Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use Url: http://www.chromium.org/Home @@ -260,7 +260,7 @@ Patch2: chromium-107.0.5304.110-gn-system.patch Patch5: chromium-77.0.3865.75-no-zlib-mangle.patch # Do not use unrar code, it is non-free -Patch6: chromium-108-norar.patch +Patch6: chromium-112-norar.patch # Use Gentoo's Widevine hack # https://gitweb.gentoo.org/repo/gentoo.git/tree/www-client/chromium/files/chromium-widevine-r3.patch @@ -347,6 +347,9 @@ Patch106: chromium-98.0.4758.80-epel7-erase-fix.patch # Add additional operator== to make el7 happy. Patch107: chromium-99.0.4844.51-el7-extra-operator==.patch +# Split out ios shared feed protos +Patch108: chromium-112-feed_protos.patch + # system ffmpeg Patch114: chromium-107-ffmpeg-duration.patch Patch115: chromium-107-proprietary-codecs.patch @@ -355,9 +358,6 @@ Patch116: chromium-108-ffmpeg-first_dts.patch # revert new-channel-layout-api on f36, old ffmpeg-free Patch117: chromium-108-ffmpeg-revert-new-channel-layout-api.patch -# enable Qt -Patch121: chromium-108-enable-allowqt.patch - # gcc13 Patch122: chromium-109-gcc13.patch @@ -954,14 +954,12 @@ udev. %patch -P107 -p1 -b .el7-extra-operator-equalequal %endif +%patch -P108 -p1 -b .chrome_feed_response_metadata + %patch -P130 -p1 -b .VirtualCursor-std-layout %patch -P146 -p1 -b .LargerThan4k -%if %{use_qt} -%patch -P121 -p1 -b .enable-allowqt -%endif - %patch -P122 -p1 -b .gcc13 # Feature specific patches @@ -1129,16 +1127,10 @@ CHROMIUM_CORE_GN_DEFINES+=' current_os="linux"' CHROMIUM_CORE_GN_DEFINES+=' treat_warnings_as_errors=false' CHROMIUM_CORE_GN_DEFINES+=' use_custom_libcxx=false' CHROMIUM_CORE_GN_DEFINES+=' enable_iterator_debugging=false' -CHROMIUM_CORE_GN_DEFINES+=' enable_js_type_check=false' CHROMIUM_CORE_GN_DEFINES+=' enable_vr=false' CHROMIUM_CORE_GN_DEFINES+=' build_dawn_tests=false enable_perfetto_unittests=false' CHROMIUM_CORE_GN_DEFINES+=' disable_fieldtrial_testing_config=true' CHROMIUM_CORE_GN_DEFINES+=' blink_symbol_level=0 symbol_level=0 v8_symbol_level=0' -# clang =< 14 and C++20, linker errors std::u16string -# build failure on rhel and fedora 36 -%if 0%{?rhel} || 0%{?fedora} == 36 -CHROMIUM_CORE_GN_DEFINES+=' use_cxx17=true' -%endif export CHROMIUM_CORE_GN_DEFINES # browser gn defines @@ -1652,6 +1644,10 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %{chromium_path}/chromedriver %changelog +* Wed Apr 05 2023 Than Ngo - 112.0.5615.49-1 +- update to 112.0.5615.49 +- fix #2184142, Small fonts in menus + * Tue Mar 28 2023 Than Ngo - 111.0.5563.146-1 - update to 111.0.5563.146 diff --git a/sources b/sources index 939a213e..4487c5ab 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (node-v19.8.1-linux-arm64.tar.xz) = 86ff19085669e92ce7afe2fd7d4df0c5441df2d88c00f29d5463b805f3cf5625626db8aebf98349c9a495b772da1ce6d68263730018207ea98815058a1c81397 SHA512 (node-v19.8.1-linux-x64.tar.xz) = 925c0037c6b7074d0b0245bced20d0a0d9b1300f53b808106f16b5018d763f5f5b00bc321b33fa1033d736b1e1076608da9b7fcae66aed53d27b100b1186e2c6 -SHA512 (chromium-111.0.5563.146-clean.tar.xz) = 3980af2936e81dda6723ec036acb0ee51e5248cba90973fbd202579b9d161956349851e29f5ba7dc0f82713385067ffee444c47531d235bf1420cd3f1ff914ff +SHA512 (chromium-112.0.5615.49-clean.tar.xz) = cda9247696503dc0be0d9519f85c0619736da66410751412819362beeb115a51da1f90b15c60bae0d517fea70dca5797ae5eccf728ee13fd1cf29d1fe216f943