aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Brielmaier <jonathan.brielmaier@web.de>2022-09-28 23:39:17 +0200
committerJonathan Brielmaier <jonathan.brielmaier@web.de>2022-09-28 23:50:36 +0200
commit16447da515b013240e700ce4a49d68454a0b37bd (patch)
tree128208d7478861936e68eaea95d4fd9ac99e56f1
parent0e367799869281c2cee8c7d563fd68f9e08c3fac (diff)
downloadguix-16447da515b013240e700ce4a49d68454a0b37bd.tar
guix-16447da515b013240e700ce4a49d68454a0b37bd.tar.gz
gnu: icedove: Update to 102.3.0.
* gnu/packages/gnuzilla.scm (icedove): Update to 102.3.0. [source]: Use icecat-source again. [arguments]: Remove `--frozen` flag from cargo invokation. Remove `--with-user-appdir` flag (no longer honoured since TB91). Disable WASM sandbox for now (needs more dependencies). [inputs]: Add alsa-lib. Use icu4c-71. [native-inputs]: Update hg-reference link. Use rust@1.59 and rust-cbindgen@0.23.
-rw-r--r--gnu/packages/gnuzilla.scm32
1 files changed, 20 insertions, 12 deletions
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index b3a301709f..f006e79dc5 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1520,12 +1520,12 @@ standards of the IceCat project.")
icecat-dir)))))))))
;; Update this together with icecat!
-(define %icedove-build-id "20220919000000") ;must be of the form YYYYMMDDhhmmss
+(define %icedove-build-id "20220920000000") ;must be of the form YYYYMMDDhhmmss
(define-public icedove
(package
(name "icedove")
- (version "91.13.1")
- (source icecat-91-source)
+ (version "102.3.0")
+ (source icecat-source)
(properties
`((cpe-name . "thunderbird_esr")))
(build-system gnu-build-system)
@@ -1557,6 +1557,13 @@ standards of the IceCat project.")
(for-each generate-all-checksums
'("third_party/rust"
"toolkit/library/rust")))))
+ (add-after 'patch-cargo-checksums 'remove-cargo-frozen-flag
+ (lambda _
+ ;; Remove --frozen flag from cargo invokation, otherwise it'll
+ ;; complain that it's not able to change Cargo.lock.
+ ;; https://bugzilla.mozilla.org/show_bug.cgi?id=1726373
+ (substitute* "build/RunCbindgen.py"
+ (("\"--frozen\",") ""))))
;; Fixes issue where each installation directory generates its own profile.
;; See e.g. https://trac.torproject.org/projects/tor/ticket/31457
(add-after 'patch-source-shebangs 'fix-profile-setting
@@ -1709,7 +1716,7 @@ standards of the IceCat project.")
"ac_add_options --with-system-nspr\n"
;"ac_add_options --with-system-nss\n"
"ac_add_options --with-system-zlib\n"
- "ac_add_options --with-user-appdir=\\.icedove\n"
+ "ac_add_options --without-wasm-sandboxed-libraries\n"
"mk_add_options MOZ_MAKE_FLAGS=-j"
(number->string (parallel-job-count)) "\n"))))
(display (getcwd))
@@ -1759,7 +1766,8 @@ standards of the IceCat project.")
`("XDG_DATA_DIRS" prefix (,gtk-share))
`("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,eudev-lib)))))))))
(inputs
- (list bzip2
+ (list alsa-lib
+ bzip2
cairo
cups
dbus-glib
@@ -1770,7 +1778,7 @@ standards of the IceCat project.")
gtk+
gtk+-2
hunspell
- icu4c
+ icu4c-71
libcanberra
libevent
libffi
@@ -1803,17 +1811,17 @@ standards of the IceCat project.")
;; in the Thunderbird release tarball. We don't use the release
;; tarball because it duplicates the Icecat sources and only adds the
;; "comm" directory, which is provided by this repository.
- ,(let ((changeset "2f9b465346ceb38b4ab79ccc1bfe8d8ad0bc8743"))
+ ,(let ((changeset "04f60827c1b53ab86121c7d122d3a8216219ff9f"))
(origin
(method hg-fetch)
(uri (hg-reference
- (url "https://hg.mozilla.org/releases/comm-esr91")
+ (url "https://hg.mozilla.org/releases/comm-esr102")
(changeset changeset)))
(file-name (string-append "thunderbird-" version "-checkout"))
(sha256
(base32
- "10vsbwlh5imq7iljwzq3r4y80wzsmj6s2gsi1n64l0wmfq2m6ilb")))))
- ("cargo" ,rust "cargo")
+ "078jrxpzqj45l84i39a9fq023j71ngca5gs2ngpjsbily51bzx09")))))
+ ("cargo" ,(force rust-1.59-promise) "cargo")
("clang" ,clang)
("llvm" ,llvm)
("m4" ,m4)
@@ -1822,8 +1830,8 @@ standards of the IceCat project.")
("perl" ,perl)
("pkg-config" ,pkg-config)
("python" ,python-wrapper)
- ("rust" ,rust)
- ("rust-cbindgen" ,rust-cbindgen-0.19)
+ ("rust" ,(force rust-1.59-promise))
+ ("rust-cbindgen" ,(force rust-cbindgen-0.23-promise))
("which" ,which)
("yasm" ,yasm)))
(home-page "https://www.thunderbird.net")