Browse Source

Update to 98.0.4758.80

master 98.0.4758.80-1
wchen342 10 months ago
parent
commit
ded39ba8a8
Signed by: wchen342 GPG Key ID: 9C19365D69B04CEC
  1. 28
      chromium-VirtualCursor-standard-layout.patch
  2. 2
      sources
  3. 6
      ungoogled-chromium.spec

28
chromium-VirtualCursor-standard-layout.patch

@ -2,7 +2,7 @@ diff --git a/sql/recover_module/btree.cc b/sql/recover_module/btree.cc
index 9ecaafe..839318a 100644
--- a/sql/recover_module/btree.cc
+++ b/sql/recover_module/btree.cc
@@ -135,16 +135,25 @@
@@ -136,16 +136,25 @@ static_assert(std::is_trivially_destructible<LeafPageDecoder>::value,
"Move the destructor to the .cc file if it's non-trival");
#endif // !DCHECK_IS_ON()
@ -38,7 +38,7 @@ diff --git a/sql/recover_module/btree.h b/sql/recover_module/btree.h
index d76d076..33114b0 100644
--- a/sql/recover_module/btree.h
+++ b/sql/recover_module/btree.h
@@ -102,7 +102,7 @@
@@ -103,7 +103,7 @@ class LeafPageDecoder {
//
// |db_reader| must have been used to read an inner page of a table B-tree.
// |db_reader| must outlive this instance.
@ -47,7 +47,7 @@ index d76d076..33114b0 100644
~LeafPageDecoder() noexcept = default;
LeafPageDecoder(const LeafPageDecoder&) = delete;
@@ -150,6 +150,15 @@
@@ -151,6 +151,15 @@ class LeafPageDecoder {
// read as long as CanAdvance() returns true.
bool TryAdvance();
@ -63,7 +63,7 @@ index d76d076..33114b0 100644
// True if the given reader may point to an inner page in a table B-tree.
//
// The last ReadPage() call on |db_reader| must have succeeded.
@@ -163,14 +172,14 @@
@@ -164,14 +173,14 @@ class LeafPageDecoder {
static int ComputeCellCount(DatabasePageReader* db_reader);
// The number of the B-tree page this reader is reading.
@ -85,7 +85,7 @@ diff --git a/sql/recover_module/cursor.cc b/sql/recover_module/cursor.cc
index 0029ff9..42548bc 100644
--- a/sql/recover_module/cursor.cc
+++ b/sql/recover_module/cursor.cc
@@ -26,7 +26,7 @@
@@ -28,7 +28,7 @@ VirtualCursor::~VirtualCursor() {
int VirtualCursor::First() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
inner_decoders_.clear();
@ -94,7 +94,7 @@ index 0029ff9..42548bc 100644
AppendPageDecoder(table_->root_page_id());
return Next();
@@ -36,18 +36,18 @@
@@ -38,18 +38,18 @@ int VirtualCursor::Next() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
record_reader_.Reset();
@ -120,7 +120,7 @@ index 0029ff9..42548bc 100644
continue;
}
if (!record_reader_.Initialize())
@@ -99,13 +99,13 @@
@@ -101,13 +101,13 @@ int VirtualCursor::ReadColumn(int column_index,
int64_t VirtualCursor::RowId() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DCHECK(record_reader_.IsInitialized());
@ -137,7 +137,7 @@ index 0029ff9..42548bc 100644
<< __func__
<< " must only be called when the current path has no leaf decoder";
@@ -113,7 +113,7 @@
@@ -115,7 +115,7 @@ void VirtualCursor::AppendPageDecoder(int page_id) {
return;
if (LeafPageDecoder::IsOnValidPage(&db_reader_)) {
@ -150,7 +150,7 @@ diff --git a/sql/recover_module/cursor.h b/sql/recover_module/cursor.h
index afcd690..b15c31d 100644
--- a/sql/recover_module/cursor.h
+++ b/sql/recover_module/cursor.h
@@ -129,7 +129,7 @@
@@ -130,7 +130,7 @@ class VirtualCursor {
std::vector<std::unique_ptr<InnerPageDecoder>> inner_decoders_;
// Decodes the leaf page containing records.
@ -163,7 +163,7 @@ diff --git a/sql/recover_module/pager.cc b/sql/recover_module/pager.cc
index 58e75de..5fe9620 100644
--- a/sql/recover_module/pager.cc
+++ b/sql/recover_module/pager.cc
@@ -23,8 +23,7 @@
@@ -23,8 +23,7 @@ static_assert(DatabasePageReader::kMaxPageId <= std::numeric_limits<int>::max(),
"ints are not appropriate for representing page IDs");
DatabasePageReader::DatabasePageReader(VirtualTable* table)
@ -173,7 +173,7 @@ index 58e75de..5fe9620 100644
DCHECK(table != nullptr);
DCHECK(IsValidPageSize(table->page_size()));
}
@@ -57,8 +56,8 @@
@@ -57,8 +56,8 @@ int DatabasePageReader::ReadPage(int page_id) {
std::numeric_limits<int64_t>::max(),
"The |read_offset| computation above may overflow");
@ -196,7 +196,7 @@ index 0e388ddc..99314e3 100644
#include <cstdint>
#include <memory>
#include <ostream>
@@ -70,7 +71,7 @@
@@ -72,7 +73,7 @@ class DatabasePageReader {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
DCHECK_NE(page_id_, kInvalidPageId)
<< "Successful ReadPage() required before accessing pager state";
@ -205,7 +205,7 @@ index 0e388ddc..99314e3 100644
}
// The number of bytes in the page read by the last ReadPage() call.
@@ -137,7 +138,7 @@
@@ -139,7 +140,7 @@ class DatabasePageReader {
int page_id_ = kInvalidPageId;
// Stores the bytes of the last page successfully read by ReadPage().
// The content is undefined if the last call to ReadPage() did not succeed.
@ -213,4 +213,4 @@ index 0e388ddc..99314e3 100644
+ const std::array<uint8_t, kMaxPageSize> page_data_;
// Raw pointer usage is acceptable because this instance's owner is expected
// to ensure that the VirtualTable outlives this.
VirtualTable* const table_;
const raw_ptr<VirtualTable> table_;

2
sources

@ -4,4 +4,4 @@ SHA256 (Ahem.ttf) = b719ecb31c5b21fc573c03f6421c74ac63c271a5a3ff841e34f9705fb94b
SHA256 (NotoSansTibetan-Regular.ttf) = 5a45f430812ef981952553ef6dd6fa04c7849e97880cdfecc7bf572a58efed93
SHA256 (xcb-proto-1.14.tar.xz) = 186a3ceb26f9b4a015f5a44dcc814c93033a5fc39684f36f1ecc79834416a605
SHA256 (chromium-98.0.4758.80.tar.xz) = c87266e20f860a32c48affc70a769368d1b876dbad768e3aa93ee3c335944171
SHA256 (ungoogled-chromium-96.0.4664.110-1.tar.gz) = 4d851d62d67391b6ab9bb1267a92c9d0a8279fe7f7b86bdbf0c8cff7b9bbdad5
SHA256 (ungoogled-chromium-98.0.4758.80-1.tar.gz) = 78da43f0f5e0b8f361cd40cbde2e2d04b4245add9e8643964f7dc9f9190f5cb7

6
ungoogled-chromium.spec

@ -569,7 +569,6 @@ ln -s depot_tools-%{depot_tools_revision} ../depot_tools
%patch80 -p1 -b .EnumTable-crash
%patch86 -p1 -b .clang-format-py3
%patch95 -p1 -b .mojo-header-fix
%patch96 -p1 -b .webrtc-BUILD.gn-fix-multiple-defines
%patch98 -p1 -b .InkDropHost-crash
%patch99 -p1 -b .enable-WebRTCPipeWireCapturer-byDefault
@ -697,7 +696,7 @@ UNGOOGLED_CHROMIUM_GN_DEFINES+=' rtc_use_pipewire=true rtc_link_pipewire=true'
%if %{ccache}
UNGOOGLED_CHROMIUM_GN_DEFINES+=' cc_wrapper="ccache"'
%endif
UNGOOGLED_CHROMIUM_GN_DEFINES+=' chrome_pgo_phase=2 enable_js_type_check=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 safe_browsing_mode=0'
UNGOOGLED_CHROMIUM_GN_DEFINES+=' chrome_pgo_phase=2 enable_js_type_check=false enable_mse_mpeg2ts_stream_parser=true enable_one_click_signin=false enable_reading_list=false enable_remoting=false enable_reporting=false enable_service_discovery=false safe_browsing_mode=0'
export UNGOOGLED_CHROMIUM_GN_DEFINES
# ungoogled-chromium: binary pruning.
@ -1334,6 +1333,9 @@ fi
%{chromium_path}/chromedriver
%changelog
* Sun Feb 13 2022 wchen342 <[email protected]> - 98.0.4758.80-1
- update Chromium to 98.0.4758.80
* Tue Dec 14 2021 wchen342 <[email protected]> - 96.0.4664.110-1
- update Chromium to 96.0.4664.110
- Enable PGO

Loading…
Cancel
Save