From fbfcd443dc56c194b9d54c5c5de61c261794a2eb Mon Sep 17 00:00:00 2001 From: Jonathan Brielmaier Date: Sat, 5 Jun 2021 18:30:07 +0200 Subject: nongnu: firefox: Update to 89.0. * nongnu/packages/mozilla.scm (firefox): Update to 89.0. [arguments]: Add fix-swgl-build.rs as work around for issue#116. [native-inputs]: Use rust-cbindgen-0.19. Co-authored-by: Pierre Langlois --- nongnu/packages/mozilla.scm | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/nongnu/packages/mozilla.scm b/nongnu/packages/mozilla.scm index 39e8653..9d70150 100644 --- a/nongnu/packages/mozilla.scm +++ b/nongnu/packages/mozilla.scm @@ -81,19 +81,19 @@ ;; Update this id with every firefox update to it's release date. ;; It's used for cache validation and therefor can lead to strange bugs. -(define %firefox-build-id "20210505000000") +(define %firefox-build-id "20210601000000") (define-public firefox (package (name "firefox") - (version "88.0.1") + (version "89.0") (source (origin (method url-fetch) (uri (string-append "https://archive.mozilla.org/pub/firefox/releases/" version "/source/firefox-" version ".source.tar.xz")) (sha256 - (base32 "1k0451ikq65n5lnf2k52nh4f3cnsbiq9vlym3xk9kzi81sp1xpw3")))) + (base32 "02m9w3igb1higxnqp318r41khf936jm6szw4bcd0amb4g7axfhyv")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -142,6 +142,11 @@ ,@%gnu-build-system-modules) #:phases (modify-phases %standard-phases + ;; See https://gitlab.com/nonguix/nonguix/-/issues/116 for details + (add-after 'unpack 'fix-swgl-build.rs + (lambda _ + (substitute* "gfx/wr/swgl/build.rs" + ((".flag\\(\"-ffast-math\"\\)") "")))) (add-after 'unpack 'fix-preferences (lambda* (#:key inputs #:allow-other-keys) (let ((port (open-file "browser/app/profile/firefox.js" "a"))) @@ -385,7 +390,7 @@ ("python" ,python) ("python2" ,python-2.7) ("rust" ,rust-1.47) - ("rust-cbindgen" ,rust-cbindgen-0.16) + ("rust-cbindgen" ,rust-cbindgen-0.19) ("which" ,which) ("yasm" ,yasm))) (home-page "https://mozilla.org/firefox/") -- cgit v1.2.3