- Chromium 133.0.6847.2
(dev release 2024-11-21)
- Chromium 132.0.6834.32
(beta released 2024-12-04)
- added patches:
* chromium-8d882c289f17e3a67d6d67d5ff7e9d16ebb4f19a.patch
(apply git upstream reverse for 15.x with llvm17)
* chromium-93-ffmpeg-4.4-rest.patch
(split off to only apply after the reverse)
* chromium-132-old_libdrm.patch
(applied only on 15.5 with libdrm < 2.4.116)
* chromium-132-pdfium-explicit-template.patch
(error: alias template requires template arguments)
* chromium-127-constexpr.patch
third_party/devtools-frontend/src/node_modules/fast-glob
- Chromium 131.0.6778.108
(stable released 2024-12-04) (boo#1234118)
* CVE-2024-12053: Type Confusion in V8
- update patches:
chromium-127-constexpr.patch
- Chromium 131.0.6778.85
(stable released 2024-11-19) (boo#1233534)
* CVE-2024-11395: Type Confusion in V8
OBS-URL: https://build.opensuse.org/package/show/network:chromium/chromium-dev?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
f0e2f4c8d6
commit
8428639d74
@@ -59,15 +59,15 @@ author: Andres Salomon <dilinger@debian.org>
|
|||||||
|
|
||||||
--- a/chrome/browser/ui/lens/lens_overlay_url_builder.cc
|
--- a/chrome/browser/ui/lens/lens_overlay_url_builder.cc
|
||||||
+++ b/chrome/browser/ui/lens/lens_overlay_url_builder.cc
|
+++ b/chrome/browser/ui/lens/lens_overlay_url_builder.cc
|
||||||
@@ -78,7 +78,7 @@ inline constexpr char kXSRFTokenQueryPar
|
@@ -80,7 +80,7 @@
|
||||||
inline constexpr char kSecActQueryParamKey[] = "sec_act";
|
inline constexpr char kSecActQueryParamKey[] = "sec_act";
|
||||||
|
|
||||||
// The list of query parameters to ignore when comparing search URLs.
|
// The list of query parameters to ignore when comparing search URLs.
|
||||||
-inline constexpr std::string kIgnoredSearchUrlQueryParameters[] = {
|
-inline constexpr std::string kIgnoredSearchUrlQueryParameters[] = {
|
||||||
+inline const std::string kIgnoredSearchUrlQueryParameters[] = {
|
+inline const std::string kIgnoredSearchUrlQueryParameters[] = {
|
||||||
kViewportWidthQueryParamKey, kViewportHeightQueryParamKey,
|
kViewportWidthQueryParamKey, kViewportHeightQueryParamKey,
|
||||||
kXSRFTokenQueryParamKey, kSecActQueryParamKey};
|
kXSRFTokenQueryParamKey, kSecActQueryParamKey,
|
||||||
|
kModeParameterKey, kToolbeltModeParameterKey};
|
||||||
--- a/content/public/test/prefetch_test_util.h
|
--- a/content/public/test/prefetch_test_util.h
|
||||||
+++ b/content/public/test/prefetch_test_util.h
|
+++ b/content/public/test/prefetch_test_util.h
|
||||||
@@ -15,7 +15,7 @@ namespace content::test {
|
@@ -15,7 +15,7 @@ namespace content::test {
|
||||||
@@ -90,3 +90,19 @@ author: Andres Salomon <dilinger@debian.org>
|
|||||||
// Estimated token count of the preamble text in prompt.
|
// Estimated token count of the preamble text in prompt.
|
||||||
static constexpr size_t kPreambleTokenBufferSize = 100u;
|
static constexpr size_t kPreambleTokenBufferSize = 100u;
|
||||||
// Estimated token count of overhead text per passage.
|
// Estimated token count of overhead text per passage.
|
||||||
|
--- a/components/compose/core/browser/config.cc
|
||||||
|
+++ b/components/compose/core/browser/config.cc
|
||||||
|
@@ -46,11 +46,11 @@
|
||||||
|
}
|
||||||
|
|
||||||
|
constexpr auto DEFAULT_COMPOSE_ENABLED_COUNTRIES =
|
||||||
|
- base::MakeFixedFlatSet<std::string>({"bd", "ca", "gh", "in", "ke", "my",
|
||||||
|
+ base::MakeFixedFlatSet<std::string_view>({"bd", "ca", "gh", "in", "ke", "my",
|
||||||
|
"ng", "ph", "pk", "sg", "tz", "ug",
|
||||||
|
"us", "zm", "zw"});
|
||||||
|
constexpr auto DEFAULT_PROACTIVE_NUDGE_ENABLED_COUNTRIES =
|
||||||
|
- base::MakeFixedFlatSet<std::string>({"us"});
|
||||||
|
+ base::MakeFixedFlatSet<std::string_view>({"us"});
|
||||||
|
|
||||||
|
} // namespace
|
||||||
|
|
||||||
|
|||||||
10
chromium-132-old_libdrm.patch
Normal file
10
chromium-132-old_libdrm.patch
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
--- chromium-132.0.6834.15/ui/ozone/platform/wayland/host/drm_syncobj_ioctl_wrapper.cc 2024/11/28 23:30:19 1.1
|
||||||
|
+++ chromium-132.0.6834.15/ui/ozone/platform/wayland/host/drm_syncobj_ioctl_wrapper.cc 2024/11/28 23:32:09
|
||||||
|
@@ -47,6 +47,6 @@
|
||||||
|
uint64_t point,
|
||||||
|
int ev_fd,
|
||||||
|
uint32_t flags) {
|
||||||
|
- return drmSyncobjEventfd(fd_.get(), handle, point, ev_fd, flags);
|
||||||
|
+ return -1;
|
||||||
|
}
|
||||||
|
} // namespace ui
|
||||||
11
chromium-132-pdfium-explicit-template.patch
Normal file
11
chromium-132-pdfium-explicit-template.patch
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
--- chromium-132.0.6834.15/pdf/pdfium/pdfium_api_wrappers.cc 2024/12/03 16:47:07 1.1
|
||||||
|
+++ chromium-132.0.6834.15/pdf/pdfium/pdfium_api_wrappers.cc 2024/12/03 16:48:54
|
||||||
|
@@ -147,7 +147,7 @@
|
||||||
|
|
||||||
|
// Number of characters, including the NUL.
|
||||||
|
const size_t expected_size = base::checked_cast<size_t>(buflen_bytes / 2);
|
||||||
|
- PDFiumAPIStringBufferAdapter adapter(&name, expected_size,
|
||||||
|
+ PDFiumAPIStringBufferAdapter<std::u16string> adapter(&name, expected_size,
|
||||||
|
/*check_expected_size=*/true);
|
||||||
|
unsigned long actual_buflen_bytes = 0; // NOLINT(runtime/int)
|
||||||
|
bool result =
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:c3e8c19efd13f0143e34c43b480edba4313afdd07bdb8f160282310b151a64ff
|
|
||||||
size 7160104372
|
|
||||||
1105
chromium-8d882c289f17e3a67d6d67d5ff7e9d16ebb4f19a.patch
Normal file
1105
chromium-8d882c289f17e3a67d6d67d5ff7e9d16ebb4f19a.patch
Normal file
File diff suppressed because it is too large
Load Diff
51
chromium-93-ffmpeg-4.4-rest.patch
Normal file
51
chromium-93-ffmpeg-4.4-rest.patch
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
From: 52c3e9c0f140a8742034e107fb0f371c0d73bf1d Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Marek=20Beh=C3=BAn?= <kabel@kernel.org>
|
||||||
|
Date: Sun, 12 Sep 2021 04:20:11 +0200
|
||||||
|
Subject: [PATCH] chromium-93: fix building with system-ffmpeg
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
The version of ffmpeg bundled in Chromium changed ABI a little, which
|
||||||
|
affected the code in that the type of the last parameter of
|
||||||
|
av_packet_get_side_data() is now size_t instead of int.
|
||||||
|
|
||||||
|
This causes Chromium to fail to build with system-ffmpeg if the system
|
||||||
|
ffmpeg's version does not yet have this ABI change.
|
||||||
|
|
||||||
|
Fix the code to be able to compile with older ffmpeg as well.
|
||||||
|
|
||||||
|
Signed-off-by: Marek Behún <kabel@kernel.org>
|
||||||
|
---
|
||||||
|
media/filters/audio_decoder_unittest.cc | 4 ++++
|
||||||
|
media/filters/ffmpeg_demuxer.cc | 16 ++++++++++++++++
|
||||||
|
2 files changed, 20 insertions(+)
|
||||||
|
|
||||||
|
Index: chromium-126.0.6478.8/media/filters/ffmpeg_demuxer.cc
|
||||||
|
===================================================================
|
||||||
|
--- chromium-126.0.6478.8.orig/media/filters/ffmpeg_demuxer.cc
|
||||||
|
+++ chromium-126.0.6478.8/media/filters/ffmpeg_demuxer.cc
|
||||||
|
@@ -408,7 +408,11 @@
|
||||||
|
|
||||||
|
scoped_refptr<DecoderBuffer> buffer;
|
||||||
|
|
||||||
|
+#if LIBAVUTIL_VERSION_MAJOR < 57
|
||||||
|
+ int side_data_size = 0;
|
||||||
|
+#else
|
||||||
|
size_t side_data_size = 0;
|
||||||
|
+#endif
|
||||||
|
uint8_t* side_data = av_packet_get_side_data(
|
||||||
|
packet.get(), AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL, &side_data_size);
|
||||||
|
|
||||||
|
@@ -468,7 +472,11 @@
|
||||||
|
side_data + side_data_size);
|
||||||
|
}
|
||||||
|
|
||||||
|
+#if LIBAVUTIL_VERSION_MAJOR < 57
|
||||||
|
+ int skip_samples_size = 0;
|
||||||
|
+#else
|
||||||
|
size_t skip_samples_size = 0;
|
||||||
|
+#endif
|
||||||
|
const uint32_t* skip_samples_ptr =
|
||||||
|
reinterpret_cast<const uint32_t*>(av_packet_get_side_data(
|
||||||
|
packet.get(), AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size));
|
||||||
@@ -37,31 +37,3 @@ Index: chromium-126.0.6478.8/media/filters/audio_decoder_unittest.cc
|
|||||||
const uint32_t* skip_samples_ptr =
|
const uint32_t* skip_samples_ptr =
|
||||||
reinterpret_cast<const uint32_t*>(av_packet_get_side_data(
|
reinterpret_cast<const uint32_t*>(av_packet_get_side_data(
|
||||||
packet, AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size));
|
packet, AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size));
|
||||||
Index: chromium-126.0.6478.8/media/filters/ffmpeg_demuxer.cc
|
|
||||||
===================================================================
|
|
||||||
--- chromium-126.0.6478.8.orig/media/filters/ffmpeg_demuxer.cc
|
|
||||||
+++ chromium-126.0.6478.8/media/filters/ffmpeg_demuxer.cc
|
|
||||||
@@ -343,7 +343,11 @@ FFmpegDemuxerStream::~FFmpegDemuxerStrea
|
|
||||||
}
|
|
||||||
|
|
||||||
base::span<const uint8_t> GetSideData(const AVPacket* packet) {
|
|
||||||
+#if LIBAVUTIL_VERSION_MAJOR < 57
|
|
||||||
+ int side_data_size = 0;
|
|
||||||
+#else
|
|
||||||
size_t side_data_size = 0;
|
|
||||||
+#endif
|
|
||||||
uint8_t* side_data = av_packet_get_side_data(
|
|
||||||
packet, AV_PKT_DATA_MATROSKA_BLOCKADDITIONAL, &side_data_size);
|
|
||||||
|
|
||||||
@@ -474,7 +478,11 @@ void FFmpegDemuxerStream::EnqueuePacket(
|
|
||||||
base::HeapArray<uint8_t>::CopiedFrom(side_data);
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if LIBAVUTIL_VERSION_MAJOR < 57
|
|
||||||
+ int skip_samples_size = 0;
|
|
||||||
+#else
|
|
||||||
size_t skip_samples_size = 0;
|
|
||||||
+#endif
|
|
||||||
const uint32_t* skip_samples_ptr =
|
|
||||||
reinterpret_cast<const uint32_t*>(av_packet_get_side_data(
|
|
||||||
packet.get(), AV_PKT_DATA_SKIP_SAMPLES, &skip_samples_size));
|
|
||||||
|
|||||||
@@ -1,28 +1,54 @@
|
|||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 19 17:00:15 CET 2024 - ro@suse.de
|
Thu Dec 5 12:03:29 CET 2024 - ro@suse.de
|
||||||
|
|
||||||
- Chromium 133.0.6835.3
|
- Chromium 133.0.6847.2
|
||||||
(dev release 2024-11-14)
|
(dev release 2024-11-21)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 19 16:40:23 CET 2024 - ro@suse.de
|
Thu Dec 5 11:38:13 CET 2024 - ro@suse.de
|
||||||
|
|
||||||
- Chromium 132.0.6834.6
|
- Chromium 132.0.6834.32
|
||||||
(beta released 2024-11-13)
|
(beta released 2024-12-04)
|
||||||
- dropped patches:
|
- dropped patches:
|
||||||
* chromium-131-unbundle-enable-freetype.patch (upstream)
|
* chromium-131-unbundle-enable-freetype.patch (upstream)
|
||||||
|
- added patches:
|
||||||
|
* chromium-8d882c289f17e3a67d6d67d5ff7e9d16ebb4f19a.patch
|
||||||
|
(apply git upstream reverse for 15.x with llvm17)
|
||||||
|
* chromium-93-ffmpeg-4.4-rest.patch
|
||||||
|
(split off to only apply after the reverse)
|
||||||
|
* chromium-132-old_libdrm.patch
|
||||||
|
(applied only on 15.5 with libdrm < 2.4.116)
|
||||||
|
* chromium-132-pdfium-explicit-template.patch
|
||||||
|
(error: alias template requires template arguments)
|
||||||
- update context in
|
- update context in
|
||||||
* chromium-125-compiler.patch
|
* chromium-125-compiler.patch
|
||||||
* chromium-127-rust-clanglib.patch
|
* chromium-127-rust-clanglib.patch
|
||||||
* Cr122-ffmpeg-new-channel-layout.patch
|
* Cr122-ffmpeg-new-channel-layout.patch
|
||||||
* gcc-enable-lto.patch
|
* gcc-enable-lto.patch
|
||||||
* chromium-93-ffmpeg-4.4.patch
|
* chromium-127-constexpr.patch
|
||||||
- update esbuild to 0.24.0
|
- update esbuild to 0.24.0
|
||||||
- drop old tarball
|
- drop old tarball
|
||||||
- use upstream release tarball for 0.24.0
|
- use upstream release tarball for 0.24.0
|
||||||
- add vendor tarball for golang.org/x/sys
|
- add vendor tarball for golang.org/x/sys
|
||||||
- add to keeplibs:
|
- add to keeplibs:
|
||||||
third_party/libtess2
|
third_party/libtess2
|
||||||
|
third_party/devtools-frontend/src/node_modules/fast-glob
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 4 10:31:04 CET 2024 - ro@suse.de
|
||||||
|
|
||||||
|
- Chromium 131.0.6778.108
|
||||||
|
(stable released 2024-12-04) (boo#1234118)
|
||||||
|
* CVE-2024-12053: Type Confusion in V8
|
||||||
|
- update patches:
|
||||||
|
chromium-127-constexpr.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 20 23:20:12 CET 2024 - ro@suse.de
|
||||||
|
|
||||||
|
- Chromium 131.0.6778.85
|
||||||
|
(stable released 2024-11-19) (boo#1233534)
|
||||||
|
* CVE-2024-11395: Type Confusion in V8
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 7 00:32:31 CET 2024 - ro@suse.de
|
Thu Nov 7 00:32:31 CET 2024 - ro@suse.de
|
||||||
|
|||||||
@@ -62,11 +62,11 @@
|
|||||||
# esbuild version
|
# esbuild version
|
||||||
%define esbuild_version 0.24.0
|
%define esbuild_version 0.24.0
|
||||||
%if 0%{?suse_version} <= 1699
|
%if 0%{?suse_version} <= 1699
|
||||||
%bcond_with system_re2
|
|
||||||
%bcond_with system_webp
|
%bcond_with system_webp
|
||||||
|
%bcond_with system_re2
|
||||||
%else
|
%else
|
||||||
%bcond_without system_re2
|
|
||||||
%bcond_without system_webp
|
%bcond_without system_webp
|
||||||
|
%bcond_without system_re2
|
||||||
%endif
|
%endif
|
||||||
%bcond_without is_beta # CHANNEL SWITCH
|
%bcond_without is_beta # CHANNEL SWITCH
|
||||||
%bcond_with system_avif
|
%bcond_with system_avif
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
%define n_suffix %{nil}
|
%define n_suffix %{nil}
|
||||||
%endif
|
%endif
|
||||||
Name: chromium%{n_suffix}
|
Name: chromium%{n_suffix}
|
||||||
Version: 133.0.6835.3
|
Version: 133.0.6847.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Google's open source browser project
|
Summary: Google's open source browser project
|
||||||
License: BSD-3-Clause AND LGPL-2.1-or-later
|
License: BSD-3-Clause AND LGPL-2.1-or-later
|
||||||
@@ -113,6 +113,10 @@ Source3: README.SUSE
|
|||||||
Source4: ffmpeg-new-channel-layout.patch
|
Source4: ffmpeg-new-channel-layout.patch
|
||||||
Source5: Cr122-ffmpeg-new-channel-layout.patch
|
Source5: Cr122-ffmpeg-new-channel-layout.patch
|
||||||
Source6: chromium-125-ffmpeg-5.x-reordered_opaque.patch
|
Source6: chromium-125-ffmpeg-5.x-reordered_opaque.patch
|
||||||
|
Source7: chromium-8d882c289f17e3a67d6d67d5ff7e9d16ebb4f19a.patch
|
||||||
|
Source8: chromium-93-ffmpeg-4.4-rest.patch
|
||||||
|
# only as long as 15.5 has libdrm < 2.4.116
|
||||||
|
Source9: chromium-132-old_libdrm.patch
|
||||||
# Toolchain definitions
|
# Toolchain definitions
|
||||||
Source30: master_preferences
|
Source30: master_preferences
|
||||||
Source104: chromium-symbolic.svg
|
Source104: chromium-symbolic.svg
|
||||||
@@ -156,6 +160,7 @@ Patch363: chromium-127-constexpr.patch
|
|||||||
Patch364: chromium-129-revert-AVFMT_FLAG_NOH264PARSE.patch
|
Patch364: chromium-129-revert-AVFMT_FLAG_NOH264PARSE.patch
|
||||||
Patch366: chromium-130-no-hardware_destructive_interference_size.patch
|
Patch366: chromium-130-no-hardware_destructive_interference_size.patch
|
||||||
Patch368: chromium-131-clang-stack-protector.patch
|
Patch368: chromium-131-clang-stack-protector.patch
|
||||||
|
Patch369: chromium-132-pdfium-explicit-template.patch
|
||||||
BuildRequires: SDL-devel
|
BuildRequires: SDL-devel
|
||||||
BuildRequires: bison
|
BuildRequires: bison
|
||||||
BuildRequires: cups-devel
|
BuildRequires: cups-devel
|
||||||
@@ -416,14 +421,21 @@ WebDriver is an open source tool for automated testing of webapps across many br
|
|||||||
patch -R -p1 < %{PATCH68}
|
patch -R -p1 < %{PATCH68}
|
||||||
%endif
|
%endif
|
||||||
%if %{without ffmpeg_51}
|
%if %{without ffmpeg_51}
|
||||||
|
patch -R -p1 < %{SOURCE7}
|
||||||
patch -R -p1 < %{SOURCE6}
|
patch -R -p1 < %{SOURCE6}
|
||||||
patch -R -p1 < %{SOURCE5}
|
patch -R -p1 < %{SOURCE5}
|
||||||
patch -R -p1 < %{SOURCE4}
|
patch -R -p1 < %{SOURCE4}
|
||||||
|
patch -p1 < %{SOURCE8}
|
||||||
%endif
|
%endif
|
||||||
%if %{with libxml2_2_12}
|
%if %{with libxml2_2_12}
|
||||||
patch -R -p1 < %{PATCH336}
|
patch -R -p1 < %{PATCH336}
|
||||||
%endif
|
%endif
|
||||||
# apply only on 15.5 and 15.6, revert for the others
|
|
||||||
|
# apply only on 15.5 with libdrm < 2.4.116
|
||||||
|
%if 0%{?sle_version} <= 150500
|
||||||
|
patch -p1 < %{SOURCE9}
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?sle_version} != 150600 && 0%{?sle_version} != 150500
|
%if 0%{?sle_version} != 150600 && 0%{?sle_version} != 150500
|
||||||
# chromium-106-ffmpeg-duration.patch not needed in factory/tw
|
# chromium-106-ffmpeg-duration.patch not needed in factory/tw
|
||||||
patch -R -p1 < %{PATCH203}
|
patch -R -p1 < %{PATCH203}
|
||||||
@@ -566,6 +578,7 @@ keeplibs=(
|
|||||||
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/third_party/parsel-js
|
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/third_party/parsel-js
|
||||||
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/third_party/rxjs
|
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/third_party/rxjs
|
||||||
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/node_modules/fast-glob
|
||||||
third_party/devtools-frontend/src/third_party
|
third_party/devtools-frontend/src/third_party
|
||||||
third_party/distributed_point_functions
|
third_party/distributed_point_functions
|
||||||
third_party/dom_distiller_js
|
third_party/dom_distiller_js
|
||||||
|
|||||||
Reference in New Issue
Block a user