diff options
-rwxr-xr-x | chromium/chromium/chromium-ffmpeg-clean.sh | 17 | ||||
-rw-r--r-- | chromium/chromium/chromium-gcc-11-r987566.patch | 34 | ||||
-rw-r--r-- | chromium/chromium/chromium-gcc-11-r998791.patch | 35 | ||||
-rw-r--r-- | chromium/chromium/chromium-gcc-12-r991529.patch | 31 | ||||
-rw-r--r-- | chromium/chromium/chromium.spec | 53 |
5 files changed, 70 insertions, 100 deletions
diff --git a/chromium/chromium/chromium-ffmpeg-clean.sh b/chromium/chromium/chromium-ffmpeg-clean.sh index 167c50a..5d517c3 100755 --- a/chromium/chromium/chromium-ffmpeg-clean.sh +++ b/chromium/chromium/chromium-ffmpeg-clean.sh @@ -90,6 +90,7 @@ header_files=" libavcodec/x86/inline_asm.h \ libavcodec/cbrt_tablegen.h \ libavcodec/codec.h \ libavcodec/codec_id.h \ + libavcodec/codec_internal.h \ libavcodec/codec_par.h \ libavcodec/dct.h \ libavcodec/dct32.h \ @@ -105,6 +106,7 @@ header_files=" libavcodec/x86/inline_asm.h \ libavcodec/get_bits.h \ libavcodec/h263dsp.h \ libavcodec/h264chroma.h \ + libavcodec/hevc.h \ libavcodec/hpeldsp.h \ libavcodec/hwaccels.h \ libavcodec/hwconfig.h \ @@ -153,9 +155,12 @@ header_files=" libavcodec/x86/inline_asm.h \ libavcodec/sbrdsp.h \ libavcodec/sinewin.h \ libavcodec/sinewin_tablegen.h \ + libavcodec/startcode.h \ libavcodec/thread.h \ + libavcodec/threadframe.h \ libavcodec/unary.h \ libavcodec/version.h \ + libavcodec/version_major.h \ libavcodec/videodsp.h \ libavcodec/vlc.h \ libavcodec/vorbisdsp.h \ @@ -172,29 +177,30 @@ header_files=" libavcodec/x86/inline_asm.h \ libavformat/img2.h \ libavformat/internal.h \ libavformat/mov_chan.h \ + libavformat/options_table.h \ libavformat/pcm.h \ libavformat/rdt.h \ libavformat/rtp.h \ libavformat/rtpdec.h \ libavformat/spdif.h \ libavformat/srtp.h \ - libavformat/options_table.h \ libavformat/version.h \ + libavformat/version_major.h \ libavformat/w64.h \ libavutil/x86/asm.h \ libavutil/x86/bswap.h \ libavutil/x86/cpu.h \ libavutil/x86/emms.h - libavutil/x86/intreadwrite.h \ libavutil/x86/intmath.h + libavutil/x86/intreadwrite.h \ libavutil/x86/timer.h \ libavutil/attributes.h \ libavutil/audio_fifo.h \ libavutil/avassert.h \ libavutil/avutil.h \ libavutil/bswap.h \ - libavutil/common.h \ libavutil/colorspace.h \ + libavutil/common.h \ libavutil/cpu.h \ libavutil/cpu_internal.h \ libavutil/dynarray.h \ @@ -221,8 +227,9 @@ header_files=" libavcodec/x86/inline_asm.h \ libavutil/version.h \ libswresample/swresample.h \ libswresample/version.h \ - compat/va_copy.h \ - compat/atomics/gcc/stdatomic.h " + libswresample/version_major.h \ + compat/atomics/gcc/stdatomic.h \ + compat/va_copy.h " manual_files=" libavcodec/aarch64/fft_neon.S \ libavcodec/aarch64/h264pred_neon.S \ diff --git a/chromium/chromium/chromium-gcc-11-r987566.patch b/chromium/chromium/chromium-gcc-11-r987566.patch deleted file mode 100644 index 3ea8af3..0000000 --- a/chromium/chromium/chromium-gcc-11-r987566.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 54f1e01311592927ddd23ec18ae5276b0e355f3e Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann <stha09@googlemail.com> -Date: Thu, 31 Mar 2022 18:53:50 +0000 -Subject: [PATCH] libstdc++: fix incomplete type of ModelProvider - -Destructor of std::unique_ptr in libstdc++ uses sizeof() which -requires full definition of segmentation_platform::ModelProvider -in segmentation_platform::GetSegmentationDefaultModelProvider(). - -Bug: 957519 -Change-Id: Icf70536550f962702be827ad2676e5d3e5d9d489 -Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3563162 -Reviewed-by: Shakti Sahu <shaktisahu@chromium.org> -Commit-Queue: Stephan Hartmann <stha09@googlemail.com> -Cr-Commit-Position: refs/heads/main@{#987566} ---- - .../segmentation_platform/segmentation_platform_config.cc | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/chrome/browser/segmentation_platform/segmentation_platform_config.cc b/chrome/browser/segmentation_platform/segmentation_platform_config.cc -index b2bf48ed30aa2..1c817aeb91761 100644 ---- a/chrome/browser/segmentation_platform/segmentation_platform_config.cc -+++ b/chrome/browser/segmentation_platform/segmentation_platform_config.cc -@@ -12,6 +12,7 @@ - #include "components/optimization_guide/proto/models.pb.h" - #include "components/segmentation_platform/public/config.h" - #include "components/segmentation_platform/public/features.h" -+#include "components/segmentation_platform/public/model_provider.h" - - #if BUILDFLAG(IS_ANDROID) - #include "base/metrics/field_trial_params.h" --- -2.35.1 - diff --git a/chromium/chromium/chromium-gcc-11-r998791.patch b/chromium/chromium/chromium-gcc-11-r998791.patch new file mode 100644 index 0000000..2f615b2 --- /dev/null +++ b/chromium/chromium/chromium-gcc-11-r998791.patch @@ -0,0 +1,35 @@ +From ed167cb5cf6b5e26338c92ff74c27372835f3155 Mon Sep 17 00:00:00 2001 +From: Stephan Hartmann <stha09@googlemail.com> +Date: Tue, 3 May 2022 10:04:20 +0000 +Subject: [PATCH] IWYU: add cstring for std::strlen in fenced_frame_utils +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Bug: 957519 +Change-Id: Ie886531bc4115f280ca109819c6515ae20ea7115 +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3609973 +Commit-Queue: Stephan Hartmann <stha09@googlemail.com> +Reviewed-by: Kentaro Hara <haraken@chromium.org> +Reviewed-by: José Dapena Paz <jdapena@igalia.com> +Cr-Commit-Position: refs/heads/main@{#998791} +--- + third_party/blink/common/fenced_frame/fenced_frame_utils.cc | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/third_party/blink/common/fenced_frame/fenced_frame_utils.cc b/third_party/blink/common/fenced_frame/fenced_frame_utils.cc +index 9e2d3ad5d8877..68f48237e1eb9 100644 +--- a/third_party/blink/common/fenced_frame/fenced_frame_utils.cc ++++ b/third_party/blink/common/fenced_frame/fenced_frame_utils.cc +@@ -4,6 +4,8 @@ + + #include "third_party/blink/public/common/fenced_frame/fenced_frame_utils.h" + ++#include <cstring> ++ + #include "base/guid.h" + #include "base/strings/string_util.h" + +-- +2.35.3 + diff --git a/chromium/chromium/chromium-gcc-12-r991529.patch b/chromium/chromium/chromium-gcc-12-r991529.patch deleted file mode 100644 index cb033ff..0000000 --- a/chromium/chromium/chromium-gcc-12-r991529.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 68c9c63c0b148ff5246a0cdad59000697bbd8645 Mon Sep 17 00:00:00 2001 -From: Maksim Sisov <msisov@igalia.com> -Date: Tue, 12 Apr 2022 15:11:34 +0000 -Subject: [PATCH] Fix no member named 'tie' in namespace 'std' - -Bug: None -Change-Id: I8a097af2b16b738fa9bbb8231536bca85522f350 -Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3581869 -Auto-Submit: Maksim Sisov <msisov@igalia.com> -Reviewed-by: Matt Menke <mmenke@chromium.org> -Commit-Queue: Matt Menke <mmenke@chromium.org> -Cr-Commit-Position: refs/heads/main@{#991529} ---- - net/base/address_list.h | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/net/base/address_list.h b/net/base/address_list.h -index 029af1aded312..a93093e41f3c6 100644 ---- a/net/base/address_list.h -+++ b/net/base/address_list.h -@@ -8,6 +8,7 @@ - #include <stdint.h> - - #include <string> -+#include <tuple> - #include <utility> - #include <vector> - --- -2.35.1 - diff --git a/chromium/chromium/chromium.spec b/chromium/chromium/chromium.spec index 4904a41..5cf8859 100644 --- a/chromium/chromium/chromium.spec +++ b/chromium/chromium/chromium.spec @@ -56,7 +56,7 @@ %bcond_with fedora_compilation_flags Name: chromium -Version: 101.0.4951.64 +Version: 102.0.5005.61 Release: 100%{?dist} Summary: A WebKit (Blink) powered web browser @@ -113,9 +113,8 @@ Patch20: chromium-base-v8-utility.patch Patch21: chromium-gcc-12-subzero-undefined-reference.patch # Pull upstream patches -Patch40: chromium-gcc-11-r987566.patch -Patch41: chromium-gcc-12-r991529.patch -Patch42: chromium-libxml2-r995726.patch +Patch40: chromium-libxml2-r995726.patch +Patch41: chromium-gcc-11-r998791.patch # I don't have time to test whether it work on other architectures ExclusiveArch: x86_64 @@ -127,7 +126,7 @@ BuildRequires: clang BuildRequires: gcc, gcc-c++ %endif BuildRequires: java-headless, nodejs, python2, python3 -BuildRequires: bison, gperf, hwdata, ninja-build +BuildRequires: bison, git, gperf, hwdata, ninja-build BuildRequires: libgcc(x86-32), glibc(x86-32), libatomic BuildRequires: alsa-lib-devel, cups-devel, expat-devel BuildRequires: libcap-devel, libcurl-devel @@ -252,9 +251,9 @@ find -type f -exec \ third_party/angle/src/third_party/volk \ third_party/apple_apsl \ third_party/axe-core \ + third_party/blink \ third_party/boringssl \ third_party/boringssl/src/third_party/fiat \ - third_party/blink \ third_party/breakpad \ third_party/breakpad/breakpad/src/third_party/curl \ third_party/brotli \ @@ -282,8 +281,8 @@ find -type f -exec \ third_party/cros_system_api \ third_party/dav1d \ third_party/dawn \ + third_party/dawn/third_party/gn/webgpu-cts \ third_party/dawn/third_party/khronos \ - third_party/dawn/third_party/tint \ third_party/depot_tools \ third_party/devscripts \ third_party/devtools-frontend \ @@ -309,17 +308,13 @@ find -type f -exec \ third_party/emoji-segmenter \ third_party/farmhash \ third_party/fdlibm \ - third_party/fft2d \ third_party/ffmpeg \ + third_party/fft2d \ third_party/flatbuffers \ %if !%{with system_freetype} third_party/freetype \ %endif third_party/fusejs \ - third_party/highway \ - third_party/libgifcodec \ - third_party/liburlpattern \ - third_party/libzip \ third_party/gemmlowp \ third_party/google_input_tools \ third_party/google_input_tools/third_party/closure_library \ @@ -329,6 +324,7 @@ find -type f -exec \ third_party/harfbuzz-ng \ %endif third_party/harfbuzz-ng/utils \ + third_party/highway \ third_party/hunspell \ third_party/iccjpeg \ %if !%{with system_libicu} @@ -347,6 +343,7 @@ find -type f -exec \ third_party/libaom/source/libaom/third_party/x86inc \ third_party/libavif \ third_party/libgav1 \ + third_party/libgifcodec \ third_party/libjingle \ third_party/libjxl \ third_party/libphonenumber \ @@ -354,6 +351,7 @@ find -type f -exec \ third_party/libsrtp \ third_party/libsync \ third_party/libudev \ + third_party/liburlpattern \ third_party/libva_protected_content \ %if !%{with system_libvpx} third_party/libvpx \ @@ -367,8 +365,8 @@ find -type f -exec \ %else third_party/libxml \ %endif - third_party/libXNVCtrl \ third_party/libyuv \ + third_party/libzip \ third_party/lottie \ third_party/lss \ third_party/lzma_sdk \ @@ -388,7 +386,6 @@ find -type f -exec \ third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 \ third_party/one_euro_filter \ third_party/openh264 \ - third_party/opencv \ third_party/openscreen \ third_party/openscreen/src/third_party/mozilla \ third_party/openscreen/src/third_party/tinycbor/src/src \ @@ -418,10 +415,12 @@ find -type f -exec \ third_party/re2 \ %endif third_party/rnnoise \ + third_party/ruy \ third_party/s2cellid \ third_party/securemessage \ third_party/shell-encryption \ third_party/simplejson \ + third_party/six \ third_party/skia \ third_party/skia/include/third_party/skcms \ third_party/skia/include/third_party/vulkan \ @@ -435,18 +434,16 @@ find -type f -exec \ third_party/swiftshader/third_party/llvm-10.0 \ third_party/swiftshader/third_party/llvm-subzero \ third_party/swiftshader/third_party/marl \ - third_party/swiftshader/third_party/subzero \ third_party/swiftshader/third_party/SPIRV-Headers/include/spirv/unified1 \ + third_party/swiftshader/third_party/SPIRV-Tools \ + third_party/swiftshader/third_party/subzero \ third_party/tensorflow-text \ third_party/tflite \ third_party/tflite/src/third_party/eigen3 \ third_party/tflite/src/third_party/fft2d \ - third_party/ruy \ - third_party/six \ third_party/ukey2 \ third_party/unrar \ third_party/usb_ids \ - third_party/usrsctp \ third_party/utf \ third_party/vulkan \ third_party/wayland \ @@ -466,23 +463,23 @@ find -type f -exec \ third_party/wuffs \ third_party/x11proto \ third_party/xcbproto \ - third_party/zxcvbn-cpp \ third_party/xdg-utils \ third_party/zlib/google \ + third_party/zxcvbn-cpp \ tools/gn/src/base/third_party/icu \ url/third_party/mozilla \ v8/src/third_party/siphash \ - v8/src/third_party/valgrind \ v8/src/third_party/utf8-decoder \ + v8/src/third_party/valgrind \ v8/third_party/inspector_protocol \ v8/third_party/v8 ./build/linux/unbundle/replace_gn_files.py --system-libraries \ flac \ + fontconfig \ %if %{with system_freetype} freetype \ %endif - fontconfig \ %if %{with system_harfbuzz} harfbuzz-ng \ %endif @@ -621,11 +618,9 @@ gn_args+=( ulimit -Sn "$(ulimit -Hn)" %if 0%{?ninja_build:1} -%{ninja_build} -C out/Release chrome chrome_sandbox chromedriver \ - vk_swiftshader_icd.json +%{ninja_build} -C out/Release chrome chrome_sandbox chromedriver %else -ninja -v %{_smp_mflags} -C out/Release chrome chrome_sandbox chromedriver \ - vk_swiftshader_icd.json +ninja -v %{_smp_mflags} -C out/Release chrome chrome_sandbox chromedriver %endif mv out/Release/chromedriver{.unstripped,} @@ -635,7 +630,6 @@ mv out/Release/chromedriver{.unstripped,} mkdir -p %{buildroot}%{_bindir} mkdir -p %{buildroot}%{chromiumdir}/locales mkdir -p %{buildroot}%{chromiumdir}/MEIPreload -mkdir -p %{buildroot}%{chromiumdir}/swiftshader mkdir -p %{buildroot}%{_mandir}/man1 mkdir -p %{buildroot}%{_datadir}/applications mkdir -p %{buildroot}%{_datadir}/gnome-control-center/default-apps @@ -665,7 +659,6 @@ install -m 755 out/Release/*.so %{buildroot}%{chromiumdir}/ install -m 644 out/Release/*.pak %{buildroot}%{chromiumdir}/ install -m 644 out/Release/locales/*.pak %{buildroot}%{chromiumdir}/locales/ install -m 644 out/Release/MEIPreload/* %{buildroot}%{chromiumdir}/MEIPreload/ -install -m 755 out/Release/swiftshader/*.so %{buildroot}%{chromiumdir}/swiftshader/ 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 \ @@ -732,12 +725,12 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %dir %{chromiumdir}/MEIPreload %{chromiumdir}/MEIPreload/manifest.json %{chromiumdir}/MEIPreload/preloaded_data.pb -%dir %{chromiumdir}/swiftshader -%{chromiumdir}/swiftshader/libEGL.so -%{chromiumdir}/swiftshader/libGLESv2.so %changelog +* Sun May 29 2022 - Ting-Wei Lan <lantw44@gmail.com> - 102.0.5005.61-100 +- Update to 102.0.5005.61 + * Thu May 12 2022 - Ting-Wei Lan <lantw44@gmail.com> - 101.0.4951.64-100 - Update to 101.0.4951.64 |