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
CVE-2024-30260-undici-clear-proxy-authorization.patch 0000002267 2.21 KB
CVE-2024-30261-undici-fetch-integrity.patch 0000005700 5.57 KB
Cr122-ffmpeg-new-channel-layout.patch 0000017840 17.4 KB
InternalAllocator-too-many-initializers.patch 0000002195 2.14 KB
RenderFrameHostImpl-use-after-free.patch 0000001223 1.19 KB
_constraints 0000000800 800 Bytes
aarch64-Xclang.patch 0000000529 529 Bytes
absl2023-encapsulated_web_transport-StrCat.patch 0000000709 709 Bytes
angle-system-xxhash.patch 0000001276 1.25 KB
aom-vpx-no-thread-wrapper.patch 0000002078 2.03 KB
audio_file_reader-ffmpeg-AVFrame-duration.patch 0000002716 2.65 KB
base-system-nspr.patch 0000001354 1.32 KB
boringssl-internal-addc-cxx.patch 0000002920 2.85 KB
brotli-remove-shared-dictionary.patch 0000003157 3.08 KB
build-without-extensions.patch 0000001997 1.95 KB
bundled-minizip.patch 0000001053 1.03 KB
cares_public_headers.patch 0000000395 395 Bytes
chromium-102-compiler.patch 0000012489 12.2 KB
chromium-118-sigtrap_system_ffmpeg.patch 0000000845 845 Bytes
chromium-122-BookmarkNode-missing-operator.patch 0000001285 1.25 KB
chromium-122-abseil-shims.patch 0000013390 13.1 KB
chromium-122-avoid-SFINAE-TypeConverter.patch 0000002681 2.62 KB
chromium-91-java-only-allowed-in-android-builds.patch 0000000722 722 Bytes
chromium-93-ffmpeg-4.4.patch 0000002684 2.62 KB
chromium-94-ffmpeg-roll.patch 0000000393 393 Bytes
chromium-94.0.4606.71-InkDropHost-crash.patch 0000001280 1.25 KB
chromium-98-EnumTable-crash.patch 0000002914 2.85 KB
chromium-gcc11.patch 0000001821 1.78 KB
chromium-remove-bundled-roboto-font.patch 0000001812 1.77 KB
chromium-vaapi.patch 0000003224 3.15 KB
common.gypi-remove-fno-omit-frame-pointer.patch 0000000976 976 Bytes
compact_enc_det_generated_tables-Wnarrowing.patch 0000370390 362 KB
crashpad-use-system-abseil.patch 0000000917 917 Bytes
create_tarball.sh 0000019608 19.1 KB
disable-catapult.patch 0000011961 11.7 KB
disable-devtools-tests.patch 0000000260 260 Bytes
disable-fuses.patch 0000003748 3.66 KB
disable-tests.patch 0000000707 707 Bytes
disable-webspeech.patch 0000012246 12 KB
distributed_point_functions-aes_128_fixed_key_hash-missing-StrCat.patch 0000000455 455 Bytes
distributed_point_functions-evaluate_prg_hwy-signature.patch 0000001541 1.5 KB
do-not-build-libvulkan.so.patch 0000001048 1.02 KB
electron-13-fix-base-check-nomerge.patch 0000000689 689 Bytes
electron-13-fix-use-thin-lto.patch 0000001024 1 KB
electron-16-freetype-visibility-list.patch 0000000540 540 Bytes
electron-16-std-vector-non-const.patch 0000006973 6.81 KB
electron-16-system-node-headers.patch 0000000656 656 Bytes
electron-16-third_party-symbolize-missing-include.patch 0000000481 481 Bytes
electron-16-webpack-fix-openssl-3.patch 0000000921 921 Bytes
electron-29.3.1.tar.zst 0572836493 546 MB
electron-launcher.sh 0000000379 379 Bytes
electron.desktop 0000000140 140 Bytes
fake_ssl_socket_client-Wlto-type-mismatch.patch 0000000888 888 Bytes
ffmpeg-new-channel-layout.patch 0000016118 15.7 KB
fpic.patch 0000003861 3.77 KB
gcc-asmflags.patch 0000000393 393 Bytes
gcc-enable-lto.patch 0000001472 1.44 KB
grid_sizing_tree-Wchanges-meaning.patch 0000001550 1.51 KB
harfbuzz-replace-HbScopedPointer.patch 0000003368 3.29 KB
harfbuzz-replace-chromium-scoped-type.patch 0000022235 21.7 KB
hit_test_request-missing-optional.patch 0000001299 1.27 KB
icon.patch 0000000591 591 Bytes
libxml-2.12-xmlCtxtGetLastError-const.patch 0000001335 1.3 KB
material_color_utilities-tones-missing-round.patch 0000000345 345 Bytes
mt21_util-flax-vector-conversions.patch 0000001154 1.13 KB
nasm-generate-debuginfo.patch 0000000300 300 Bytes
nested-nested-nested-nested-nested-nested-regex-patterns.patch 0000002744 2.68 KB
no-zlib-headers.patch 0000000397 397 Bytes
node-compiler.patch 0000004657 4.55 KB
node-system-icu.patch 0000000486 486 Bytes
nodejs-electron.changes 0000084018 82 KB
nodejs-electron.spec 0000045749 44.7 KB
partition_alloc-no-lto.patch 0000003211 3.14 KB
pdfium-fix-system-libs.patch 0000000890 890 Bytes
perfetto-numeric_storage-double_t.patch 0000000743 743 Bytes
plus_address_types-missing-optional.patch 0000001169 1.14 KB
race_network_request_write_buffer_manager-missing-optional.patch 0000001462 1.43 KB
rdynamic.patch 0000000332 332 Bytes
remove-date-reproducible-builds.patch 0000002388 2.33 KB
remove-dawn.patch 0000003451 3.37 KB
remove-openscreen.patch 0000000312 312 Bytes
remove-password-manager-and-policy.patch 0000009537 9.31 KB
remove-puffin.patch 0000001148 1.12 KB
remove-rust.patch 0000002530 2.47 KB
resolution_monitor-missing-bitset.patch 0000001318 1.29 KB
script_promise_resolver-explicit-specialization.patch 0000005018 4.9 KB
search_engine_choice_service-missing-optional.patch 0000001465 1.43 KB
seccomp_bpf-no-lto.patch 0000001115 1.09 KB
skia-system-vulkan-headers.patch 0000000947 947 Bytes
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-use-system-llvm.patch 0000001213 1.18 KB
system-gtest.patch 0000002700 2.64 KB
system-libbsd.patch 0000000689 689 Bytes
system-libdrm.patch 0000002514 2.46 KB
system-libm.patch 0000002087 2.04 KB
system-nasm.patch 0000000377 377 Bytes
system-pydeps.patch 0000008421 8.22 KB
system-simdutf.patch 0000000799 799 Bytes
system-six.patch 0000000920 920 Bytes
system-usb_ids.patch 0000000775 775 Bytes
system-wayland.patch 0000002128 2.08 KB
system-yuv.patch 0000000460 460 Bytes
system-zlib.patch 0000000631 631 Bytes
text_break_iterator-icu74-breakAllLineBreakClassTable-should-be-consistent.patch 0000017271 16.9 KB
v8-icu73-alt_calendar.patch 0000007240 7.07 KB
v8-icu73-simple-case-folding.patch 0000008238 8.04 KB
v8-instance-type-inl-constexpr-used-before-its-definition.patch 0000001939 1.89 KB
wayland-proto-31-cursor-shape.patch 0000036347 35.5 KB
Latest Revision
Comments 25

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

openSUSE Build Service is sponsored by