Commit graph

1034 commits

Author SHA1 Message Date
Michael Weiss 8505750ac8
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
2021-08-02 10:37:32 +02:00
Michael Weiss 2682531c67
chromium: Drop two gn overrides that are not required anymore
The chromium and chromiumBeta builds still succeed.
2021-08-01 18:28:08 +02:00
Michael Weiss 555c3afaf2
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/
2021-08-01 09:05:57 +02:00
Michael Weiss d7ab681b7a
chromiumBeta: 92.0.4515.107 -> 93.0.4577.18 2021-07-30 09:17:47 +02:00
Michael Weiss 7f8de3536a
chromiumDev: 93.0.4577.15 -> 93.0.4577.18 2021-07-29 23:10:59 +02:00
github-actions[bot] ef4ddefb6e
Merge master into staging-next 2021-07-28 00:01:24 +00:00
Michael Weiss 68adc7b81c
chromiumDev: 93.0.4577.8 -> 93.0.4577.15 2021-07-27 20:23:16 +02:00
Michael Weiss bd22d2425c
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.
2021-07-27 19:51:05 +02:00
Frederik Rietdijk 62370fb59a Merge remote-tracking branch 'upstream/master' into staging-next 2021-07-26 09:19:44 +02:00
Michael Weiss 9ac3188552
chromium: Merge the installPhase command strings
This wasn't done in 97570d30c7 to allow reusing chromiumBeta builds
(without having to perform any changes) in the meantime.
2021-07-25 13:57:16 +02:00
Michael Weiss 10594c9a96
Revert "chromiumBeta: Temporarily build on Hydra"
This reverts commit af9ea49430.
Reason: Not required anymore.
2021-07-25 13:50:45 +02:00
github-actions[bot] cb1426e30a
Merge staging-next into staging 2021-07-23 18:01:46 +00:00
Michael Weiss d4612af2c0
chromium: remove bendlas as maintainer
Their last Chromium commit is a52d7674cc from 2019.
Thank you for maintaining Chromium in the past.
2021-07-23 10:42:19 +02:00
github-actions[bot] 0b0a8c7c9a
Merge staging-next into staging 2021-07-22 18:01:39 +00:00
Michael Weiss 3285cc390e
chromium: Fix the text rendering (some text was invisible)
The recent glibc update (acdcb85) broke the text rendering, see #131074.
This will hopefully work for ungoogled-chromium as well (at least the
patch applies).

Thanks: Lily Foster <lily@lily.flowers>
2021-07-22 17:22:06 +02:00
github-actions[bot] a63cf4f913
Merge staging-next into staging 2021-07-22 12:01:52 +00:00
Michael Weiss 503dc62d04
chromiumDev: 93.0.4573.0 -> 93.0.4577.8 2021-07-22 10:57:08 +02:00
github-actions[bot] 3087a2d2e9
Merge staging-next into staging 2021-07-21 12:02:00 +00:00
Michael Weiss bb651d27fd
chromium: Fix the Ozone/Wayland support
The stable channel update to M92 (97570d30c7) 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)
2021-07-21 11:52:12 +02:00
Michael Weiss 12e7ee0f31
Merge pull request #130877 from primeos/chromium
chromium: 91.0.4472.164 -> 92.0.4515.107
2021-07-21 11:38:02 +02:00
Michael Weiss 97570d30c7
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).
2021-07-21 11:20:38 +02:00
github-actions[bot] 94a7cf0dcd
Merge staging-next into staging 2021-07-21 00:02:24 +00:00
Michael Weiss af9ea49430
chromiumBeta: Temporarily build on Hydra
The stable channel update in #130877 is currently blocked due to
regressions but a cached build on Hydra might be useful for the meantime
(and that build would even be reusable if the PR is merged without any
changes).
2021-07-21 00:52:35 +02:00
Sandro ab5f5fb163
Merge pull request #129359 from Stunkymonkey/app-networking 2021-07-20 18:27:12 +02:00
Michael Weiss 5c6608144f
chromiumBeta: 92.0.4515.101 -> 92.0.4515.107 2021-07-20 10:09:49 +02:00
Felix Buehler e4e631ebb8 applications/networking: /s/name/pname&version/ 2021-07-19 14:55:48 +02:00
Michael Weiss c5e29c786f
ungoogled-chromium: 91.0.4472.114 -> 91.0.4472.164 2021-07-17 11:11:06 +02:00
Michael Weiss 3e93811d93
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
2021-07-16 12:24:26 +02:00
Michael Weiss 27523cad1e
chromium: 91.0.4472.114 -> 91.0.4472.164
https://chromereleases.googleblog.com/2021/07/stable-channel-update-for-desktop.html

This update includes 8 security fixes. Google is aware of reports that
an exploit for CVE-2021-30563 exists in the wild.

CVEs:
CVE-2021-30559 CVE-2021-30541 CVE-2021-30560 CVE-2021-30561
CVE-2021-30562 CVE-2021-30563 CVE-2021-30564
2021-07-16 11:58:47 +02:00
Michael Weiss b22b804e67
chromiumBeta: 92.0.4515.93 -> 92.0.4515.101 2021-07-15 10:59:22 +02:00
Michael Weiss 96a3799050
chromiumDev: 93.0.4557.4 -> 93.0.4573.0 2021-07-14 13:51:47 +02:00
Michael Weiss a571f3a945
chromiumBeta: 92.0.4515.80 -> 92.0.4515.93 2021-07-09 10:17:31 +02:00
sternenseemann 524aa1c87c chromium: move ed and makeWrapper into nativeBuildInputs
This most notably fixes cross _evaluation_ of chromium which previously
would fail because makeWrapper relies on runtimeShell which is not
available in the HostTarget package set.

I tested that the native chromium build still works, but haven't tried
cross compiling it yet. There very well may be additional errors, but at
least they will be build errors, not hard to understand evaluation
errors.
2021-07-05 14:58:52 +02:00
Michael Weiss ef7f020ec8
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.
2021-07-03 11:11:16 +02:00
Michael Weiss 11237c7d83
chromiumBeta: 92.0.4515.70 -> 92.0.4515.80 2021-07-01 10:33:06 +02:00
Michael Weiss 5cae434566
chromiumDev: 93.0.4549.3 -> 93.0.4557.4
Would need to temporarily remove "ffmpeg" from gnSystemLibraries and
disable use_thin_lto to fix the build (theoretically).
2021-06-30 20:18:24 +02:00
Michael Weiss fcdcb81936
chromiumDev: Fix build errors due to the older system FFmpeg
The final linking still fails though, even with llvm-git.
We might have to diable use_thin_lto for now:
ld.lld: error: undefined symbol: snappy::Compress(char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)
>>> referenced by compression_module.cc
>>>               thinlto-cache/Thin-ed5ed5.tmp.o:(reporting::CompressionModule::CompressRecord(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, base::OnceCallback<void (std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, absl::optional<reporting::CompressionInformation>)>) const)
clang-13: error: linker command failed with exit code 1 (use -v to see invocation)
2021-06-29 11:37:05 +02:00
Michael Weiss e829ab8d65
chromiumBeta: 92.0.4515.59 -> 92.0.4515.70 2021-06-24 15:16:57 +02:00
Michael Weiss c8fe353d8b
chromiumDev: 93.0.4542.2 -> 93.0.4549.3 2021-06-23 00:05:32 +02:00
Michael Weiss 4e201c1c3c
ungoogled-chromium: 91.0.4472.101 -> 91.0.4472.114 2021-06-20 13:02:45 +02:00
Michael Weiss ef6fa37bae
Merge pull request #127426 from TredwellGit/chromium
chromium: fix APNG support
2021-06-19 13:14:32 +02:00
TredwellGit 52651ca62a chromium: fix APNG support
https://bugs.chromium.org/p/chromium/issues/detail?id=752403
2021-06-18 22:46:49 +00:00
Michael Weiss 8af443906d
chromiumDev: Fix building from the release tarball
See https://bugs.chromium.org/p/chromium/issues/detail?id=1215229.
Before this the build failed with this error:
[101/47617] ACTION //build/util:chromium_git_revision(//build/toolchain/linux/unbundle:default)oaded_data.pbchain/linux/unbundle:default)
FAILED: gen/build/util/chromium_git_revision.h
python3 ../../build/util/lastchange.py --header gen/build/util/chromium_git_revision.h --revision-id-only --revision-id-prefix @ -m\ CHROMIUM_GIT_REVISION
ERROR:root:Failed to get git top directory from '/build/chromium-93.0.4542.2/build/util': Git command 'git git rev-parse --show-toplevel' in /build/chromium-93.0.4542.2/build/util failed: [Errno 2] No such file or directory: 'git'
2021-06-18 17:36:48 +02:00
Michael Weiss 0505ed81bc
chromium: 91.0.4472.106 -> 91.0.4472.114
https://chromereleases.googleblog.com/2021/06/stable-channel-update-for-desktop_17.html

This update includes 4 security fixes. Google is aware that an exploit
for CVE-2021-30554 exists in the wild.

CVEs:
CVE-2021-30554 CVE-2021-30555 CVE-2021-30556 CVE-2021-30557
2021-06-18 12:00:32 +02:00
Michael Weiss 28b48376b9
chromiumBeta: 92.0.4515.51 -> 92.0.4515.59 2021-06-17 12:29:49 +02:00
Michael Weiss 0876f689d7
chromiumDev: 93.0.4535.3 -> 93.0.4542.2 2021-06-16 12:55:01 +02:00
Michael Weiss 8540133fb7
chromium: 91.0.4472.101 -> 91.0.4472.106
https://chromereleases.googleblog.com/2021/06/stable-channel-update-for-desktop_14.html
2021-06-15 11:59:05 +02:00
Michael Weiss 3952d19175
ungoogled-chromium: 91.0.4472.77 -> 91.0.4472.101 2021-06-12 13:28:15 +02:00
Michael Weiss 558cb984de
chromiumBeta: 92.0.4515.40 -> 92.0.4515.51 2021-06-11 11:45:01 +02:00
Michael Weiss e44ba930b9
Merge pull request #126452 from primeos/chromium
chromium: 91.0.4472.77 -> 91.0.4472.101
2021-06-10 19:22:59 +02:00