Commit graph

60 commits

Author SHA1 Message Date
Matthew Bauer 0fe315c9b6 treewide: remove old patches for macOS
These shouldn’t be needed now that we are on macOS 10.12.
2019-04-26 21:54:32 -04:00
Andreas Rammhold 4b00df4305
Merge pull request #58630 from volth/patch-312
firefox-esr-52: fix build
2019-04-09 13:08:58 +00:00
Andrew Childs c6ef39927c firefox: fix aarch64 build 2019-04-07 02:31:27 +09:00
Andrew Childs 5a8ddeea73 firefox: re-enable webrtc on aarch64 (64+); fix comment 2019-04-07 02:31:22 +09:00
volth edbb386dc6
firefox-esr-52: needs libXdamage headers 2019-03-31 20:55:05 +00:00
SLNOS ec4a7a02ca firefoxPackages.tor-browser: carry over more configureFlags from upstream
These are taken from `tor-browser-build.git` repository.
2019-03-24 18:40:37 +00:00
Andreas Rammhold d64d42f12d
firefox: support building firefox 66 (and 60.6+) 2019-03-18 17:18:42 +01:00
Andreas Rammhold d7731c3142
firefoxPackages: enable support for wayland
This adds support for building firefox with the gtk wayland backend. It
should work on all the flavors that use >=gtk3. Using the wayland
still allows using the X11 backend.
2019-02-03 11:36:25 +01:00
Jan Malakhovski 26f6fabcfe firefoxPackages: move nixpkgsPatches into common.nix 2019-01-31 17:02:52 +00:00
SLNOS ff6cc1ac0e firefoxPackages.icecat: init at 60.3.0, 52.6.0
It works, but this state is far from ideal: GNU guys update generated source
tarballs very infrequently. Ideally, src needs to be generated by running
makeicecat over firefox src. Will do later.
2019-01-31 17:02:45 +00:00
Andreas Rammhold 08ba4f13c9 firefoxPackages: support building with firefox 65
Firefox >=65 will depend on icu >=63. All the older firefox versions
(and derived packages) seem to work fine with this change.

Also the system path environment patch will fail to apply since there
was a trivial whitespace change in the source file. By adding `-l` to
patch we can avoid having to track two patches that do basically the
same. Having patchFlags per file without resorting to pre-/postPatch
would be nicer but there doesn't seem to be a facility for that right
now.
2019-01-29 20:30:42 +01:00
Lengyel Balazs f4a53ff3bc treewide/xorg: replace *proto with xorgproto 2019-01-04 14:38:57 +01:00
Jörg Thalheim 1b146a8c6f
treewide: remove paxutils from stdenv
More then one year ago we removed grsecurity kernels from nixpkgs:
https://github.com/NixOS/nixpkgs/pull/25277

This removes now also paxutils from stdenv.
2018-12-22 12:55:05 +01:00
Andreas Rammhold 783dc61f68
firefox: updated common.nix to support ffx64
See #51863.
2018-12-12 00:25:33 +01:00
Piotr Bogdan 3e7b6b5bfa firefoxen: remove unused gstreamer dependencies
Firefox and, by extension, Tor browser don't support gstreamer any more, this
removes what are effectively unused dependencies.

https://bugzilla.mozilla.org/show_bug.cgi?id=1234092 "Remove gstreamer support"
2018-11-14 22:29:48 +00:00
Michael Raskin adf41ed942
Merge pull request #49864 from oxij/pkgs/tiny-things
trivial: tiny cleanups and fixes
2018-11-08 06:28:10 +00:00
Jan Malakhovski d2d80e6d30 firefox: disable pulseaudio support on non-Linux by default 2018-11-08 05:20:18 +00:00
Andreas Rammhold 551ef1ac41 firefox: provide clang configure flags on i686
With the upgrade to firefox 62 clang flags are now required on i686.

(cherry picked from commit acf4a4eff315a52d8f9c944a167ecb373bc1fdf9)
2018-11-07 19:44:01 +01:00
Andreas Rammhold 277da59e47
firefox: 62.0.3 -> 63.0 2018-10-23 10:15:46 +02:00
SLNOS 5ec27f3033 firefoxPackages: cleanup
Misc cleanups, but mainly this:

Before:
- `version` could mean either Firefox or TorBrowser version,
- `configureFlags` was hacky.

Now:
- `ffversion` is Firefox version, `tbversion` is TorBrowser version,
- `configureFlags` is much less hacky.
2018-10-19 16:46:28 +00:00
Matthew Bauer 7974e45689 firefox: readd --disable-xcode-checks
Only works on version 61 apparently, but it is needed.
2018-08-23 13:09:16 -05:00
Matthew Bauer 090985a443
firefox: remove --disable-xcode-checks
Apparently it's not needed anymore!
2018-08-22 13:26:05 -05:00
Jan Malakhovski cad8fc3447
firefoxPackages: avoid BINDGEN_CFLAGS on some versions
... to fix build; vcunat included the old ESR firefox, too.
2018-08-21 15:32:39 +02:00
Matthew Bauer 08655b16f2 firefox: fix darwin wrapper
- add execdir passthru
  usually this is /bin on macOS it is different.
2018-08-11 22:54:48 -05:00
Matthew Bauer 8fba05403a firefox: build on darwin
Fixes #30285

Some things done:

- Add macOS frameworks needed
- Fix RUST_BINDGEN handling. We need to pass all of NIX_CFLAGS_COMPILE
  to rust bindgen
- Add custom install phase for darwin
2018-08-11 22:54:48 -05:00
Matthew Bauer 4b71fe6d86 firefox: cleanup expression
- Add a few more macOS frameworks needed
- Fix RUST_BINDGEN handling. We need to pass all of NIX_CFLAGS_COMPILE
  to rust bindgen
2018-08-11 22:54:48 -05:00
Matthew Bauer 0edb441a0e firefox: build on darwin
Fixes #30285
2018-08-11 22:54:48 -05:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
taku0 900617bd30 firefox, firefox-bin: add dependencies for flashplayer 2018-07-12 22:05:52 +09:00
Vladimír Čunát 2f4001f41a
Merge #42729: firefox-61 and related updates (security)
(cherry picked from commit 8ad921dc94)
Fast-forwarded to get to master sooner.
2018-06-29 20:58:13 +02:00
Andreas Rammhold 780d122d72
firefox: fix build on aarch64 with version >= 60
The firefox build fails with an error referring to ssse2 which doesn't
exist on aarch64.
2018-05-16 21:08:19 +02:00
Jan Malakhovski 7438083a4d tree-wide: disable doCheck and doInstallCheck where it fails (the trivial part) 2018-04-25 04:18:46 +00:00
taku0 8170c05afc firefox: 58.0.2 -> 59.0 2018-03-16 23:17:07 +09:00
Vladimír Čunát 565bd805e6
Merge branch 'master' 2018-03-05 14:53:27 +01:00
Jan Tojnar a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Alexander V. Nikolaev 0acec7e984 treewide: transition mesa to libGLU_combined 2018-02-24 17:06:49 +02:00
Jan Malakhovski 97c43bf285 firefox: common: cleanup configure phase 2018-02-11 16:19:10 +00:00
Jan Malakhovski a2cf5577c2 firefox: common: tiny cleanup 2018-02-11 16:19:04 +00:00
Andreas Rammhold 42b9b8f7c8
firefox{-esr,}: fix failing build due to the google-api-key
Since firefox 58.0.1 the google api key is now stored at an absolute
path ($TMPDIR/ga). Since variable expansion in `configureFlags` does not
really work (as expected) the build started failing when using the
legacy firefox build system. With the newer `./mach` based builds
firefox reads the configure flags from `.mozconfig` instead.

This commit moves the `with-google-api-keyfile=` setting into the
`preConfigure` phase where we can properly expand `$TMPDIR` into
whatever the path is.
2018-02-01 13:38:16 +01:00
Andreas Rammhold ce08581088 firefox: enable official branding
As stated by Sylvestre Ledru (@sylvestre) on Nov 22, 2017 at
https://github.com/NixOS/nixpkgs/issues/31843#issuecomment-346372756 we
have permission to use the official firefox branding.

Fur purposes of documentation the statement of @sylvestre:
> As the person who did part of the work described in the LWN article
> and release manager working for Mozilla, I can confirm the statement
> that I made in
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815006
>
> @garbas shared with me the list of patches applied for the Nix package.
> As they are just for portability and tiny modifications, they don't
> alter the experience of the product. In parallel, Rok also shared the
> build options. They seem good (even if I cannot judge the quality of the
> packaging of the underlying dependencies like sqlite, png, etc).
> Therefor, as long as you keep the patch queue sane and you don't alter
> the experience of Firefox users, you won't have any issues using the
> official branding.
2018-02-01 12:54:02 +01:00
Andreas Rammhold 495e2b0343
firefox: 57.0.4 -> 58.0.1 2018-01-31 14:44:35 +01:00
Daiderd Jordan 10c4b5ba6f firefox: use libclang 2018-01-17 15:53:08 +02:00
Robin Gloster 3d4f3091fc
firefox: fix clang dependency 2018-01-17 13:41:59 +01:00
Gabriel Ebner 3dc1274232 firefox: enable webrender 2017-12-10 07:38:16 +01:00
SLNOS d838fbe2b3 firefoxPackages: move old firefox flags under isTorBrowserLike 2017-12-05 12:48:45 +00:00
SLNOS 3d8260fcf6 Revert a part of "firefox: 56.0.2 -> 57.0"
This reverts a part of commit 559433d0db.

The problem with removing those options completely is that without them
tor-browser's config differs from the official config (which may or may
not be a problem for fingerprinting).
2017-12-05 12:48:38 +00:00
taku0 559433d0db firefox: 56.0.2 -> 57.0 2017-11-13 23:01:02 +09:00
Vladimír Čunát e067d26f43
firefox: fixup build on i686-linux after 56.x update
Broken since #30143.
I can't say I understand why this combination is apparently unsupported.
i686-linux is a second-tier platform now, but firefox is still kept a
channel blocker...
2017-10-14 21:24:15 +02:00
Spencer Baugh 2d903b8da2 firefox: add Kerberos support 2017-10-08 20:48:13 +00:00
taku0 69ad8a5d92 firefox: 55.0.3 -> 56.0 2017-10-05 23:52:13 +09:00