Revert "gnu: librewolf: Update to 137.0-1 [security fixes]."

This reverts commit f664a9377d.
This commit is contained in:
Ian Eure 2025-04-04 14:15:41 -07:00
parent 1436165c2f
commit f795209d51
No known key found for this signature in database
GPG key ID: 8499AC88F1A71CF2

View file

@ -206,17 +206,17 @@
;; Update this id with every update to its release date. ;; Update this id with every update to its release date.
;; It's used for cache validation and therefore can lead to strange bugs. ;; It's used for cache validation and therefore can lead to strange bugs.
;; ex: date '+%Y%m%d%H%M%S' ;; ex: date '+%Y%m%d%H%M%S'
(define %librewolf-build-id "20250401171639") (define %librewolf-build-id "20250327215540")
(define-public librewolf (define-public librewolf
(package (package
(name "librewolf") (name "librewolf")
(version "137.0-1") (version "136.0.4-1")
(source (source
(make-librewolf-source (make-librewolf-source
#:version version #:version version
#:firefox-hash "07d9rdxmp48gbk41y1c6gggzziv9aqdhjwgi6c0hrf6chcppxi0y" #:firefox-hash "0hn2ywyacgg8n47qz1q2l8bf32mszj3vnpkl6kag3wmqqbhvja2a"
#:librewolf-hash "164bvissxzhzlwjafp9pdyhhg8hhdxh8w61ifkak497qm4yf8af7" #:librewolf-hash "045il4xrji2zh1scx3aiy6hx6jv098232aycda6bhsh27szbsrfa"
#:l10n firefox-l10n)) #:l10n firefox-l10n))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
@ -236,6 +236,8 @@
"--with-system-ffi" "--with-system-ffi"
"--enable-system-pixman" "--enable-system-pixman"
"--enable-jemalloc" "--enable-jemalloc"
;; see https://bugs.gnu.org/32833
"--with-system-nspr" "--with-system-nspr"
"--with-system-nss" "--with-system-nss"
@ -310,7 +312,7 @@
(libavcodec (string-append ffmpeg (libavcodec (string-append ffmpeg
"/lib/libavcodec.so"))) "/lib/libavcodec.so")))
;; Arrange to load libavcodec.so by its absolute file name. ;; Arrange to load libavcodec.so by its absolute file name.
(substitute* (substitute*
"dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp" "dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp"
(("libavcodec\\.so") (("libavcodec\\.so")
libavcodec))))) libavcodec)))))
@ -403,7 +405,7 @@
(string-append all ", icu-uc >= 76.1"))) (string-append all ", icu-uc >= 76.1")))
(if (string=? old-content (if (string=? old-content
(pk (call-with-input-file file get-string-all))) (pk (call-with-input-file file get-string-all)))
(error (error
"substitute did nothing, phase requires an update"))))) "substitute did nothing, phase requires an update")))))
(replace 'configure (replace 'configure
(lambda* (#:key inputs outputs configure-flags (lambda* (#:key inputs outputs configure-flags
@ -476,7 +478,7 @@
(invoke "./mach" "configure"))) (invoke "./mach" "configure")))
(add-before 'build 'fix-addons-placeholder (add-before 'build 'fix-addons-placeholder
(lambda _ (lambda _
(substitute* (substitute*
"toolkit/locales/en-US/toolkit/about/aboutAddons.ftl" "toolkit/locales/en-US/toolkit/about/aboutAddons.ftl"
(("addons.mozilla.org") (("addons.mozilla.org")
"gnuzilla.gnu.org")))) "gnuzilla.gnu.org"))))