firefox: 67.0.4 -> 68.0
This commit is contained in:
parent
48b2dfeca9
commit
0c436f8ca1
@ -4,7 +4,7 @@
|
|||||||
, isIceCatLike ? false, icversion ? null
|
, isIceCatLike ? false, icversion ? null
|
||||||
, isTorBrowserLike ? false, tbversion ? null }:
|
, isTorBrowserLike ? false, tbversion ? null }:
|
||||||
|
|
||||||
{ lib, stdenv, pkgconfig, pango, perl, python2, zip, libIDL
|
{ lib, stdenv, pkgconfig, pango, perl, python2, python3, zip, libIDL
|
||||||
, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
|
, libjpeg, zlib, dbus, dbus-glib, bzip2, xorg
|
||||||
, freetype, fontconfig, file, nspr, nss, libnotify
|
, freetype, fontconfig, file, nspr, nss, libnotify
|
||||||
, yasm, libGLU_combined, sqlite, unzip, makeWrapper
|
, yasm, libGLU_combined, sqlite, unzip, makeWrapper
|
||||||
@ -164,12 +164,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = lib.optionalString (lib.versionAtLeast ffversion "63.0" && !isTorBrowserLike) ''
|
postPatch = lib.optionalString (lib.versionAtLeast ffversion "63.0" && !isTorBrowserLike) ''
|
||||||
substituteInPlace third_party/prio/prio/rand.c --replace 'nspr/prinit.h' 'prinit.h'
|
substituteInPlace third_party/prio/prio/rand.c --replace 'nspr/prinit.h' 'prinit.h'
|
||||||
|
'' + lib.optionalString (lib.versionAtLeast ffversion "68") ''
|
||||||
|
rm -rf obj-x86_64-pc-linux-gnu
|
||||||
'';
|
'';
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ autoconf213 which gnused pkgconfig perl python2 cargo rustc ]
|
[ autoconf213 which gnused pkgconfig perl python2 cargo rustc ]
|
||||||
++ lib.optional gtk3Support wrapGAppsHook
|
++ lib.optional gtk3Support wrapGAppsHook
|
||||||
++ lib.optionals stdenv.isDarwin [ xcbuild rsync ]
|
++ lib.optionals stdenv.isDarwin [ xcbuild rsync ]
|
||||||
|
++ lib.optional (lib.versionAtLeast ffversion "61.0") [ python3 ]
|
||||||
++ lib.optionals (lib.versionAtLeast ffversion "63.0") [ rust-cbindgen nodejs ]
|
++ lib.optionals (lib.versionAtLeast ffversion "63.0") [ rust-cbindgen nodejs ]
|
||||||
++ lib.optionals (lib.versionAtLeast ffversion "67.0") [ llvmPackages.llvm ] # llvm-objdump is required in version >=67.0
|
++ lib.optionals (lib.versionAtLeast ffversion "67.0") [ llvmPackages.llvm ] # llvm-objdump is required in version >=67.0
|
||||||
++ extraNativeBuildInputs;
|
++ extraNativeBuildInputs;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ lib, callPackage, fetchurl, fetchFromGitHub, python3, overrideCC, gccStdenv, gcc6 }:
|
{ lib, callPackage, fetchurl, fetchFromGitHub, overrideCC, gccStdenv, gcc6 }:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
@ -17,18 +17,16 @@ rec {
|
|||||||
|
|
||||||
firefox = common rec {
|
firefox = common rec {
|
||||||
pname = "firefox";
|
pname = "firefox";
|
||||||
ffversion = "67.0.4";
|
ffversion = "68.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
|
url = "mirror://mozilla/firefox/releases/${ffversion}/source/firefox-${ffversion}.source.tar.xz";
|
||||||
sha512 = "3krwkc90m320a74vjyzlrxs4jc63cykbmpgisac9kv8m9n0bis5i1yf0dl9n14d9p4p541wvzhqygx7byj6mnvkhbk5b2l0nlvwias2";
|
sha512 = "0pg8ww2ldlvdlri0zrzv20x69x00gxshr4afq62pnz7rgrnppkdd0pw5snflisgvpxq1syxcrg5750wz1k4bfjwnyq47jk9h3fzddpw";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./no-buildconfig-ffx65.patch
|
./no-buildconfig-ffx65.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
extraNativeBuildInputs = [ python3 ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A web browser built from Firefox source tree";
|
description = "A web browser built from Firefox source tree";
|
||||||
homepage = http://www.mozilla.com/en-US/firefox/;
|
homepage = http://www.mozilla.com/en-US/firefox/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user