Skip to content

Commit 705ca99

Browse files
committed
devel/electron36: update to 36.2.1
Changelog: https://github.com/electron/electron/releases/tag/v36.2.1
1 parent fcc46be commit 705ca99

11 files changed

+54
-41
lines changed

devel/electron36/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ SNDIO_VARS= GN_ARGS+=use_sndio=true
217217
SNDIO_VARS_OFF= GN_ARGS+=use_sndio=false
218218

219219
# See ${WRKSRC}/electron/DEPS for CHROMIUM_VER
220-
CHROMIUM_VER= 136.0.7103.49
220+
CHROMIUM_VER= 136.0.7103.93
221221
# See ${WRKSRC}/electron/DEPS for NODE_VER
222222
NODE_VER= 22.15.0
223223
# See ${WRKSRC}/electron/DEPS for NAN_VER

devel/electron36/Makefile.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ELECTRON_VER= 36.2.0
1+
ELECTRON_VER= 36.2.1
22
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}

devel/electron36/distinfo

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
TIMESTAMP = 1746924726
2-
SHA256 (electron/chromium-136.0.7103.49.tar.xz) = e00fdc12ba53d1c65c129e1476b0a30f6b054892f8ae4bde8f59842de6542435
3-
SIZE (electron/chromium-136.0.7103.49.tar.xz) = 7182205772
1+
TIMESTAMP = 1747316807
2+
SHA256 (electron/chromium-136.0.7103.93.tar.xz) = db98c44d9e47325b79b0aa24885d41e42ed6254973c34ee85f197a510a42f54b
3+
SIZE (electron/chromium-136.0.7103.93.tar.xz) = 7189003340
44
SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1628fb1fd9242315ac54ce2d7c92
55
SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111
6-
SHA256 (electron/electron-yarn-cache-36.2.0.tar.xz) = 95bd287084ffb970f023ff11d8700b543db04a4fb7ccc4692420d2e7ac46f7f5
7-
SIZE (electron/electron-yarn-cache-36.2.0.tar.xz) = 29892300
8-
SHA256 (electron/electron-electron-v36.2.0_GH0.tar.gz) = 1d6d102919dc80df4753f42f274de4256b9e253f890576529a090be475072554
9-
SIZE (electron/electron-electron-v36.2.0_GH0.tar.gz) = 15774986
6+
SHA256 (electron/electron-yarn-cache-36.2.1.tar.xz) = 95bd287084ffb970f023ff11d8700b543db04a4fb7ccc4692420d2e7ac46f7f5
7+
SIZE (electron/electron-yarn-cache-36.2.1.tar.xz) = 29892300
8+
SHA256 (electron/electron-electron-v36.2.1_GH0.tar.gz) = 1336a88dd5fbc49c34939de5eb95000bf4e36400274d59e48d7ee38b45b07090
9+
SIZE (electron/electron-electron-v36.2.1_GH0.tar.gz) = 15777294
1010
SHA256 (electron/nodejs-node-v22.15.0_GH0.tar.gz) = 4f2515e143ffd73f069916ecc5daf503e7a05166c0ae4f1c1f8afdc8ab2f8a82
1111
SIZE (electron/nodejs-node-v22.15.0_GH0.tar.gz) = 122833296
1212
SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb

devel/electron36/files/patch-electron_shell_browser_api_electron__api__web__contents.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2025-05-07 07:36:13 UTC
1+
--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2025-05-12 02:18:43 UTC
22
+++ electron/shell/browser/api/electron_api_web_contents.cc
33
@@ -159,11 +159,11 @@
44
#include "ui/base/cocoa/defaults_utils.h"
@@ -32,7 +32,7 @@
3232
if (auto* linux_ui = ui::LinuxUi::instance())
3333
return linux_ui->GetCursorBlinkInterval();
3434
#elif BUILDFLAG(IS_WIN)
35-
@@ -930,7 +930,7 @@ void WebContents::InitWithSessionAndOptions(
35+
@@ -929,7 +929,7 @@ void WebContents::InitWithSessionAndOptions(
3636
accept_languages.pop_back();
3737
prefs->accept_languages = accept_languages;
3838

@@ -41,7 +41,7 @@
4141
// Update font settings.
4242
static const gfx::FontRenderParams params(
4343
gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
44-
@@ -2665,13 +2665,13 @@ void WebContents::ForcefullyCrashRenderer() {
44+
@@ -2662,13 +2662,13 @@ void WebContents::ForcefullyCrashRenderer() {
4545

4646
content::RenderProcessHost* rph = rwh->GetProcess();
4747
if (rph) {
@@ -57,7 +57,7 @@
5757
CrashDumpHungChildProcess(rph->GetProcess().Handle());
5858
#endif
5959
rph->Shutdown(content::RESULT_CODE_HUNG);
60-
@@ -3362,7 +3362,7 @@ void WebContents::Focus() {
60+
@@ -3339,7 +3339,7 @@ void WebContents::Focus() {
6161
void WebContents::Focus() {
6262
// Focusing on WebContents does not automatically focus the window on macOS
6363
// and Linux, do it manually to match the behavior on Windows.
@@ -66,7 +66,7 @@
6666
if (owner_window())
6767
owner_window()->Focus(true);
6868
#endif
69-
@@ -4238,7 +4238,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
69+
@@ -4215,7 +4215,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
7070
}
7171
#endif
7272

devel/electron36/files/patch-electron_shell_browser_native__window__views.cc

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- electron/shell/browser/native_window_views.cc.orig 2025-05-07 07:36:13 UTC
1+
--- electron/shell/browser/native_window_views.cc.orig 2025-05-12 02:18:43 UTC
22
+++ electron/shell/browser/native_window_views.cc
3-
@@ -50,7 +50,7 @@
3+
@@ -51,7 +51,7 @@
44
#include "ui/wm/core/shadow_types.h"
55
#include "ui/wm/core/window_util.h"
66

@@ -9,7 +9,7 @@
99
#include "base/strings/string_util.h"
1010
#include "shell/browser/browser.h"
1111
#include "shell/browser/linux/unity_service.h"
12-
@@ -294,7 +294,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper:
12+
@@ -295,7 +295,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper:
1313
params.parent = parent->GetNativeWindow();
1414

1515
params.native_widget = new ElectronDesktopNativeWidgetAura(this);
@@ -18,7 +18,7 @@
1818
std::string name = Browser::Get()->GetName();
1919
// Set WM_WINDOW_ROLE.
2020
params.wm_role_name = "browser-window";
21-
@@ -319,7 +319,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper:
21+
@@ -320,7 +320,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper:
2222
std::string window_type;
2323
options.Get(options::kType, &window_type);
2424

@@ -27,7 +27,7 @@
2727
// Set _GTK_THEME_VARIANT to dark if we have "dark-theme" option set.
2828
if (options.ValueOrDefault(options::kDarkTheme, false))
2929
SetGTKDarkThemeEnabled(true);
30-
@@ -426,7 +426,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper:
30+
@@ -427,7 +427,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper:
3131
if (window)
3232
window->AddPreTargetHandler(this);
3333

@@ -36,7 +36,7 @@
3636
// On linux after the widget is initialized we might have to force set the
3737
// bounds if the bounds are smaller than the current display
3838
SetBounds(gfx::Rect(GetPosition(), bounds.size()), false);
39-
@@ -462,7 +462,7 @@ void NativeWindowViews::SetGTKDarkThemeEnabled(bool us
39+
@@ -463,7 +463,7 @@ void NativeWindowViews::SetGTKDarkThemeEnabled(bool us
4040
}
4141

4242
void NativeWindowViews::SetGTKDarkThemeEnabled(bool use_dark_theme) {
@@ -108,7 +108,7 @@
108108
auto display =
109109
display::Screen::GetScreen()->GetDisplayNearestWindow(GetNativeWindow());
110110
gfx::Rect window_bounds_in_screen = display.work_area();
111-
@@ -1361,7 +1361,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men
111+
@@ -1362,7 +1362,7 @@ void NativeWindowViews::SetMenu(ElectronMenuModel* men
112112
}
113113

114114
void NativeWindowViews::SetMenu(ElectronMenuModel* menu_model) {
@@ -117,7 +117,7 @@
117117
// Remove global menu bar.
118118
if (global_menu_bar_ && menu_model == nullptr) {
119119
global_menu_bar_.reset();
120-
@@ -1416,7 +1416,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow*
120+
@@ -1417,7 +1417,7 @@ void NativeWindowViews::SetParentWindow(NativeWindow*
121121
void NativeWindowViews::SetParentWindow(NativeWindow* parent) {
122122
NativeWindow::SetParentWindow(parent);
123123

@@ -126,7 +126,7 @@
126126
if (IsX11()) {
127127
auto* connection = x11::Connection::Get();
128128
connection->SetProperty(
129-
@@ -1462,7 +1462,7 @@ void NativeWindowViews::SetProgressBar(double progress
129+
@@ -1463,7 +1463,7 @@ void NativeWindowViews::SetProgressBar(double progress
130130
NativeWindow::ProgressState state) {
131131
#if BUILDFLAG(IS_WIN)
132132
taskbar_host_.SetProgressBar(GetAcceleratedWidget(), progress, state);
@@ -135,7 +135,7 @@
135135
if (unity::IsRunning()) {
136136
unity::SetProgressFraction(progress);
137137
}
138-
@@ -1556,7 +1556,7 @@ bool NativeWindowViews::IsVisibleOnAllWorkspaces() con
138+
@@ -1557,7 +1557,7 @@ bool NativeWindowViews::IsVisibleOnAllWorkspaces() con
139139
if (const auto* view_native_widget = widget()->native_widget_private())
140140
return view_native_widget->IsVisibleOnAllWorkspaces();
141141

@@ -144,7 +144,7 @@
144144
if (IsX11()) {
145145
// Use the presence/absence of _NET_WM_STATE_STICKY in _NET_WM_STATE to
146146
// determine whether the current window is visible on all workspaces.
147-
@@ -1579,7 +1579,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM
147+
@@ -1580,7 +1580,7 @@ content::DesktopMediaID NativeWindowViews::GetDesktopM
148148
#if BUILDFLAG(IS_WIN)
149149
window_handle =
150150
reinterpret_cast<content::DesktopMediaID::Id>(accelerated_widget);
@@ -153,7 +153,7 @@
153153
window_handle = static_cast<uint32_t>(accelerated_widget);
154154
#endif
155155
aura::WindowTreeHost* const host =
156-
@@ -1677,7 +1677,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC
156+
@@ -1678,7 +1678,7 @@ void NativeWindowViews::SetIcon(HICON window_icon, HIC
157157
SendMessage(hwnd, WM_SETICON, ICON_BIG,
158158
reinterpret_cast<LPARAM>(app_icon_.get()));
159159
}
@@ -162,7 +162,7 @@
162162
void NativeWindowViews::SetIcon(const gfx::ImageSkia& icon) {
163163
auto* tree_host = views::DesktopWindowTreeHostLinux::GetHostForWidget(
164164
GetAcceleratedWidget());
165-
@@ -1773,7 +1773,7 @@ bool NativeWindowViews::CanMinimize() const {
165+
@@ -1774,7 +1774,7 @@ bool NativeWindowViews::CanMinimize() const {
166166
bool NativeWindowViews::CanMinimize() const {
167167
#if BUILDFLAG(IS_WIN)
168168
return minimizable_;
@@ -171,7 +171,7 @@
171171
return true;
172172
#endif
173173
}
174-
@@ -1829,7 +1829,7 @@ void NativeWindowViews::HandleKeyboardEvent(
174+
@@ -1830,7 +1830,7 @@ void NativeWindowViews::HandleKeyboardEvent(
175175
if (widget_destroyed_)
176176
return;
177177

@@ -180,7 +180,7 @@
180180
if (event.windows_key_code == ui::VKEY_BROWSER_BACK)
181181
NotifyWindowExecuteAppCommand(kBrowserBackward);
182182
else if (event.windows_key_code == ui::VKEY_BROWSER_FORWARD)
183-
@@ -1848,7 +1848,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e
183+
@@ -1849,7 +1849,7 @@ void NativeWindowViews::OnMouseEvent(ui::MouseEvent* e
184184
// Alt+Click should not toggle menu bar.
185185
root_view_.ResetAltState();
186186

devel/electron36/files/patch-electron_spec_api-browser-window-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
--- electron/spec/api-browser-window-spec.ts.orig 2025-05-07 07:36:13 UTC
1+
--- electron/spec/api-browser-window-spec.ts.orig 2025-05-12 02:18:43 UTC
22
+++ electron/spec/api-browser-window-spec.ts
33
@@ -69,7 +69,7 @@ describe('BrowserWindow module', () => {
44
}).not.to.throw();
@@ -162,7 +162,7 @@
162162
const w = new BrowserWindow({ show: false });
163163
expect(w.resizable).to.be.true('resizable');
164164

165-
@@ -5430,7 +5430,7 @@ describe('BrowserWindow module', () => {
165+
@@ -5481,7 +5481,7 @@ describe('BrowserWindow module', () => {
166166
});
167167
});
168168

devel/electron36/files/patch-third__party_sqlite_src_amalgamation__dev_sqlite3.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- third_party/sqlite/src/amalgamation_dev/sqlite3.c.orig 2025-03-24 20:50:14 UTC
1+
--- third_party/sqlite/src/amalgamation_dev/sqlite3.c.orig 2025-05-05 19:42:33 UTC
22
+++ third_party/sqlite/src/amalgamation_dev/sqlite3.c
3-
@@ -14187,7 +14187,7 @@ struct fts5_api {
3+
@@ -14486,7 +14486,7 @@ struct fts5_api {
44
** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
55
** it.
66
*/

devel/electron36/files/patch-third__party_sqlite_src_amalgamation_sqlite3.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2024-10-16 21:34:25 UTC
1+
--- third_party/sqlite/src/amalgamation/sqlite3.c.orig 2025-05-05 19:42:33 UTC
22
+++ third_party/sqlite/src/amalgamation/sqlite3.c
3-
@@ -14187,7 +14187,7 @@ struct fts5_api {
3+
@@ -14486,7 +14486,7 @@ struct fts5_api {
44
** But _XOPEN_SOURCE define causes problems for Mac OS X, so omit
55
** it.
66
*/
@@ -9,7 +9,7 @@
99
# define _XOPEN_SOURCE 600
1010
#endif
1111

12-
@@ -45183,7 +45183,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
12+
@@ -45387,7 +45387,12 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
1313
memset(zBuf, 0, nBuf);
1414
randomnessPid = osGetpid(0);
1515
#if !defined(SQLITE_TEST) && !defined(SQLITE_OMIT_RANDOMNESS)
@@ -22,7 +22,7 @@
2222
int fd, got;
2323
fd = robust_open("/dev/urandom", O_RDONLY, 0);
2424
if( fd<0 ){
25-
@@ -45198,6 +45203,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
25+
@@ -45402,6 +45407,7 @@ static int unixRandomness(sqlite3_vfs *NotUsed, int nB
2626
robust_close(0, fd, __LINE__);
2727
}
2828
}

devel/electron36/files/patch-ui_gtk_gtk__compat.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
--- ui/gtk/gtk_compat.cc.orig 2025-05-11 11:50:45 UTC
1+
--- ui/gtk/gtk_compat.cc.orig 2025-05-15 14:01:16 UTC
22
+++ ui/gtk/gtk_compat.cc
33
@@ -65,22 +65,38 @@ void* GetLibGio() {
44
}
55

66
void* GetLibGio() {
77
+#if BUILDFLAG(IS_BSD)
88
+ static void* libgio = DlOpen("libgio-2.0.so");
9-
+#else
9+
+#else
1010
static void* libgio = DlOpen("libgio-2.0.so.0");
1111
+#endif
1212
return libgio;
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- ui/ozone/platform/wayland/host/wayland_frame_manager.cc.orig 2025-05-05 19:42:33 UTC
2+
+++ ui/ozone/platform/wayland/host/wayland_frame_manager.cc
3+
@@ -461,8 +461,10 @@ std::optional<bool> WaylandFrameManager::ApplySurfaceC
4+
surface->UpdateBufferDamageRegion(
5+
gfx::ToEnclosingRectIgnoringError(surface_damage));
6+
7+
+#if !BUILDFLAG(IS_BSD)
8+
if (!config.access_fence_handle.is_null())
9+
surface->set_acquire_fence(std::move(config.access_fence_handle));
10+
+#endif
11+
12+
bool needs_commit = false;
13+

0 commit comments

Comments
 (0)