File not found: DesktopNativeWidgetAura-HandleActivationChanged-crash.patch

Build cross platform desktop apps with JavaScript, HTML, and CSS

Edit Package nodejs-electron
https://github.com/electron/electron

Nodejs application: Build cross platform desktop apps with JavaScript, HTML, and CSS

Refresh
Refresh
Source Files
Filename Size Changed
ANNOTATE_CONTIGUOUS_CONTAINER-Wodr.patch 0000011362 11.1 KB
BlobCache-Success.patch 0000000979 979 Bytes
Cr122-ffmpeg-new-channel-layout.patch 0000017840 17.4 KB
Electron.desktop 0000000164 164 Bytes
RenderFrameHostImpl-use-after-free.patch 0000001952 1.91 KB
_constraints 0000000619 619 Bytes
aarch64-Xclang.patch 0000000529 529 Bytes
absl2023-encapsulated_web_transport-StrCat.patch 0000000709 709 Bytes
absl_strings-missing-headers.patch 0000001188 1.16 KB
angle-BlobCache-Success.patch 0000000438 438 Bytes
angle-SPV_BINARY_TO_TEXT_OPTION_NESTED_INDENT.patch 0000003237 3.16 KB
angle-system-xxhash.patch 0000001267 1.24 KB
aom-vpx-no-thread-wrapper.patch 0000002238 2.19 KB
audio_file_reader-ffmpeg-AVFrame-duration.patch 0000002716 2.65 KB
ax_platform_node_id-fpermissive.patch 0000000486 486 Bytes
base-system-nspr.patch 0000001323 1.29 KB
brotli-remove-shared-dictionary.patch 0000003054 2.98 KB
browser_process_impl-fix-safe_browsing_mode-0.patch 0000002089 2.04 KB
bsc1224178-font-gc.patch 0000064826 63.3 KB
build-without-extensions.patch 0000002915 2.85 KB
build-without-guest-view.patch 0000001245 1.22 KB
build-without-mesage-center.patch 0000000507 507 Bytes
cares_public_headers.patch 0000000395 395 Bytes
chromium-102-compiler.patch 0000010382 10.1 KB
chromium-118-sigtrap_system_ffmpeg.patch 0000000845 845 Bytes
chromium-123-qrcode.patch 0000002100 2.05 KB
chromium-125-cloud_authenticator.patch 0000000238 238 Bytes
chromium-127-cargo_crate.patch 0000000299 299 Bytes
chromium-127-crabby.patch 0000001645 1.61 KB
chromium-129-disable-H.264-video-parser-during-demuxing.patch 0000000779 779 Bytes
chromium-130-fontations.patch 0000007334 7.16 KB
chromium-132-no-rust.patch 0000011613 11.3 KB
chromium-91-java-only-allowed-in-android-builds.patch 0000000722 722 Bytes
chromium-93-ffmpeg-4.4.patch 0000002129 2.08 KB
chromium-94.0.4606.71-InkDropHost-crash.patch 0000001280 1.25 KB
chromium-remove-bundled-roboto-font.patch 0000001823 1.78 KB
common.gypi-compiler.patch 0000002865 2.8 KB
common.gypi-remove-fno-omit-frame-pointer.patch 0000000997 997 Bytes
compact_enc_det_generated_tables-Wnarrowing.patch 0000370390 362 KB
cr130-abseil-remove-unused-deps.patch 0000004569 4.46 KB
cr130-absl-base.patch 0000002470 2.41 KB
create_tarball.sh 0000020299 19.8 KB
devtools-frontend-compress_files-oom.patch 0000000625 625 Bytes
disable-FFmpegAllowLists.patch 0000000610 610 Bytes
disable-avif-really.patch 0000001879 1.83 KB
disable-catapult.patch 0000012362 12.1 KB
disable-fuses.patch 0000003748 3.66 KB
disable-tests.patch 0000000707 707 Bytes
disable-webspeech.patch 0000012038 11.8 KB
do-not-build-libvulkan.so.patch 0000001130 1.1 KB
electron-16-freetype-visibility-list.patch 0000000540 540 Bytes
electron-16-system-node-headers.patch 0000000632 632 Bytes
electron-16-third_party-symbolize-missing-include.patch 0000000481 481 Bytes
electron-37.3.1.tar.zst 1071121847 1020 MB
electron-launcher.sh 0000000614 614 Bytes
enable_stack_trace_line_numbers-symbol_level.patch 0000001047 1.02 KB
event_record-optional-initializer.patch 0000000596 596 Bytes
ffmpeg-4-AV_PROFILE.patch 0000008990 8.78 KB
ffmpeg-7-ffmpeg_video_decoder-reordered_opaque.patch 0000005595 5.46 KB
ffmpeg-new-channel-layout.patch 0000013671 13.4 KB
file_dialog-missing-uint32_t.patch 0000000372 372 Bytes
fix-build-without-screen-ai.patch 0000007891 7.71 KB
fix-build-without-supervised-users.patch 0000002576 2.52 KB
fix-system-highway.patch 0000000321 321 Bytes
fpic.patch 0000003743 3.66 KB
gcc-asmflags.patch 0000000393 393 Bytes
gcc-enable-lto.patch 0000001472 1.44 KB
gn-logspam-breaks-install.patch 0000001153 1.13 KB
icon.patch 0000000591 591 Bytes
identity_request_account-incomplete-IdentityProviderData.patch 0000009648 9.42 KB
json_to_struct-fixed_flat_map-conflicting-declaration.patch 0000001029 1 KB
libxml-2.12-xmlCtxtGetLastError-const.patch 0000001335 1.3 KB
llhttp-lax-vector-conversions.patch 0000005449 5.32 KB
lock_impl_posix-pthread_mutexattr_setprotocol-conflicting.patch 0000000616 616 Bytes
masked_domain_list-flatbuffers.patch 0000001066 1.04 KB
more-locales.patch 0000003806 3.72 KB
mt21_util-flax-vector-conversions.patch 0000001154 1.13 KB
nasm-generate-debuginfo.patch 0000000300 300 Bytes
no-zlib-headers.patch 0000000409 409 Bytes
node-cares-1.21-2.patch 0000010157 9.92 KB
node-cares-1.21-3.patch 0000001115 1.09 KB
node-cares-1.21-4.patch 0000001359 1.33 KB
node-cares-1.21.patch 0000005397 5.27 KB
node-kParentNodeTag-constexpr-initializer.patch 0000000550 550 Bytes
node-nghttp-1.50.patch 0000003446 3.37 KB
node-system-icu.patch 0000000486 486 Bytes
node-version-ck.patch 0000000866 866 Bytes
nodejs-electron.changes 0000124714 122 KB
nodejs-electron.spec 0000054306 53 KB
offscreen_canvas-incomplete-LayoutLocale.patch 0000000582 582 Bytes
partition_alloc-strict-aliasing.patch 0000005063 4.94 KB
pdfium-fix-system-libs.patch 0000000890 890 Bytes
permission-gcc14.2.patch 0000000499 499 Bytes
pickle_traits-kIndexSequence-constexpr-initializer.patch 0000000364 364 Bytes
picture_in_picture_events_info-string-constexpr.patch 0000000880 880 Bytes
private_aggregation_host-uint128.patch 0000005214 5.09 KB
rdynamic.patch 0000000332 332 Bytes
reduce-gn-tree.patch 0000001638 1.6 KB
remove-ai-language-detection-factory-which-requires-tflite-and-libphonenumber.patch 0000028594 27.9 KB
remove-date-reproducible-builds.patch 0000002708 2.64 KB
remove-dawn.patch 0000003706 3.62 KB
remove-password-manager-and-policy.patch 0000011964 11.7 KB
remove-probabilistic-token-which-uses-private-join-and-compute.patch 0000001666 1.63 KB
remove-puffin.patch 0000000777 777 Bytes
remove-rust.patch 0000005373 5.25 KB
remove-sync.patch 0000010761 10.5 KB
sandboxed_vfs_file_impl-missing-memset.patch 0000000303 303 Bytes
seccomp_bpf-no-lto.patch 0000001137 1.11 KB
string_view-incomplete-CodePointIterator.patch 0000004663 4.55 KB
support-i386.patch 0000000833 833 Bytes
swiftshader-LLVMJIT-AddressSanitizerPass-dead-code-remove.patch 0000002219 2.17 KB
swiftshader-llvm18-LLVMJIT-CodeGenOptLevel.patch 0000002000 1.95 KB
swiftshader-llvm18-LLVMJIT-Host.patch 0000000613 613 Bytes
swiftshader-llvm18-LLVMReactor-getInt8PtrTy.patch 0000001533 1.5 KB
swiftshader-llvm19-LLVMJIT-getHostCPUFeatures.patch 0000000760 760 Bytes
swiftshader-llvm19-LLVMReactor-incomplete-Module.patch 0000000426 426 Bytes
swiftshader-llvm20-absoluteSymbols.patch 0000000516 516 Bytes
swiftshader-use-system-llvm.patch 0000001213 1.18 KB
system-absl_algorithm.patch 0000000809 809 Bytes
system-dragonbox.patch 0000000537 537 Bytes
system-gtest.patch 0000001945 1.9 KB
system-libbsd.patch 0000000689 689 Bytes
system-libdrm.patch 0000001858 1.81 KB
system-libm.patch 0000002087 2.04 KB
system-nasm.patch 0000000377 377 Bytes
system-pydeps.patch 0000008780 8.57 KB
system-six.patch 0000000922 922 Bytes
system-sqlite.patch 0000001870 1.83 KB
system-usb_ids.patch 0000000775 775 Bytes
system-wayland.patch 0000000486 486 Bytes
system-zstd-in-node.patch 0000000379 379 Bytes
torque-debuginfo.patch 0000002510 2.45 KB
use-system-libraries-in-node.patch 0000004803 4.69 KB
v8-assume-x86-64-v2-support.patch 0000002169 2.12 KB
v8-highway-1.1.patch 0000006257 6.11 KB
v8-simd-flax-vector-conversions.patch 0000002994 2.92 KB
v8-strict-aliasing.patch 0000004112 4.02 KB
vaapi-no-encoders.patch 0000004936 4.82 KB
wayland_version.patch 0000000438 438 Bytes
webgl_rendering_context_webgpu_base-incomplete-StaticBitmapImage.patch 0000000821 821 Bytes
webp-no-sharpyuv.patch 0000000645 645 Bytes
webrtc-138-Wchanges-meaning.patch 0000001678 1.64 KB
webrtc-make_ref_counted-absl2024-nullability.patch 0000001272 1.24 KB
xr_webgl_swap_chain-incomplete-StaticBitmapImage.patch 0000000672 672 Bytes
zip_internal-missing-uLong-Z_DEFAULT_COMPRESSION.patch 0000000387 387 Bytes
Comments 36

Dominik Heidler's avatar

@ithod not sure how to resolve the fedora deps. My latest change didn't really help: https://build.opensuse.org/package/rdiff/devel:languages:nodejs/nodejs-electron?linkrev=base&rev=5


Anonymous User's avatar

This comment has been deleted


Dominik Heidler's avatar

Hm - adding the Prefer: to the spec doesn't seem to have an effect.


Anonymous User's avatar

This comment has been deleted


Dominik Heidler's avatar

I would rather not touch anything outside of this package that could affect other packages in this project. But as I was able to fix something similar for 15.3 using BuildRequires in the spec file, this should be possible for fedora as well.

unresolvable: have choice for pkgconfig(jack): jack-audio-connection-kit-devel pipewire-jack-audio-connection-kit-devel, have choice for nodejs-devel needed by nodejs-packaging: nodejs-devel nodejs16-devel

I tried it like this:

# help decide for dependency
BuildRequires:  pipewire-jack-audio-connection-kit-devel
BuildRequires:  nodejs16-devel

But that seems to create some conflict with npm16. Maybe we need the "newer" version of nodejs-devel. We could try BuildRequires: nodejs-devel >=17 or something like that for fedora.


Anonymous User's avatar

This comment has been deleted


Andreas Schneider's avatar

Because we do not have any debug symbols at all.


Anonymous User's avatar

This comment has been deleted


Andreas Schneider's avatar

@dheidler Odd version numbers of nodejs like 17 are development versions. Even numbers are maintained LTS versions. Most projects use LTS versions and not development versions and if you build them like signal-desktop with nodejs16 it wont work if electron is built with nodejs17!

nodejs-election should be built with nodejs16 on all distributions!


Dominik Heidler's avatar

I'm using nodejs16 on all opensuse distros. I was unable to get resolved build dependencies for fedora otherwise. Feel free to send a SR to change it on fedora - I myself am happy if it builds at all for fedora as I don't consider it as very important.


Andreas Schneider's avatar

Take a look at the tumbleweed build log, it picks nodejs17!


Dominik Heidler's avatar

Let's see if my latest change fixes that


Bruno Pitrus's avatar

I think the system node copy is only used for running the typescript compiler, electron ships its own fork of node (and libuv) inside.

I even tried to unbundle libuv (it is backward compatible; Arch uses system libuv even in ancient node versions) but it did not work — Electron has its own patches not matching any upstream libuv version.


Andreas Schneider's avatar

Please branch memory-constraints and build it for Fedora 36 in devel:languages:nodejs


Bruno Pitrus's avatar

I'm doing a major review of our spec for electron 19 merge, does anyone know why we block building on 32bit platforms? Especially since armv7 is explicitely supported by upstream.


Anonymous User's avatar

This comment has been deleted


Dominik Heidler's avatar

Yes - I think build failed on armv7h and i586 and I'm not sure how to fix that, so it was disabled to save ressources.


Bruno Pitrus's avatar

I managed to fix all assembling errors, but unfortunately on i586 neither BFD nor GoLD can handle “Google Ultron powered by Download More RAM”.


Dominik Heidler's avatar

You could have some entry here: https://build.opensuse.org/package/view_file/devel:languages:nodejs/nodejs-electron/_constraints?expand=1

But I guess you can just have 4GB of RAM in total on i586.


Bruno Pitrus's avatar

I don't really care about other arches, but right now even arm64 fails to link, which would be a regression. So i'm trying to unbundle some libs (abseil, spirv) to reduce binary size.


veractor's avatar

Hi, just a user of the repo here on Fedora 37. The package seems to have been rebuilt 6 or 7 times in the past week or so, with no apparent change to the source RPM other than the release number. What's prompted this and what changed?


Dominik Heidler's avatar

that usually means that a dependency got rebuilt.


Bruno Pitrus's avatar

Unfortunately fedora does not have build-compare which would eliminate spurious rebuilds: boo#1206734


veractor's avatar

Is this a problem specifically for Fedora 36 and later, or has it been for all Fedora versions?


Bruno Pitrus's avatar

all fedora, it never had reproducible builds on OBS


andreas bittner's avatar

as of todays update to 33.3.1 on a leap 15.6 with element-web and element-desktop installed from this same repo ( https://build.opensuse.org/project/show/devel:languages:nodejs ) i am only briefly seeing content inside the element-desktop ( 1.11.88 ) and the it vanishes and the whole element-desktop window content is pure white only and only the element-desktop menu such as file, edit, view, window, help ... I only briefly see my last chat with a person and briefly the element-desktop gui as it used to be then its shortly after that replaced by a seemingly white layer or fully white content only. any help? where to bugreport? thanks.


i thod's avatar

Please try to delete the cache folders .config/Element/GPUCache/ etc. and try to restart. If it does not work, bug reports go here https://bugzilla.opensuse.org/


andreas bittner's avatar

I did this step but it didnt, help (much) I briefly have seen my chat a bit longer now, I have just posted a single jpeg picture inside the chat a few lines ago (yesterday) which seems to be loading (attempting to load) the little circle as placeholder for the jpeg rotates but it never displays that jpeg image and maybe exactly when it tries to load it or tries to draw it it seems to go white. I even see the cursor at the very bottom to chat write a new line into the chat and all. all seems pretty normal for element-desktop gui and application until it blanks out (white out).


Bruno Pitrus's avatar

Do you get a core dump?


andreas bittner's avatar

no the element-desktop application continues to be displayed on the KDE desktop of 15.6 leap, the menu and the window in general keeps working, minimize maximize etc, but the content gets covered or disappears by a fully white layer it seems. I briefly see my chat. will try that cache deletion .config/Element/GPUCache/ from above and see what I can find out. thanks.


andreas bittner's avatar

I am not even sure how to properly bugreport this to what area on the opensuse bugzilla, i created this: https://bugzilla.opensuse.org/show_bug.cgi?id=1235830 thanks for teaching a bit more about this.


andreas bittner's avatar

todays nodejs-electron update to rpm -qi nodejs-electron Name : nodejs-electron Version : 35.3.0 Release : lp156.1.1 Architecture: x86_64 Install Date: Thu 08 May 2025 03:33:18 PM CEST Group : Development/Languages/NodeJS Size : 285651938

renders the still-current element-desktop (with element-web installed) packages faulty and nonfunctional, core dumped segfault crash upon startup.

rpm -qi element-desktop Name : element-desktop Version : 1.11.99 Release : lp156.1.2 Architecture: x86_64 Install Date: Sun 27 Apr 2025 04:51:24 PM CEST Group : Unspecified Size : 20335527

thanks.


Bruno Pitrus's avatar

can reproduce. Reverted the package until i can find what's wrong and fix it.



Björn Bidar's avatar

Hey could you add ccache or sccache detection to the spec file? I think to use either you have to add them as cc_wrapper when calling gn.

I managed to add that to spec file by adding these lines to the spec file:

Add this at the top of the spec file, e.g. as in after the build options before 'Name:'

define if ccache should be used or not

%define useccache %{lua: \ if posix.access('/etc/profile.d/build_ccache.sh', 'f') then\ print(1)\ else\ print(0)\ end}

define if sccache should be used or not

Also works with rust

%define usesccache %{lua: \ if posix.access('/etc/profile.d/build_sccache.sh', 'f') then\ print(1)\ else\ print(0)\ end}

Then add this further down in %build before calling gn: %if %{useccache} myconf_gn+=' cc_wrapper="/usr/bin/ccache"' %endif

%if %{usesccache} myconf_gn+=' cc_wrapper="/usr/bin/sccache"' %endif


Bruno Pitrus's avatar

Ccache worked without me doing anything in spec, until rpmbuild broke it by introducing subbuilddir. To use ccache locally, add --ccache parameter to osc build.

openSUSE Build Service is sponsored by