Commit Graph

4024 Commits

Author SHA1 Message Date
S. Nordin Abouzahra
40b4eb1c52 firefox: simplify NIX_LDFLAGS usage
This was required to solve the XPCOMGlueLoad error when building with
LTO. However, it turns out libxul.so is supposed to have some libraries
that are reported as not found by ldd. Setting the RPATH worked around
the error as it forced dependency resolution but failed to fix the real
issue of broken generation of dependentlibs.list.

The libraries that are reported as not found by ldd are supposed to be
dlopened through the logic found in nsXPCOMGlue.cpp. However since the
generation of dependentlibs.list is broken under LTO this did not
happen. Instead of pulling libwayland-client.so from the GTK libraries
it found the stub library first (libmozwayland.so). The stub library
causes (as it should) wl_display_connect to always return NULL which is
the cause of the segmentation fault and LTO breaking wayland support.

Remove the hardcoded path used for the XPCOMGlueLoad error workaround
in NIX_LDFLAGS. libunwind is still unfortunately needed. Once the issue
of the generation of dependentlibs.list being borked is fixed it should
remedy the wayland crash issue on LTO.
2021-01-13 08:06:47 -05:00
S. Nordin Abouzahra
a277fca1c4 firefox: remove patchelf usage
Firefox has a number of optional dependencies that get dlopened.
Instead of using patchelf to set the RPATH use LD_LIBRARY_PATH.
The motivation for this is we already set LD_LIBRARY_PATH in the
wrapper on Linux.
2021-01-13 08:06:46 -05:00
S. Nordin Abouzahra
80e863c52c firefox: clean up optionals
Change `lib.optionals a [ b ]` to `lib.optional a b`.
2021-01-13 08:06:45 -05:00
S. Nordin Abouzahra
96c34702e9 firefox: restrict system NSPR workaround
It only affected FF80 so place an upper bound restriction. See
bmo#1661096 for details.

This fixes substituteStream() warnings about missing patterns which
appeared in the logs.
2021-01-13 08:06:45 -05:00
S. Nordin Abouzahra
c6f113a3f4 firefox: remove superfluous NIX_CFLAGS_COMPILE
It was added for nspr and nss back in the 55.0.3 to 56.0 upgrade. It
also served as a workaround for an undeclared gio-unix-2.0 dependency.
Sometime afterwards nspr was removed, leaving just the two. Since then,
upstream has added a declaration for gio-unix-2.0 (in FF62). As for the
nss include it seemingly has no purpose since current firefox builds
with it removed.
2021-01-13 08:06:44 -05:00
Sandro
0d1a657a25
Merge pull request #109142 from freezeboy/remove-postinstall-amfora
amfora: remove unnecessary postInstall phase for darwin
2021-01-13 14:04:33 +01:00
freezeboy
5a15487897 amfora: remove unnecessary postInstall phase for darwin 2021-01-13 09:34:40 +01:00
Sandro
69b5b1a35f
Merge pull request #107884 from freezeboy/update-amfora
amfora: 1.6.0 -> 1.7.2
2021-01-12 17:02:38 +01:00
freezeboy
7ff002dc9f amfora: 1.6.0 -> 1.7.2 2021-01-12 11:44:07 +01:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
github-actions[bot]
76394e4624
Merge master into staging-next 2021-01-10 18:41:43 +00:00
ajs124
fe0ee326e0
Merge pull request #108770 from FlorianFranzen/firefox_update
Firefox 84.0.2
2021-01-10 18:06:01 +01:00
github-actions[bot]
fcbe48c797
Merge master into staging-next 2021-01-09 18:41:27 +00:00
Michael Weiss
84840c81e3
chromiumDev: 89.0.4356.6 -> 89.0.4381.6 2021-01-09 14:53:20 +01:00
Florian Franzen
70523a5e04 firefox-esr-78: 78.5.0 -> 78.6.1 2021-01-08 15:01:56 +01:00
Florian Franzen
ba229388ca firefox: 84.0.1 -> 84.0.2 2021-01-08 14:44:04 +01:00
Florian Franzen
1475628429 firefox-bin: 84.0.1 -> 84.0.2 2021-01-08 14:43:52 +01:00
Florian Franzen
126c359b00 firefox-devedition-bin: 84.0b4 -> 85.0b6 2021-01-08 14:42:37 +01:00
Florian Franzen
480692d34f firefox-beta-bin: 85.0b4 -> 85.0b6 2021-01-08 14:40:36 +01:00
github-actions[bot]
ecebf82121
Merge master into staging-next 2021-01-08 12:29:36 +00:00
Michael Weiss
f274df0cda
chromiumBeta: 88.0.4324.50 -> 88.0.4324.79 2021-01-08 12:48:31 +01:00
Jan Tojnar
f19eb635b4
Merge branch 'master' into staging-next
b04fc593e7 seems to have accidentally changed mkDerivation function for dfilemanager and solarus-quest-editor so I have reverted that here.
2021-01-07 13:04:31 +01:00
TredwellGit
ba0068cf9e chromium: 87.0.4280.88 -> 87.0.4280.141
https://chromereleases.googleblog.com/2021/01/stable-channel-update-for-desktop.html

This update includes 16 security fixes.

CVEs:
CVE-2021-21106 CVE-2021-21107 CVE-2021-21108 CVE-2021-21109
CVE-2021-21110 CVE-2021-21111 CVE-2021-21112 CVE-2021-21113
CVE-2020-16043 CVE-2021-21114 CVE-2020-15995 CVE-2021-21115
CVE-2021-21116
2021-01-07 01:59:35 +00:00
Ben Siraphob
3ae5e6ce03 treewide: remove enableParallelBuilding = true if using cmake 2021-01-03 18:37:40 +07:00
Michael Weiss
a90d0cd34c
Revert "chromium/doc: mention chromedriver when updating"
This reverts commit 7e26b5456d.

With 6aea53c3ce this is now handled automatically.
2021-01-02 16:15:00 +01:00
Louis Bettens
051389eb18 brave: test rpath in installCheck
This check helps with making sure that we provide all the required
shared libraries to brave. If something is missing, the command will get
ENOENT, otherwise it should terminate normally.
2021-01-01 13:31:17 +01:00
Daniël de Kok
e2a9d90153 brave: 1.18.75 -> 1.18.77
Changelog:
https://community.brave.com/t/release-channel-1-18-77/191009
2020-12-31 11:10:14 +01:00
Daniël de Kok
4d9d82632f brave: add update script
The Brave package often seems to get very outdated. This is bad for a
browser, where vulnerabilities are high impact.

This change adds an update script, so that r-ryantm will suggest
updates. We find the latest version using their Debian package
database (since we are using the Debian package anyway).
2020-12-31 11:06:53 +01:00
Vladimír Čunát
85c8f75393
Merge #107603: firefox*: 84.0 -> 84.0.1 2020-12-28 08:39:21 +01:00
Christoph Neidahl
b8f2c6fe42
palemoon: 28.16.0 -> 28.17.0 (#107329) 2020-12-27 19:07:57 +01:00
Martin Weinelt
445cb38134
Merge pull request #106815 from mayflower/firefox-pipewire-fix-106812
firefox-wayland: fix ScreenCast #106812
2020-12-25 19:35:47 +01:00
ajs124
fee53b73a5 firefox: 84.0 -> 84.0.1 2020-12-25 17:56:16 +01:00
ajs124
f3dc47a61d firefox-bin: 84.0 -> 84.0.1 2020-12-25 17:56:05 +01:00
ajs124
921c6b00c1 firefox-beta-bin: 85.0b2 -> 85.0b4 2020-12-25 17:55:40 +01:00
Michael Weiss
351f3c043d
chromiumDev: Fix the build (libxshmfence is now required)
Error:
../../components/viz/service/display_embedder/output_presenter_x11.cc:8:10:
fatal error: 'X11/xshmfence.h' file not found
         ^~~~~~~~~~~~~~~~~
1 error generated.
2020-12-25 10:22:06 +01:00
Sean Buckley
156ce8d398 brave: 1.18.70 -> 1.18.75 2020-12-24 01:54:36 -05:00
Michael Weiss
86ff1e45ce
ungoogled-chromium: Support enableWideVine=true
Building with Google's proprietary Widevine DRM technology requires
fetching the Google Chrome sources.
2020-12-22 13:35:40 +01:00
Vladimír Čunát
d649d77c4c
Merge #107041: firefox: 83 -> 84 (security) 2020-12-20 08:42:26 +01:00
Michael Weiss
94bee10904
ungoogled-chromium: Support automatic updates via update.py 2020-12-18 19:10:45 +01:00
Michael Weiss
9b846b9600
chromium: Improve update.py (documentation + linting fixes) 2020-12-18 19:10:44 +01:00
Michael Weiss
be94a4cf23
ungoogled-chromium: Try to fix an evaluation error on Hydra
This should fix a regression from #106475 (hopefully this is the only
issue, my current implementation with channel+ungoogled isn't ideal):
https://github.com/NixOS/nixpkgs/pull/106475#issuecomment-748131224
2020-12-18 16:21:37 +01:00
Michael Weiss
40199cd3d8
chromiumDev: 89.0.4350.4 -> 89.0.4356.6 2020-12-18 13:02:51 +01:00
Michael Weiss
39c5d116a2
chromiumBeta: 88.0.4324.41 -> 88.0.4324.50 2020-12-17 21:02:14 +01:00
Michael Weiss
f5944b74e6
Merge pull request #106475 from primeos/ungoogled-chromium-merge
Merge ungoogled-chromium back into the chromium expressions
2020-12-17 19:02:21 +01:00
Daniël de Kok
241227837b
Merge pull request #106718 from buckley310/brave
brave: 1.17.73 -> 1.18.70
2020-12-17 07:21:07 +01:00
Christian Albrecht
5a7530e762
firefox-wayland: fix screen sharing using pipewire
After the fedora patches for screen sharing using pipewire got updated
for Firefox 83 (pipewire was inlined there), the nixpkgs buildInput
pipewire got stripped from the resulting firefox binary and so firefox
was unable to actually get the shared stream from the running pipewire
service.

Adding pipewire to the firefox binary with `patchelf --add-needed`
makes it atually get the stream from the service.

Fixes: #106812
2020-12-16 22:30:32 +01:00
Joachim F
8d957d7594
Merge pull request #106930 from samb96/tor-browser-bundle-bin-10.0.6
tor-browser-bundle-bin: 10.0.5 -> 10.0.7
2020-12-16 19:46:04 +01:00
ajs124
15302b4729 firefox-bin: 83.0 -> 84.0 2020-12-16 17:52:28 +01:00
ajs124
4d1bebac1b firefox-beta-bin: 84.0b4 -> 85.0b2 2020-12-16 17:52:13 +01:00
ajs124
26e0135eed firefox: 83.0 -> 84.0 2020-12-16 17:49:31 +01:00