summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Brielmaier <jonathan.brielmaier@web.de>2021-06-05 18:30:07 +0200
committerJonathan Brielmaier <jonathan.brielmaier@web.de>2021-06-05 18:38:18 +0200
commitfbfcd443dc56c194b9d54c5c5de61c261794a2eb (patch)
tree5ebb084dd9a13883ade80d38872ebe7cf2b26417
parent9d2bd2ed6c0c828bd87aa819aa62e4e90b72b8ad (diff)
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 <pierre.langlois@gmx.com>
-rw-r--r--nongnu/packages/mozilla.scm13
1 files 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/")