8
0

Accepting request 1207030 from home:dziobian:gulgul-ultron:19

- New upstream release 31.7.0
  * Node 20.18.0
  * Fixed a crash when calling focus on a WebView's webContents.
  * Fixed a potential issue accessing a child window document when overriding browserWindow creation via setWindowOpenHandler.
  * Fixed an issue when dragging to resize when using Window Controls Overlay on Linux.
  * Fixed an issue where an exception could be thrown on BrowserView after its owner BrowserWindow was closed.
  * Fixed an issue where clicking the eyedropper icon did nothing instead of opening an eyedropper for color selection as expected.
  * Ensured that the sender-id hint is set when creating desktop notifications on DBus.
- Drop no longer needed electron-16-webpack-fix-openssl-3.patch
- Print a message to stderr so that support logs shared by end users are clearly distinguished from upstream builds.

OBS-URL: https://build.opensuse.org/request/show/1207030
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=173
This commit is contained in:
2024-10-11 04:46:50 +00:00
committed by Git OBS Bridge
parent 04565962ab
commit 04cc6e12bc
6 changed files with 22 additions and 24 deletions
+14
View File
@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Oct 11 04:37:30 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>
- New upstream release 31.7.0
* Node 20.18.0
* Fixed a crash when calling focus on a WebView's webContents.
* Fixed a potential issue accessing a child window document when overriding browserWindow creation via setWindowOpenHandler.
* Fixed an issue when dragging to resize when using Window Controls Overlay on Linux.
* Fixed an issue where an exception could be thrown on BrowserView after its owner BrowserWindow was closed.
* Fixed an issue where clicking the eyedropper icon did nothing instead of opening an eyedropper for color selection as expected.
* Ensured that the sender-id hint is set when creating desktop notifications on DBus.
- Drop no longer needed electron-16-webpack-fix-openssl-3.patch
- Print a message to stderr so that support logs shared by end users are clearly distinguished from upstream builds.
-------------------------------------------------------------------
Mon Sep 16 17:40:09 UTC 2024 - Bruno Pitrus <brunopitrus@hotmail.com>
+1 -4
View File
@@ -229,7 +229,7 @@ BuildArch: i686
Name: nodejs-electron
Version: 31.6.0
Version: 31.7.0
%global tag_version %version
Release: 0
Summary: Build cross platform desktop apps with JavaScript, HTML, and CSS
@@ -347,9 +347,6 @@ Patch2012: chromium-94-ffmpeg-roll.patch
# 'nomerge' attribute cannot be applied to a declaration
# See https://reviews.llvm.org/D92800
Patch2022: electron-13-fix-base-check-nomerge.patch
# Fix electron patched code
#Patch2024: electron-16-std-vector-non-const.patch
Patch2029: electron-16-webpack-fix-openssl-3.patch
Patch2031: partition_alloc-no-lto.patch
Patch2032: seccomp_bpf-no-lto.patch
Patch2034: swiftshader-LLVMJIT-AddressSanitizerPass-dead-code-remove.patch
-17
View File
@@ -1,17 +0,0 @@
Index: electron-16.0.9/electron/build/webpack/webpack.config.base.js
===================================================================
--- electron-16.0.9.orig/electron/build/webpack/webpack.config.base.js 2022-02-16 16:41:24.767092075 +0100
+++ electron-16.0.9/electron/build/webpack/webpack.config.base.js 2022-02-17 11:10:51.379512377 +0100
@@ -1,5 +1,12 @@
const fs = require('node:fs');
const path = require('node:path');
+
+// HACK: OpenSSL 3 does not support md4 any more, but webpack hardcodes it all
+// over the place: https://github.com/webpack/webpack/issues/13572
+const crypto = require("crypto");
+const crypto_orig_createHash = crypto.createHash;
+crypto.createHash = algorithm => crypto_orig_createHash(algorithm == "md4" ? "sha256" : algorithm);
+
const webpack = require('webpack');
const TerserPlugin = require('terser-webpack-plugin');
const WrapperPlugin = require('wrapper-webpack-plugin');
-3
View File
@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6e188fe49c43ec91c53261b38212c042951c2d2e246dd24cc3c8725f46609e35
size 603436922
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11f379ba8f79b40a01ce275b80f0fe7ea3f6e442eb24b7c5dad228f294bf92fd
size 603711246
+4
View File
@@ -1,5 +1,9 @@
#!/bin/bash
>&2 echo 'This build of Electron is provided by openSUSE and contains various modifications.'
>&2 echo 'Please report problems at https://bugzilla.opensuse.org/enter_bug.cgi?classification=openSUSE and not to upstream bug trackers.'
set -euo pipefail
name=electron