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
_constraints 0000000658 658 Bytes
abseil-remove-unused-targets.patch 0000003016 2.95 KB
abseil_string_number_conversions-do-not-assume-ABI.patch 0000000466 466 Bytes
absl_algorithm.gn 0000000414 414 Bytes
absl_base.gn 0000001098 1.07 KB
absl_cleanup.gn 0000000368 368 Bytes
absl_container.gn 0000002316 2.26 KB
absl_debugging.gn 0000001074 1.05 KB
absl_flags.gn 0000000929 929 Bytes
absl_functional.gn 0000000385 385 Bytes
absl_hash.gn 0000000337 337 Bytes
absl_memory.gn 0000000353 353 Bytes
absl_meta.gn 0000000386 386 Bytes
absl_numeric.gn 0000000614 614 Bytes
absl_random.gn 0000000374 374 Bytes
absl_status.gn 0000000679 679 Bytes
absl_strings.gn 0000001127 1.1 KB
absl_synchronization.gn 0000000488 488 Bytes
absl_time.gn 0000000380 380 Bytes
absl_types.gn 0000000901 901 Bytes
angle-system-xxhash.patch 0000001127 1.1 KB
async_shared_storage_database_impl-missing-absl-WrapUnique.patch 0000000437 437 Bytes
attribution_manager_impl-missing-absl-WrapUnique.patch 0000000377 377 Bytes
ax_property_node-missing-unique_ptr-forward.patch 0000000470 470 Bytes
base-system-nspr.patch 0000001319 1.29 KB
breakpad-system-curl.patch 0000000342 342 Bytes
brotli.gn 0000000666 666 Bytes
byteswap-constexpr.patch 0000001605 1.57 KB
byteswap-constexpr2.patch 0000000848 848 Bytes
cares_public_headers.patch 0000000395 395 Bytes
chromium-101-libxml-unbundle.patch 0000000309 309 Bytes
chromium-102-compiler.patch 0000008092 7.9 KB
chromium-102-fenced_frame_utils-include.patch 0000000830 830 Bytes
chromium-103.0.5060.53-python3-do-not-use-deprecated-mode-U.patch 0000000515 515 Bytes
chromium-86-fix-vaapi-on-intel.patch 0000001681 1.64 KB
chromium-91-java-only-allowed-in-android-builds.patch 0000000722 722 Bytes
chromium-93-ffmpeg-4.4.patch 0000003435 3.35 KB
chromium-94.0.4606.71-InkDropHost-crash.patch 0000001290 1.26 KB
chromium-98-EnumTable-crash.patch 0000002854 2.79 KB
chromium-99-pdfium-system-libtiff.patch 0000002901 2.83 KB
chromium-ffmpeg-first-dts.patch 0000004861 4.75 KB
chromium-fix-pac-with-gcc.patch 0000000728 728 Bytes
chromium-gcc11.patch 0000006122 5.98 KB
chromium-norar.patch 0000003585 3.5 KB
chromium-remove-bundled-roboto-font.patch 0000001786 1.74 KB
chromium-system-libusb.patch 0000001484 1.45 KB
chromium-vaapi.patch 0000003346 3.27 KB
crc32c.gn 0000000206 206 Bytes
create_tarball.sh 0000020657 20.2 KB
dark_mode_types-uint8_t.patch 0000000456 456 Bytes
dav1d.gn 0000000653 653 Bytes
device_perf_info-missing-uint32_t.patch 0000000309 309 Bytes
disable-catapult.patch 0000013373 13.1 KB
do-not-build-libvulkan.so.patch 0000000817 817 Bytes
double-conversion.gn 0000000640 640 Bytes
electron-13-fix-base-check-nomerge.patch 0000000691 691 Bytes
electron-13-fix-sql-virtualcursor-type.patch 0000009813 9.58 KB
electron-13-fix-use-thin-lto.patch 0000000954 954 Bytes
electron-16-fix-swiftshader-template.patch 0000003886 3.79 KB
electron-16-freetype-visibility-list.patch 0000000540 540 Bytes
electron-16-std-vector-non-const.patch 0000006870 6.71 KB
electron-16-system-node-headers.patch 0000000648 648 Bytes
electron-16-third_party-symbolize-missing-include.patch 0000000493 493 Bytes
electron-16-webpack-fix-openssl-3.patch 0000000911 911 Bytes
electron-19.0.15.tar.xz 0708880420 676 MB
electron-launcher.sh 0000000379 379 Bytes
electron-logo-symbolic.svg 0000002440 2.38 KB
electron.desktop 0000000125 125 Bytes
ffmpeg-new-channel-layout.patch 0000016118 15.7 KB
flatbuffers.gn 0000000731 731 Bytes
gcc-enable-lto.patch 0000002331 2.28 KB
json_generation-missing-unique_ptr.patch 0000000356 356 Bytes
libXNVCtrl.gn 0000000323 323 Bytes
libaom.gn 0000000908 908 Bytes
libavif.gn 0000000332 332 Bytes
libjxl.gn 0000000809 809 Bytes
libsecret.gn 0000000185 185 Bytes
libyuv.gn 0000000824 824 Bytes
metrics_recorder-missing-string.patch 0000000391 391 Bytes
multi_channel_content_detector-missing-unique_ptr.patch 0000000293 293 Bytes
nasm-generate-debuginfo.patch 0000000300 300 Bytes
nested-nested-nested-nested-nested-nested-regex-patterns.patch 0000002744 2.68 KB
no-zlib-headers.patch 0000000413 413 Bytes
node-system-icu.patch 0000000473 473 Bytes
node-system-libs.patch 0000001758 1.72 KB
nodejs-electron.changes 0000025467 24.9 KB
nodejs-electron.spec 0000038446 37.5 KB
pdfium-fix-system-libs.patch 0000000923 923 Bytes
replace_gn_files-system-libs.patch 0000002967 2.9 KB
reproducible-config.gypi.patch 0000000527 527 Bytes
skia-system-vulkan-headers.patch 0000000935 935 Bytes
skia_utils-missing-uint64_t.patch 0000000317 317 Bytes
support-i386.patch 0000000942 942 Bytes
swiftshader-SPIRV-Headers.gn 0000000453 453 Bytes
swiftshader-SPIRV-Tools.gn 0000000759 759 Bytes
swiftshader-use-system-llvm.patch 0000001213 1.18 KB
system-gtest.patch 0000002705 2.64 KB
system-jsoncpp.patch 0000003103 3.03 KB
system-libbsd.patch 0000000506 506 Bytes
system-libdrm.patch 0000002488 2.43 KB
system-nasm.patch 0000000377 377 Bytes
system-pydeps.patch 0000003337 3.26 KB
system-six.patch 0000001435 1.4 KB
system-usb_ids.patch 0000000775 775 Bytes
system-zlib.patch 0000000631 631 Bytes
thread_annotations-fix-build-with-system-abseil.patch 0000001050 1.03 KB
vulkan-SPIRV-Headers.gn 0000000494 494 Bytes
vulkan-SPIRV-Tools.gn 0000001805 1.76 KB
woff2.gn 0000000379 379 Bytes
Revision 29 (latest revision is 156)
Dominik Heidler's avatar Dominik Heidler (dheidler) accepted request 1000962 from Bruno Pitrus's avatar Bruno Pitrus (dziobian) (revision 29)
- New upstream version 19.0.15
  * Fixed a potential crash on WebWorker destruction.
  * Vulkan: Fix garbage collection vs outside-RP-only flush (CVE-2022-2854)
  * Vulkan: Fix xfb buffer redefine to smaller size (CVE-2022-2855)
- Add reproducible-config.gypi.patch
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