Commit Graph

275 Commits

Author SHA1 Message Date
Michael Weiss
eba807d594
chromiumDev: 95.0.4638.17 -> 96.0.4651.0 2021-09-25 00:38:04 +02:00
Michael Weiss
afaf8d094b
ungoogled-chromium: 93.0.4577.82 -> 94.0.4606.54 2021-09-24 13:37:17 +02:00
Michael Weiss
f8b837c808
ungoogled-chromium: 92.0.4515.159 -> 93.0.4577.82 2021-09-19 13:15:16 +02:00
Yureka
a34f7dbb73 chromiumDev: fix build 2021-09-18 18:30:45 +02:00
Michael Weiss
186315def7
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.
2021-08-28 23:27:55 +02:00
Michael Weiss
6ca181b360
chromiumDev: 94.0.4603.0 -> 94.0.4606.12
I've upstreamed fix-missing-atspi2-dependency.patch.
2021-08-20 10:22:16 +02:00
Michael Weiss
a1fdebcef0
chromium: Document the main gn build flags 2021-08-17 10:24:35 +02:00
Michael Weiss
403ce1a9a3
chromiumBeta: Build with LLVM 13 2021-08-12 22:50:11 +02:00
Michael Weiss
4a5b367259
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.
2021-08-11 22:59:10 +02:00
Michael Weiss
45c32f59a5
ungoogled-chromium: 91.0.4472.164 -> 92.0.4515.131 2021-08-04 21:58:00 +02:00
Michael Weiss
1e372f4004
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:
486e9d58c0
2021-08-04 17:59:00 +02:00
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
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
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
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
c8fe353d8b
chromiumDev: 93.0.4542.2 -> 93.0.4549.3 2021-06-23 00:05:32 +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
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Michael Weiss
950b321244
chromiumDev: Revert a patch to fix the build with LLVM 12
The build was failing with:
clang++: error: unknown argument: '-fsanitize-ignorelist=../../tools/cfi/ignores.txt'
2021-06-09 11:19:39 +02:00
Michael Weiss
6c638ee6b1
ungoogled-chromium: 90.0.4430.212 -> 91.0.4472.77 2021-05-30 15:15:04 +02:00
John Ericson
18c38f8aee treewide: All the linker to be chosen independently
This will begin the process of breaking up the `useLLVM` monolith. That
is good in general, but I hope will be good for NetBSD and Darwin in
particular.

Co-authored-by: sterni <sternenseemann@systemli.org>
2021-05-14 21:29:51 +00:00
Michael Weiss
e2adee6827
chromiumDev: Fix the build
python.withPackages avoids the problem with mixed Python 2 and Python 3
dependencies.
2021-05-12 22:54:12 +02:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
Michael Weiss
c0ead3d0c4
chromiumBeta: Add curl as dependency to fix the build
This fixes the following build error:
[14969/46739] CXX obj/third_party/crashpad/crashpad/util/util/http_transport_libcurl.o[KK[K.o[KKy_reader.or.od.ooor_linux.mojom-shared.o
FAILED: obj/third_party/crashpad/crashpad/util/util/http_transport_libcurl.o
clang++ [...]
../../third_party/crashpad/crashpad/util/net/http_transport_libcurl.cc:17:10: fatal error: 'curl/curl.h' file not found
#include <curl/curl.h>
         ^~~~~~~~~~~~~
1 error generated.
2021-05-07 16:13:28 +02:00
Alyssa Ross
a8afbb45c1 treewide: use lib.warnIf where appropriate 2021-04-28 21:44:21 +00:00
Jan Tojnar
0f1c4558d3
Merge branch 'master' into staging-next
Choose binwalk 2.3.1, 27 is legacy version for Python 2.
2021-04-25 02:50:48 +02:00
Michael Weiss
eb335f697e
chromium: Warn about and cleanup old chromiumVersionAtLeast conditionals 2021-04-24 12:47:12 +02:00
Michael Weiss
a82f2a0146
ungoogled-chromium: 89.0.4389.114 -> 90.0.4430.85 2021-04-24 12:21:28 +02:00
github-actions[bot]
6e7c70d02d
Merge master into staging-next 2021-04-24 00:16:17 +00:00
Michael Weiss
0dee033ce7
chromiumDev: Fix the configuration phase (#120464)
The Python 3 support still isn't ready...
2021-04-23 23:24:13 +02:00
github-actions[bot]
120744d620
Merge master into staging-next 2021-04-22 12:06:24 +00:00
Michael Weiss
7495ee4f5f
chromiumDev: 91.0.4472.10 -> 91.0.4472.19 2021-04-22 12:04:15 +02:00
github-actions[bot]
799ebbc91d
Merge master into staging-next 2021-04-21 18:13:29 +00:00
Michael Weiss
80f4cce6fa
chromiumDev: Fix the patch phase 2021-04-21 15:00:14 +02:00
Vladimír Čunát
d2eb7a7887
Merge branch 'staging' into staging-next
A few conflicts but relatively clear ones (I think).
2021-04-14 10:08:25 +02:00
Michael Weiss
acf402b0c0
chromiumDev: Fix the build
Mixing Python 2 and Python 3 causes issues with the Python dependencies.
2021-04-13 13:30:54 +02:00
Michael Weiss
8c60448e26
chromiumDev: Fix two build errors
Python 3 is now required (hard-coded in some scripts, but other scripts
still require Python 2) and a patch is required for [0].

[0]: https://bugs.chromium.org/p/chromium/issues/detail?id=1192875
2021-04-13 10:19:51 +02:00
Luke Granger-Brown
08b22e605b Merge remote-tracking branch 'upstream/staging-next' into down-integrate-staging 2021-04-12 18:49:01 +00:00
Michael Weiss
5d775bb2b0
chromiumBeta: Fix the build (#119087) 2021-04-11 10:43:29 +02:00
Michael Weiss
227efbd318
chromium: Fix the build (libva redefinition)
The recent libva 2.11.0 update (780fa55) broke the chromium and
ungoogled-chromium builds. Fix #118931.
2021-04-10 12:06:42 +02:00
Gabriel Ebner
aa0b68b26a chromium: add explicit mesa dependency 2021-04-09 09:26:12 +02:00
Sandro Jäckel
dcb501f993
kerberos: deprecate alias 2021-04-04 03:18:56 +02:00
Michael Weiss
dc8eacfba0
Merge pull request #114979 from primeos/chromium-pipewire-0.3
chromium: Switch from PipeWire 0.2 to the current 0.3.x releases
2021-03-11 11:30:13 +01:00
Michael Weiss
36e5fe006a
chromium: Switch from PipeWire 0.2 to the current 0.3.x releases
This should make it work more reliable and support additional features
like window sharing. See [0] for more details.

[0]: https://jgrulich.cz/2020/12/18/webrtc-chromium-updates-in-2020/
2021-03-04 17:53:06 +01:00
Michael Weiss
dc9f2c5e70
chromium: Remove google_default_client_{id,secret}
Reason: Google is limiting access to their private Chrome APIs starting
on March 15, 2021 [0]. Closes #110245.

From the mailing list thread [1]:
"The changes we announced affect the OAuth 2.0 client id and secret
which are used for signing into Chrome, not the API key."
"To avoid using that API, it's sufficient to either not set the OAuth
2.0 credentials, or disabling the Google signin integration" (e.g. by
passing the flag --allow-browser-signin=false)

[0]: https://blog.chromium.org/2021/01/limiting-private-api-availability-in.html
[1]: https://groups.google.com/a/chromium.org/g/chromium-packagers/c/SG6jnsP4pWM/
2021-03-03 13:13:17 +01:00