~ruther/guix-local

8c95bba9ca3ecf375c930162742512b3a266aef3 — Mark H Weaver 6 months ago 7ba21ba
gnu: icecat: Update to 140.3.1-gnu1.

Fixes Mozilla bug 1980812 (Websites take way too long to load):
Improved reliability when HTTP/3 connections fail.  IceCat no longer
forces HTTP/2 during fallback, allowing the server to choose the
protocol and preventing stalls on some sites.

* gnu/packages/gnuzilla.scm (%icecat-base-version): Uncouple from
mozjs and update.
(%icecat-build-id): Update.
(icecat-source): Uncouple 'upstream-firefox-source' from mozjs source.
Update 'gnuzilla-commit' and hashes.
1 files changed, 14 insertions(+), 7 deletions(-)

M gnu/packages/gnuzilla.scm
M gnu/packages/gnuzilla.scm => gnu/packages/gnuzilla.scm +14 -7
@@ 603,11 603,9 @@ in the case of Firefox, it is browser/locales/all-locales."
    "zh-CN"
    "zh-TW"))

(define %icecat-base-version (package-version mozjs))
;;; See <https://product-details.mozilla.org/1.0/firefox_versions.json>
;;; for the source of truth regarding Firefox releases.
(define %icecat-base-version "140.3.1")
(define %icecat-version (string-append %icecat-base-version "-gnu1"))
(define %icecat-build-id "20250916000000") ;must be of the form YYYYMMDDhhmmss
(define %icecat-build-id "20250923000000") ;must be of the form YYYYMMDDhhmmss

;; 'icecat-source' is a "computed" origin that generates an IceCat tarball
;; from the corresponding upstream Firefox ESR tarball, using the 'makeicecat'


@@ 618,9 616,18 @@ in the case of Firefox, it is browser/locales/all-locales."
         (sub-version   (third  (string-split %icecat-base-version #\.)))

         (upstream-firefox-version (string-append %icecat-base-version "esr"))
         (upstream-firefox-source (package-source mozjs))
         (upstream-firefox-source
          (origin
            (method url-fetch)
            (uri (string-append
                  "https://ftp.mozilla.org/pub/firefox/releases/"
                  upstream-firefox-version "/source/"
                  "firefox-" upstream-firefox-version ".source.tar.xz"))
            (sha256
             (base32
              "0db7qgcvw4knl6qbkn0a52vh2pcghcw4s2djdvcna1zlqjhv6hqb"))))

         (gnuzilla-commit "c939d76c33294791cce8ce1722bd6747dadbe31f")
         (gnuzilla-commit "b7f0c6b7d19ececd92640f26eaa43cfec29cf728")
         (gnuzilla-source
          (origin
            (method git-fetch)


@@ 631,7 638,7 @@ in the case of Firefox, it is browser/locales/all-locales."
                                      (string-take gnuzilla-commit 8)))
            (sha256
             (base32
              "03ly055r77fprm53474998hyjhb1a78spyxjs7998npyqzv3fscs"))))
              "1hzwa4dbk5pvwas867vp2iivdr9zqppr9zbw2xgyd2mdf2kj4a20"))))

         ;; 'search-patch' returns either a valid file name or #f, so wrap it
         ;; in 'assume-valid-file-name' to avoid 'local-file' warnings.