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-10-30 18:29:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old) and /work/SRC/openSUSE:Factory/.nodejs-electron.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-electron" Sun Oct 30 18:29:01 2022 rev:40 rq:1032255 version:21.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes 2022-10-26 12:42:47.577723986 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-electron.new.2275/nodejs-electron.changes 2022-10-30 18:29:25.166573549 +0100 @@ -1,0 +2,11 @@ +Fri Oct 28 05:00:28 UTC 2022 - Bruno Pitrus <brunopit...@hotmail.com> +- New upstream release 21.2.0 + * Set app's desktop file name and v8 flags according to package.json. + * Removed support for nodeIntegrationInWorker in Service Workers and Shared Workers owing to sandboxing policies. + * Updated Chromium to 106.0.5249.119. +- Do not compile PPAPI support since we don't use it. + * fix-no-ppapi-build.patch +- Enable JXL imageformat support as it is exposed by element-desktop. + * enable-jxl.patch + +------------------------------------------------------------------- Old: ---- electron-21.1.1.tar.xz New: ---- electron-21.2.0.tar.xz enable-jxl.patch fix-no-ppapi-build.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs-electron.spec ++++++ --- /var/tmp/diff_new_pack.sjWJeR/_old 2022-10-30 18:29:30.174600609 +0100 +++ /var/tmp/diff_new_pack.sjWJeR/_new 2022-10-30 18:29:30.178600631 +0100 @@ -206,7 +206,7 @@ Name: nodejs-electron -Version: 21.1.1 +Version: 21.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 @@ -253,6 +253,7 @@ Patch68: do-not-build-libvulkan.so.patch Patch69: nasm-generate-debuginfo.patch Patch70: disable-fuses.patch +Patch71: enable-jxl.patch # PATCHES to use system libs Patch1002: chromium-system-libusb.patch @@ -338,6 +339,7 @@ Patch3085: half_float-Wstrict-aliasing.patch Patch3086: unzip-Wsubobject-linkage.patch Patch3087: v8_initializer-PageAllocator-fpermissive.patch +Patch3088: fix-no-ppapi-build.patch %if %{with clang} BuildRequires: clang @@ -399,7 +401,9 @@ %if %{with mold} BuildRequires: mold %endif +%ifarch %ix86 x86_64 BuildRequires: nasm +%endif %if 0%{?suse_version} BuildRequires: ninja >= 1.7.2 %else @@ -760,7 +764,7 @@ %ifarch %ix86 %arm #try to reduce memory -%if %{without lld} +%if %{without lld} && %{without mold} %if %{with gold} export LDFLAGS="${LDFLAGS} -Wl,--no-map-whole-files -Wl,--no-keep-memory -Wl,--no-keep-files-mapped" @@ -813,12 +817,13 @@ %ifarch aarch64 _link_threads=1 +%if %{without mold} %if %{with gold} export LDFLAGS="${LDFLAGS} -Wl,--no-map-whole-files -Wl,--no-keep-memory -Wl,--no-keep-files-mapped" %else export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--hash-size=30 -Wl,--reduce-memory-overheads" %endif - +%endif %endif test "$_link_threads" -le 0 && _link_threads=1 @@ -1028,7 +1033,9 @@ myconf_gn+=" enable_print_preview=false" myconf_gn+=" enable_basic_printing=false" - +#do not build chrome pepper plugins support +myconf_gn+=" enable_plugins=false" +myconf_gn+=" enable_ppapi=false" # This requires the non-free closure_compiler.jar. If we ever need to build chrome with JS typecheck, # we would need to package it separately and compile it from sources, since the chrome git repo @@ -1038,7 +1045,7 @@ # The option below get overriden by whatever is in CFLAGS/CXXFLAGS, so they affect only C++ code. # symbol_level=2 is full debug # symbol_level=1 is enough info for stacktraces -# symbol_level=0 disable debug +# symbol_level=0 no debuginfo (only function names in private symbols) # blink (HTML engine) and v8 (js engine) are template-heavy, trying to compile them with full debug leads to linker errors %ifnarch %ix86 %arm aarch64 %if %{without lto} @@ -1050,9 +1057,10 @@ myconf_gn+=" v8_symbol_level=1" %endif %ifarch %ix86 %arm -myconf_gn+=" symbol_level=0" #Sorry, no debug on 32bit for now. -myconf_gn+=" blink_symbol_level=0" #Sorry, no debug on 32bit for now. -myconf_gn+=" v8_symbol_level=0" #Sorry, no debug on 32bit for now. +#Sorry, no debug on 32bit. +myconf_gn+=" symbol_level=0" +myconf_gn+=" blink_symbol_level=0" +myconf_gn+=" v8_symbol_level=0" %endif %ifarch aarch64 #???No space left on device??? with symbol level 2 myconf_gn+=" symbol_level=1" ++++++ electron-21.1.1.tar.xz -> electron-21.2.0.tar.xz ++++++ /work/SRC/openSUSE:Factory/nodejs-electron/electron-21.1.1.tar.xz /work/SRC/openSUSE:Factory/.nodejs-electron.new.2275/electron-21.2.0.tar.xz differ: char 15, line 1 ++++++ enable-jxl.patch ++++++ Enable JXL imageformat support, it is exposed by element-desktop. --- a/third_party/blink/common/features.cc +++ b/third_party/blink/common/features.cc @@ -767,7 +767,7 @@ "OffsetParentNewSpecBehavior", base::FEATURE_DISABLED_BY_DEFAULT}; // Enables the JPEG XL Image File Format (JXL). -const base::Feature kJXL{"JXL", base::FEATURE_DISABLED_BY_DEFAULT}; +const base::Feature kJXL{"JXL", base::FEATURE_ENABLED_BY_DEFAULT}; // Make all pending 'display: auto' web fonts enter the swap or failure period // immediately before reaching the LCP time limit (~2500ms), so that web fonts ++++++ fix-no-ppapi-build.patch ++++++ Fix linker error in dead code (doesnt happen with LTO) when enable_ppapi=false --- src/electron/BUILD.gn.orig 2022-10-20 18:35:58.433896013 +0200 +++ src/electron/BUILD.gn 2022-10-27 10:17:35.131568660 +0200 @@ -628,6 +628,10 @@ "//ppapi/proxy", "//ppapi/shared_impl", ] + sources += [ + "shell/renderer/electron_renderer_pepper_host_factory.cc", + "shell/renderer/electron_renderer_pepper_host_factory.h", + ] } if (enable_run_as_node) { --- src/electron/filenames.gni.orig 2022-10-20 18:35:58.497928015 +0200 +++ src/electron/filenames.gni 2022-10-27 10:17:06.415830980 +0200 @@ -671,8 +671,6 @@ "shell/renderer/electron_render_frame_observer.h", "shell/renderer/electron_renderer_client.cc", "shell/renderer/electron_renderer_client.h", - "shell/renderer/electron_renderer_pepper_host_factory.cc", - "shell/renderer/electron_renderer_pepper_host_factory.h", "shell/renderer/electron_sandboxed_renderer_client.cc", "shell/renderer/electron_sandboxed_renderer_client.h", "shell/renderer/guest_view_container.cc",