Commit Graph
100 Commits
Author SHA1 Message Date
Michael Weiss ac1fe4e3d7 Merge pull request #136631 from primeos/chromium-backport
[21.05] chromium: 92.0.4515.159 -> 93.0.4577.63
2021-09-04 11:21:38 +02:00
Michael Weiss 5d4839d6c4 Merge pull request #136639 from NixOS/backport-136633-to-release-21.05
[Backport release-21.05] signal-desktop: 5.15.0 -> 5.16.0
2021-09-04 11:20:25 +02:00
Michael Weiss a72240c5c6 Merge pull request #136640 from NixOS/backport-136629-to-release-21.05
[Backport release-21.05] llvmPackages_13.compiler-rt: Mark as broken on Aarch64
2021-09-04 11:19:34 +02:00
Michael Weiss 478fecce96 llvmPackages_13.compiler-rt: Mark as broken on Aarch64
To avoid unnecessary builds but this needs to be fixed ASAP. Chromium
already depends on it and a lot of additional packages, including Mesa,
will depend on it after the stable release.

(cherry picked from commit 5661f7dbeeee708a401d2524ddb40374dda4c6a7)
2021-09-03 22:30:22 +00:00
Michael Weiss 06f9502809 signal-desktop: 5.15.0 -> 5.16.0
(cherry picked from commit c5130a6205c9b89d31b7140f6478fdc9014e06ea)
2021-09-03 22:29:11 +00:00
Michael Weiss 546c9a981b chromium: 92.0.4515.159 -> 93.0.4577.63
https://chromereleases.googleblog.com/2021/08/stable-channel-update-for-desktop_31.html

This update includes 27 security fixes.

CVEs:
CVE-2021-30606 CVE-2021-30607 CVE-2021-30608 CVE-2021-30609
CVE-2021-30610 CVE-2021-30611 CVE-2021-30612 CVE-2021-30613
CVE-2021-30614 CVE-2021-30615 CVE-2021-30616 CVE-2021-30617
CVE-2021-30618 CVE-2021-30619 CVE-2021-30620 CVE-2021-30621
CVE-2021-30622 CVE-2021-30623 CVE-2021-30624

(cherry picked from commit d04f44f7e8d6f475e91e5539becf156676caff5c)
2021-09-03 23:05:31 +02:00
Michael Weiss ac663e69a3 Merge pull request #136575 from primeos/chromium-backport
[21.05] Backport the required commits for the Chromium M93 update
2021-09-03 23:04:10 +02:00
Michael Weiss b0c90ba71b chromiumDev: 95.0.4621.4 -> 95.0.4628.3
(cherry picked from commit 79725cdc4d81395191a3603a61fdb14eb739b9cf)
2021-09-03 13:59:35 +02:00
Michael Weiss 3bfe8801e3 chromiumBeta: 94.0.4606.20 -> 94.0.4606.31
(cherry picked from commit 55e9fc96666eecd1d4fba29a37b6f474b60667c4)
2021-09-03 13:59:34 +02:00
Michael Weiss 21edf9c42f chromium: Move the version helper functions into default.nix
Those functions can be required anywhere in the Nix expressions for
Chromium and therefore they should be defined in default.nix and
inherited where necessary.

This fixes the chromiumBeta build which failed because I forgot to
update the channel conditional when the beta channel advanced to M94.
This is exactly why the version based conditionals should be used
everywhere.

(cherry picked from commit 186315def77d62b53ad6ccdf57ec9593edbe8bc3)
2021-09-03 13:59:33 +02:00
Michael Weiss dae2c39b9e chromiumDev: 94.0.4606.20 -> 95.0.4621.4
(cherry picked from commit 04fa5e852a0c467cfa29dce74500705ed5d21e0c)
2021-09-03 13:59:32 +02:00
Michael Weiss 2af37d53bd chromiumBeta: 93.0.4577.58 -> 94.0.4606.20
(cherry picked from commit 33a4dae995e39360da9b70024da3e1267318ff84)
2021-09-03 13:59:31 +02:00
Michael Weiss dd2d264062 chromiumDev: 94.0.4606.12 -> 94.0.4606.20
(cherry picked from commit 5bb4a67959cebbe8b24021c0a583a614245a2e20)
2021-09-03 13:59:30 +02:00
Michael Weiss 3de9ca8a8d chromiumBeta: 93.0.4577.51 -> 93.0.4577.58
(cherry picked from commit d0dad3f519117db63fa2f101c47c7c8e206a294a)
2021-09-03 13:59:29 +02:00
Michael Weiss 9e0211b13c google-chrome-dev: Fix the build
crashpad_handler was renamed to chrome_crashpad_handler.

(cherry picked from commit 88336eea953611be8e7da63661000ec7eb9f6032)
2021-09-03 13:59:28 +02:00
Michael Weiss d3e31a97e3 chromiumDev: 94.0.4603.0 -> 94.0.4606.12
I've upstreamed fix-missing-atspi2-dependency.patch.

(cherry picked from commit 6ca181b3608eba3d21325ed32c1958536fa7b7df)
2021-09-03 13:59:24 +02:00
Michael Weiss 3fa4af5d29 chromiumBeta: 93.0.4577.42 -> 93.0.4577.51
(cherry picked from commit 2834fea828e632b4152b7f14b74d729eacceec66)
2021-09-03 13:58:07 +02:00
Michael Weiss d3f6410eff chromium: Document the main gn build flags
(cherry picked from commit a1fdebcef0befd3c81955e5a3d11292a819f84fc)
2021-09-03 13:58:06 +02:00
Michael Weiss 1ec8df7a95 chromiumDev: Fix the installation phase
(cherry picked from commit dd36a7c487f03d8673bd41bd9fda72d0d8252675)
2021-09-03 13:58:05 +02:00
Michael Weiss f2e8955366 chromiumBeta: 93.0.4577.25 -> 93.0.4577.42
(cherry picked from commit badee4e70a70b126830fb3964c90e72edfafa1bc)
2021-09-03 13:58:04 +02:00
Michael Weiss 3670f55599 chromiumBeta: Build with LLVM 13
(cherry picked from commit 403ce1a9a3624e7b87606b99ea15f531fa17f8e7)
2021-09-03 13:58:01 +02:00
Michael Weiss 905b1242d8 chromiumDev: 94.0.4595.0 -> 94.0.4603.0
(cherry picked from commit 624cb8bc2b4fd38db3eff105be197d5b875bc61d)
2021-09-03 13:56:31 +02:00
Michael Weiss 4c19443f54 chromium: Restructure the code
This should make it a little bit easier to read. The (native) build
inputs and options now have a consistent order, defaultDependencies and
yasm aren't required anymore, and this adds some brief comments.
Note: The third_party/node/linux/node-linux-x64/bin/node change causes
rebuilds.

(cherry picked from commit 4a5b36725919c002751228515d518f23772f988e)
2021-09-03 13:56:30 +02:00
Michael Weiss c803b6f93a chromiumBeta: 93.0.4577.18 -> 93.0.4577.25
(cherry picked from commit 39d95aa8e96f5508a9ffabf96513fc17151e2e81)
2021-09-03 13:56:29 +02:00
Michael Weiss d14b18dd69 chromiumDev: Fix the build
Note: I've only tested this with llvmPackages_git but it should work
with llvmPackages_13 as well.

fieldtrial_testing_like_official_build was renamed to
disable_fieldtrial_testing_config:
https://github.com/chromium/chromium/commit/486e9d58c0980be0d50054064e0b7d79446de071

(cherry picked from commit 1e372f40047912013568d731208655bd9dab526c)
2021-09-03 13:56:28 +02:00
Michael Weiss b5d1601f7a Merge pull request #136562 from primeos/llvm-backport
[21.05] Backport LLVM 13
2021-09-03 13:34:11 +02:00
Michael Weiss 7055f658d9 Merge pull request #136561 from primeos/chromium-backport
[21.05] Backport the first batch of Chromium patches
2021-09-03 11:52:51 +02:00
Michael Weiss 56ebee647a llvmPackages_13: 13.0.0-rc1 -> 13.0.0-rc2
Upstream backported 5060224d9eed8b8359ed5090bb7c577b8575e9e7:
https://github.com/llvm/llvm-project/commit/93da37dc58e9d1d4a685bcb6a30a9d3ff78733f9

(cherry picked from commit bac15390f5dbe8072b7acc77329e68a9fdfb5758)
2021-09-03 11:40:30 +02:00
Michael Weiss bcfaa8041c pkgsi686Linux.llvmPackages_13.compiler-rt: fix build
Ported from a7c4537a729929f6670349f67d248ffb6ff800da.

(cherry picked from commit c8db49f0a939ce2219b41f8d3993268ceeef05f1)
2021-09-03 11:40:26 +02:00
Michael Weiss 81aa38b83d llvmPackages_13.lldb: python into lib & wrap binary
Ported from cc7740ae770c52ac1f385aa25cfc143fe79c6b6e.

(cherry picked from commit a5f0733461e6937d0397e2afdef73db15f748c61)
2021-09-03 11:40:25 +02:00
Michael Weiss 11d06468b3 llvmPackages_13.lldb: fix python lldb library
Ported from e097f7efc77726a17acca7be3e6e2346331883f3.

(cherry picked from commit a6defaf953d4470a9dcf8cae3bef1c2c4d17f296)
2021-09-03 11:40:25 +02:00
Michael Weiss 80f644e0d2 llvmPackages_13.compiler-rt: fix build on darwin
Ported from cf4e1b9e62ab987552eb676f7618ea085f12a751.

(cherry picked from commit 6a1354b1fc14dfd549bd88f58aede0178f489415)
2021-09-03 11:40:24 +02:00
Michael Weiss cb51b0e984 llvmPackages_13.clang: fix linker invocation with LLVMgold plugin
Ported from 3530837417da13076a2c8412de2c0c385dfbd648.

(cherry picked from commit c858c42002313cc5f9c837c10d8b3babddc77b32)
2021-09-03 11:40:23 +02:00
Michael Weiss 90c3f09977 llvmPackages_13: init at 13.0.0-rc1
(cherry picked from commit 2540b66ba652d68d9f1ba487d516c22f8ae69bec)
2021-09-03 11:40:19 +02:00
Michael Weiss ebd2a830dc llvmPackages_13: Copy from llvmPackages_git
(cherry picked from commit f3f86d47220e2c2332d60f6bd0a89b76a628529d)
2021-09-03 11:39:05 +02:00
Michael Weiss 7ab6adf608 chromium: get-commit-message.py: Support specifying a version
This makes the usage from update.py more robust.
It also adds a workaround for [0] which currently lacks a title.

[0]: https://chromereleases.googleblog.com/2021/08/the-stable-channel-has-been-updated-to.html

(cherry picked from commit 9bc2d82b55549f0786f729fdc080335d8aa4a8a8)
2021-09-03 11:30:41 +02:00
Michael Weiss ba876b30f2 chromiumDev: 93.0.4577.18 -> 94.0.4595.0
(cherry picked from commit f9eb20c0a96c01f60a8162d228eede544f7e230e)
2021-09-03 11:30:40 +02:00
Michael Weiss c46ea2796f chromium: update.py: Implement automatic committing of the updates
This functionality saves some unnecessary work.

(cherry picked from commit e143dc53b23a56621a2da13cf8698bea7521f94a)
2021-09-03 11:30:39 +02:00
Michael Weiss 3ababf6d04 chromium: Drop our closure_compiler patch for Java
Hopefully the Java dependency can be dropped soon:
https://bugs.chromium.org/p/chromium/issues/detail?id=1192875#c5

(cherry picked from commit 8505750ac89a1aee154038f6ac9c30cbdd221cfe)
2021-09-03 11:28:51 +02:00
Michael Weiss 701cb52607 chromium: Drop two gn overrides that are not required anymore
The chromium and chromiumBeta builds still succeed.

(cherry picked from commit 2682531c67cefc5110adfa546bfdc66e6374e91f)
2021-09-03 11:27:08 +02:00
Michael Weiss 65b3f3f186 chromium: Restructure gnFlags
This doesn't cause any rebuilds because we use a set but should make it
a bit easier to understand what's going on. This also moves two flags
that where incorrectly in "optionalAttrs pulseSupport" (enabled by
default) out of there.
The native client deprecation is stated here:
https://developer.chrome.com/docs/native-client/

(cherry picked from commit 555c3afaf2b17af6ad06ae82b545ca06e252bcd1)
2021-09-03 11:27:08 +02:00
Michael Weiss aa0e9cfd1e chromiumBeta: 92.0.4515.107 -> 93.0.4577.18
(cherry picked from commit d7ab681b7aa525b4c3081473ab68dd13ae85c7b2)
2021-09-03 11:27:07 +02:00
Michael Weiss e77d77484a chromiumDev: 93.0.4577.15 -> 93.0.4577.18
(cherry picked from commit 7f8de3536ab224357110274441c209f8291a6cbd)
2021-09-03 11:27:06 +02:00
Michael Weiss 1ffa4bbbd6 chromiumDev: 93.0.4577.8 -> 93.0.4577.15
(cherry picked from commit 68adc7b81c4743f3314aa720c2ac2a0e6d7e44e1)
2021-09-03 11:27:05 +02:00
Michael Weiss cb026a4a09 chromiumDev: Fix the build
Our system FFmpeg version is too outdated and Snappy causes a linking
failure (I didn't have time to investigate yet). Hopefully we can revert
this before the stable release of M93.

(cherry picked from commit bd22d2425cb7f14b1f98f7432e6ad38208609adb)
2021-09-03 11:27:05 +02:00
Michael Weiss 4dbbc50b30 chromium: Merge the installPhase command strings
This wasn't done in 97570d30c7f to allow reusing chromiumBeta builds
(without having to perform any changes) in the meantime.

(cherry picked from commit 9ac31885527059cfc150343e576216e712408d1b)
2021-09-03 11:27:04 +02:00
Michael Weiss 81c33c7969 chromium: Minimize the diff to nixos-unstable
Keeping the diff minimal makes backporting updates easier.
This is basically e9e5f5f84de backported for Chromium.
2021-09-03 11:23:03 +02:00
Michael Weiss 6bfe71f2a4 Revert "chromium: 92.0.4515.159 -> 93.0.4577.63"
This reverts commit acf91fbac7.
Reason: I didn't pay enough attention, this lacks additional backports,
sorry!
2021-09-02 17:55:10 +02:00
Michael Weiss ea2023628b Merge pull request #136386 from NixOS/backport-136373-to-release-21.05
[Backport release-21.05] chromium: 92.0.4515.159 -> 93.0.4577.63
2021-09-02 17:53:25 +02:00
Michael Weiss acf91fbac7 chromium: 92.0.4515.159 -> 93.0.4577.63
https://chromereleases.googleblog.com/2021/08/stable-channel-update-for-desktop_31.html

This update includes 27 security fixes.

CVEs:
CVE-2021-30606 CVE-2021-30607 CVE-2021-30608 CVE-2021-30609
CVE-2021-30610 CVE-2021-30611 CVE-2021-30612 CVE-2021-30613
CVE-2021-30614 CVE-2021-30615 CVE-2021-30616 CVE-2021-30617
CVE-2021-30618 CVE-2021-30619 CVE-2021-30620 CVE-2021-30621
CVE-2021-30622 CVE-2021-30623 CVE-2021-30624

(cherry picked from commit d04f44f7e8d6f475e91e5539becf156676caff5c)
2021-09-01 13:53:53 +00:00
Michael Weiss 74d017edb6 Merge pull request #135917 from NixOS/backport-135910-to-release-21.05
[Backport release-21.05] signal-desktop: 5.14.0 -> 5.15.0
2021-08-27 16:58:49 +02:00
Michael Weiss 5c71a1080f signal-desktop: 5.14.0 -> 5.15.0
(cherry picked from commit b49afb3fe6096f6b2047dba6730c6f6b6d4c3473)
2021-08-27 14:28:58 +00:00
Michael Weiss 835bdf1b65 Merge pull request #135327 from NixOS/backport-135228-to-release-21.05
[Backport release-21.05] ungoogled-chromium: 92.0.4515.131 -> 92.0.4515.159
2021-08-22 21:33:54 +02:00
Michael Weiss fe10697bd0 ungoogled-chromium: 92.0.4515.131 -> 92.0.4515.159
(cherry picked from commit 76ab90294e4014a3a1e887f1099fc1f674385b94)
2021-08-22 19:13:31 +00:00
Michael Weiss f9698c475d Merge pull request #134414 from NixOS/backport-134409-to-release-21.05
[Backport release-21.05] chromium: 92.0.4515.131 -> 92.0.4515.159
2021-08-19 10:59:51 +02:00
Michael Weiss d64c771c8e Merge pull request #134719 from NixOS/backport-134704-to-release-21.05
[Backport release-21.05] signal-desktop: 5.13.1 -> 5.14.0
2021-08-19 10:36:36 +02:00
Michael Weiss da2591ed04 signal-desktop: 5.13.1 -> 5.14.0
(cherry picked from commit 8a4a84c83a62b1f8d5a0c94d0ea411ad7ee5825f)
2021-08-18 21:25:02 +00:00
Michael Weiss 587b190c8a chromium: 92.0.4515.131 -> 92.0.4515.159
https://chromereleases.googleblog.com/2021/08/stable-channel-update-for-desktop.html

This update includes 9 security fixes.

CVEs:
CVE-2021-30598 CVE-2021-30599 CVE-2021-30600 CVE-2021-30601
CVE-2021-30602 CVE-2021-30603 CVE-2021-30604

(cherry picked from commit 1c476a2b6dda4bef88270f0285cac5363712c980)
2021-08-17 08:55:42 +00:00
Michael Weiss 543d4ecac2 Merge pull request #134200 from primeos/security-backports-for-21.05
[21.05] glances: 3.1.7 -> 3.2.3
2021-08-16 22:36:55 +02:00
Michael Weiss 3c9c1bc642 glances: 3.2.0 -> 3.2.1
(cherry picked from commit c05bef5bc56325032f4602a9d5025551653bcc5c)
2021-08-15 15:21:49 +02:00
Michael Weiss 09e9715cc0 glances: 3.1.7 -> 3.2.0
(cherry picked from commit 035ba51146398b4ada9a89bd6246cd35e14b837e)
2021-08-15 15:21:48 +02:00
Michael Weiss ca084144c6 Merge pull request #133986 from NixOS/backport-133938-to-release-21.05
[Backport release-21.05] signal-desktop: 5.13.0 -> 5.13.1
2021-08-14 13:31:59 +02:00
Michael Weiss 0f09ebb8a2 signal-desktop: 5.13.0 -> 5.13.1
(cherry picked from commit 759dd3036f98985be36c41e9b85f6dd63db68c7b)
2021-08-14 11:13:26 +00:00
Michael Weiss 920934d188 signal-desktop: 5.12.2 -> 5.13.0
(cherry picked from commit 31a187510673af588984b5f2a4591e34ce7cfc64)
2021-08-12 21:56:27 +00:00
Michael Weiss b5510dc4d4 Merge pull request #132822 from NixOS/backport-132798-to-release-21.05
[Backport release-21.05] signal-desktop: 5.12.1 -> 5.12.2
2021-08-06 10:08:53 +02:00
Michael Weiss e96ec15bc4 signal-desktop: 5.12.1 -> 5.12.2
(cherry picked from commit bba311e5dfcc7a67aa63fea41839ce7b52fa05cf)
2021-08-05 20:46:23 +00:00
Michael Weiss 1ce07d770b Merge pull request #132757 from NixOS/backport-132695-to-release-21.05
[Backport release-21.05] ungoogled-chromium: 91.0.4472.164 -> 92.0.4515.131
2021-08-05 14:28:03 +02:00
Michael Weiss 8c589a79c8 Merge pull request #132771 from NixOS/backport-132756-to-release-21.05
[Backport release-21.05] signal-desktop: 5.12.0 -> 5.12.1
2021-08-05 14:08:44 +02:00
Michael Weiss 7df18c5b76 signal-desktop: 5.12.0 -> 5.12.1
(cherry picked from commit f11652f0a6ec62eb3b8f0e93db2211a14662c322)
2021-08-05 10:37:19 +00:00
Michael Weiss fa62bb8fac ungoogled-chromium: 91.0.4472.164 -> 92.0.4515.131
(cherry picked from commit 45c32f59a58b69ca6db8c8c5fdbe0ea9eee02376)
2021-08-05 09:26:03 +00:00
Michael Weiss 935e4fafbb Merge pull request #132644 from NixOS/backport-132639-to-release-21.05
[Backport release-21.05] signal-desktop: 5.11.0 -> 5.12.0
2021-08-04 14:10:42 +02:00
Michael Weiss d10d928193 signal-desktop: 5.11.0 -> 5.12.0
(cherry picked from commit f734643f0078b104eb3af9611eb0530a6fb503f3)
2021-08-04 09:54:55 +00:00
Michael Weiss dc7227dbd8 chromium: 92.0.4515.107 -> 92.0.4515.131
https://chromereleases.googleblog.com/2021/08/the-stable-channel-has-been-updated-to.html

This update includes 10 security fixes.

CVEs:
CVE-2021-30590 CVE-2021-30591 CVE-2021-30592 CVE-2021-30593
CVE-2021-30594 CVE-2021-30596 CVE-2021-30597

(cherry picked from commit 7015db7881584aa264e5cd21df03429ce64b14d0)
2021-08-03 08:01:59 +00:00
Michael Weiss 9b1bd6f7c7 tdesktop: Drop the enchant2 and dee dependencies
Ilya Fedin informed me that they aren't required anymore. Thanks :)

(cherry picked from commit 733756ccfc2e333658f77c657a3cd1c64d2ff1eb)
2021-07-31 12:40:08 +02:00
Michael Weiss 1d6b8ef74b tdesktop: 2.8.1 -> 2.8.3
(cherry picked from commit 3864c36b790f253e5109f833a788ece7e2dfbaa4)
2021-07-31 12:40:08 +02:00
Michael Weiss 11620afb1a kotatogram-desktop: Copy the old tg_owt.nix from tdesktop
The current tg_owt version (since the update of tdesktop to version
2.8.0 in 0d509d366d4) isn't compatible with kotatogram-desktop anymore.

(cherry picked from commit f287805fafbf9f9b3ad024a35db6b81dad76f491)
2021-07-31 12:40:08 +02:00
Michael Weiss 1de73b5b66 tdesktop: 2.8.0 -> 2.8.1
This also improves the packaging (see #128219).

(cherry picked from commit dc87cf529880ec6ddbc4ac3011928fc28ef2ff58)
2021-07-31 12:40:08 +02:00
Michael Weiss d73ddfe782 tdesktop: 2.7.5 -> 2.8.0
(cherry picked from commit 0d509d366d4fc692a9dc81366445e29da81202e6)
2021-07-31 12:40:07 +02:00
Michael Weiss ca137ac841 Merge pull request #131941 from NixOS/backport-131932-to-release-21.05
[Backport release-21.05] signal-desktop: 5.10.0 -> 5.11.0
2021-07-29 18:41:07 +02:00
Michael Weiss d8b84d9618 signal-desktop: 5.10.0 -> 5.11.0
(cherry picked from commit ce6a51bd14f3585b5ad63b672019bc8d6cf47ae9)
2021-07-29 11:10:21 +00:00
Michael Weiss 4f6946867e Merge pull request #131461 from primeos/chromium-backport
[21.05] chromium: 91.0.4472.164 -> 92.0.4515.107
2021-07-26 08:49:13 +02:00
Michael Weiss 37eae1967a Merge pull request #131363 from oxalica/fix/tdesktop-voice-chat-backport
[21.05] tdesktop: fix calls, dlopen and bundle fonts
2021-07-25 13:21:02 +02:00
Michael Weiss 4e8d55ce61 nixos/tests/chromium: Drop the workaround for Chrome GPU crashes
This regression was fixed by 51d83077ffb.

(cherry picked from commit 4ec2b24603e6eb4a48272678c75d2518de4e2191)
2021-07-25 13:04:53 +02:00
Michael Weiss 6dbb8d5098 nixos/tests/chromium: Check the version and that it's an official build
This also prints and screenshots the output of chrome://version which
contains useful information.

Outputs (stable, beta, ungoogled, chrome-stable, chrome-beta, chrome-dev):
Chromium	92.0.4515.107 (Official Build) (64-bit)
Chromium        92.0.4515.107 (Official Build) (64-bit)
Chromium        91.0.4472.164 (Official Build, ungoogled-chromium) (64-bit)
Google Chrome   92.0.4515.107 (Official Build) (64-bit)
Google Chrome   92.0.4515.107 (Official Build) beta (64-bit)
Google Chrome   93.0.4577.8 (Official Build) dev (64-bit)

(cherry picked from commit 7b3c0545149cb5c67611945d6022b61047439d61)
2021-07-25 13:04:52 +02:00
Michael Weiss 8b75191bea chromium: Fix the Ozone/Wayland support
The stable channel update to M92 (97570d30c7f) broke the Wayland support:
$ chromium --enable-features=UseOzonePlatform --ozone-platform=wayland
[31712:31712:0721/114725.940557:ERROR:wayland_connection.cc(137)] Failed to load wayland client libraries.
[31712:31712:0721/114725.940641:FATAL:ozone_platform_wayland.cc(177)] Failed to initialize Wayland platform
[0721/114725.947566:ERROR:process_memory_range.cc(75)] read out of range
Trace/breakpoint trap (core dumped)

(cherry picked from commit bb651d27fd86814087f54eaefda0a0fc04d4d6cf)
2021-07-25 13:04:11 +02:00
Michael Weiss a04e7e7ee4 chromium: 91.0.4472.164 -> 92.0.4515.107
https://chromereleases.googleblog.com/2021/07/stable-channel-update-for-desktop_20.html

This update includes 35 security fixes.

CVEs:
CVE-2021-30565 CVE-2021-30566 CVE-2021-30567 CVE-2021-30568
CVE-2021-30569 CVE-2021-30571 CVE-2021-30572 CVE-2021-30573
CVE-2021-30574 CVE-2021-30575 CVE-2021-30576 CVE-2021-30577
CVE-2021-30578 CVE-2021-30579 CVE-2021-30580 CVE-2021-30581
CVE-2021-30582 CVE-2021-30583 CVE-2021-30584 CVE-2021-30585
CVE-2021-30586 CVE-2021-30587 CVE-2021-30588 CVE-2021-30589

Note: This won't be the smoothest update. Chromium seems to be fine but
requires gtk3 in $LD_LIBRARY_PATH to find libgtk-3.so.0 (otherwise it
crashes during startup) but Google Chrome fails to initialize
("GPU process exited unexpectedly: exit_code=132") and requires
"--use-gl=angle --use-angle=swiftshader" for hardware(?) acceleration
(which seems to work work fine and performant but SwiftShader should
actually use the CPU instead of the GPU).

(cherry picked from commit 97570d30c7f632e6ca25cf8e966d2a4b7e5aa546)
2021-07-25 13:04:11 +02:00
Michael Weiss 52e4b484ca Merge pull request #131453 from primeos/chromium-backport
[21.05] Backport the test improvements for Chromium (+ wrapper fix)
2021-07-25 12:23:26 +02:00
Michael Weiss 2eaf9b409a chromium: Check the text rendering
This should catch regressions like #131074 in the future. In that case a
glibc update caused a regression that caused most of the text to become
invisible (just not the "Web Store" we've already been checking for).

(cherry picked from commit 11400dcd65ed95292d7ac7cb30912e15ec4cf8e1)
2021-07-25 11:37:57 +02:00
Michael Weiss 24599a5ba6 nixos/tests/chromium: Print the content of chrome://{sandbox,gpu}
This can be very useful when running the test headless or e.g. when
looking at Hydra logs. Especially the chrome://gpu content contains a
lot of interesting information.
I also decided to refactor the test_new_win() function to avoid
duplicate code and rely less on xdo.

(cherry picked from commit c33015a0c94777261ef054a3d7dacd53e744ceea)
2021-07-25 11:37:57 +02:00
Michael Weiss 90e44d2f1c nixos/tests/chromium: Refactor launching the browser process
It should now be more flexible and less error-prone.

(cherry picked from commit 8c52061b1fce2036b70836e5dcdfcf4b702dd405)
2021-07-25 11:37:57 +02:00
Michael Weiss a20f9eb0ec nixos/tests/chromium: Fix the test for M92+
Unfortunately there are some regressions in the GPU code that cause
Chromium and Google Chrome to crash, e.g.:
machine # [0709/084047.890436:ERROR:process_memory_range.cc(75)] read out of range[   30.153484] show_signal: 20 callbacks suppressed
machine # [   30.153490] traps: chrome[1036] trap invalid opcode ip:55af03357b29 sp:7ffeaa69ad10 error:0 in chrome[55aefe7a4000+81ec000]
machine #
machine # [0709/084047.955039:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
machine # [0709/084047.955078:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
machine # [   30.126905] systemd[1]: Created slice system-systemd\x2dcoredump.slice.
machine # [   30.137012] systemd[1]: Started Process Core Dump (PID 1038/UID 0).
machine # [   30.571987] systemd-coredump[1039]: Process 1036 (chrome) of user 1000 dumped core.
machine # [992:1021:0709/084048.501937:ERROR:gpu_process_host.cc(995)] GPU process exited unexpectedly: exit_code=132
machine # [   30.594747] systemd[1]: systemd-coredump@0-1038-0.service: Succeeded.

Hopefully this'll be fixed upstream before the final release (there are
bug reports for it) but for the meantime we have to launch the beta and
dev versions with "--use-gl=angle --use-angle=swiftshader".

(cherry picked from commit f9645002a2d8615fd608bfdef4f924481dca391e)
2021-07-25 11:37:56 +02:00
Michael Weiss 40325d6d4a Merge pull request #131449 from primeos/chromium-backport
[21.05] Preparations for backporting Chromium M92
2021-07-25 11:37:34 +02:00
Michael Weiss a45acbc8e3 chromium: remove bendlas as maintainer
Their last Chromium commit is a52d7674cc from 2019.
Thank you for maintaining Chromium in the past.

(cherry picked from commit d4612af2c0d5e3c220bdd37c19272a69cc16cfd0)
2021-07-25 11:12:33 +02:00
Michael Weiss 9ede7cd91b chromiumDev: 93.0.4573.0 -> 93.0.4577.8
(cherry picked from commit 503dc62d0468e303758a720c8d650075a48956ec)
2021-07-25 11:12:32 +02:00
Michael Weiss 03f1833d1a chromiumBeta: 92.0.4515.101 -> 92.0.4515.107
(cherry picked from commit 5c6608144f9cd108565297c7c03ec79bb0fe611f)
2021-07-25 11:12:32 +02:00
Michael Weiss 741f8416c7 chromium: get-commit-message.py: Improve the parsing
The current stable release announcement [0] uses more HTML tags which
broke the detection of "fixes" and "zero_days". Proper HTML parsing
could be done using html.parser [1] but for our purposes the naive regex
trick works well enough.

[0]: https://chromereleases.googleblog.com/2021/07/stable-channel-update-for-desktop.html
[1]: https://docs.python.org/3/library/html.parser.html

(cherry picked from commit 3e93811d93b2bc88f047e9a989b456ab3ae3291c)
2021-07-25 11:12:31 +02:00
Michael Weiss affa0971db chromiumBeta: 92.0.4515.93 -> 92.0.4515.101
(cherry picked from commit b22b804e67e546edda690b3ae9a7d0c7cd38f37e)
2021-07-25 11:12:30 +02:00
Michael Weiss 4857d71209 chromiumDev: 93.0.4557.4 -> 93.0.4573.0
(cherry picked from commit 96a3799050f46967f4b1f0141a5965c79137c4a2)
2021-07-25 11:12:30 +02:00
Michael Weiss fe5ef8dbc0 chromiumBeta: 92.0.4515.80 -> 92.0.4515.93
(cherry picked from commit a571f3a94530f36ae1016cb74d2c861cb379ad5e)
2021-07-25 11:12:29 +02:00
Michael Weiss 9f9708fac7 chromiumBeta: Install crashpad_handler
This executable is required to fix a startup error.
TODO: Refactor the Nix expressions to allow chromiumVersionAtLeast, etc.
"everywhere" and investigate the VM test failure.

(cherry picked from commit ef7f020ec88c6aa92f3c35a4a83cd3517533d690)
2021-07-25 11:10:07 +02:00