Void-packages: Package Request: vscodium

Created on 5 Apr 2019  路  37Comments  路  Source: void-linux/void-packages

Would love to have this package since this version will use the latest of vscode but with MIT license

also disables the telemetry build flag.

Github Link

electron 馃ぎ request

Most helpful comment

If there is enough interest, I'll try to package electron.

All 37 comments

Don't we already disable telemetry in our vscode @shizonic ?

On Fri, Apr 05, 2019 at 12:20:25AM -0700, Rasmus Thomsen wrote:

Don't we already disable telemetry in our vscode @shizonic ?

--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/void-linux/void-packages/issues/10582#issuecomment-480174356

iirc Void Linux doesn't touch default telemetry, only on Firefox i think.

@Cogitri It was disabled earlier but I was asked to remove the patch.

Ah, alright.

IMHO maybe we should abandon VSCode all together then and only package VSCodium?

IMHO maybe we should abandon VSCode all together then and knly package VSCodium?

Sounds good by me. Opinon @void-linux/pkg-committers ?

Fine for me too. But we should be aware of adding the ms store url anyway to be able to download extensions.

Yup

So from what I understand, this is just a custom build configuration which is then offered as a binary package? As much as I dislike all that electron stuff, can't we just adjust our vscode build configuration to our liking and keep building from source?

Correct. This was exactly what I had before and was asked to remove... ;)

@shizonic there is a vscode update available, please add vscodium configuration to it.

Anyone interested in merging?

Not really, merging binary packages is bad because they would lock our repos when we update a dependency with a shared library bump and we can't rebuild the binary package.

I see. If I would create a version to build from source?

This might be possible if we can get shared electron packages like arch linux has.
Building whole chromium just for this one package is a no go, because it adds a lot of maintenance burden in regard of patching and build time.

If there is enough interest, I'll try to package electron.

Please do! I would kindly like to contribute.

A shared electron package would be useful for other things that need it (e.g. riot-desktop).

A shared electron package would be useful for other things that need it (e.g. riot-desktop).

Feel free to package it.

FWIW I recently made a MR for it for Alpine. It does compile now, but SIGSEGVs on musl. Maybe it'll work on glibc for you though: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/7310

Thank you. I'll give it a shot asap.

I just gave it a try and got vscode on both glibc and musl running. I will post a PR later after cleaning some things up.
@Cogitri Intresting that it didn't work on Alpine, the only patch I added for Void was for glibc and no other changes to patches.

https://i.imgur.com/emvLfe4.png

Nice! :)

Apparently it _does_ work on Alpine, but electron likes to crash on XWayland (so it only works on X11). Do you happen to use X11, @Johnnynator ?

Yeah, I was running on X11.

But works also fine with Plasma wayland

Huh, weird, it crashes for me like this with GNOME Wayland: https://github.com/electron/electron/issues/9662#issuecomment-62211440

Can you maybe give me your electron x86_64 musl package so I can test if that works on Alpine too?

Vscode natively on musl ?! A dream becomes true ... !

@Cogitri https://void.johnnynator.dev/electron/ has the binary , also I forgot to mention, I removed a system zlib patch for the time since it somehow broke the build system (would be suprised if that actually "fixed" anything)

Hm, seems like that SIGSEGVs for me too when I do /usr/lib/electron7/electron and starting VSCode only shows:

$ code-oss
Warning: 'app' is not in the list of known options, but still passed to Electron/Chromium.

:thinking:

Sorry to clutter the issue with that, but can you maybe give me a VSCode package too, @Johnnynator 馃槄

Guess you are talking about a musl version? @Cogitri

Yup

@Cogitri https://void.johnnynator.dev/electron/ has now everything I have build so far (also a test repo for everyone who is intrested)

@Johnnynator You are awesome! Thanks a lot. I would adapt it for my current vscode 1.45.0 PR if you like.

@Johnnynator You are awesome! Thanks a lot. I would adapt it for my current vscode 1.45.0 PR if you like.

Feel free to do so.

This includes electron itself ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LinArcX picture LinArcX  路  5Comments

whoizit picture whoizit  路  4Comments

Vaelatern picture Vaelatern  路  4Comments

rapha8l picture rapha8l  路  5Comments

Johnnynator picture Johnnynator  路  5Comments