Commit Graph
150 Commits
Author SHA1 Message Date
Martin Weinelt 95b508e695 firefox: 93.0 -> 94.0
(cherry picked from commit 0cf88beb7b551a59947425a0b62c8f51cf7ea0e7)
2021-11-03 16:23:56 +01:00
Martin Weinelt 5c7df0b18c firefox: 92.0.1 -> 93.0
(cherry picked from commit 7dfcaf5e73feebe12606dbc4c08128af75797fa4)
2021-10-06 14:59:13 +02:00
Bernardo Meurer 25532a7fbb firefox-unwrapped: workaround issues on non-Gnome wayland WM's on FF 92
Closes: #137649
(cherry picked from commit dfccb3045e76872eda32cdfa338dbe6aae8ccfcb)
2021-09-13 12:53:50 -07:00
Yureka c9f62c7d3e thunderbird-91: init at 91.0 2021-08-16 09:14:54 +02:00
Sean Buckley 8139ad25a3 firefox: fix enableOfficialBranding
(cherry picked from commit 92908738385789d50b9a1f863f977631de41e92b)
2021-08-12 11:04:07 +00:00
Martin Weinelt 4012d5b533 firefox: use nspr_latest for 91 and later 2021-08-10 12:31:10 +02:00
Martin Weinelt ae16816ff5 firefox: 90.0.2 -> 91.0
(cherry picked from commit e5c09425317c1df3457e23f1475f82949fdf6781)
2021-08-10 14:54:58 +09:00
Martin Weinelt 8728b288d1 firefox: use nss_latest for firefox >= 90 2021-07-14 16:32:30 +02:00
ajs124 88320091fa 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

(cherry picked from commit b332794adf841262958424c623c442cc8fab92e8)
2021-07-14 16:32:30 +02:00
Martin Weinelt 0647103d18 firefox: use nss without p11-kit
Quickfix to allow firefox to recognize certificates as trusted by
Mozilla.

Related: #126065
(cherry picked from commit 42e25d855fa959b7832fbdbc0a384294460d9258)
2021-06-09 12:55:23 +00:00
Martin Weinelt 66959b52fd firefox: 88.0.1 -> 89.0
https://www.mozilla.org/en-US/firefox/89.0/releasenotes/
(cherry picked from commit bcc35ef63fbabdd9e0b03213fb4af67dedf4c359)
2021-06-01 03:04:54 +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 Ericsonandsterni 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
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
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
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 059e818b2f firefox: 85.0.2 -> 86.0 2021-02-24 15:06:49 +01: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
Tim Steinbach 77665740b5 firefox: Add test references 2021-02-03 10:26:42 -05:00
Martin Weinelt 63e8aa549c firefox: 84.0.2 -> 85.0 2021-01-28 04:09:15 +01: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
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
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
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
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
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 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
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
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 ae2f5cccbb firefox: 81.0.2 -> 82.0 2020-10-20 16:29:07 +02:00