Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649308 - dev-util/electron-1.8.2 version bump
Summary: dev-util/electron-1.8.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Elvis Pranskevichus
URL: https://github.com/gentoo/gentoo/pull...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-03-02 00:36 UTC by Audiodef
Modified: 2018-10-23 14:35 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Audiodef 2018-03-02 00:36:07 UTC
Electron stable release is now 1.8.2. Ebuild could be updated. https://electronjs.org/releases#1.8.2
Comment 1 Achim Derigs 2018-05-17 09:34:48 UTC
May be should not because of https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1000136
Comment 2 Leho Kraav (:macmaN @lkraav) 2018-05-22 13:39:05 UTC
Latest Electron is 2.0.1 now. Are there any dependency issues with updating?
Comment 3 Leho Kraav (:macmaN @lkraav) 2018-05-22 13:48:04 UTC
https://github.com/elprans/atom-overlay is currently the most up to date overlays, so I'll just exploring this.

Electron is still 1.7.13 here, though.
Comment 4 Elvis Pranskevichus 2018-05-22 14:26:33 UTC
I'll work on a bump to 2.0 soon.  It seems that app-editors/atom skipped 1.8 and went straight to 2.0 in the latest beta, so it's not worth spending time on the 1.8 bump.
Comment 5 Leho Kraav (:macmaN @lkraav) 2018-05-22 17:26:15 UTC
Thanks. Itmw, I just built atom-1.27.1 on top of electron-1.17.15 and it seems to work OK.
Comment 6 Leho Kraav (:macmaN @lkraav) 2018-07-03 20:45:49 UTC
Considering the size of ElectronJS and how it takes a ton of resource to build at reasonable speed, using https://gitlab.com/chaoslab/chaoslab-overlay/tree/master/dev-util/electron-bin would seem to be sensible. Thoughts?
Comment 7 Virgil Dupras (RETIRED) gentoo-dev 2018-10-23 13:18:01 UTC
Elvis: It's the first time I look at this package and I'm impressed by how heavily you had to patch electron to make it work in Gentoo! Looks well done, although this package+patches is too big for a thorough review. On the surface though, it all looks good to me. You have a significant maintainership history, so I'll go with trusting you. Merging.

There's one nitpick I have but I don't want to hold merging because of it. The ffmpeg/samba thing added in 2.0.10's COMMON_DEPEND, there could be a comment talking about this. Its purpose is not obvious (especially with the fact that you require "ffmpeg[-samba]" AND samba. it's confusing). I'm guessing that it's linked to some tricky  issue, but without a comment, it looks like dead weight.

Another nitpick for next time: you might want to look at removing a couple of subslot-ties in your deps. Not all of these deps have subslots. It's true that in most cases, you'll want to rebuild on subslot changes, but not in all cases. Because electron is a huge package, you will want to look into each dependency to make sure that a subslot-change rebuild is necessary. Also, the presence of this kind of deps slows down portage dependency resolution by a great deal, so we don't want to overuse them.
Comment 8 Larry the Git Cow gentoo-dev 2018-10-23 13:22:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a14ff3dacbf3704e3463a19192c2621b9cb2febb

commit a14ff3dacbf3704e3463a19192c2621b9cb2febb
Author:     Elvis Pranskevichus <elvis@magic.io>
AuthorDate: 2018-09-28 20:56:32 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-10-23 13:20:09 +0000

    dev-util/electron: Bump to 1.6.16, 1.7.15, and 2.0.10
    
    This adds electron-2.0.10 and picks up latest security
    and compilation fixes for 1.6.x and 1.7.x.
    
    Closes: https://bugs.gentoo.org/661050
    Closes: https://bugs.gentoo.org/649308
    Package-Manager: Portage-2.3.49, Repoman-2.3.10
    Signed-off-by: Elvis Pranskevichus <elvis@magic.io>
    Closes: https://github.com/gentoo/gentoo/pull/10009
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>

 dev-util/electron/Manifest                 |  12 +
 dev-util/electron/electron-1.6.18.ebuild   | 883 ++++++++++++++++++++++++++++
 dev-util/electron/electron-1.7.16.ebuild   | 889 ++++++++++++++++++++++++++++
 dev-util/electron/electron-2.0.10.ebuild   | 908 +++++++++++++++++++++++++++++
 dev-util/electron/files/toolchain/BUILD.gn |  18 +
 5 files changed, 2710 insertions(+)
Comment 9 Elvis Pranskevichus 2018-10-23 14:35:10 UTC
Thanks for the review and merging, Virgil!

> The ffmpeg/samba thing added in 2.0.10's COMMON_DEPEND

That was added (in www-client/chromium) because of https://bugs.gentoo.org/622164.  I'll investigate if it's still necessary on the next bump (and add a link to the bug if it is).

> you might want to look at removing a couple of subslot-ties in your deps

I mostly just follow what the www-client/chromium guys are doing (since Electron is basically Chromium with a bunch of patches).  But it might be true that some aren't necessary, I'll check.