Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build node-webkit, electron from source #17073

Open
1 of 6 tasks
matthewbauer opened this issue Jul 18, 2016 · 10 comments
Open
1 of 6 tasks

Build node-webkit, electron from source #17073

matthewbauer opened this issue Jul 18, 2016 · 10 comments
Labels
0.kind: enhancement Add something new

Comments

@matthewbauer
Copy link
Member

matthewbauer commented Jul 18, 2016

Both node-webkit and electron are just being downloaded from binary tarballs. It would be great if we could use the outputs of "chromium" to create a "chromiumcontent" output that could be used by these two frameworks as inputs.

TODO

  • package "chromiumcontent"
  • move "node-webkit" to source based build
  • move "electron" to source based build
  • move "atom" to source based build
  • move "bracket" to source based build
  • move "vscode" to source based build

Related

issue #6689

@Zimmi48
Copy link
Member

Zimmi48 commented Mar 11, 2017

It would be great indeed if vscode could be built from source because it is currently a non-free package (because the binaries are non-free) while, if built from source, it would be a free package (because the source code in under MIT license).

@lukateras
Copy link
Member

I could do this if someone would lend me computing power.

@matthewbauer
Copy link
Member Author

@yegortimoshenko

I could do this if someone would lend me computing power.

If you ask on IRC someone might be able to set up a Hydra jobset for you...

/cc @LnL7

@LnL7
Copy link
Member

LnL7 commented Nov 6, 2017

Any idea how long these would take to build?

@lukateras
Copy link
Member

lukateras commented Nov 6, 2017

When I've built Chromium on my laptop with Intel i7-2677M CPU, it took around 24 hours. On Hydra, Electron should take about the same time to build as Chromium, as Node.js is relatively small, and Electron's own code should be negligible.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 5, 2020
@ShamrockLee
Copy link
Contributor

This is still important for me.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 3, 2021
@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 4, 2021
@gebner
Copy link
Member

gebner commented Jul 4, 2021

still important

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 4, 2021
@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 3, 2022
@ShamrockLee
Copy link
Contributor

This is still important in the long run.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 7, 2022
@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jul 10, 2022
@fee1-dead
Copy link
Member

not stale.

@stale stale bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 13, 2023
@artemist
Copy link
Member

I'm looking at building electron from source. It looks like the most complicated part is actually downloading the source code, since it wants you to use gclient, which download a lot of binary dependencies. The easiest way around this may be to reimplement the cloning parts of gclient in a simpler script.

If I don't find a way to optimize the git downloads it will probably also involve dowloading over 50GiB of objects, though I think googlesource lets you download archives of revisions.

@NixOS NixOS deleted a comment from stale bot Jun 17, 2024
@NixOS NixOS deleted a comment from stale bot Jun 17, 2024
@NixOS NixOS deleted a comment from stale bot Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: enhancement Add something new
Projects
None yet
Development

No branches or pull requests

9 participants