Subject: [bug#76422] [PATCH] gnu: mozjs: Remove version 91.

From: André Batista <[email-masked]>
Date: Wed, 19 Feb 2025 16:42:41 -0300

No packages depend on this version anymore.

* gnu/packages/gnuzilla.scm (mozjs-91): Delete variable.

Change-Id: I49b524a715c6944eecefe64a00270288af63ab16
---
 gnu/packages/gnuzilla.scm | 31 -------------------------------
 1 file changed, 31 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index a9df89af95..1216983f07 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -272,37 +272,6 @@ (define-public mozjs-102
     (inputs (modify-inputs (package-inputs mozjs)
               (replace "icu4c-73" icu4c)))))
 
-(define-public mozjs-91
-  (package
-    (inherit mozjs)
-    (version "91.13.0")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append "https://ftp.mozilla.org/pub/firefox"
-                                  "/releases/" version "esr/source/firefox-"
-                                  version "esr.source.tar.xz"))
-              (sha256
-               (base32
-                "0qh7j960wdp5zcfqhkj8ki47spp9i9ms12xx0v0kxvmmw36jpgjk"))))
-    (arguments
-     (substitute-keyword-arguments (package-arguments mozjs)
-       ((#:phases phases)
-        #~(modify-phases #$phases
-            (add-before 'check 'disable-timezone-tests
-              (lambda _
-                (with-directory-excursion "../js/src/tests"
-                  ;; FIXME: Assertion failed: got "2021a", expected "2021a3"?
-                  (delete-file "non262/Intl/DateTimeFormat/timeZone_version.js")
-                  ;; XXX: Delete all tests that test time zone functionality,
-                  ;; because the test suite uses /etc/localtime to figure out
-                  ;; the offset from the hardware clock, which does not work
-                  ;; in the build container.  See <tests/non262/Date/shell.js>.
-                  (delete-file-recursively "non262/Date")
-                  (delete-file
-                   "non262/Intl/DateTimeFormat/tz-environment-variable.js"))))))))
-    (inputs (modify-inputs (package-inputs mozjs)
-              (replace "icu4c-73" icu4c-69)))))
-
 (define-public mozjs-78
   (package
     (inherit mozjs)

base-commit: 93551174af7a96d61f22f013ad1b9935106bf040
prerequisite-patch-id: 231144295f3567a091a9292b4dc4168e9c7d49f7
-- 
2.48.1