Commit Graph

288 Commits

Author SHA1 Message Date
Samuel Gräfenstein
157807406c
ungoogled-chromium: fix build 2022-02-06 15:01:47 +01:00
Michael Weiss
a12cfff5b2
ungoogled-chromium: 97.0.4692.99 -> 98.0.4758.80 2022-02-04 22:10:32 +01:00
Michael Weiss
b0b0ffd466
chromiumBeta: 98.0.4758.66 -> 98.0.4758.74 2022-01-27 23:44:24 +01:00
Michael Weiss
e8b241cdba
chromiumDev: Fix the configuration phase
This fixes:
--------------------------------------------------------------------------------
configuring
ERROR at //ui/gtk/BUILD.gn:17:1: Assertion failed.
assert(use_gio, "GIO is required for building with GTK")
^-----
GIO is required for building with GTK
See //content/shell/BUILD.gn:308:15: which caused the file to be included.
    deps += [ "//ui/gtk" ]
              ^---------
--------------------------------------------------------------------------------

But there's still another build issue(s) left:
--------------------------------------------------------------------------------
[25491/48383] ACTION //components/url_formatter/spoof_checks/top_domains:generate_top_domain_list_variables_file(//build/toolchain/linux/unbundle:default)d_tmp/browser_command.mojom-webui.jsab_page_third_party.mojom-webui.js
FAILED: gen/components/url_formatter/spoof_checks/top_domains/top500-domains-inc.cc
python3 ../../build/gn_run_binary.py make_top_domain_list_variables ../../components/url_formatter/spoof_checks/top_domains/domains.list top500_domains gen/components/url_formatter/spoof_checks/top_domains/top500-domains-inc.cc
make_top_domain_list_variables failed with exit code -4
ninja: build stopped: subcommand failed.
--------------------------------------------------------------------------------
2022-01-24 22:08:08 +01:00
Michael Weiss
a8affa912c
chromium: Backport important fixes for Wayland
This is 843508dad4 for M97 (upstream didn't backport them so far).
2022-01-16 11:39:50 +01:00
Michael Weiss
843508dad4
chromiumDev: Backport important fixes for Wayland
This will be required to prevent crashes on Wayland compositors that
support version 4 of the wl_output protocol (available since Wayland
1.20.0).  This should affect any compositor that is based on wlroots
0.15.0 and soon more. Upstream will hopefully backport those patches
soon (if not we could also apply them to M97 - only two trivial
changes are necessary to apply the first patch).

More information:
- Chromium bug report: https://bugs.chromium.org/p/chromium/issues/detail?id=1279574
- wlroots bug report: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3344
2022-01-05 19:59:40 +01:00
Jonathan Ringer
fadaef5aed
Merge remote-tracking branch 'origin/master' into staging-next
Conflicts:
	pkgs/applications/networking/browsers/chromium/common.nix
2021-11-19 14:31:57 -08:00
Michael Weiss
4e77c7efc6
ungoogled-chromium: 95.0.4638.69 -> 96.0.4664.45 2021-11-17 22:35:56 +01:00
Kerstin Humm
bb799694db
epoxy: rename to libepoxy
https://github.com/NixOS/nixpkgs/issues/145040
2021-11-11 05:55:32 +01:00
Michael Adler
a8f4267547 ungoogled-chromium: 94.0.4606.81 -> 95.0.4638.54 2021-10-21 11:39:07 +02:00
Michael Weiss
b0581c2699
chromiumDev: Fix the build 2021-10-16 21:57:29 +02:00
Michael Weiss
ae522fb7f9
chromium: Drop Python 2
Yay, finally!... \o/ :)
Upstream issue: https://crbug.com/942720
2021-10-15 21:01:35 +02:00
Michael Weiss
7e6d80740d
chromium: Start dropping Python 2 2021-10-11 23:14:30 +02:00
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