mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-22 16:38:09 +01:00
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>
This commit is contained in:
parent
9d2bd2ed6c
commit
fbfcd443dc
1 changed files with 9 additions and 4 deletions
|
@ -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/")
|
||||
|
|
Loading…
Reference in a new issue