1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

devel/electron6: update to 6.1.5

Changes: https://github.com/electron/electron/releases/tag/v6.1.5

Submitted by:	maintainer (via github)
This commit is contained in:
Luca Pizzamiglio 2019-12-04 10:41:03 +00:00
parent 87d6408f12
commit 97dc466cfa
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519008
7 changed files with 32 additions and 22 deletions

View File

@ -65,7 +65,7 @@ GH_TUPLE= nodejs:node:v${NODE_VER}:node
# yaml:pyyaml:3.12:pyyaml \
# kennethreitz:requests:e4d59bedfd3c7f4f254f4f5d036587bcd8152458:requests
ELECTRON_VER= 6.1.4
ELECTRON_VER= 6.1.5
# Official chromium version containing "gn" which is known to work
CHROMIUM_OFFICIAL_VER= 76.0.3809.132
# See ${WRKSRC}/electron/DEPS for CHROMIUM_VER
@ -167,7 +167,7 @@ TEST_ALL_TARGET+= third_party/electron_node:headers
POST_BUILD_TARGETS= licenses version
POST_BUILD_DIST_TARGETS= dist.zip chromedriver.zip mksnapshot.zip
YARN_TIMESTAMP= 1573637891
YARN_TIMESTAMP= 1574834879
PLIST_SUB= ELECTRON_VER=${ELECTRON_VER}

View File

@ -1,15 +1,15 @@
TIMESTAMP = 1573639983
TIMESTAMP = 1574835701
SHA256 (electron/chromium-76.0.3809.146.tar.xz) = 1538c7118fb94c1ba6b6da18f4b8f6a6d303dee855ee0e5c3f9025f17563f3cd
SIZE (electron/chromium-76.0.3809.146.tar.xz) = 1355929024
SHA256 (electron/chromium-76.0.3809.132.tar.xz) = d54e4640b5e399d170dffbc5bcff65157eb1b29314b94b5d808f727d9ce45241
SIZE (electron/chromium-76.0.3809.132.tar.xz) = 728899912
SHA256 (electron/2dd750e768cec597fc018509009637819ae4549c) = d63b5953e3e8a0d6b7ed344043f9ffe7a49ddcf4e591d59aebaf87e299360730
SIZE (electron/2dd750e768cec597fc018509009637819ae4549c) = 4182260
SHA256 (electron/electron-yarn-cache-6.1.4.tar.xz) = f05c5ed9d00bdb28351867f1172af488fc0ff040dece628ebe9e3841b2927d1b
SIZE (electron/electron-yarn-cache-6.1.4.tar.xz) = 36875872
SHA256 (electron/electron-yarn-cache-6.1.5.tar.xz) = f4579c50fea69c8b7339f40b48c62d00bfa7894d50d99ca3dbb531df83e5ce21
SIZE (electron/electron-yarn-cache-6.1.5.tar.xz) = 36875716
SHA256 (electron/a22de844e32a3f720d219e3911c3da3478039f89) = 6e331676d098a57c53c1250821dc47ed84c47f823901bf30c4704df90d8a34be
SIZE (electron/a22de844e32a3f720d219e3911c3da3478039f89) = 17469927
SHA256 (electron/electron-electron-v6.1.4_GH0.tar.gz) = 881ca1f9e0904b0cd193b38b063e878c63926b48317ce356bcaf35aec97e3ad7
SIZE (electron/electron-electron-v6.1.4_GH0.tar.gz) = 4152215
SHA256 (electron/electron-electron-v6.1.5_GH0.tar.gz) = cb22c7d5da659aa5791dda8a6d674ed2822ad3073d9b59f8215627d5876dad84
SIZE (electron/electron-electron-v6.1.5_GH0.tar.gz) = 4158623
SHA256 (electron/nodejs-node-v12.4.0_GH0.tar.gz) = fc7df2a5cdb43b7a186f07a04e6b0f5c5c3b4c117f08185ffec3345613c71d94
SIZE (electron/nodejs-node-v12.4.0_GH0.tar.gz) = 70296027

View File

@ -1,6 +1,6 @@
{
"name": "electron",
"version": "6.1.4",
"version": "6.1.5",
"repository": "https://github.com/electron/electron",
"description": "Build cross platform desktop apps with JavaScript, HTML, and CSS",
"devDependencies": {

View File

@ -1,4 +1,4 @@
--- electron/atom/browser/ui/views/atom_views_delegate.cc.orig 2019-09-11 17:30:11 UTC
--- electron/atom/browser/ui/views/atom_views_delegate.cc.orig 2019-11-20 23:42:47 UTC
+++ electron/atom/browser/ui/views/atom_views_delegate.cc
@@ -9,7 +9,7 @@
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
@ -18,16 +18,16 @@
bool IsDesktopEnvironmentUnity() {
std::unique_ptr<base::Environment> env(base::Environment::Create());
base::nix::DesktopEnvironment desktop_env =
@@ -68,7 +68,7 @@ bool ViewsDelegate::IsWindowInMetro(gfx::NativeWindow
return false;
}
@@ -53,7 +53,7 @@ void ViewsDelegate::NotifyMenuItemFocused(const base::
int item_count,
bool has_submenu) {}
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
gfx::ImageSkia* ViewsDelegate::GetDefaultWindowIcon() const {
return NULL;
}
@@ -100,7 +100,7 @@ void ViewsDelegate::OnBeforeWidgetInit(
@@ -85,7 +85,7 @@ void ViewsDelegate::OnBeforeWidgetInit(
}
bool ViewsDelegate::WindowManagerProvidesTitleBar(bool maximized) {

View File

@ -1,9 +1,9 @@
--- electron/atom/browser/ui/views/atom_views_delegate.h.orig 2019-09-11 17:30:11 UTC
--- electron/atom/browser/ui/views/atom_views_delegate.h.orig 2019-11-20 23:42:47 UTC
+++ electron/atom/browser/ui/views/atom_views_delegate.h
@@ -37,7 +37,7 @@ class ViewsDelegate : public views::ViewsDelegate {
HICON GetDefaultWindowIcon() const override;
HICON GetSmallWindowIcon() const override;
@@ -40,7 +40,7 @@ class ViewsDelegate : public views::ViewsDelegate {
bool IsWindowInMetro(gfx::NativeWindow window) const override;
int GetAppbarAutohideEdges(HMONITOR monitor,
base::OnceClosure callback) override;
-#elif defined(OS_LINUX) && !defined(OS_CHROMEOS)
+#elif (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
gfx::ImageSkia* GetDefaultWindowIcon() const override;

View File

@ -0,0 +1,10 @@
--- electron/lib/browser/rpc-server.js.orig 2019-12-02 12:19:45 UTC
+++ electron/lib/browser/rpc-server.js
@@ -482,6 +482,7 @@ const allowedClipboardMethods = (() => {
case 'darwin':
return new Set(['readFindText', 'writeFindText'])
case 'linux':
+ case 'freebsd':
return new Set(Object.keys(clipboard))
default:
return new Set()

View File

@ -1,6 +1,6 @@
--- electron/spec/chromium-spec.js.orig 2019-09-11 17:30:11 UTC
--- electron/spec/chromium-spec.js.orig 2019-11-20 23:42:47 UTC
+++ electron/spec/chromium-spec.js
@@ -865,7 +865,7 @@ describe('chromium feature', () => {
@@ -866,7 +866,7 @@ describe('chromium feature', () => {
})
it('can be get as context in canvas', () => {
@ -9,7 +9,7 @@
// FIXME(alexeykuzmin): Skip the test.
// this.skip()
return
@@ -1549,12 +1549,13 @@ describe('font fallback', () => {
@@ -1550,12 +1550,13 @@ describe('font fallback', () => {
expect(fonts[0].familyName).to.equal({
'win32': 'Arial',
'darwin': 'Helvetica',