Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package nodejs-electron for openSUSE:Factory checked in at 2022-09-23 14:15:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old) and /work/SRC/openSUSE:Factory/.nodejs-electron.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-electron" Fri Sep 23 14:15:25 2022 rev:36 rq:1005553 version:20.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes 2022-09-22 14:49:59.526446453 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-electron.new.2275/nodejs-electron.changes 2022-09-23 14:16:07.926108335 +0200 @@ -1,0 +2,7 @@ +Thu Sep 22 20:58:12 UTC 2022 - Bruno Pitrus <brunopit...@hotmail.com> +- New upstream release 20.2.0 + * Add webFrameMain.origin API + * Update Chromium to 104.0.5112.124 +- Drop electron_serial_delegate-ambiguous-Observer.patch applied upstream + +------------------------------------------------------------------- Old: ---- electron-20.1.4.tar.xz electron_serial_delegate-ambiguous-Observer.patch New: ---- electron-20.2.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs-electron.spec ++++++ --- /var/tmp/diff_new_pack.6oBfjq/_old 2022-09-23 14:16:14.662124037 +0200 +++ /var/tmp/diff_new_pack.6oBfjq/_new 2022-09-23 14:16:14.666124046 +0200 @@ -41,9 +41,6 @@ %{expand:%%global optflags %(echo "%optflags") -march=pentium4 -mtune=generic} %endif -#Electron built with LTO crashes on selecting any text. -#See https://gist.github.com/brjsp/80620a5a0be9efbee6b9154cb127879d for the stack trace. -%bcond_with lto %bcond_without pipewire @@ -92,7 +89,14 @@ #Mold succeeds on ix86 but seems to produce corrupt binaries (no build-id) %bcond_with mold - +%if %{without lld} +#Electron built with LTO crashes on selecting any text. +#See https://gist.github.com/brjsp/80620a5a0be9efbee6b9154cb127879d for the stack trace. +#%%bcond_without lto +%bcond_with lto +%else +%bcond_with lto +%endif %if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150400 || 0%{?fedora} %bcond_without system_harfbuzz @@ -188,7 +192,7 @@ Name: nodejs-electron -Version: 20.1.4 +Version: 20.2.0 Release: 0 Summary: Build cross platform desktop apps with JavaScript, HTML, and CSS License: AFL-2.0 AND Apache-2.0 AND blessing AND BSD-2-Clause AND BSD-3-Clause AND BSD-Protection AND BSD-Source-Code AND bzip2-1.0.6 AND IJG AND ISC AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT AND MIT-CMU AND MIT-open-group AND (MPL-1.1 OR GPL-2.0-or-later OR LGPL-2.1-or-later) AND MPL-2.0 AND OpenSSL AND SGI-B-2.0 AND SUSE-Public-Domain AND X11 @@ -345,7 +349,6 @@ Patch3068: content_language_parser-missing-string.patch Patch3069: aggregatable_attribution_utils-do-not-assume-abseil-ABI.patch Patch3070: content_renderer_client-invalid-application-of-sizeof-to-incomplete-type-cast_streaming-ResourceProvider.patch -Patch3071: electron_serial_delegate-ambiguous-Observer.patch Patch3072: attribution_response_parsing-do-not-assume-abseil-ABI.patch Patch3073: common.gypi-cpp-version.patch Patch3074: extract_first_nonzero_index-neon64.patch @@ -763,6 +766,13 @@ %limit_build -m 2600 %endif +%if %{with lto} && %{without clang} +# reduce the threads for linking even more due to LTO eating ton of memory +_link_threads=$(((%{jobs} - 2))) +test "$_link_threads" -le 0 && _link_threads=1 +export LDFLAGS="-flto=$_link_threads --param lto-max-streaming-parallelism=1" +%endif + gn_system_libraries=( brotli ffmpeg ++++++ electron-20.1.4.tar.xz -> electron-20.2.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs-electron/electron-20.1.4.tar.xz /work/SRC/openSUSE:Factory/.nodejs-electron.new.2275/electron-20.2.0.tar.xz differ: char 15, line 1