Search Criteria
Package Details: vscodium-electron 1.95.3.24321-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/vscodium-electron.git (read-only, click to copy) |
---|---|
Package Base: | vscodium-electron |
Description: | VS Code without MS branding/telemetry/licensing. - System-wide Electron edition |
Upstream URL: | https://github.com/VSCodium/vscodium |
Keywords: | code codium electron system vscode vscodium wayland |
Licenses: | MIT |
Conflicts: | codium, vscodium, vscodium-bin, vscodium-git |
Provides: | codium, vscodium |
Submitter: | m00nw4tch3r |
Maintainer: | Richardn |
Last Packager: | Richardn |
Votes: | 8 |
Popularity: | 0.99 |
First Submitted: | 2022-04-10 18:19 (UTC) |
Last Updated: | 2024-11-19 02:42 (UTC) |
Dependencies (11)
- electron32 (electron32-binAUR)
- libsecret
- libx11 (libx11-gitAUR)
- libxkbfile
- ripgrep (ripgrep-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- jq (jq-gitAUR) (make)
- nvmAUR (nvm-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- gvfs (gvfs-gitAUR) (optional) – For move to trash functionality
- libdbusmenu-glib (optional) – For KDE global menu
Required by (4)
- vscodium-electron-features
- vscodium-electron-marketplace
- vscodium-features (requires vscodium)
- vscodium-marketplace (requires vscodium)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 Next › Last »
Richardn commented on 2023-12-11 15:56 (UTC)
I know how
rg
is being depended, but not exactly why as the package adopter.If you read the
install()
section, you will find that therg
being bundled with the package is replaced by and linked to the systemrg
. This is the dependency.That said, I am not 100% sure why. If
rg
is the only binary other than the main code (and the now gone bundledelectron
) in the built package, then maybe it is a good idea to also use systemrg
due to the philosophy of this package. If there are multiple other bundled binaries, then it makes no sense to only pickrg
and replace it. And I am not sure about which is the case.FYI, before I adopt, the package creator replaced
grep
usage in thevscodium
build script withrg
, and now that I reverted the build process back to the original scripts,rg
is no longer needed here.xinayder commented on 2023-12-11 12:18 (UTC)
Out of curiosity, why is ripgrep a dependency for this package? I checked the PKGBUILD and it seems like it's not needed at all. The main vscodium package doesn't depend on it.
Richardn commented on 2023-11-24 20:06 (UTC) (edited on 2023-11-24 23:25 (UTC) by Richardn)
Okay, now I am the maintainer of this package. On my local side, I have written a bash script for building
vscodium
with systemelectron
and have been testing in a cleanchroot
environment. Major changes include:vscodium
repo more, with as minimum mangling as possible. For example the download ofvscode
is now handled by the repo'sget_repo.sh
, instead of by themakepkg
system.nvm
is used, theyarn
used for building the package will be theyarn
installed by thenpm
from thenode
installation bynvm
for building the package. Dependency on systemyarn
is removed.Now I have reached the step where the checksum failure is reproduced, and has determined the cause. During step
A fresh
electron
copy is being downloaded for building purposes. As this package is targeting system electron, the version to download is mangled to be the system electron's version. However, this download is checksum'ed against checksums contained invscode/build/checksums/electron.txt
, which only includes checksums for the officially targetedelectron
version, thus resulting in aNo checksum found
error. I am currently determining a workaround.--- EDIT ---
Done. Solution is to
curl
down the checksum ofelectron
source of the systemelectron
's version from GitHub. A similar move is done in the Arch official vscode package.Richardn commented on 2023-07-10 15:04 (UTC) (edited on 2023-10-11 00:44 (UTC) by Richardn)
Is
_nodejs="16.17.1"
too outdated or something?makepkg
yields404
forhttps://artifacts.electronjs.org/headers/v16.17.1/node-v16.17.1-headers.tar.gz
, thus failing. I switched to18.16.1
in thePKGBUILD
and started making.The first thing I noticed is that if
/usr/lib/$_electron/version
does not present, an error will only be generated late in compilation, which is annoying. I suggest defaulting$_electron
to none and hinting the user early in the build to set this variable if it is not set properly.Then, I tried
electron19-bin
andelectron22
, both yielded, failing the build. Is this an upstream bug?
I do not manage a build till now.
--- EDIT ---
I found that if the "current" node.js is not
v16.17.1
, the build process will try to downloadv16.17.1
headers fromelectron.js
, and will yield a 404, breaking the build. Invm use 16.17.1
beforemakepkg
and the making has been progressing. Still, stuck at the checksum issue.--- EDIT ---
I managed a build with the 2023-08-04 version.
--- EDIT ---
From time to time I randomly encounter the checksum failure problem. A dirty solution is during the build, delete the checksum function call at
<package-root>/src/vscode/node_modules/@vscode/gulp-electron/src/download.js:146
. I did some prints of the pathnames used, and suspect that the failure is about switching directories when building. I do not have much experience in this, and just noting this down.Veil commented on 2023-06-06 14:58 (UTC) (edited on 2023-06-06 15:57 (UTC) by Veil)
Is extensions marketplace even work on this package? Infinite loading for me. Nvm marketshare not work with exec electron21 for me. With 22 electron, vscodium don't wanna run with wayland flags. 23-24 electron works, but it load random cpu core to 100% always.
HurricanePootis commented on 2023-04-13 16:48 (UTC)
Vscode upstream does not support electron 22 yet, and is only planning on upgrading to it with version 78 for the mean time. Furthermore, on my system,
vscodium.sh
launches with wayland properly with the script. What kind of GPU are you using?ILikesCaviar commented on 2023-04-08 20:09 (UTC) (edited on 2023-04-08 20:10 (UTC) by ILikesCaviar)
I had to make a modification to /usr/bin/codium to get this to work under wayland (mesa driver). I have to use the electron package instead of electron19 and:
--- ELECTRON_RUN_AS_NODE=1 exec electron19 /usr/lib/vscodium/out/cli.js /usr/lib/vscodium/vscodium.js --enable-features=UseOzonePlatform --ozone-platform=wayland "$@"
+++ ELECTRON_RUN_AS_NODE=1 exec electron /usr/lib/vscodium/out/cli.js /usr/lib/vscodium/vscodium.js --ozone-platform=wayland "$@"
HurricanePootis commented on 2023-02-19 18:29 (UTC)
@REmorin, done
« First ‹ Previous 1 2 3 4 5 6 Next › Last »