8
0

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

- 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

OBS-URL: https://build.opensuse.org/request/show/1239717
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=188
This commit is contained in:
2025-01-23 06:06:56 +00:00
committed by Git OBS Bridge
parent 5610438636
commit 59aa1ae529
5 changed files with 83 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d8e988db1b85ffee080e397cca60b4dd66758a1eb681ca1bf014d5401a3541f3
size 687262785

3
electron-33.3.2.tar.zst Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:59b159e1a65872d471ae93838de0e081fc1ebf6aba4c99c1b0fe17f9f1f4b488
size 687877135

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Jan 22 22:41:56 UTC 2025 - Bruno Pitrus <brunopitrus@hotmail.com>
- 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 <brunopitrus@hotmail.com>

View File

@@ -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'

View File

@@ -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<class T> typename perfetto::check_traced_value_support<decltype (* std::begin(declval<T&>()))>::type perfetto::internal::WriteImpl(perfetto::base::priority_tag<1>, perfetto::TracedValue, T&&) [with T = const WTF::String&]
386 | decltype(*std::begin(std::declval<T&>()))>::type
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../../third_party/perfetto/include/perfetto/tracing/traced_value.h:427:24: required by substitution of template<class T, class Result> using perfetto::check_traced_value_support_t = decltype ((perfetto::internal::WriteImpl(std::declval(), std::declval(), declval<T>()), declval<Result>())) [with T = const WTF::String&; Result = int]
427 | internal::WriteImpl(
| ~~~~~~~~~~~~~~~~~~~^
428 | std::declval<base::priority_tag<internal::kMaxWriteImplPriority>>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
429 | std::declval<TracedValue>(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
430 | std::declval<T>()),
| ~~~~~~~~~~~~~~~~~~
../../third_party/perfetto/include/perfetto/tracing/traced_value.h:465:15: required by substitution of template<class V> static char (& perfetto::internal::has_traced_value_support<const WTF::String&>::check_support(perfetto::check_traced_value_support_t<V, int>))[1] [with V = const WTF::String&]
465 | static Yes& check_support(check_traced_value_support_t<V, int>);
| ^~~~~~~~~~~~~
../../third_party/perfetto/include/perfetto/tracing/traced_value.h:470:71: required from constexpr const bool perfetto::internal::has_traced_value_support<const WTF::String&>::value
470 | static constexpr bool value = sizeof(Yes) == sizeof(check_support<T>(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<T>::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 {