3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

861 commits

Author SHA1 Message Date
Robert Hensing 739b762e56 Revert "firefox: set build timeout at eight hours"
The default timeout is 10h on Hydra currently, so this timeout
setting is pointless or counterproductive.
This commit seems to have been made in error
https://github.com/NixOS/nixpkgs/pull/96767#issuecomment-724104413

This reverts commit c57fedb14b.
2020-11-11 18:39:04 +01:00
Vladimír Čunát eb3fd61bb6
firefox-esr: fix build by using older rust
It's probably the same issue as with thunderbird.
2020-11-07 14:54:38 +01:00
Andreas Rammhold df2d47cd39
Merge pull request #102266 from NixOS/firefox-82.02
firefox{,-bin}: 80.0 -> 80.0.2
2020-11-01 19:34:37 +01:00
Andreas Rammhold f4490bb28a
firefox: 82.0 -> 82.0.2 2020-10-31 19:34:23 +01:00
Doron Behar c8a7e4da0a firefox/wrapper: Use plasma-browser-integration correctly
Don't rely on the attribute from the aliases.nix, as ofborg checks that
in PRs.
2020-10-30 20:37:58 +02:00
S. Nordin Abouzahra 57ea265674 firefox: place alsaLib in lib search patch
libcubeb has dlopened libraries for awhile now. In nixpkgs there was
support for the PulseAudio backend doing this, however the ALSA backend
support was missed and caused issue #79310 (no sound with ALSA). This
gives ALSA users the ability to hear sound once again.
2020-10-29 22:21:12 -04:00
Andreas Rammhold bca15c82d8 firefox: disable LTO by default due to segfaults with wayland
As discussed in #101429 firefox 82 started crashing when used with
wayland. A brief investigation showed that this appears to be rooted
within the LTO support that was recently added to the package. For the
time being, until someone figures out where the crashes are coming from,
we can just disable LTO.
2020-10-23 02:51:46 +02:00
Andreas Rammhold 6057ea490f firefox: 78.3.1esr -> 78.4.0esr 2020-10-20 16:29:09 +02:00
Andreas Rammhold ae2f5cccbb firefox: 81.0.2 -> 82.0 2020-10-20 16:29:07 +02:00
Andreas Rammhold b6b09ac7ae
Merge pull request #99922 from S-NA/wip/firefox-lto
firefox: add ltoSupport and enable it by default
2020-10-20 16:23:35 +02:00
taku0 560cc80818 firefox-esr: 78.3.0esr -> 78.3.1esr 2020-10-13 22:17:10 +09:00
taku0 05b955a133 firefox: 81.0 -> 81.0.2 2020-10-13 22:17:10 +09:00
S. Nordin Abouzahra aecd9ab1e4 firefox: disable LTO on Darwin
LTO in general is broken on Darwin (see #19312).
2020-10-08 23:29:13 -04:00
S. Nordin Abouzahra 214c833589 firefox: let LTO on Darwin select its own linker 2020-10-08 21:55:23 -04:00
S. Nordin Abouzahra 4f12bddea6
firefox: add ltoSupport and enable it by default 2020-10-07 16:03:02 +02:00
Andreas Rammhold a5a01d56a2
firefox: ensure pipewire is only enabled with wayland & webrtc
This ensures that we aren't applying any of the experiemental pipewire
patches when the dependencies aren't enabled. As of now pipewire only
works with wayland and webrtc. If either of them are not activated we
can't build with pipewireSupport and we should not.
2020-10-06 23:08:00 +02:00
taku0 2460e0e6cd firefox-esr: 78.2.0esr -> 78.3.0esr 2020-09-22 15:41:43 +09:00
taku0 0669cd9d3f firefox: 80.0.1 -> 81.0 2020-09-22 13:48:54 +09:00
Cole Mickens 31e54cdde3 firefox: enable pipewire+webrtc for wayland users 2020-09-20 21:42:39 -04:00
ajs124 264693f9d7 firefox-esr-68: drop 2020-09-10 02:12:22 +02:00
Emery Hemingway 51428e8d38 firefox: set build timeout at eight hours 2020-09-09 12:48:30 +02:00
Stig Palmquist bbdb19269a
firefox: 80.0 -> 80.0.1 2020-09-04 12:41:54 +02:00
Stig Palmquist 057b30b698 firefox-esr-68: 68.11.0esr -> 68.12.0esr 2020-08-29 19:18:36 +02:00
Stig Palmquist ba671f6906 firefox-esr-78: 78.1.0esr -> 78.2.0esr 2020-08-29 19:18:36 +02:00
Stig Palmquist c408178cab firefox: 79.0 -> 80.0 2020-08-29 19:18:36 +02:00
Michael Hoang b979b12128 firefox: fix libXScrnSaver dynamic dependency 2020-08-21 19:12:43 +10:00
Vladimír Čunát c09965182a
firefox*, thunderbird*: explain no-buildconfig*.patch 2020-08-19 19:46:55 +02:00
Frederik Rietdijk 26c481b435 Merge master into staging-next 2020-08-04 12:48:50 +02:00
taku0 9f5628da43 firefox-esr: 68.10.0.esr -> 68.11.0esr 2020-08-01 17:06:20 +09:00
taku0 1d730e1629 firefox-esr: 68.10.0esr -> 78.1.0esr 2020-08-01 15:39:40 +09:00
taku0 6a4e0ee698 firefox: 78.0.2 -> 79.0 2020-07-30 19:39:16 +09:00
Vladimír Čunát 60d89e5793
Merge branch 'master' into staging 2020-07-29 18:40:28 +02:00
Charlotte Van Petegem 49dba9c90b firefox: support for PKCS#11 modules in wrapper 2020-07-25 16:57:46 +02:00
Vladimír Čunát 2b7c0dcdaa
Merge branch 'staging-next'
Rebuild on Hydra seems OK-ish.
mongodb.nix needed some conflict resolution (scons versions);
all four versions seem to build fine.
2020-07-25 16:18:40 +02:00
michaelgrahamevans 253f73bd80
firefox: fix typo in comment in common.nix 2020-07-24 09:49:43 +02:00
Jörg Thalheim 96092dc936
stdenv: make -nostdinc work as intended
Right now we add glibc to search path also -nostdinc was provided,
which breaks projects providing their own gcc.
2020-07-23 08:39:46 +01:00
ajs124 d4e479aae7
firefox: 77.0.1 -> 78.0.1 (security)
Close #92043 (original PR).
2020-07-19 13:01:58 +02:00
Vladimír Čunát 0513a9128f
nss_3_44: bring back this older branch for firefox-esr
/cc nss PR #91746
2020-07-19 12:30:25 +02:00
Maximilian Bosch bfb7ac3d83
Merge pull request #93004 from helsinki-systems/drop/firefox/old-aliases
firefox/packages: drop old aliases
2020-07-13 23:02:24 +02:00
ajs124 93a49b2368 firefox/packages: drop old aliases
the 20.03 branchoff happened months ago
2020-07-12 16:30:02 +02:00
Vladimír Čunát ec74a02bde
Merge branch 'master' into staging-next
Thousands of rebuilds from master (not sure why).
2020-07-11 16:45:47 +02:00
Florian Klink 1b78e0eeec
Merge pull request #73365 from colemickens/nixpkgs-firefox-libglvnd
firefox-wrapper: rename gdkWayland->forceWayland; always use libglvnd
2020-07-11 13:49:39 +02:00
Frederik Rietdijk ae8eee9c3f Merge master into staging-next 2020-07-11 08:59:54 +02:00
Cole Mickens 8437596beb
firefox{,-bin}: add 'mesa', for wayland/drm 2020-07-09 19:56:36 -07:00
Cole Mickens 68c68ff3c3
firefox: wrapper: include libglvnd by default (WR) 2020-07-07 03:33:49 -07:00
Cole Mickens 8734a5e362
firefox: wrapper: gdkWayland->forceWayland 2020-07-07 03:33:44 -07:00
ajs124 1f02e09a2c
firefox-esr-68: 68.9.0esr -> 68.10.0esr (PR #92043) 2020-07-05 17:06:04 +02:00
Frederik Rietdijk fe9a096f46 Merge staging-next into staging 2020-06-25 20:36:08 +02:00
zowoq c7e61112df treewide: remove deprecated value Application from makeDesktopItem 2020-06-25 12:18:37 +10:00
John Ericson fa54dd346f
Merge pull request #85189 from Ericson2314/cxx-wrapper-debt
C++ compilers: Be sane with standard libraries
2020-06-22 10:38:34 -04:00
John Ericson f3f7612a40 C++ Compilers: Systematize handling of standard libraries 2020-06-22 04:24:44 +00:00
Jan Tojnar 987a5c1e14
firefox: remove libIDL dependency
It has not been used for ages:

https://bugzilla.mozilla.org/show_bug.cgi?id=687766
2020-06-20 23:33:39 +02:00
zowoq 78e324d272 treewide: ffmpeg_4 -> ffmpeg 2020-06-16 18:23:14 -07:00
ajs124 7fc793091b firefox-esr-68: 68.8.0esr -> 68.9.0esr 2020-06-04 13:30:40 +02:00
ajs124 dd334ebabb firefox: 76.0.1 -> 77.0.1 2020-06-04 13:30:40 +02:00
ajs124 785cdcddd7 nss: 3.52 -> 3.52.1 2020-06-04 13:30:40 +02:00
Andreas Rammhold b70435e43c
firefox: 76.0 -> 76.0.1 2020-05-14 12:50:34 +02:00
aszlig 8fb49973ce
firefox: Add patch to fix AES GCM IV bit size
Regression introduced by bce5268a21.

The bit size of the initialisation vector for AES GCM has been
introduced in NSS version 3.52 in the CK_GCM_PARMS struct via the
ulIvBits field.

Unfortunately, Firefox 68.8.0 and 76.0 do not set this field and thus it
gets initialised to zero, which in turn causes IV generation to fail.

I found out about this because WebRTC stopped working after updating to
NSS 3.52 and so I started bisecting.

Since there wasn't an obvious error in Firefox hinting towards NSS but
instead just the video stream ended up as a "null" stream, I didn't
suspect the NSS update to be the culprit at first. So I verified a few
times and then also started bisecting the actual commit in NSS that
caused the issue.

This turned out to be the problematic change:

https://phabricator.services.mozilla.com/D63241

> One notable change was caused by an inconsistancy between the spec and
> the released headers in PKCS#11 v2.40. CK_GCM_PARAMS had an extra
> field in the header that was not in the spec. OASIS considers the
> header file to be normative, so PKCS#11 v3.0 resolved the issue in
> favor of the header file definition.

Since the test I've used[1] was a bit flaky, I still didn't believe the
result of the bisect to be accurate, but after running the test several
times leading same results I dug through the above change line by line
to get more clues.

It fortunately didn't take that long to stumble upon the ulIvBits change
(which is actually documented in the NSS 3.52 release notes[4], but I
managed to blatantly ignore it for some reason) and started checking the
Firefox source tree for changes regarding that field.

Initialisation of that new field has been introduced[2] in preparation
for the 76 release, but subsequently got reverted[3] prior to the
release, because Firefox 76 is expected to be shipped with NSS 3.51,
which didn't have the ulIvBits field.

The patch I'm adding here is just a reintroduction of that change,
because we're using NSS 3.52. Not initialising that field will break
WebRTC and WebCrypto, which I think the former seems to gain in
popularity these days ;-)

Tested the change against the mentioned VM test[1] and also by testing
manually using Jitsi Meet and Nextcloud Talk.

[1]: https://github.com/aszlig/avonc/tree/884315838b6f0ebb32b/tests/talk
[2]: https://hg.mozilla.org/mozilla-central/rev/3ed30e6b6de1
[3]: https://hg.mozilla.org/mozilla-central/rev/665137da70ee
[4]: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.52_release_notes

Signed-off-by: aszlig <aszlig@nix.build>
2020-05-13 02:23:12 +02:00
Vladimír Čunát a2d5351b63
Merge #86788: firefox 75.0 -> 76.0 (critical security)
https://www.mozilla.org/en-US/firefox/76.0/releasenotes/
Some of the changes were in master already, but whatever...
2020-05-07 19:57:16 +02:00
Andreas Rammhold 5bac4f0213
firefox-esr-68: 68.7.0esr -> 68.8.0esr
Discussion: https://github.com/NixOS/nixpkgs/pull/86788
2020-05-06 11:40:28 +02:00
Andreas Rammhold f3cc8dc6fa
firefox-esr-68: 68.7.0esr -> 68.8.0esr 2020-05-04 17:29:37 +02:00
Andreas Rammhold 324e40f0f4
firefox: 75.0 -> 76.0 2020-05-04 16:31:27 +02:00
Cole Mickens 552d729571
firefox: wrapper: use ffmpeg_4 for vaapi
without this, adding libva is insufficient to get VA-API working in
Firefox.
2020-04-27 05:05:14 -07:00
Cole Mickens 730d542ae0
firefox: wrapper: add libva to libs 2020-04-27 03:48:33 -07:00
worldofpeace 443e544721 firefox-wrapper: don't throw on enableGnomeExtensions
We use the config for the native messaging host below this statement.
2020-04-18 20:36:55 -04:00
John Ericson eb4acb6ca9
Merge pull request #85468 from Ericson2314/no-dumpmachine
treewide: Get rid of -dumpmachine in favor of static info
2020-04-18 00:35:19 -04:00
Dominik Xaver Hörl c51b0afd54 firefox-wrapper: remove dead npapi plugin code 2020-04-16 10:12:09 +02:00
John Ericson 204d710405 treewide: Get rid of -dumpmachine in favor of static info 2020-04-13 19:26:19 -04:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Andreas Rammhold f56ea6cdd7
firefox-esr-68: 68.6.1esr -> 68.7.0esr 2020-04-07 13:27:27 +02:00
Andreas Rammhold 4a41fd7a1e
firefox: 74.0.1 -> 75.0 2020-04-07 13:27:27 +02:00
Andreas Rammhold 9de3c9749c
firefox: prepare for version 75 2020-04-07 13:27:27 +02:00
Florian Klink 29f491d5b7
Merge pull request #81864 from volth/patch-389
firefox: mark as broken on 32-bit buildPlatform
2020-04-05 20:29:29 +02:00
Andreas Rammhold f6430a2aea
firefox-esr: 68.8.0esr -> 68.8.1esr 2020-04-03 22:42:48 +02:00
Andreas Rammhold 48e6a3f1f1
firefox: 74.0 -> 74.0.1 2020-04-03 22:11:03 +02:00
Andreas Rammhold ea8362e315
firefox: 73.0.1 -> 74.0 (#82276)
https://www.mozilla.org/en-US/firefox/74.0/releasenotes/

Co-authored-by: Daniel Frank <git@danielfrank.net>
2020-03-12 14:47:56 +01:00
Andreas Rammhold 9727da29b0
firefox-esr-68: 68.5.0esr -> 68.6.0esr 2020-03-10 20:07:29 +01:00
Samuel Dionne-Riel d4446c563d firefox: Fix AArch64 build
* The 'arm.patch' patch doesn't apply anymore.
 * The 'build-arm-libopus.patch' patch isn't required anymore.
 * See the mozilla phabricator link for the added patch.

Additionally, we are now *always* undconditionally applying all patches
to all architectures. That is, unless they have undesirable
side-effects, but those might not be fit for inclusion.

By applying all patches all the time, they'll be removed or replaced
when they stop applying.
2020-03-09 13:37:30 -04:00
volth ed33a6c327 firefox: mark as broken on 32-bit buildPlatform 2020-03-06 03:53:14 +00:00
Andreas Rammhold a5ae1b2ffd
firefox: remove unused patches 2020-02-23 13:13:36 +01:00
Andreas Rammhold 9fd425e56f
firefox: remove unused function arguments 2020-02-23 13:10:16 +01:00
Domen Kožar 5f711b6b7e
Merge pull request #57876 from dtzWill/feature/fx_cast
fx_cast: init at 0.0.5
2020-02-20 15:18:03 +07:00
Andreas Rammhold 52920a6b2c
firefox: 73.0 -> 73.0.1 2020-02-18 13:26:40 +01:00
Andreas Rammhold f43fdd1151 firefox-esr: 68.4.2esr -> 68.5.0esr 2020-02-11 01:19:26 +01:00
Andreas Rammhold 8019df98f8 firefox: 72.0.2 -> 73.0 2020-02-11 01:19:26 +01:00
Andreas Rammhold 187d6912a8 firefox: prepare for 73.0 2020-02-11 01:19:26 +01:00
Silvan Mosberger 349b471469 Merge pull request #79297 from arcnmx/pr-firefox-extension-links
firefox: resolve relative nativeMessagingHosts links
2020-02-10 00:15:19 +01:00
Florian Klink 84af9839e0 firefoxPackages.*, firefox-esr*, icecat: add aliases 2020-02-09 22:33:33 +01:00
Florian Klink 94b2596540 firefox: simplify derivation
with firefox 64 being the latest version, and the removal of
"tor-browser/icecat-like" variants, we can greatly simplify the common
firefox derivation.
2020-02-09 22:33:33 +01:00
Florian Klink e3659c50fc firefoxPackages.firefox-esr-52: remove package
firefoxPackages.firefox-esr-52 was removed as it's an unsupported ESR
with open security issues. If you need it because you need to run some
plugins not having been ported to WebExtensions API, import it from an
older nixpkgs checkout still containing it.
2020-02-09 22:33:33 +01:00
Florian Klink 9704fbec86 firefoxPackages.icecat[-52]: remove package
firefoxPackages.icecat was removed as even its latest upstream version
is based on an unsupported ESR release with open security issues.
2020-02-09 22:33:33 +01:00
Florian Klink 83fff69fca firefoxPackages.firefox-esr-60: remove
There's not really a reason to ship an unsupported ESR variant of
firefox, and if one really needs it, it's also possible to just checkout
an older version of nixpkgs.
2020-02-09 22:33:33 +01:00
Florian Klink c173d663fd firefoxPackages.*: use config.allowAliases 2020-02-09 22:33:33 +01:00
arcnmx c7a58a7ba7 firefox: resolve relative nativeMessagingHosts links 2020-02-05 14:29:52 -08:00
taku0 249e3d0ef3 firefox-esr: 68.4.1esr -> 68.4.2esr 2020-01-21 20:04:04 +09:00
taku0 57aed520d8 firefox: 72.0.1 -> 72.0.2 2020-01-21 19:59:34 +09:00
Florian Klink 0e75514442 firefoxPackages.icecat: mark as insecure
It's based on 60.3.0, whose support ended around October 2019.
2020-01-10 20:19:19 +01:00
Florian Klink 1efaa03d95 firefoxPackages.tor-browser*, tor-browser-bundle: remove
These are all based on firefox versions with known vulnerabilities
exploited in the wild.

We seriously shouldn't ship this in nixpkgs, especially not for
sensitive applications as the Tor Browser.

`tor-browser-bundle` is just a wrapper around
`firefoxPackages.tor-browser`, so let's remove it too.

`tor-browser-bundle-bin` is the much safer bet, which is individually
downloaded from `dist.torproject.org` and just `patchelf`-ed locally to
work on NixOS.

Co-Authored-By: Alyssa Ross <hi@alyssa.is>
Co-Authored-By: Andreas Rammhold <andreas@rammhold.de>
Co-Authored-By: Graham Christensen <graham@grahamc.com>
2020-01-10 18:34:22 +01:00
Vladimír Čunát f703a3a04a
firefox-esr-60: mark as vulnerable
The last release was in September, so it's surely "vulnerable" now.
https://www.mozilla.org/en-US/firefox/60.9.0/releasenotes/

This is the same appproach we've taken for esr-52.
2020-01-10 17:08:01 +01:00
Andreas Rammhold b4983fe20b
firefox: fix build of >=72 on aarch64 2020-01-08 23:39:26 +01:00