nixpkgs/pkgs/applications/networking/browsers
Michael Weiss f709a74fa3
chromium{Beta,Dev}: Fix the configuration phase
Setting `clang_base_path` [0] does skip [1] a clang version check [2]
that would fail in our case:
```
configuring
ERROR at //build/config/compiler/BUILD.gn:1314:22: Script returned non-zero exit code.
    clang_revision = exec_script("//tools/clang/scripts/update.py",
                     ^----------
Current dir: /tmp/nix-build-chromium-unwrapped-107.0.5304.29.drv-0/chromium-107.0.5304.29/out/Release/
Command: python3 /tmp/nix-build-chromium-unwrapped-107.0.5304.29.drv-0/chromium-107.0.5304.29/tools/clang/scripts/update.py --print-revision --verify-version=16.0.0
Returned 1 and printed out:

The expected clang version is llvmorg-16-init-4609-g025a5b22-2 but the actual version is
Did you run "gclient sync"?

See //build/config/BUILDCONFIG.gn:329:3: which caused the file to be included.
  "//build/config/compiler:afdo",
  ^-----------------------------
error: builder for '/nix/store/02riyhzvrgn2vaab29d3gipxzkx6nb44-chromium-unwrapped-107.0.5304.29.drv' failed with exit code 1
```

I also chose to disable the Qt support for now. The Qt support is
enabled by default on Linux [3] but we need to add the required
dependencies first to fix the build (and my current priority is to get a
basic build working for the security critical stable channel update):
```
configuring
ERROR at //build/config/linux/pkg_config.gni:104:17: Script returned non-zero exit code.
    pkgresult = exec_script(pkg_config_script, args, "value")
                ^----------
Current dir: /tmp/nix-build-chromium-unwrapped-107.0.5304.62.drv-0/chromium-107.0.5304.62/out/Release/
Command: python3 /tmp/nix-build-chromium-unwrapped-107.0.5304.62.drv-0/chromium-107.0.5304.62/build/config/linux/pkg-config.py Qt5Core Qt5Widgets
Returned 1.
stderr:

Package Qt5Core was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Core.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Core' found
Package Qt5Widgets was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5Widgets.pc'
to the PKG_CONFIG_PATH environment variable
No package 'Qt5Widgets' found
Could not run pkg-config.

See //ui/qt/BUILD.gn:13:1: whence it was called.
pkg_config("qt5_config") {
^-------------------------
See //ui/linux/BUILD.gn:54:15: which caused the file to be included.
    deps += [ "//ui/qt" ]
              ^--------
error: builder for '/nix/store/3zzddkh74cnhvq6nql32y9pnbvzf2jv9-chromium-unwrapped-107.0.5304.62.drv' failed with exit code 1
```

[0]: https://source.chromium.org/chromium/chromium/src/+/refs/tags/107.0.5304.62:docs/clang.md
[1]: https://source.chromium.org/chromium/chromium/src/+/refs/tags/107.0.5304.62:build/config/compiler/BUILD.gn;l=1306
[2]: https://source.chromium.org/chromium/chromium/src/+/refs/tags/107.0.5304.62:tools/clang/scripts/update.py;l=358
[3]: https://source.chromium.org/chromium/chromium/src/+/refs/tags/107.0.5304.62:ui/qt/qt.gni;l=8
2022-10-25 21:10:01 +02:00
..
amfora
asuka asuka: 0.8.3 -> 0.8.5 2022-05-26 10:40:49 -04:00
av-98
bombadillo bombadillo: 2.3.3 -> 2.4.0 2022-03-08 05:02:20 +00:00
brave NIXOS_OZONE_WL: fix wayland window decorations 2022-09-28 15:56:55 +02:00
browsh browsh: 1.6.4 -> 1.8.0 2022-07-23 14:25:11 -07:00
captive-browser maintainers: remove volth 2022-06-29 00:52:12 +02:00
castor castor: 0.8.18 -> 0.9.0 2022-06-05 08:50:44 -05:00
chromium chromium{Beta,Dev}: Fix the configuration phase 2022-10-25 21:10:01 +02:00
dillo dillo: 3.0.5 -> 2021-02-09 2022-08-18 23:44:54 -03:00
elinks pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
eolie
ephemeral
firefox firefox-unwrapped: 106.0 -> 106.0.1 2022-10-20 12:22:18 +02:00
firefox-bin firefox-bin-unwrapped: 106.0 -> 106.0.1 2022-10-20 12:24:21 +02:00
gmni
google-chrome NIXOS_OZONE_WL: fix wayland window decorations 2022-09-28 15:56:55 +02:00
kristall
ladybird ladybird: fix build with libxcrypt 2022-10-09 18:14:34 +02:00
lagrange lagrange: 1.13.6 -> 1.13.7 2022-06-30 06:16:37 +00:00
librewolf librewolf: 105.0.1-1 -> 106.0.1-1 2022-10-21 22:24:00 -07:00
links2 treewide: optional -> optionals where the argument is a list 2022-10-10 15:40:21 +03:00
luakit
lynx
microsoft-edge microsoft-edge: 104.0.1293.54 -> 105.0.1343.42 2022-09-21 19:27:22 +05:30
midori
misc widevine-cdm: init at 4.10.2449.0 2022-10-13 20:02:47 +02:00
netsurf pkgs.applications: remove unused args 2022-10-12 16:00:16 +02:00
nyxt nyxt: mime-types -> mailcap 2022-01-26 14:30:10 -08:00
offpunk offpunk: 1.5 -> 1.6 2022-10-13 10:58:13 -05:00
opera opera: 90.0.4480.48 -> 90.0.4480.84 2022-09-06 01:13:58 +00:00
palemoon palemoon: Further drop parallelism 2022-10-03 00:28:10 +02:00
polypane polypane: init at 10.0.1 (#158159) 2022-10-03 21:51:13 +02:00
qtchan treewide/meta: Remove chiiruno and replace with Madouura (#169096) 2022-04-18 02:13:36 +03:00
qutebrowser qutebrowser: fix screensharing 2022-10-18 12:10:57 -06:00
surf surf: enable audio & video support 2022-06-29 21:08:03 +03:00
telescope telescope: 0.7.1 → 0.8.1 2022-05-26 00:03:06 +03:00
tor-browser-bundle-bin tor-browser-bundle-bin: add mirror for old versions 2022-10-15 23:42:28 +02:00
vieb yarn2nix: change yarnFlags to append by default 2022-07-24 16:18:09 +02:00
vimb vimb: 3.3.0 -> 3.6.0 2022-05-08 17:12:00 +02:00
vivaldi vivaldi-ffmepg-codecs: 104.0.5112.79 -> 104.0.5112.101 2022-09-04 03:21:23 +08:00
w3m w3m: add anthonyroussel to maintainers 2022-08-25 22:29:25 +02:00
webmacs
yandex-browser yandex-browser: 22.1.3.907-1 -> 22.9.1.1110-1 2022-10-16 20:33:37 +05:00