Commit Graph

1087 Commits

Author SHA1 Message Date
Martin Weinelt
2ad22bbb52
firefox-esr-91: 91.0esr -> 91.0.1esr 2021-08-18 02:51:04 +02:00
Martin Weinelt
010a316966
firefox: 91.0 -> 91.0.1 2021-08-18 02:49:45 +02:00
Bernardo Meurer
8e02a42d53
Merge pull request #130116 from yu-re-ka/feature/new-thunderbird
thunderbird: 78.13.0 -> 91.0 and use firefox expression
2021-08-12 23:02:21 +00:00
Yureka
711d674e13 firefox: rename some attributes in packaging
This should not change the derivation, but the new attribute names make
more sense once we package something that is not Firefox using this
expression.
2021-08-12 08:50:41 +02:00
Sean Buckley
9290873838 firefox: fix enableOfficialBranding 2021-08-11 20:14:23 -04:00
Martin Weinelt
afb0e73ebc firefox-esr-91: init at 91.0esr 2021-08-10 07:43:50 +09:00
Martin Weinelt
810b03602b firefox: 90.0.2 -> 91.0 2021-08-10 07:43:50 +09:00
Artturi
3dcb36f234
Merge pull request #129273 from lovesegfault/firefox-increase-max-silent
firefox: increase silent timeout to 14400s (4h)
2021-08-07 15:03:09 +03:00
Gardanta Spirito
33bf438fa2 firefox: add smartcard support through opensc 2021-08-07 01:31:07 +03:00
taku0
82feb11201 firefox: 90.0.1 -> 90.0.2 2021-07-23 15:52:07 +09:00
taku0
1ad4db95fb firefox: 90.0 -> 90.0.1 2021-07-20 21:43:27 +09:00
Vladimír Čunát
92b3227511
Merge #130084: firefox-bin: 89.0.1 -> 90.0 + firefox-esr
firefox-esr: 78.11.0esr -> 78.12.0esr
2021-07-16 09:32:37 +02:00
Dmitry Kalinkin
c149772546
Merge pull request #130044 from Mindavi/bugfix/makewrapper-fixes
Move makeWrapper to nativeBuildInputs for some packages
2021-07-13 14:23:25 -04:00
taku0
8cef5c9fea firefox-esr: 78.11.0esr -> 78.12.0esr 2021-07-13 18:58:51 +09:00
Rick van Schijndel
94ebbb266c firefox: move makeWrapper to nativeBuildInputs 2021-07-12 22:06:14 +02:00
ajs124
c6e51d0369 firefox-wrapper: also make gtk3-support non-optional here 2021-07-12 16:47:34 +02:00
ajs124
b332794adf firefox: 89.0.2 -> 90.0
make gtk3Support non-optional, because it hasn't been for a long time
also make gtk2 conditional on firefox older than 90, because we can get
rid of it with firefox 90, but it's still needed by the current ESR
release
2021-07-12 16:47:24 +02:00
Bernardo Meurer
919e2a98ac
firefox: increase silent timeout to 14400s (4h)
Fixes: #129115
Replaces: #129212
2021-07-04 14:11:52 -07:00
taku0
cab7d36885 firefox: 89.0.1 -> 89.0.2 2021-06-23 15:12:45 +09:00
taku0
eaef28d6c4 firefox/update.nix: Use fingerprint instead of keyid 2021-06-17 00:07:09 +09:00
taku0
e330adceb9 firefox: 89.0 -> 89.0.1 2021-06-16 19:35:54 +09:00
taku0
1415289e67 firefox, firefox-bin: fetch GPG key from keyring 2021-06-16 19:33:28 +09:00
taku0
6aaaa019ce firefox: fix parameter of update.nix for ESR version 2021-06-16 19:33:28 +09:00
taku0
8432387de2 firefox: use SHA512SUM in update.nix 2021-06-16 19:33:28 +09:00
Bernardo Meurer
3694ff7027
Merge pull request #126404 from wentasah/firefox-cups
firefox: Make CUPS printers visible in the print dialog
2021-06-10 17:43:35 +00:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Michal Sojka
5102a12471 firefox: Make CUPS printers visible in the print dialog
Firefox 81 introduced a new print dialog. Under NixOS, this dialog
offers only "Save as PDF" as the destination. To print to a real
printer, one has to click "Print using the system dialog" and print
from there. This is not only one unnecessary extra click, but the
system dialog also does not offer preview.

With this commit, Firefox starts offering real printers in its
printing dialog, removing the above mentioned deficiencies.

CUPS is needed because Firefox uses dlopen() to load libcups.so.2 at
runtime. See
https://searchfox.org/mozilla-central/rev/b52cf6bbe214bd9d93ed9333d0403f7d556ad7c8/widget/nsCUPSShim.cpp#28
2021-06-09 23:09:48 +02:00
Martin Weinelt
42e25d855f
firefox: use nss without p11-kit
Quickfix to allow firefox to recognize certificates as trusted by
Mozilla.

Related: #126065
2021-06-09 00:01:00 +02:00
Martin Weinelt
602163952d
Merge pull request #125669 from nbp/firefox-file-picker
firefox-bin: Avoid including both the wrapped and unwrapped versions.
2021-06-07 18:05:06 +02:00
Nicolas B. Pierron
efef092ba5 firefox-bin: Avoid including both the wrapped and unwrapped version when using nix run command.
In order to make the man pages accessible, the previous code used
nix-support/propagated-user-env-packages. However this file is also used to set
the PATH when the application is executed with `nix run`, thus including the
wrapped and the wrappee in the environment.

Having the wrappee enumerated first in the environment caused `firefox` to
default to the wrappee, and as such not being able to find a proper GTK. This
was a source of failures while opening a file-picker.

This change removes the code to propagate the wrappe in the environment, as the
man pages are already linked in the wrapper output.
2021-06-07 11:42:18 +02:00
Martin Weinelt
f42ea75dec
firefox-esr: 78.10.1esr -> 78.11.0esr
https://www.mozilla.org/en-US/firefox/78.11.0/releasenotes/
https://www.mozilla.org/en-US/security/advisories/mfsa2021-24/
2021-06-02 02:07:27 +02:00
Martin Weinelt
bcc35ef63f
firefox: 88.0.1 -> 89.0
https://www.mozilla.org/en-US/firefox/89.0/releasenotes/
2021-05-31 13:31:09 +02:00
sternenseemann
849fe554d5 firefox: take LLVM tools from buildStdenv
Since 37194a325d llvmPackages*.bintools is a bintools-wrapper. Thus it
only contains a wrapper for `as` and `ld`. This change makes sense, but
causes regressions like this one. Since the buildStdenv uses the llvm
bintool set including lld as a linker we can use the
cc.bintools.bintools derivation to get all the tools we need.
Technically we wouldn't need to set absolute paths as all tools are also
added to PATH, but it doesn't hurt either.
2021-05-21 23:09:56 +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
Martin Weinelt
9651084620 Merge remote-tracking branch 'origin/master' into staging-next 2021-05-08 14:43:43 +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
github-actions[bot]
202eb5ddf5
Merge staging-next into staging 2021-05-05 18:24:02 +00:00
taku0
d6229c7f5f firefox-esr: 78.10.0esr -> 78.10.1esr 2021-05-05 11:12:28 +09:00
taku0
bd5046edea firefox: 88.0 -> 88.0.1 2021-05-05 11:12:28 +09:00
github-actions[bot]
49721bed32
Merge staging-next into staging 2021-05-01 18:26:21 +00:00
Milan Pässler
d05202ea7c
Revert "firefox-esr: use latest Rust"
This reverts commit 903e23ad36.

It caused segfaults when playing media:
https://github.com/NixOS/nixpkgs/issues/121408
2021-05-01 18:47:29 +02:00
github-actions[bot]
20ebbe6b59
Merge staging-next into staging 2021-04-30 18:26:34 +00:00
Milan Pässler
903e23ad36
firefox-esr: use latest Rust
Firefox ESR 78.x used to have a problem with Rust >= 1.46, but it works
with latest Rust now!
2021-04-30 17:50:01 +02:00
Andrew Childs
7869d16545 llvmPackages: Multuple outputs for everythting
Also begin to start work on cross compilation, though that will have to
be finished later.

The patches are based on the first version of
https://reviews.llvm.org/D99484. It's very annoying to do the
back-porting but the review has uncovered nothing super major so I'm
fine sticking with what I've got.

Beyond making the outputs work, I also strove to re-sync the packages,
as they have been drifting pointlessly apart for some time.

----

Other misc notes, highly incomplete

- lvm-config-native and llvm-config are put in `dev` because they are
  tools just for build time.

- Clang no longer has an lld dep. That was introduced in
  db29857eb3, but if clang needs help
  finding lld when it is used we should just pass it flags / put in the
  resource dir. Providing it at build time increases critical path
  length for no good reason.

----

A note on `nativeCC`:

`stdenv` takes tools from the previous stage, so:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.stdenv.cc`: `(?0, ?1, x)`

while:

1. `pkgsBuildBuild`: `(?1, x, x)`
2. `pkgsBuildBuild.targetPackages`: `(x, x, ?2)`
3. `pkgsBuildBuild.targetPackages.stdenv.cc`: `(?1, x, x)`
2021-04-30 05:41:00 +00:00
github-actions[bot]
481a9bc47c
Merge master into staging-next 2021-04-23 00:15:39 +00:00
Martin Weinelt
e75f053238
Merge pull request #119434 from ooesili/firefox-ld-path-prefix
Add Firefox libs to beginning of LD_LIBRARY_PATH
2021-04-22 20:25:45 +02:00
Martin Weinelt
6b34489f81
Merge branch 'master' into staging-next 2021-04-20 02:06:07 +02:00
Bernardo Meurer
44fa00a5b8
Merge pull request #119862 from mweinelt/firefox
firefox: 87.0 -> 88.0; firefox-esr: 78.9.0esr -> 78.10.0esr
2021-04-19 19:33:42 +00:00
github-actions[bot]
6ef7c23763
Merge master into staging-next 2021-04-19 18:11:51 +00:00
Sebastian Graf
fa7004fd29 firefox: Remove SNAP_NAME=firefox in wrapper
082ed38 introduced it to fix the profile-per-install policy of FF 67. But since
FF 69 (or 68?), there is `MOZ_LEGACY_PROFILES`, which we use since 87e2618.
There is no reason for the `SNAP_NAME=firefox` workaround anymore.

Additionally, the combination of `SNAP_NAME=firefox` with
a large ~/.nix-profile/share in `XDG_DATA_DIRS` triggered
https://bugzilla.mozilla.org/show_bug.cgi?id=1569625 for me, so this really
fixes a bug in my configuration.

The only downside of this approach is that we lose support for running FF 67
(and possibly 68).
2021-04-19 14:33:19 +02:00
Martin Weinelt
af13285fff
firefox-esr: 78.9.0esr -> 78.10.0esr
https://www.mozilla.org/en-US/firefox/78.10.0/releasenotes/
2021-04-19 13:58:29 +02:00
Martin Weinelt
8fe28fb308
firefox: 87.0 -> 88.0
https://www.mozilla.org/en-US/firefox/88.0/releasenotes/
2021-04-19 13:58:00 +02:00
Wesley Merkel
2fc271ffdd Add Firefox libs to beginning of LD_LIBRARY_PATH
When firefox is executed by programs that also make changes to
`LD_LIBRARY_PATH`, the paths can conflict causing firefox to look for
shared libraries in the wrong location. This is because the wrapper
script around firefox *appends* library paths to `LD_LIBRARY_PATH`
instead of prepending them, causing library paths that are already in
the environment to take precedence over the library paths that firefox
depends on.

As an example, Discord and firefox both depend on different versions of
libnss. When Discord launches firefox, which happens when clicking on
hyperlinks, the path in `LD_LIBRARY_PATH` to libnss set by Discord takes
precedence over then one set by the firefox wrapper script causing
firefox to load a different version of libnss than the one it was built
against. This causes a fatal error in firefox which prevents it from
starting.

This commit fixes this issue by switching the firefox wrapper script to
*prepend* its library paths to `LD_LIBRARY_PATH`.

Fixes #118432
2021-04-14 10:52:28 -05:00
Luke Granger-Brown
08b22e605b Merge remote-tracking branch 'upstream/staging-next' into down-integrate-staging 2021-04-12 18:49:01 +00:00
Luis Hebendanz
94d7d46e20 firefox/wrapper.nix: Fixed firefox is always 'managed by your organization' 2021-04-10 01:46:18 +02:00
Gabriel Ebner
c08d9a7e02 firefox: add missing libdrm and libXdamage dependencies 2021-04-09 09:26:12 +02:00
Sandro Jäckel
dcb501f993
kerberos: deprecate alias 2021-04-04 03:18:56 +02:00
Martin Weinelt
4a8aaa58ad
firefox, firefox-esr: add myself to maintainers 2021-03-22 16:09:57 +01:00
Martin Weinelt
9a0519f080
firefox-esr: 78.8.0esr -> 78.9.0esr 2021-03-22 15:05:56 +01:00
Martin Weinelt
e9dbf1a586
firefox: 86.0.1 -> 87.0 2021-03-22 15:05:37 +01:00
Martin Weinelt
5ad7e11e5d
firefox: 86.0 -> 86.0.1 2021-03-12 04:17:38 +01:00
Frederik Rietdijk
277d488026 Merge staging into staging-next 2021-03-08 19:20:18 +01:00
Lluís Batlle i Rossell
d2af381b40 firefox: build in 32-bit systems
Disabling "-g" and LTO so there aren't memory problems.
2021-03-07 19:37:15 +01:00
Ben Siraphob
4f0cdb68d7 treewide: unzip buldInputs to nativeBuildInputs (2) 2021-03-06 15:18:05 +07:00
Martin Weinelt
7b9c874d67
firefox-esr: 78.7.1esr -> 78.8.0esr
/cc original PR #114152.  ESR doesn't need to go through staging.
I briefly ran it on X11 x86_64 NixOS and checked build on aarch64.
(for other's testing see the PR linked above)
2021-02-24 18:41:30 +01:00
Martin Weinelt
059e818b2f
firefox: 85.0.2 -> 86.0 2021-02-24 15:06:49 +01:00
Martin Weinelt
841fcbdb17
firefox-esr: 78.7.1esr -> 78.8.0esr 2021-02-24 15:06:49 +01:00
taku0
0253d3097d
Merge pull request #112491 from xaverdh/firefox-plugins-cleanup
firefox/wrapper: clean up plugin related code
2021-02-20 15:17:16 +09:00
Martin Weinelt
c76ad6f1af
firefox: 85.0.1 -> 85.0.2 2021-02-11 03:15:06 +01:00
Dominik Xaver Hörl
ac2e3ef270 firefox/wrapper: clean up plugin related code 2021-02-09 19:52:54 +01:00
Bernardo Meurer
76dc1086dc
firefox: remove flash support 2021-02-08 09:38:40 -08:00
Martin Weinelt
f30c67cc99
firefox: patch libpci.so{,.3} path in glxtest
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: libpci missing (t=0.460635) [GFX1-]: glxtest: libpci missing
2021-02-07 17:01:48 +01:00
taku0
f2c8ad694b
Merge pull request #112270 from lovesegfault/firefox-update
firefox-bin: 85.0 -> 85.0.1
2021-02-07 18:13:44 +09:00
Bernardo Meurer
326d14c08b
firefox: add lovesegfault as a maintainer 2021-02-07 00:07:00 -08:00
Martin Weinelt
093e65509b firefox-esr: 78.7.0esr -> 78.7.1esr 2021-02-06 20:01:15 +01:00
Martin Weinelt
5022f548fe firefox: 85.0 -> 85.0.1 2021-02-06 20:01:15 +01:00
Tim Steinbach
77665740b5 firefox: Add test references 2021-02-03 10:26:42 -05:00
Ben Siraphob
a6ac3eedbd treewide: xdg_utils -> xdg-utils 2021-02-01 15:05:09 +07:00
Martin Weinelt
ee3fca55d5
firefox-esr: 78.6.1esr -> 78.7.0esr 2021-01-28 04:09:15 +01:00
Martin Weinelt
63e8aa549c
firefox: 84.0.2 -> 85.0 2021-01-28 04:09:15 +01:00
github-actions[bot]
9541eb734d
Merge master into staging-next 2021-01-17 12:38:49 +00:00
Bernardo Meurer
9fcf3e5c25
Merge pull request #109598 from S-NA/wip/firefox-aarch64-lto
firefox: limit disable-elf-hack to arm, x86{,_64}
2021-01-17 08:03:35 +00:00
Ben Siraphob
5d566c43b4 pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Jan Tojnar
e6f926d910
Merge branch 'master' into staging-next 2021-01-17 05:52:23 +01:00
S. Nordin Abouzahra
00b75b7024 firefox: limit disable-elf-hack to arm, x86{,_64}
This is a follow up to #106617 which brought LTO support but broke the
AArch64 Firefox builds.
2021-01-16 22:26:40 -05:00
Bernardo Meurer
aa4a14b7ad
Merge pull request #106617 from S-NA/wip/firefox-improvements
firefox: fix running wayland firefox built with LTO and some miscellaneous improvements
2021-01-16 23:17:57 +00:00
Jan Tojnar
c0d2951fa6
Merge branch 'master' into staging-next 2021-01-15 17:46:46 +01:00
Ben Siraphob
108bdac3d9 pkgs/applications: stdenv.lib -> lib 2021-01-15 14:24:03 +07:00
S. Nordin Abouzahra
dbe008a52a firefox: remove python2 dependency
Python 2 is no longer required to build Firefox.
2021-01-13 08:06:48 -05:00
S. Nordin Abouzahra
7415d0589d firefox: overhaul LTO
Enable LTO support on Linux by default again.

Add patch to fix dependentlibs.list generation under LTO. This is
necessary for fixing firefox-wayland crashing when built with LTO.

Add makeFlags which set ar, ranlib, and nm to be llvm-ar, llvm-ranlib
and llvm-nm when building with llvm-based LTO. (bmo#1480005)
2021-01-13 08:06:48 -05:00
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
github-actions[bot]
bd9e17e21f
Merge staging-next into staging 2021-01-10 18:41:46 +00:00
Frederik Rietdijk
b209617ff0 plasma5Packages: alias to the libsForQt5 used to build the plasma5 desktop
For in NixOS it is beneficial if both plasma5 and pam use the same Qt5
version. Because the plasma5 desktop may use a different version as the
default Qt5 version, we introduce plasma5Packages.
2021-01-10 15:59:45 +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
Vladimír Čunát
85c8f75393
Merge #107603: firefox*: 84.0 -> 84.0.1 2020-12-28 08:39:21 +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
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
ajs124
26e0135eed firefox: 83.0 -> 84.0 2020-12-16 17:49:31 +01:00
Luis Hebendanz
1c8c134972 firefox: wrapper updating an addon perserves addon settings 2020-12-15 22:02:34 +01:00
Martin Weinelt
6a163d2dea
Merge pull request #105894 from ryneeverett/firefox-xdg
firefox: Prefix $PATH with xdg_utils
2020-12-11 22:17:39 +01:00
ryneeverett
36436ee8ac firefox: Prefix $PATH with xdg_utils
This is required for certain URIs that require launching external
programs (e.g. mailto:, magnet:, or irc:) or setting the default browser
via xdg-settings.

Resolve #92751.

Comparable to #96922.
2020-12-07 15:43:53 +00:00
Andreas Rammhold
dc6971ccf9 firefox: drop maintainership
After the recent wrapper and plugin purge outbreak where as the only
active listed maintainer of the package I didn't even get a chance to
comment (e.g. via comment or review request) I do not want to continue
maintaining this package anymore.
2020-12-06 21:24:50 +01:00
Luis Hebendanz
d3a6a124cf firefox: fix wrapper removing existing addons by default 2020-12-04 17:53:14 +01:00
Jörg Thalheim
3cd6bc103d
Merge branch 'master' into firefox-nix-addon-support 2020-12-03 07:20:16 +00:00
Jörg Thalheim
9712bbdf74
firefoxaddon: formatting nitpicks 2020-12-02 09:53:53 +01:00
Luis Hebendanz
cc421679e2
Update pkgs/applications/networking/browsers/firefox/wrapper.nix
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-12-02 09:40:54 +01:00
Luis Hebendanz
397597f731
Added fetchfirefoxaddon 2020-12-02 09:40:53 +01:00
Luis Hebendanz
eedee46f2f
Adding nix firefox extension support 2020-12-02 09:40:52 +01:00
Andreas Rammhold
afcbecc144
firefox: remove unused "imports"
These haven't been used in some time and there is no point in keeping
them around. They just clutter the file right now.
2020-11-30 10:26:45 +01:00
Andreas Rammhold
cdff2a832c
firefox: add aarch64 SIMD patch
This patch fixes compilation on aarch64 that broke somewhere between the
upgrade to the lateste rustc and the firefox 82 to 83 upgrade.

The patch has been submitted upstream and can probably be removed on the
next version bump.
2020-11-30 10:24:46 +01:00
Andreas Rammhold
1d0225adc0
firefox: move the no-buildconfig-ffx76 patch into common
This patch has been used on all our flavors for some time now. We can
just move it to the common expression.
2020-11-30 10:09:05 +01:00
Frederik Rietdijk
29f1edf2f3 thunderbird, firefox, firefox-esr: set big-parallel
Firefox and Thunder time out nearly everytime. Hopefully giving them
more resources will prevent this from happening.
2020-11-29 11:45:08 +01:00
Guillaume Girol
a7f06aa7b5
Merge pull request #103930 from yvesf/firefox-disable-lto-issue-reference
firefox: fix wayland-lto issue reference number
2020-11-24 20:36:54 +00:00
Andreas Rammhold
ccb42da9a9
firefox-esr-78: 78.4.1esr -> 78.5.0esr 2020-11-18 20:13:23 +01:00
Andreas Rammhold
fddfa3915c
firefox: 82.0.3 -> 83.0 2020-11-18 20:13:23 +01:00
Andreas Rammhold
c1cfe8b84e
firefox: fallback to nss_3_53 when version is below 83 2020-11-18 20:13:23 +01:00
Andreas Rammhold
398cdab5ce
firefox: prepare pipewire patches for firefox 83 2020-11-18 20:13:23 +01:00
Yves Fischer
794b8f9a9e firefox: fix wayland-lto issue reference number 2020-11-15 20:22:04 +01:00
Andreas Rammhold
d93868a92b
firefox-esr: 78.4.0esr -> 78.4.1esr 2020-11-15 14:36:01 +01:00
Andreas Rammhold
046002f472
firefox: 82.0.2 -> 82.0.3 2020-11-15 14:36:01 +01:00
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