Commit Graph

356 Commits

Author SHA1 Message Date
Yureka
58f2ef7717 electron-bin: remove unused insecure versions 2024-03-22 11:44:47 +01:00
Mathew Polzin
428564f752
electron: support v29 binary option (#296218) 2024-03-16 16:39:01 +01:00
Yureka
9f26152cc3 electron: small refactors
- provide passthru.fetchedDeps for debugging
- adapt gn args for latest electron versions
- fix mechanism for applying patches for latest electron versions
2024-03-14 12:29:00 +01:00
Yureka
c076cc2157 electron_26-bin: mark as insecure 2024-03-14 12:29:00 +01:00
Yureka
044c4aa3c3 electron-source.electron_26: remove 2024-03-14 12:29:00 +01:00
Yureka
d8545300ef electron_29: init at 29.1.2 2024-03-14 12:29:00 +01:00
Yureka
46eff96245 electron_27: 27.3.2 -> 27.3.5 2024-03-14 12:29:00 +01:00
Yureka
29c0b6e090 electron_28: 28.2.2 -> 28.2.6 2024-03-14 12:29:00 +01:00
Yueh-Shun Li
91b3db1309 treewide: fix sourceRoot for fetchgit-based src
According to Nixpkgs manual[1] and NixOS 23.11 Release Note[2], the
`sourceRoot` attribute passed to `stdenv.mkDerivation` should be
specified as `"${src.name}"` or `"${src.name}/subdir"` when `src` is
produced using `fetchgit`-based fetchers.

`sourceRoot = "source"` or `sourceRoot = "source/subdir"` is based on
the assumption that the `name` attribute of these pre-unpacked fetchers
are always `"source"`, which is not the case. Expecting constant `name`
also makes the source FODs prone to irrelevent hashes during version
bumps.

[1]: https://nixos.org/manual/nixpkgs/unstable/#var-stdenv-sourceRoot
[2]: https://nixos.org/manual/nixos/stable/release-notes#sec-release-23.11
2024-03-09 07:53:25 +08:00
Sandro
576d7037ba
Merge pull request #285883 from Kiskae/electron/fix-libs
electron_*-bin: fix libGL
2024-02-25 19:33:24 +01:00
teutat3s
ac0cc3a349 electron_26: 26.6.6 -> 26.6.9 2024-02-10 19:13:27 +01:00
teutat3s
f09f88e248 electron_27: 27.2.3 -> 27.3.2 2024-02-10 19:13:27 +01:00
teutat3s
f8f9e99b3e electron_28: 28.1.4 -> 28.2.2 2024-02-10 19:13:27 +01:00
Kiskae
1f09eb4d9e electron_*-bin: fix libGL 2024-02-02 20:44:54 +01:00
Yureka
1d03e63b91 electron_26: 26.6.5 -> 26.6.6 2024-01-21 18:55:12 +01:00
Yureka
b7c2f8afc2 electron_27: 27.2.2 -> 27.2.3 2024-01-21 18:55:12 +01:00
Yureka
2b55f7d488 electron_28: 28.1.3 -> 28.1.4 2024-01-21 18:55:12 +01:00
Felix Bühler
02266dc69e
electron: migrate to fixup-yarn-lock from prefetch-yarn-deps (#269933) 2024-01-14 15:14:58 +01:00
Yureka
7e6aa7e5a1 electron_*: more generalized fix for patches not applying
we remove the web_tests directory in the chromium src FOD to reduce the output size, but many backported patches also affect this directory
2024-01-14 00:34:17 +01:00
Yureka
fba4d66cc2 electron_28: 28.1.1 -> 28.1.3 2024-01-14 00:34:17 +01:00
Yureka
9e5af7e91f electron_27: 27.2.1 -> 27.2.2 2024-01-14 00:34:17 +01:00
Yureka
e7c70d13e6 electron_26: 26.6.4 -> 26.6.5 2024-01-14 00:34:17 +01:00
Yureka
b67fc24e4a electron_28: 28.1.0 -> 28.1.1 2024-01-06 11:47:47 +01:00
Yureka
093a19a07c electron_27: 27.2.0 -> 27.2.1 2024-01-06 11:47:47 +01:00
Yureka
01aef81d1b electron_26: 26.6.3 -> 26.6.4 2024-01-06 11:47:47 +01:00
Yureka
62dbffc2d7 electron_26: 26.6.2 -> 26.6.3 2023-12-26 12:03:44 +01:00
Yureka
2ca040210d electron_27: 27.1.3 -> 27.2.0 2023-12-26 12:03:44 +01:00
Yureka
9c531999c7 electron_28: 28.0.0 -> 28.1.0 2023-12-26 12:03:44 +01:00
Pol Dellaiera
5863466ef6
Merge pull request #275498 from drupol/electron-add-missing-hooks
electron: add missing phase hooks
2023-12-20 18:05:05 +01:00
Yureka
586070ede3
electron.headers: use gzip instead of xz compression (#275628)
node-gyp can't unpack XZ. Fixes https://github.com/NixOS/nixpkgs/issues/275627
2023-12-20 13:27:33 +01:00
Pol Dellaiera
7501d682b8 electron: add missing meta.mainProgram 2023-12-20 12:10:18 +03:00
Pol Dellaiera
f3915a9fa1
electron: add missing phase hooks 2023-12-20 09:03:26 +01:00
Pavol Rusnak
ca8e89e825
electron-bin: remove prusnak from maintainers 2023-12-10 23:59:13 +01:00
Yaya
181cc6ce34
electron_28-bin: init at v28.0.0 (#272762) 2023-12-09 00:24:27 +01:00
Yureka
09159529f9 electron_26: fix backported patch conflict 2023-12-06 12:44:46 +01:00
Yureka
9652f98da0 electron_25: eol 2023-12-05 19:38:28 +01:00
Yureka
d9c91eb958 electron_27: remove versions patch
https://github.com/electron/electron/pull/39974 has been backported to 27.x

Also now the patch used for versions older than 27 has been renamed to just "version.patch"
2023-12-05 19:38:28 +01:00
Yureka
c914ea90ef electron_28: 28.0.0-alpha.3 -> 28.0.0 2023-12-05 19:38:20 +01:00
Yureka
4f60ab6cbf electron_27: 27.0.0 -> 27.1.3 2023-12-05 19:37:35 +01:00
Yureka
e4b4b19156 electron_26: 26.4.0 -> 26.6.2 2023-12-05 19:37:35 +01:00
Weijia Wang
18618c9940
Merge pull request #262515 from networkException/chromium-sri-hashes
chromium,chromedriver,electron: use sri hashes instead of sha256 everywhere
2023-10-22 00:59:13 +02:00
networkException
e2523b4ca0
chromium,chromedriver,electron: use hash instead of sha256 everywhere
this patch updates the packaging of chromium and chromedriver to use
sri hashes in `upstream-info.nix` instead of sha256 as well as
the packaging of electron to use sri hashes in `info.json` instead
of sha256 (just gn).

this patch also updates the previous `sha256` values in
`upstream-info.nix` and `info.json` to sri hashes in `hash`.
2023-10-21 19:56:40 +02:00
Yaya
3e8424248f electron-{22,24}-bin: Mark EOL
These are now EOL since 2023-10-10

https://endoflife.date/electron

Co-authored-by: Yureka <yuka@yuka.dev>
2023-10-21 16:40:45 +02:00
networkException
6e4796d619
chromium,electron: always output sri hashes from update scripts
this patch changes the update script to always output sri hashes
for all hashes written to chromium's `upstream-info.nix` and
electron's `info.json`. the keys have also been renamed from `sha256`
to `hash`.
2023-10-21 15:16:58 +02:00
nixdrin
503e176e3d electron-bin: add pciutils to electronLibPath
libpci.so is needed at runtime to detect GPU vendor/device IDs properly,
so that Chromium's blocklists that workaround various GPU driver bugs
can be applied correctly.
2023-10-20 00:03:30 +02:00
Yureka
3f84dd89b8 electron_25: 25.9.0 -> 25.9.1 2023-10-19 19:52:10 +02:00
Yureka
63ecd56469 electron_26: 26.3.0 -> 26.4.0 2023-10-19 19:52:10 +02:00
Yureka
2b2804fe4a electron-source.electron_28: 28.0.0-nightly.20231009 -> 28.0.0-alpha.2 2023-10-19 19:52:10 +02:00
Nick Cao
72b9db4a08
Merge pull request #260540 from yayayayaka/electron_22-bin-22.3.27
electron_22-bin: 22.3.26 -> 22.3.27
2023-10-12 11:47:44 -04:00
Yureka
6e8da9c070 electron-source.electron_28: init at 28.0.0-nightly.20231009 2023-10-12 15:45:58 +02:00