current version in portage: 0.36.12 available already 1.1.x - see http://electron.atom.io/releases/ Reproducible: Always
1.2.6 is out https://github.com/electron/electron/releases/tag/v1.2.6
1.3.1 is here https://github.com/electron/electron/releases/tag/v1.3.1
There was an effort by eternal-sorrow to get this done: https://github.com/eternal-sorrow/gentoo-local/issues/1 The part that is still missing there are two "build-fixes" patches, that need to be ported to the new version of electron.
(In reply to Dennis Schridde from comment #3) > There was an effort by eternal-sorrow to get this done: > https://github.com/eternal-sorrow/gentoo-local/issues/1 > > The part that is still missing there are two "build-fixes" patches, that > need to be ported to the new version of electron. It's me.
I actually have build patches and ebuild updates for 1.1 and 1.3, but there is a weird segfault I'm still tracking down.
(In reply to Elvis Pranskevichus from comment #5) > I actually have build patches and ebuild updates for 1.1 and 1.3, but there > is a weird segfault I'm still tracking down. Is that available in an overlay somewhere? Maybe others could try to reproduce it and help you.
(In reply to Dennis Schridde from comment #6) > Is that available in an overlay somewhere? Maybe others could try to > reproduce it and help you. I'll push to the atom overlay soon.
I pushed 0.37.8 and 1.3.3 to the atom overlay. Again, those segfault early due to a strange compilation mismatch of node's process_object vtable (different offsets to class members). That might be due to a header mismatch somewhere, possibly libuv, but I haven't figured it out yet. Electron build is fiendishly complex.
I figured out what was causing the crashes. As I suspected, electron is patching libuv in interesting ways making it impossible to use the system version. I pushed working ebuilds to the overlay. The builds are now slotted with (Major.Minor), so it is possible to have multiple electron installs at the same time. eselect-electron is also there. Please test and let me know if this works, and I'll make a PR to push this into the tree.
build with USE="-cups" failed on linkage step: ld: cannot find -lcups need to patch brightray.gyp
> ld: cannot find -lcups Thanks. The fix is in the overlay.
The PR is in: https://github.com/gentoo/gentoo/pull/2336/files
electron-0.37.8 does not build here: Updating projects from gyp files... /bin/sh: node: command not found gyp: Call to 'node ./tools/atom_source_root.js' returned exit status 127 while in electron.gyp. Should it depend on nodejs?
Yikes! They decided that invoking node on a .js one liner is a good idea to determine the absolute path to the source directory. Will fix shortly. And no, a dependency on nodejs is not necessary.
> electron-0.37.8 does not build here I pushed the fixes to the overlay and updated the PR. Thanks for catching this!
commit c23fbb5334aa47af81d5dc79d8a340b299523b04 Author: Elvis Pranskevichus <elvis@magic.io> AuthorDate: Thu Sep 15 09:30:16 2016 -0400 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: Tue Sep 20 14:12:22 2016 +0800 dev-util/electron: 0.37, 1.3 version bump, slotted build * Add electron-0.37.8, electron-1.3.5. * Ebuilds have been slotted, it is now possible to have multiple versions of Electron installed. * Numerous build fixes. * PaX fixes (courtesy of @zaolin). Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=591324 Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=583542 Package-Manager: portage-2.2.28 Signed-off-by: Yixun Lan <dlan@gentoo.org> dev-util/electron/Manifest | 14 +++- dev-util/electron/{electron-0.36.12-r3.ebuild => electron-0.36.12-r4.ebuild} | 48 ++++++++---- dev-util/electron/electron-0.37.8.ebuild | 749 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ dev-util/electron/electron-1.3.5.ebuild | 765 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ dev-util/electron/files/chromium-ffmpeg-license-r0.patch | 44 +++++++++++ dev-util/electron/files/chromium-last-commit-position-r0.patch | 26 +++++++ dev-util/electron/files/chromium-linker-warnings-r0.patch | 18 +++++ dev-util/electron/files/chromium-lto-fixes-r1.patch | 36 +++++++++ dev-util/electron/files/chromium-pdfium-r0.patch | 17 +++++ dev-util/electron/files/chromium-shared-v8-r1.patch | 15 ++++ dev-util/electron/files/chromium-snapshot-toolchain-r1.patch | 23 ++++++ dev-util/electron/files/chromium-system-ffmpeg-r2.patch | 50 +++++++++++++ dev-util/electron/files/chromium-system-icu-r0.patch | 14 ++++ dev-util/electron/files/chromium-system-jinja-r9.patch | 71 ++++++++++++++++++ dev-util/electron/files/chromium-system-zlib-r0.patch | 19 +++++ dev-util/electron/files/{brightray-gentoo-build-fixes-r1.patch => electron-0.36.12-vendor-brightray.patch} | 0 dev-util/electron/files/{libchromiumcontent-gentoo-build-fixes.patch => electron-0.36.12-vendor-libchromiumcontent.patch} | 0 dev-util/electron/files/{node-gentoo-build-fixes.patch => electron-0.36.12-vendor-node.patch} | 0 dev-util/electron/files/{electron-gentoo-build-fixes.patch => electron-0.36.12.patch} | 43 +++++------ dev-util/electron/files/electron-0.37.8-vendor-brightray.patch | 143 ++++++++++++++++++++++++++++++++++++ dev-util/electron/files/electron-0.37.8-vendor-libchromiumcontent.patch | 71 ++++++++++++++++++ dev-util/electron/files/electron-0.37.8-vendor-node.patch | 105 ++++++++++++++++++++++++++ dev-util/electron/files/electron-0.37.8.patch | 391 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ dev-util/electron/files/electron-1.3.5-vendor-brightray.patch | 143 ++++++++++++++++++++++++++++++++++++ dev-util/electron/files/electron-1.3.5-vendor-libchromiumcontent.patch | 78 ++++++++++++++++++++ dev-util/electron/files/electron-1.3.5-vendor-node.patch | 92 +++++++++++++++++++++++ dev-util/electron/files/electron-1.3.5.patch | 422 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ dev-util/electron/files/{node-external-snapshots.patch => electron-vendor-node-external-snapshots-r0.patch} | 12 +-- 28 files changed, 3366 insertions(+), 43 deletions(-)