diff --git a/electron-33.3.1.tar.zst b/electron-33.3.1.tar.zst deleted file mode 100644 index 0c5906c..0000000 --- a/electron-33.3.1.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d8e988db1b85ffee080e397cca60b4dd66758a1eb681ca1bf014d5401a3541f3 -size 687262785 diff --git a/electron-33.3.2.tar.zst b/electron-33.3.2.tar.zst new file mode 100644 index 0000000..1861a8b --- /dev/null +++ b/electron-33.3.2.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59b159e1a65872d471ae93838de0e081fc1ebf6aba4c99c1b0fe17f9f1f4b488 +size 687877135 diff --git a/nodejs-electron.changes b/nodejs-electron.changes index a56bf83..558fbed 100644 --- a/nodejs-electron.changes +++ b/nodejs-electron.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Jan 22 22:41:56 UTC 2025 - Bruno Pitrus + +- New upstream release 33.3.2 + * Updated Chromium to 130.0.6723.191 + * fix yellow background of composition text with wayland text-input-v3 + * The avoidClosingConnections option for session.clearData now properly + defaults to false when the dataTypes option is not set. + * Fixed an issue where drag-dropping two directories would cause + getAsFileSystemHandle to never resolve. + * Fixed a potential crash in chrome.tabs.update(). + * security fixes for CVE-2025-0434 CVE-2025-0436 CVE-2025-0437 (bsc#1235892) +- Add string_view-incomplete-CodePointIterator.patch to fix build error + ------------------------------------------------------------------- Tue Jan 14 18:51:39 UTC 2025 - Bruno Pitrus diff --git a/nodejs-electron.spec b/nodejs-electron.spec index 0f7a10f..38e024e 100644 --- a/nodejs-electron.spec +++ b/nodejs-electron.spec @@ -201,7 +201,7 @@ ExcludeArch: %arm Name: nodejs-electron -Version: 33.3.1 +Version: 33.3.2 %global tag_version %version Release: 0 Summary: Build cross platform desktop apps with JavaScript, HTML, and CSS @@ -389,6 +389,7 @@ Patch3182: css_attr_value_tainting-missing-once_flag.patch Patch3183: vtt_scanner-missing-variant.patch Patch3184: electron_usb_delegate-incomplete-UsbDeviceInfo.patch Patch3185: bsc1224178-font-gc.patch +Patch3186: string_view-incomplete-CodePointIterator.patch # Patches to re-enable upstream force disabled features. # There's no sense in submitting them but they may be reused as-is by other packagers. @@ -1195,10 +1196,9 @@ myconf_gn+=" v8_symbol_level=0" %endif %ifarch aarch64 %if %{with lto} -# linker OOM, sorry. -myconf_gn+=' symbol_level=0' -myconf_gn+=' blink_symbol_level=0' -myconf_gn+=' v8_symbol_level=0' +myconf_gn+=' symbol_level=1' +myconf_gn+=' blink_symbol_level=1' +myconf_gn+=' v8_symbol_level=1' %else myconf_gn+=' symbol_level=2' myconf_gn+=' blink_symbol_level=1' diff --git a/string_view-incomplete-CodePointIterator.patch b/string_view-incomplete-CodePointIterator.patch new file mode 100644 index 0000000..17bdf79 --- /dev/null +++ b/string_view-incomplete-CodePointIterator.patch @@ -0,0 +1,61 @@ +In file included from /usr/include/c++/15/string:55, + from /usr/include/c++/15/bits/locale_classes.h:42, + from /usr/include/c++/15/bits/ios_base.h:43, + from /usr/include/c++/15/ios:46, + from /usr/include/c++/15/ostream:42, + from /usr/include/c++/15/bits/unique_ptr.h:43, + from /usr/include/c++/15/memory:80, + from ../../base/check.h:9, + from ../../third_party/blink/renderer/platform/wtf/allocator/allocator.h:8, + from ../../third_party/blink/renderer/platform/wtf/text/atomic_string.h:30: +/usr/include/c++/15/bits/range_access.h: In instantiation of ‘constexpr decltype (__cont.begin()) std::begin(const _Container&) [with _Container = WTF::String; decltype (__cont.begin()) = WTF::CodePointIterator]’: +../../third_party/perfetto/include/perfetto/tracing/traced_value.h:386:25: required by substitution of ‘template typename perfetto::check_traced_value_support()))>::type perfetto::internal::WriteImpl(perfetto::base::priority_tag<1>, perfetto::TracedValue, T&&) [with T = const WTF::String&]’ + 386 | decltype(*std::begin(std::declval()))>::type + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +../../third_party/perfetto/include/perfetto/tracing/traced_value.h:427:24: required by substitution of ‘template using perfetto::check_traced_value_support_t = decltype ((perfetto::internal::WriteImpl(std::declval(), std::declval(), declval()), declval())) [with T = const WTF::String&; Result = int]’ + 427 | internal::WriteImpl( + | ~~~~~~~~~~~~~~~~~~~^ + 428 | std::declval>(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 429 | std::declval(), + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 430 | std::declval()), + | ~~~~~~~~~~~~~~~~~~ +../../third_party/perfetto/include/perfetto/tracing/traced_value.h:465:15: required by substitution of ‘template static char (& perfetto::internal::has_traced_value_support::check_support(perfetto::check_traced_value_support_t))[1] [with V = const WTF::String&]’ + 465 | static Yes& check_support(check_traced_value_support_t); + | ^~~~~~~~~~~~~ +../../third_party/perfetto/include/perfetto/tracing/traced_value.h:470:71: required from ‘constexpr const bool perfetto::internal::has_traced_value_support::value’ + 470 | static constexpr bool value = sizeof(Yes) == sizeof(check_support(0)); + | ~~~~~~~~~~~~~~~~~^~~~ +../../third_party/perfetto/include/perfetto/tracing/traced_value.h:480:46: required from ‘void perfetto::WriteIntoTracedValue(TracedValue, T&&) [with T = const WTF::String&]’ + 480 | internal::has_traced_value_support::value, + | ^~~~~ +../../third_party/blink/renderer/platform/wtf/text/atomic_string.cc:127:33: required from here + 127 | perfetto::WriteIntoTracedValue(std::move(context), GetString()); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/c++/15/bits/range_access.h:66:67: error: invalid use of incomplete type ‘class WTF::CodePointIterator’ + 66 | begin(const _Container& __cont) noexcept(noexcept(__cont.begin())) + | ~~~~~~~~~~~~^~ +In file included from ../../third_party/blink/renderer/platform/wtf/text/atomic_string.h:35: +../../third_party/blink/renderer/platform/wtf/text/string_view.h:31:7: note: forward declaration of ‘class WTF::CodePointIterator’ + 31 | class CodePointIterator; + | ^~~~~~~~~~~~~~~~~ + +--- src/third_party/blink/renderer/platform/wtf/text/string_view.h.orig 2025-01-22 21:21:43.120141300 +0100 ++++ src/third_party/blink/renderer/platform/wtf/text/string_view.h 2025-01-22 23:39:31.542552700 +0100 +@@ -19,6 +19,7 @@ + #include "third_party/abseil-cpp/absl/base/attributes.h" + #include "third_party/blink/renderer/platform/wtf/allocator/allocator.h" + #include "third_party/blink/renderer/platform/wtf/get_ptr.h" ++#include "third_party/blink/renderer/platform/wtf/text/code_point_iterator.h" + #include "third_party/blink/renderer/platform/wtf/text/string_impl.h" + + #if DCHECK_IS_ON() +@@ -28,7 +29,6 @@ + namespace WTF { + + class AtomicString; +-class CodePointIterator; + class String; + + enum UTF8ConversionMode {