Commit Graph

177 Commits

Author SHA1 Message Date
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
Martin Weinelt
3ec7f8d487
firefox: set consistent remoting name
With Firefox 98.0 the remoting name now depends on the update channel
(mozbz#1752418), which resulted in a weird app_id/wmclass of
`firefox-default`, which broke window association in GNOME and likely
other desktops.

Fixes: #165107
2022-03-23 02:13:20 +01:00
Martin Weinelt
1530477650
firefox: enable RLBox sandboxing
https://hacks.mozilla.org/2021/12/webassembly-and-back-again-fine-grained-sandboxing-in-firefox-95/

Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2022-03-14 00:17:28 +01:00
Guillaume Girol
e60782c7fa firefox: use rustPlatform.bindgenHook 2022-02-22 19:41:32 +01:00
squalus
82a7fac5af librewolf: init at 97.0-2 2022-02-12 10:31:25 -08:00
Martin Weinelt
38219f7cc7
firefox-esr-91: 91.5.1esr -> 91.6.0esr 2022-02-07 18:12:54 +01:00
Martin Weinelt
a41acde05c
firefox: 96.0.3 -> 97.0 2022-02-07 18:12:54 +01:00
Martin Weinelt
74cba0680a
firefox: 95.0.2 -> 96.0 2022-01-11 00:35:00 +01:00
Dmitry Kalinkin
2ddda43924
Merge branch 'staging' into staging-next
Conflicts:
	pkgs/os-specific/linux/kernel/common-config.nix
2021-12-25 17:16:26 -05:00
Dmitry Kalinkin
1a9297102c
Merge branch 'master' into staging-next 2021-12-23 16:58:33 -05:00
Nick Cao
038b313075
firefox: use libvpx instead of libvpx_1_8 2021-12-21 15:12:09 +08:00
github-actions[bot]
3e2d1c1e65
Merge staging-next into staging 2021-12-15 18:01:52 +00:00
Vladimír Čunát
030e814b88
Merge #148107: llvmPackages_13.clang: fix jemalloc issues
... into staging-next.  Also re-enable jemalloc in firefoxPackages.
2021-12-15 14:09:34 +01:00
Michael Weiss
8fc77f9168
Merge pull request #148588 from primeos/wayland
wayland: 1.19.0 -> 1.20.0
2021-12-11 22:04:57 +01:00
Michael Weiss
715ab2e56e
firefox: Fix the build with wayland 1.20.0
See also:
- https://git.alpinelinux.org/aports/commit/community/firefox-esr?id=a408069e75632ce625aea68c70c23ee9e30995a5
- https://bugs.gentoo.org/811840
2021-12-11 18:07:30 +01:00
ajs124
340ede9984 firefox: 94.0.2 -> 95.0 2021-12-08 11:24:19 +01:00
oxalica
cd44576bff
firefox: re-enable jemalloc 2021-12-01 15:44:47 +08:00
oxalica
8a2be27251
firefox: disable jemalloc by default to fix crash 2021-11-21 12:23:31 +08:00
oxalica
a343380d9d
firefox: enable cross-language LTO 2021-11-21 12:23:30 +08:00
oxalica
8d4bef7124
firefox: enable separated debug symbols 2021-11-21 12:23:30 +08:00
oxalica
c2409db926
firefox: remove unnecessary make flags and LD_FLAGS
Since we are using LLVM stdenv when enabling LTO, there are no need to
manually specify them.
2021-11-21 12:23:28 +08:00
oxalica
2774c726b4 firefox: add a patch fixing deadlock 2021-11-13 20:59:54 +01:00
oxalica
f857492a19 firefox: use rustc.llvmPackages.stdenv with bintools
Currently `clangUseLLVM` is broken since it uses libcxx and compiler-rt but
also specifies `--gcc-toolchain`, which leads to weird compile errors when
including C++ headers.
2021-11-13 20:59:54 +01:00
Martin Weinelt
a0201d653e
firefox: Use llvmPackages exposed by rustc 2021-11-02 17:37:18 +01:00
Martin Weinelt
d69e703b71
firefox-esr-78: drop
Firefox ESR 78.15 was the last release of this series and is now EOL.
2021-11-02 14:41:04 +01:00
Luke Granger-Brown
1b74469cd0 nixos/ca: use cacert package build for options and p11-kit output
The cacert package can now generate p11-kit-compatible output itself,
as well as generating the correct set of outputs for fully-joined
and unbundled "traditional" outputs (in standard PEM and
OpenSSL-compatible formats).
2021-10-08 01:21:57 +00:00
Martin Weinelt
7dfcaf5e73
firefox: 92.0.1 -> 93.0 2021-10-06 14:47:12 +02:00
Yureka
eeea863edd firefox: provide option to disable jemalloc
Someone noted that running Firefox with custom allocators like mimalloc
requires compiling without jemalloc.
2021-09-20 18:42:35 +02:00
Bernardo Meurer
dfccb3045e
firefox-unwrapped: workaround issues on non-Gnome wayland WM's on FF 92
Closes: #137649
2021-09-13 10:21:53 -07: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
810b03602b firefox: 90.0.2 -> 91.0 2021-08-10 07:43:50 +09: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
Rick van Schijndel
94ebbb266c firefox: move makeWrapper to nativeBuildInputs 2021-07-12 22:06:14 +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
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03: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
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
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