Neal Gompa wrote:
On Mon, Nov 8, 2021 at 9:16 AM Vitaly Zaitsev via devel devel@lists.fedoraproject.org wrote:
On 08/11/2021 10:12, Andreas Schneider wrote:
I'm interested in this, as I try to package electron for Fedora.
Electron can't be build completely from sources without downloading pre-built binaries/blobs from npm.
This is not true anymore.
As I understand it, it was never true, in the sense that it was always *possible* to build Electron completely from sources. The issue was that the upstream build system worked against you there and that you had to jump through a lot of hoops to use components built from source instead of blobs downloaded from somewhere. Each of the Electron stages was just downloading the next lower layer as a blob, which in turn included the next lower layer as a blob. In particular, each Electron app bundled the Electron blob which was just downloaded from Electron at build time, and each Electron build bundled the Chromium fork blob which was also downloaded as a blob during the build. (I think there were even one or two additional blob layers that I have forgotten. The minified JavaScript blobs you mention were probably also already part of it.) I do not know to what extent, if at all, this has been improved since last I checked.
Kevin Kofler