Skip to content
Snippets Groups Projects
Commit f8f8e7f7 authored by Hiroki Tagato's avatar Hiroki Tagato
Browse files
parent a361eabc
No related branches found
No related tags found
No related merge requests found
PORTNAME= electron
DISTVERSIONPREFIX= v
DISTVERSION= ${ELECTRON_VER:S/-beta./.b/}
PORTREVISION= 1
CATEGORIES= devel java
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/:chromium_official \
https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \
......@@ -130,7 +128,7 @@ NODE_VER= 12.18.3
# See ${WRKSRC}/electron/DEPS for NAN_VER
NAN_VER= 2c4ee8a32a299eada3cd6e468bbd0a473bfea96d
YARN_TIMESTAMP= 1613819499
YARN_TIMESTAMP= 1617522362
GN_ARGS+= clang_use_chrome_plugins=false \
enable_hangout_services_extension=true \
......
ELECTRON_VER= 11.3.0
ELECTRON_VER= 11.4.2
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
TIMESTAMP = 1613820027
TIMESTAMP = 1617522634
SHA256 (electron/chromium-87.0.4280.141.tar.xz) = 147591d7fc21e1a173701d28bbf35baddb91e64dd96ec16d8eee9a5113403375
SIZE (electron/chromium-87.0.4280.141.tar.xz) = 856467564
SHA256 (electron/a9603a3dc03fa41af9cc5c8ac28d23d1f98dfe3c) = b8b23fa102ddea8b6b4b6b9161c76636fd48b37e6bcfe955e56bfe04e31ba13b
SIZE (electron/a9603a3dc03fa41af9cc5c8ac28d23d1f98dfe3c) = 8072260
SHA256 (electron/cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb) = ec973eccd669d417fbf2d0a4dac730744a3174268ff062db5451b55c82bc3492
SIZE (electron/cd96fc55dc243f6c6f4cb63ad117cad6cd48dceb) = 26759650
SHA256 (electron/electron-yarn-cache-11.3.0.tar.xz) = 7c38834e79bb9cbbd7ce621ddd49d81764a145bf33785bf8c26a207e6f4394c2
SIZE (electron/electron-yarn-cache-11.3.0.tar.xz) = 27493852
SHA256 (electron/electron-electron-v11.3.0_GH0.tar.gz) = d7555f83c40be0664577a150814868481e2c8894960510bc1eca5d8e748d74cd
SIZE (electron/electron-electron-v11.3.0_GH0.tar.gz) = 6290962
SHA256 (electron/electron-yarn-cache-11.4.2.tar.xz) = 6855781d438f4f542604faffb84f53a8405457ca4f824a45c88b708d20d19de2
SIZE (electron/electron-yarn-cache-11.4.2.tar.xz) = 27493860
SHA256 (electron/electron-electron-v11.4.2_GH0.tar.gz) = 807383d378243b7a11ec94c47c7384e1b5963c0b1a0abd8667f1e4525d224f60
SIZE (electron/electron-electron-v11.4.2_GH0.tar.gz) = 6392036
SHA256 (electron/nodejs-node-v12.18.3_GH0.tar.gz) = 6e2730c9284906a0f34cd7c64540c891c0e363323c46e9fc005c6366ddf389c6
SIZE (electron/nodejs-node-v12.18.3_GH0.tar.gz) = 77078855
SHA256 (electron/nodejs-nan-2c4ee8a32a299eada3cd6e468bbd0a473bfea96d_GH0.tar.gz) = e4ff33afb043329429c9551d3cc983786553a310a7d61ee313485ba3ac9b2b15
......
{
"name": "electron",
"version": "11.3.0",
"version": "11.4.2",
"repository": "https://github.com/electron/electron",
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
"devDependencies": {
......
--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2021-02-19 19:40:19 UTC
--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2021-03-23 15:10:33 UTC
+++ electron/shell/browser/api/electron_api_web_contents.cc
@@ -123,11 +123,11 @@
#include "ui/base/cocoa/defaults_utils.h"
......@@ -32,7 +32,7 @@
// Update font settings.
static const base::NoDestructor<gfx::FontRenderParams> params(
gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
@@ -1817,7 +1817,7 @@ void WebContents::ForcefullyCrashRenderer() {
@@ -1816,7 +1816,7 @@ void WebContents::ForcefullyCrashRenderer() {
content::RenderProcessHost* rph = rwh->GetProcess();
if (rph) {
......@@ -41,7 +41,7 @@
// A generic |CrashDumpHungChildProcess()| is not implemented for Linux.
// Instead we send an explicit IPC to crash on the renderer's IO thread.
rph->ForceCrash();
@@ -2396,7 +2396,7 @@ void WebContents::CopyImageAt(int x, int y) {
@@ -2395,7 +2395,7 @@ void WebContents::CopyImageAt(int x, int y) {
void WebContents::Focus() {
// Focusing on WebContents does not automatically focus the window on macOS
// and Linux, do it manually to match the behavior on Windows.
......
--- electron/shell/browser/electron_browser_main_parts.cc.orig 2021-02-19 19:40:19 UTC
--- electron/shell/browser/electron_browser_main_parts.cc.orig 2021-04-02 17:02:59 UTC
+++ electron/shell/browser/electron_browser_main_parts.cc
@@ -359,7 +359,7 @@ int ElectronBrowserMainParts::PreCreateThreads() {
@@ -362,7 +362,7 @@ int ElectronBrowserMainParts::PreCreateThreads() {
// happen before the ResourceBundle is loaded
if (locale.empty())
l10n_util::OverrideLocaleWithCocoaLocale();
......@@ -9,7 +9,7 @@
// l10n_util::GetApplicationLocaleInternal uses g_get_language_names(),
// which keys off of getenv("LC_ALL").
// We must set this env first to make ui::ResourceBundle accept the custom
@@ -382,7 +382,7 @@ int ElectronBrowserMainParts::PreCreateThreads() {
@@ -385,7 +385,7 @@ int ElectronBrowserMainParts::PreCreateThreads() {
ElectronBrowserClient::SetApplicationLocale(app_locale);
fake_browser_process_->SetApplicationLocale(app_locale);
......
--- electron/shell/browser/native_window_views.cc.orig 2021-02-19 19:40:19 UTC
--- electron/shell/browser/native_window_views.cc.orig 2021-04-02 17:02:59 UTC
+++ electron/shell/browser/native_window_views.cc
@@ -306,7 +306,7 @@ NativeWindowViews::NativeWindowViews(const gin_helper:
last_window_state_ = ui::SHOW_STATE_NORMAL;
......@@ -18,7 +18,7 @@
aura::Window* window = GetNativeWindow();
if (window)
window->RemovePreTargetHandler(this);
@@ -1375,7 +1375,7 @@ void NativeWindowViews::OnWidgetBoundsChanged(views::W
@@ -1386,7 +1386,7 @@ void NativeWindowViews::OnWidgetBoundsChanged(views::W
}
void NativeWindowViews::OnWidgetDestroying(views::Widget* widget) {
......@@ -27,7 +27,7 @@
aura::Window* window = GetNativeWindow();
if (window)
window->RemovePreTargetHandler(this);
@@ -1485,7 +1485,7 @@ void NativeWindowViews::HandleKeyboardEvent(
@@ -1496,7 +1496,7 @@ void NativeWindowViews::HandleKeyboardEvent(
if (widget_destroyed_)
return;
......@@ -36,7 +36,7 @@
if (event.windows_key_code == ui::VKEY_BROWSER_BACK)
NotifyWindowExecuteAppCommand(kBrowserBackward);
else if (event.windows_key_code == ui::VKEY_BROWSER_FORWARD)
@@ -1497,7 +1497,7 @@ void NativeWindowViews::HandleKeyboardEvent(
@@ -1508,7 +1508,7 @@ void NativeWindowViews::HandleKeyboardEvent(
root_view_->HandleKeyEvent(event);
}
......
--- electron/spec-main/api-browser-window-spec.ts.orig 2021-02-02 17:38:53 UTC
--- electron/spec-main/api-browser-window-spec.ts.orig 2021-03-23 15:10:33 UTC
+++ electron/spec-main/api-browser-window-spec.ts
@@ -57,7 +57,7 @@ describe('BrowserWindow module', () => {
}).not.to.throw();
......@@ -27,7 +27,7 @@
it('checks normal bounds when minimized', async () => {
const bounds = w.getBounds();
const minimize = emittedOnce(w, 'minimize');
@@ -1669,7 +1669,7 @@ describe('BrowserWindow module', () => {
@@ -1685,7 +1685,7 @@ describe('BrowserWindow module', () => {
describe('BrowserWindow.setOpacity(opacity)', () => {
afterEach(closeAllWindows);
......@@ -36,7 +36,7 @@
it('make window with initial opacity', () => {
const w = new BrowserWindow({ show: false, opacity: 0.5 });
expect(w.getOpacity()).to.equal(0.5);
@@ -1695,7 +1695,7 @@ describe('BrowserWindow module', () => {
@@ -1711,7 +1711,7 @@ describe('BrowserWindow module', () => {
});
});
......@@ -45,7 +45,7 @@
it('sets 1 regardless of parameter', () => {
const w = new BrowserWindow({ show: false });
w.setOpacity(0);
@@ -2531,7 +2531,7 @@ describe('BrowserWindow module', () => {
@@ -2547,7 +2547,7 @@ describe('BrowserWindow module', () => {
expect(test.version).to.equal(process.version);
expect(test.versions).to.deep.equal(process.versions);
......@@ -54,7 +54,7 @@
expect(test.creationTime).to.be.null('creation time');
expect(test.systemMemoryInfo).to.be.null('system memory info');
} else {
@@ -3057,7 +3057,7 @@ describe('BrowserWindow module', () => {
@@ -3073,7 +3073,7 @@ describe('BrowserWindow module', () => {
});
});
......@@ -63,7 +63,7 @@
afterEach(closeAllWindows);
it('emits an event when window is maximized', async () => {
const w = new BrowserWindow({ show: false });
@@ -3635,7 +3635,7 @@ describe('BrowserWindow module', () => {
@@ -3651,7 +3651,7 @@ describe('BrowserWindow module', () => {
});
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment