Commit graph

5338 commits

Author SHA1 Message Date
Michael Weiss ccc400a41f
Merge pull request #166613 from primeos/chromiumDev
chromiumDev: 101.0.4951.7 -> 101.0.4951.15
2022-03-31 23:16:13 +02:00
Michael Weiss 773cfb0859
chromiumBeta: 100.0.4896.60 -> 101.0.4951.15 2022-03-31 21:19:20 +02:00
Michael Weiss 7cbe3d69a7
chromiumDev: 101.0.4951.7 -> 101.0.4951.15 2022-03-31 21:18:58 +02:00
Maciej Krüger f809e76e83
Merge pull request #161064 from kuwii/msedge 2022-03-30 13:38:07 +02:00
Michael Weiss ba7cdf128d
Merge pull request #166300 from primeos/chromium
chromium: 99.0.4844.84 -> 100.0.4896.60
2022-03-29 22:59:05 +02:00
Michael Weiss 4b9e65e066
chromiumBeta: 100.0.4896.56 -> 100.0.4896.60 2022-03-29 21:42:33 +02:00
Michael Weiss b647d5a49d
chromium: 99.0.4844.84 -> 100.0.4896.60
https://chromereleases.googleblog.com/2022/03/stable-channel-update-for-desktop_29.html

This update includes 28 security fixes.

CVEs:
CVE-2022-1125 CVE-2022-1127 CVE-2022-1128 CVE-2022-1129 CVE-2022-1130
CVE-2022-1131 CVE-2022-1132 CVE-2022-1133 CVE-2022-1134 CVE-2022-1135
CVE-2022-1136 CVE-2022-1137 CVE-2022-1138 CVE-2022-1139 CVE-2022-1141
CVE-2022-1142 CVE-2022-1143 CVE-2022-1144 CVE-2022-1145 CVE-2022-1146
2022-03-29 21:39:48 +02:00
Bernardo Meurer a158af0b1b
Merge pull request #165964 from mweinelt/firefox-hwdec 2022-03-29 09:16:18 -07:00
Martin Weinelt 6cdf69546b
firefox: allow RDD sandbox access to gpu drivers
Firefox uses a sandboxing model that only allows access to paths that
were previously explicitly granted. We can only add granular permissions
to a specific sandbox by patching, because setting LD_LIBRARY_PATH would
affect all of them.

To use hardware decoding via VA-API with Firefox 98.0.2 one needs to
head to `about:config` and enable `media.ffmpeg.vaapi.enabled`.

Closes: #157061
2022-03-29 15:44:06 +02:00
ajs124 ed612de9ab
Merge pull request #165928 from kouyk/update/vivaldi
vivaldi: 5.1.2567.66-1 -> 5.1.2567.73-1
2022-03-29 04:44:08 +02:00
Bernardo Meurer 0e3d0d844e
Merge pull request #166078 from mweinelt/firefox-drm
firefox: fix drmSupport flag
2022-03-28 12:49:42 -07:00
Martin Weinelt 2cb9593cad firefox: always build with clang
Both LTO and PGO require the use of clang so I think its easier to just
stick with clang for all builds, so PGO and LTO could in theory be used
without each other.
2022-03-28 21:42:49 +02:00
Martin Weinelt 4cf4a7b848 firefox: add pname to throw message
https://github.com/NixOS/nixpkgs/pull/164646#discussion_r835879348
2022-03-28 21:42:49 +02:00
Martin Weinelt 05a6b3c2b7 librewolf: disable pgo support
Starts profiling, starts librewolf, but gets stuck and never terminates.
2022-03-28 21:42:49 +02:00
Martin Weinelt 0d3772f645 firefox: add profile-guided optimization
Lo and behold, we're finally catching up with Mozillas very own firefox
build in terms of speed.

PGO is an optimization technique in which in a first step we create a
build that supports instrumentation, meaning we can use it to create a
profile of how the browser behaved during usage. Then in a second pass
we create the final build that uses the acquired profiling data to
optimize the browser for the workload it actually received during
profiling.

The downside is that with PGO we now need to build Firefox twice, which
increases the build time from around 20 minutes to roughly 50 minutes.

In the Speedometer 2.0 benchmark multiple tests could see a
responsiveness improvemeant around 20-25%, which makes the increased
build time well worth it.

Sadly this benefit seems limited to x86_64-linux, builds on
aarch64-linux get stuck during profiling and I haven't found out why.

Finally, after a long time, we can say:

Closes: #76484
Supersedes: #129503
2022-03-28 21:42:49 +02:00
Martin Weinelt 2a32474802
firefox: fix drmSupport flag
In #109133 @alyssais discovered that the drmSupport flag stopped
working. This is because Mozilla decided around Firefox 51
(mozbz#1289634) to swap the default values and our flag was asking for
the wrong thing all along.

Since this flag has now been enabled for multiple years, disabling it
would mean a regression for our users. Leaving it enabled should be
unproblematic since it only controls whether Firefox shows the EME nagbar,
that allows to enable Widevine CDM, when a site requests it. The choice is
therefore completely up to the enduser.

Disabling this nagbar is still possible at runtime by setting
`browser.eme.ui.enabled` to `false`. If Widevine CDM was inadvertently
enabled it can be disabled at `media.gmp-widevinecdm.enabled`.

Supersedes: #109133
2022-03-28 18:12:02 +02:00
Martin Weinelt 61acf3518d
Merge pull request #165153 from r-ryantm/auto-update/firefox-devedition-bin-unwrapped 2022-03-28 03:15:07 +02:00
Martin Weinelt 83afce552a
Merge pull request #165152 from r-ryantm/auto-update/firefox-beta-bin-unwrapped 2022-03-28 03:14:42 +02:00
Michael Weiss d037e72af9
ungoogled-chromium: 99.0.4844.82 -> 99.0.4844.84 2022-03-27 21:26:50 +02:00
Sandro 91d85ee4f9
Merge pull request #161010 from a-m-joseph/chromium-honor-systemdSupport 2022-03-27 15:25:38 +02:00
Sandro 06702657c6
Merge pull request #165647 from r-ryantm/auto-update/opera 2022-03-27 14:44:45 +02:00
Sandro 4338157459
Merge pull request #165436 from QuantMint/vieb-update 2022-03-27 14:29:34 +02:00
Adam Joseph 5f9ce130b2
chromium: honor systemdSupport
This commit exposes that support for compilation without systemd,
controlled by the global systemdSupport argument.  This argument is
understood by many other nixpkgs expressions and can be set globally
in ~/.config/nixpkgs/config.nix.
2022-03-27 12:47:09 +02:00
Steven Kou 8b5bf9f264
vivaldi: 5.1.2567.66-1 -> 5.1.2567.73-1 2022-03-27 17:37:19 +08:00
TredwellGit 19e94fc995 brave: 1.36.116 -> 1.36.122
https://github.com/brave/brave-browser/blob/master/CHANGELOG_DESKTOP.md#136122
2022-03-27 08:17:55 +00:00
Michael Weiss 89704501dc
chromium: 99.0.4844.82 -> 99.0.4844.84
https://chromereleases.googleblog.com/2022/03/stable-channel-update-for-desktop_25.html

This update includes 1 security fix. Google is aware that an exploit for
CVE-2022-1096 exists in the wild.

CVEs:
CVE-2022-1096
2022-03-26 20:27:38 +01:00
Anderson Torres ae5eef682b
Merge pull request #165703 from OPNA2608/update/palemoon
palemoon: 29.4.4 -> 29.4.5
2022-03-26 08:57:48 -03:00
Martin Weinelt 2d023aa454
Merge pull request #165735 from squalus/librewolf 2022-03-25 05:12:05 +01:00
Ben Siraphob 1cf5591a99
Merge pull request #165303 from Stunkymonkey/treewide-pname-version-18 2022-03-24 22:55:34 -05:00
squalus af9f2e4611 librewolf: 98.0-1 -> 98.0.2-1 2022-03-24 20:41:39 -07:00
OPNA2608 e0b1208a35 palemoon: 29.4.4 -> 29.4.5 2022-03-24 22:24:12 +01:00
Michael Weiss eff7bddc84
Merge pull request #165694 from primeos/chromiumDev
chromiumDev: 101.0.4947.0 -> 101.0.4951.7
2022-03-24 22:13:15 +01:00
Michael Weiss a29f5a2eb3
chromiumDev: 101.0.4947.0 -> 101.0.4951.7 2022-03-24 21:34:31 +01:00
Michael Weiss ab49a71ae0
chromiumBeta: 100.0.4896.46 -> 100.0.4896.56 2022-03-24 21:34:12 +01:00
R. Ryantm 86779b82ab opera: 84.0.4316.31 -> 84.0.4316.42 2022-03-24 16:06:12 +00:00
Felix Buehler e0476d93fe treewide: rename name to pname&version 2022-03-23 22:34:54 +01:00
Martin Weinelt b3529accfb
firefox: reformat, sort, cleanup
It is normal for such a large derivation to accumulate mixed codestyles
over all those years making it harder to maintain.

By splitting up dependencies to one per line I noticed two unused
dependencies (hunspell, sqlite) that were removed in this change.

Also most lists are now sorted alphabetically, so reasoning about them
has become much easier.

Lists now use the same style for indentation and concat, and environment
variables are all defined in preConfigure as opposed to bare in the
derivation.

The object dir, firefox build directory, is now in a predictable
directory at ${pwd}/mozobj as opposed to ${pwd}/obj-@CONFIG_GUESS@,
saving us one wildcard expansion. This is also a good prepration for the
PGO build where we need to reference bits inside this directory.

Added a few comments and clarified others from what I've learned how the
firefox build works.
2022-03-23 17:03:42 +01:00
Martin Weinelt 178d447610
firefox: pass pciutils via wrapper instead of patching it 2022-03-23 17:03:42 +01:00
Martin Weinelt 51e5f33899
firefox: fix system libffi usage
Since Firefox 51 the --enable-system-ffi flag was renamed to
--with-systemd-ffi when it moved to the javascript toolkit parts. Rename
the flag accordingly and reintroduce the dependency.

mozbz#1294803
2022-03-23 17:03:41 +01:00
Martin Weinelt 08ea534e67
firefox: drop darwin support
Darwin support was marked broken in 2019 with Firefox 69 and has missed
therefore missed out and not been tested on the following 29 major
releases since.

It cannot be supported again without a darwin user stepping up to take
care and work on and test every major release, which hasn't happened
since I took over maintainership.

The recommendation of the people that tend to the firefox source build
is for darwin users to use firefox-bin instead.
2022-03-23 17:03:41 +01:00
Martin Weinelt 71d879b16b
firefox: drop pipewire from build inputs
Firefox does not support passing pipewire as a system library and
instead relies on a vendored copy it ships. We keep the flag because it
is tied into the wrapper, because we still need to have access to its
libraries at runtime.
2022-03-23 17:03:41 +01:00
Martin Weinelt 48eabf6838
firefox: drop hint regarding system cairo
Building with system cairo has been unsupported since Firefox 60
(mozbz#1432751) and the flag was removed in 2021 with Firefox 92
(mozbz#1722653).
2022-03-23 17:03:41 +01:00
Martin Weinelt 25e22d96ba
firefox: enable necko wifi scanner
Tied to the geolocation support flag. On Linux this uses the DBus
interface of NetworkManager to query visible accesspoints and relay them
to Mozilla location service in return for position approximation.
2022-03-23 17:03:41 +01:00
Martin Weinelt e921e84e9d
firefox: don't set BUILD_OFFICIAL
It was removed in 2009 in favor of MOZILLA_OFFICIAL

mozbz#435923
2022-03-23 17:03:40 +01:00
Martin Weinelt cfcc611cb4
firefox: use our own libwebp 2022-03-23 17:03:40 +01:00
Martin Weinelt 2f31fe95fd
firefox: rename patches arg to extraPatches
This is for consistency with other extra arguments that can be handed to
firefox common.nix.

Also pull the patch phase of the derivation closer together and use the
same list concat style as elsewhere.
2022-03-23 17:03:40 +01:00
Martin Weinelt 350f1345a7
firefox: unpin autoconf & icu, drop yasm
Let's not be the package that is stuck on arbitrarily old dependency
versions that should be removed anyway.
2022-03-23 17:03:40 +01:00
QuantMint 472c91e201 vieb: 6.2.0 -> 7.1.2 2022-03-23 12:37:11 +01:00
Bernardo Meurer 02ec7d6673
Merge pull request #165350 from mweinelt/firefox
firefox{,-bin}: 98.0.1 -> 98.0.2
2022-03-22 22:14:24 -07:00
Sandro fb9e9db256
Merge pull request #165209 from dan4ik605743/yandex-bump 2022-03-23 04:53:03 +01:00