commit nodejs-electron for openSUSE:Factory
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 2023-08-31 13:45:49 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs-electron (Old) and /work/SRC/openSUSE:Factory/.nodejs-electron.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nodejs-electron" Thu Aug 31 13:45:49 2023 rev:76 rq:1108107 version:22.3.22 Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs-electron/nodejs-electron.changes 2023-08-20 00:15:18.435363930 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-electron.new.1766/nodejs-electron.changes 2023-08-31 13:51:39.188951487 +0200 @@ -1,0 +2,9 @@ +Mon Aug 28 15:59:52 UTC 2023 - Bruno Pitrus <brunopitrus@hotmail.com> + +- New upstream release 22.3.22 + * Fixed decorations for tiled windows on Wayland. + * Security fixes for V8 (CVE-2023-4355, CVE-2023-4352), Skia (CVE-2023-4354), ANGLE (CVE-2023-4353), and Network (CVE-2023-4351) +- Clean up third_party/… in tarball. + * drop chromium-99-pdfium-system-libtiff.patch which is dead code + +------------------------------------------------------------------- Old: ---- chromium-99-pdfium-system-libtiff.patch electron-22.3.21.tar.zst New: ---- electron-22.3.22.tar.zst ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs-electron.spec ++++++ --- /var/tmp/diff_new_pack.6lgH1q/_old 2023-08-31 13:51:51.813402715 +0200 +++ /var/tmp/diff_new_pack.6lgH1q/_new 2023-08-31 13:51:51.817402858 +0200 @@ -76,6 +76,11 @@ # Linker selection. GCC only. Default is BFD. # You can try different ones if it has problems. # arm64 reports relocation errors with BFD. +# obj/third_party/electron_node/deps/uv/uv/threadpool.o: in function `init_once': +# /home/abuild/rpmbuild/BUILD/src/out/Release/../../third_party/electron_node/deps/uv/src/threadpool.c:254:(.text+0x2bc): relocation truncated to fit: R_AARCH64_CALL26 against symbol `pthread_atfork' defined in .text section in /usr/lib64/libc_nonshared.a(pthread_atfork.oS) +# obj/third_party/electron_node/node_lib/embed_helpers.o: in function `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > node::SPrintFImpl<char const*>(char const*, char const*&&)': +# /home/abuild/rpmbuild/BUILD/src/out/Release/../../third_party/electron_node/src/debug_utils-inl.h:76:(.text.unlikely._ZN4node11SPrintFImplIPKcJEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_OT_DpOT0_[_ZN4node11SPrintFImplIPKcJEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES2_OT_DpOT0_]+0x50): relocation truncated to fit: R_AARCH64_CALL26 against symbol `node::Assert(node::AssertionInfo const&)' defined in .text section in obj/third_party/electron_node/node_lib/node_errors.o + %if 0%{?suse_version} %ifarch aarch64 %bcond_without gold @@ -212,7 +217,7 @@ Name: nodejs-electron -Version: 22.3.21 +Version: 22.3.22 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 @@ -284,8 +289,6 @@ Patch1041: system-zlib.patch Patch1044: replace_gn_files-system-libs.patch Patch1045: angle-system-xxhash.patch -# https://svnweb.mageia.org/packages/cauldron/chromium-browser-stable/current/... -Patch1046: chromium-99-pdfium-system-libtiff.patch Patch1047: cares_public_headers.patch Patch1048: chromium-remove-bundled-roboto-font.patch Patch1053: swiftshader-use-system-llvm.patch @@ -900,25 +903,19 @@ %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))) +%if %{with lto} && %{without clang} %ifarch aarch64 -_link_threads=1 +# reduce the threads for linking even more due to LTO eating ton of memory +# [This is not used currently — these settings still get us OOM on 20GB memory] +_link_threads=$(((%{jobs} - 6))) -%if %{without mold} -%if %{with gold} -export LDFLAGS="${LDFLAGS} -Wl,--no-map-whole-files -Wl,--no-keep-memory -Wl,--no-keep-files-mapped" +test "$_link_threads" -le 0 && _link_threads=1 +export LDFLAGS="$LDFLAGS -flto=$_link_threads --param lto-max-streaming-parallelism=1 -Wl,--no-keep-memory -Wl,--reduce-memory-overheads" %else -export LDFLAGS="${LDFLAGS} -Wl,--no-keep-memory -Wl,--hash-size=30 -Wl,--reduce-memory-overheads" -%endif +# x64 is fine with the the default settings (the machines have 30GB+ ram) +export LDFLAGS="$LDFLAGS -flto=auto" %endif -export LDFLAGS="$LDFLAGS --param ggc-min-expand=30 --param ggc-min-heapsize=4096" - -%endif -test "$_link_threads" -le 0 && _link_threads=1 -export LDFLAGS="$LDFLAGS -flto=$_link_threads --param lto-max-streaming-parallelism=1" %endif gn_system_libraries=( @@ -1388,10 +1385,6 @@ ln -srv third_party/angle/src/compiler/translator/glslang.l -t out/Release ln -srv third_party/angle/src/compiler/preprocessor/preprocessor.l -t out/Release ln -srv third_party -t out/Release -ln -srv third_party/libvpx -t third_party/libvpx/source/libvpx/third_party -ln -srv third_party -t third_party/libvpx/source/libvpx/vp8 -ln -srv third_party -t third_party/libvpx/source/libvpx/vp9 -ln -srv third_party -t third_party/libvpx/source %files %license electron/LICENSE out/Release/LICENSES.chromium.html ++++++ _constraints ++++++ --- /var/tmp/diff_new_pack.6lgH1q/_old 2023-08-31 13:51:51.905406003 +0200 +++ /var/tmp/diff_new_pack.6lgH1q/_new 2023-08-31 13:51:51.909406146 +0200 @@ -1,35 +1,46 @@ <?xml version="1.0"?> <constraints> - <hardware> - <disk> - <size unit="G">24</size> - </disk> - <memory> - <size unit="G">8</size> - </memory> - <jobs>6</jobs> - </hardware> - <overwrite> - <conditions> - <arch>x86_64</arch> - <arch>i586</arch> - </conditions> - <hardware> - <memory> - <size unit="G">27</size> - </memory> - <jobs>12</jobs> - </hardware> - </overwrite> - <overwrite> - <conditions> - <arch>aarch64</arch> - </conditions> - <hardware> - <cpu> - <flag>asimdrdm</flag> <!-- prevent scheduling on old machines --> - </cpu> - </hardware> - </overwrite> + <hardware> + <disk> + <size unit="G">24</size> + </disk> + <memory> + <size unit="G">8</size> + </memory> + <jobs>6</jobs> + </hardware> + <overwrite> + <conditions> + <arch>aarch64</arch> + </conditions> + <hardware> + <memory> + <size unit="G">20</size> + </memory> + </hardware> + </overwrite> + <overwrite> + <conditions> + <arch>x86_64</arch> + </conditions> + <hardware> + <memory> + <size unit="G">30</size> + </memory> + <jobs>8</jobs> + </hardware> + </overwrite> + <overwrite> + <conditions> + <arch>aarch64</arch> + <arch>armv7l</arch> + <arch>armv6l</arch> + </conditions> + <hardware> + <cpu> + <flag>asimdrdm</flag> <!-- prevent scheduling on old machines --> + </cpu> + </hardware> + </overwrite> </constraints> ++++++ create_tarball.sh ++++++ --- /var/tmp/diff_new_pack.6lgH1q/_old 2023-08-31 13:51:52.029410435 +0200 +++ /var/tmp/diff_new_pack.6lgH1q/_new 2023-08-31 13:51:52.033410579 +0200 @@ -230,7 +230,7 @@ third_party/libaom/source/libaom/third_party/vector third_party/libaom/source/libaom/third_party/x86inc third_party/libavif #leap too old - third_party/libgav1 #Usage of private headers (ObuFrameHeader from utils/types.h) + #third_party/libgav1 #Usage of private headers (ObuFrameHeader from utils/types.h) in VAAPI code only third_party/libjxl #not in Leap third_party/libphonenumber #Depends on protobuf which cannot be unbundled third_party/libsrtp #Use of private headers. they were public in libsrtp1 @@ -238,8 +238,8 @@ third_party/libudev #Headers for a optional delay-loaded dependency third_party/liburlpattern #Derived code, not vendored dep. third_party/libva_protected_content #ChromeOS header not available separately. needed for build. - third_party/libvpx #Use of private headers in VAAPI code only. - third_party/libvpx/source/libvpx/third_party/x86inc + #third_party/libvpx #Use of private headers in VAAPI code only. + #third_party/libvpx/source/libvpx/third_party/x86inc third_party/libwebm #Usage of private headers (mkvparser/mkvmuxer) third_party/libx11 #Derived code, not vendored dep third_party/libxcb-keysyms #Derived code, not vendored dep @@ -257,14 +257,15 @@ third_party/one_euro_filter #not in any distro third_party/openscreen #Integral part of chrome, needed even if you're building without. third_party/openscreen/src/third_party/mozilla #derived code, not vendored dependency - third_party/openscreen/src/third_party/tinycbor/src/src #not in any distro + third_party/openscreen/src/third_party/tinycbor #not in any distro third_party/ots #not available as a shared library. Fedora has the cli version as opentype-sanitizer - third_party/pdfium #Integral part of chrome - third_party/pdfium/third_party/agg23 #Heavily patched version. Fedora has it as agg - third_party/pdfium/third_party/base #derived code, not vendored dependency - third_party/pdfium/third_party/bigint #not on any distro - third_party/pdfium/third_party/freetype #Copy of private headers - third_party/pdfium/third_party/skia_shared #Skia is not available as a shared library yet. + #we don't build pdf support, removing it from tarball to save space + #third_party/pdfium #Part of chrome, not available separately. + #third_party/pdfium/third_party/agg23 #Heavily patched version. Fedora has it as agg + #third_party/pdfium/third_party/base #derived code, not vendored dependency + #third_party/pdfium/third_party/bigint #not on any distro + #third_party/pdfium/third_party/freetype #Copy of private headers + #third_party/pdfium/third_party/skia_shared #Skia is not available as a shared library yet. third_party/perfetto #Seems not to be available as a shared library, despite the presence of a `debian` directory. third_party/perfetto/protos/third_party/chromium #derived code, not vendored dep third_party/pffft #not in any distro, also heavily patched @@ -355,6 +356,7 @@ rm -rf third_party/catapult/tracing/test_data # 200MB rm -rf third_party/sqlite/src/test #86MB find chrome/test/data -type f ! -name "*.gn" -a ! -name "*.gni" -delete #249MB, thanks Mageia +find third_party/hunspell_dictionaries -type f ! -name "*.gn" -a ! -name "*.gni" -delete #262MB #see electron/.circleci/config/base.yml rm -rf android_webview
participants (1)
-
Source-Sync