gnu: icedove: Update to 91.3.2.
The profile folder moved from `~/.icedove` to `~/.thunderbird`. You may need to migrate (copy) your profile over. * gnu/packages/gnuzilla.scm (icedove): Update to 91.3.2. [source]: Switch back to icecat-source. [arguments]: `obj-x86_64-pc-linux-gnu` folder is now generated during build, so it can't deleted in front. Remove surounding `'` from MOZ_DEDICATED_PROFILES to follow source code. MOZ_APP_BASENAME and MOZ_APP_DISPLAYNAME are no longer set in `comm/mail/confvars.sh`. Update path of `customizeToolbar.js`. Delete `'bootstrap` phase and no longer set AUTOCONF variable as the autoconf build part was removed. Set MACH_USE_SYSTEM_PYTHON and MOZ_APP_NAME, the latter is the binary name. `--enable-calendar` flag got removed. Use bundled NSS until core-updates merge. [inputs]: Update to `icu4c-69` and `nspr-4.32`. Use bundled NSS for now. [native-inputs]: Switch to comm-esr91 branch. Remove autoconf, add m4. Update rust and cargo to 1.51. Use `rust-cbindgen-0.19`.master
parent
f1a2e90409
commit
52cb5cf5b8
|
@ -13,7 +13,7 @@
|
||||||
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com>
|
||||||
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
|
||||||
;;; Copyright © 2019, 2020 Adrian Malacoda <malacoda@monarch-pass.net>
|
;;; Copyright © 2019, 2020 Adrian Malacoda <malacoda@monarch-pass.net>
|
||||||
;;; Copyright © 2020 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
;;; Copyright © 2020, 2021 Jonathan Brielmaier <jonathan.brielmaier@web.de>
|
||||||
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
|
;;; Copyright © 2020 Marius Bakke <marius@gnu.org>
|
||||||
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
||||||
;;; Copyright © 2021 Baptiste Strazzul <bstrazzull@hotmail.fr>
|
;;; Copyright © 2021 Baptiste Strazzul <bstrazzull@hotmail.fr>
|
||||||
|
@ -1598,12 +1598,12 @@ standards of the IceCat project.")
|
||||||
#t))))))))
|
#t))))))))
|
||||||
|
|
||||||
;; Update this together with icecat!
|
;; Update this together with icecat!
|
||||||
(define %icedove-build-id "20211008000000") ;must be of the form YYYYMMDDhhmmss
|
(define %icedove-build-id "20211119000000") ;must be of the form YYYYMMDDhhmmss
|
||||||
(define-public icedove
|
(define-public icedove
|
||||||
(package
|
(package
|
||||||
(name "icedove")
|
(name "icedove")
|
||||||
(version "78.15.0")
|
(version "91.3.2")
|
||||||
(source icecat-78-source)
|
(source icecat-source)
|
||||||
(properties
|
(properties
|
||||||
`((cpe-name . "thunderbird_esr")))
|
`((cpe-name . "thunderbird_esr")))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
@ -1621,7 +1621,6 @@ standards of the IceCat project.")
|
||||||
(mkdir "comm")
|
(mkdir "comm")
|
||||||
(copy-recursively (assoc-ref inputs "thunderbird-sources")
|
(copy-recursively (assoc-ref inputs "thunderbird-sources")
|
||||||
"comm")
|
"comm")
|
||||||
(delete-file-recursively "obj-x86_64-pc-linux-gnu")
|
|
||||||
(delete-file "sourcestamp.txt")
|
(delete-file "sourcestamp.txt")
|
||||||
#t))
|
#t))
|
||||||
(add-after 'patch-source-shebangs 'patch-cargo-checksums
|
(add-after 'patch-source-shebangs 'patch-cargo-checksums
|
||||||
|
@ -1643,14 +1642,12 @@ standards of the IceCat project.")
|
||||||
(add-after 'patch-source-shebangs 'fix-profile-setting
|
(add-after 'patch-source-shebangs 'fix-profile-setting
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "comm/mail/moz.configure"
|
(substitute* "comm/mail/moz.configure"
|
||||||
(("'MOZ_DEDICATED_PROFILES', True")
|
(("MOZ_DEDICATED_PROFILES, True")
|
||||||
"'MOZ_DEDICATED_PROFILES', False"))
|
"MOZ_DEDICATED_PROFILES, False"))
|
||||||
#t))
|
#t))
|
||||||
(add-after 'prepare-thunderbird-sources 'rename-to-icedove
|
(add-after 'prepare-thunderbird-sources 'rename-to-icedove
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "comm/mail/confvars.sh"
|
(substitute* "comm/mail/confvars.sh"
|
||||||
(("MOZ_APP_BASENAME=Thunderbird")
|
|
||||||
"MOZ_APP_BASENAME=Icedove\nMOZ_APP_DISPLAYNAME=Icedove")
|
|
||||||
(("MOZ_APP_NAME=thunderbird")
|
(("MOZ_APP_NAME=thunderbird")
|
||||||
"MOZ_APP_NAME=icedove")
|
"MOZ_APP_NAME=icedove")
|
||||||
(("MOZ_UPDATER=1")
|
(("MOZ_UPDATER=1")
|
||||||
|
@ -1694,7 +1691,8 @@ standards of the IceCat project.")
|
||||||
"enterprisepolicies/schemas/moz.build")
|
"enterprisepolicies/schemas/moz.build")
|
||||||
(("Thunderbird") "Icedove")))
|
(("Thunderbird") "Icedove")))
|
||||||
(substitute* '("comm/mailnews/base/prefs/content/accountUtils.js"
|
(substitute* '("comm/mailnews/base/prefs/content/accountUtils.js"
|
||||||
"comm/common/src/customizeToolbar.js")
|
"comm/mail/base/content/customizeToolbar.js"
|
||||||
|
"comm/suite/components/customizeToolbar.js")
|
||||||
(("AppConstants.MOZ_APP_NAME (.)= \"thunderbird" _ e)
|
(("AppConstants.MOZ_APP_NAME (.)= \"thunderbird" _ e)
|
||||||
(format #f "AppConstants.MOZ_APP_NAME ~a= \"icedove" e)))
|
(format #f "AppConstants.MOZ_APP_NAME ~a= \"icedove" e)))
|
||||||
|
|
||||||
|
@ -1728,6 +1726,7 @@ standards of the IceCat project.")
|
||||||
"<!-- Guix: not a runtime dependency -->"
|
"<!-- Guix: not a runtime dependency -->"
|
||||||
(string-drop hash 8))))
|
(string-drop hash 8))))
|
||||||
#t))
|
#t))
|
||||||
|
(delete 'bootstrap)
|
||||||
(replace 'configure
|
(replace 'configure
|
||||||
(lambda* (#:key inputs outputs configure-flags #:allow-other-keys)
|
(lambda* (#:key inputs outputs configure-flags #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
@ -1738,10 +1737,6 @@ standards of the IceCat project.")
|
||||||
,@configure-flags))
|
,@configure-flags))
|
||||||
(mozconfig (string-append (getcwd) "/.mozconfig")))
|
(mozconfig (string-append (getcwd) "/.mozconfig")))
|
||||||
(setenv "SHELL" bash)
|
(setenv "SHELL" bash)
|
||||||
(setenv "AUTOCONF"
|
|
||||||
(string-append (assoc-ref %build-inputs
|
|
||||||
"autoconf")
|
|
||||||
"/bin/autoconf"))
|
|
||||||
(setenv "CONFIG_SHELL" bash)
|
(setenv "CONFIG_SHELL" bash)
|
||||||
(setenv "QA_CONFIGURE_OPTIONS" ".*")
|
(setenv "QA_CONFIGURE_OPTIONS" ".*")
|
||||||
(setenv "MOZBUILD_STATE_PATH"
|
(setenv "MOZBUILD_STATE_PATH"
|
||||||
|
@ -1750,10 +1745,12 @@ standards of the IceCat project.")
|
||||||
(string-append (getcwd) "/.mozconfig"))
|
(string-append (getcwd) "/.mozconfig"))
|
||||||
(setenv "CC" "gcc")
|
(setenv "CC" "gcc")
|
||||||
(setenv "MOZ_NOSPAM" "1")
|
(setenv "MOZ_NOSPAM" "1")
|
||||||
|
(setenv "MACH_USE_SYSTEM_PYTHON" "1")
|
||||||
(setenv "PYTHON"
|
(setenv "PYTHON"
|
||||||
(string-append (assoc-ref inputs "python2")
|
(string-append (assoc-ref inputs "python2")
|
||||||
"/bin/python"))
|
"/bin/python"))
|
||||||
(setenv "MOZ_BUILD_DATE" ,%icedove-build-id) ; avoid timestamp
|
(setenv "MOZ_BUILD_DATE" ,%icedove-build-id) ; avoid timestamp
|
||||||
|
(setenv "MOZ_APP_NAME" "icedove")
|
||||||
(setenv "LDFLAGS" (string-append "-Wl,-rpath="
|
(setenv "LDFLAGS" (string-append "-Wl,-rpath="
|
||||||
(assoc-ref outputs "out")
|
(assoc-ref outputs "out")
|
||||||
"/lib/icedove"))
|
"/lib/icedove"))
|
||||||
|
@ -1773,7 +1770,6 @@ standards of the IceCat project.")
|
||||||
"ac_add_options --disable-updater\n"
|
"ac_add_options --disable-updater\n"
|
||||||
"ac_add_options --disable-webrtc\n"
|
"ac_add_options --disable-webrtc\n"
|
||||||
"ac_add_options --enable-application=comm/mail\n"
|
"ac_add_options --enable-application=comm/mail\n"
|
||||||
"ac_add_options --enable-calendar\n"
|
|
||||||
"ac_add_options --enable-default-toolkit=\"cairo-gtk3\"\n"
|
"ac_add_options --enable-default-toolkit=\"cairo-gtk3\"\n"
|
||||||
"ac_add_options --enable-optimize\n"
|
"ac_add_options --enable-optimize\n"
|
||||||
"ac_add_options --enable-pulseaudio\n"
|
"ac_add_options --enable-pulseaudio\n"
|
||||||
|
@ -1790,7 +1786,7 @@ standards of the IceCat project.")
|
||||||
"ac_add_options --with-system-jpeg\n"
|
"ac_add_options --with-system-jpeg\n"
|
||||||
"ac_add_options --with-system-libevent\n"
|
"ac_add_options --with-system-libevent\n"
|
||||||
"ac_add_options --with-system-nspr\n"
|
"ac_add_options --with-system-nspr\n"
|
||||||
"ac_add_options --with-system-nss\n"
|
;"ac_add_options --with-system-nss\n"
|
||||||
"ac_add_options --with-system-zlib\n"
|
"ac_add_options --with-system-zlib\n"
|
||||||
"ac_add_options --with-user-appdir=\\.icedove\n"
|
"ac_add_options --with-user-appdir=\\.icedove\n"
|
||||||
"mk_add_options MOZ_MAKE_FLAGS=-j"
|
"mk_add_options MOZ_MAKE_FLAGS=-j"
|
||||||
|
@ -1855,7 +1851,7 @@ standards of the IceCat project.")
|
||||||
("gtk+" ,gtk+)
|
("gtk+" ,gtk+)
|
||||||
("gtk+-2" ,gtk+-2)
|
("gtk+-2" ,gtk+-2)
|
||||||
("hunspell" ,hunspell)
|
("hunspell" ,hunspell)
|
||||||
("icu4c" ,icu4c-67)
|
("icu4c" ,icu4c-69)
|
||||||
("libcanberra" ,libcanberra)
|
("libcanberra" ,libcanberra)
|
||||||
("libevent" ,libevent)
|
("libevent" ,libevent)
|
||||||
("libffi" ,libffi)
|
("libffi" ,libffi)
|
||||||
|
@ -1870,8 +1866,9 @@ standards of the IceCat project.")
|
||||||
("libxt" ,libxt)
|
("libxt" ,libxt)
|
||||||
("mesa" ,mesa)
|
("mesa" ,mesa)
|
||||||
("mit-krb5" ,mit-krb5)
|
("mit-krb5" ,mit-krb5)
|
||||||
("nspr" ,nspr)
|
("nspr" ,nspr-4.32)
|
||||||
("nss" ,nss)
|
; FIXME: create nss >= 3.68 after core-updates merge
|
||||||
|
;("nss" ,nss)
|
||||||
("pango" ,pango)
|
("pango" ,pango)
|
||||||
("pixman" ,pixman)
|
("pixman" ,pixman)
|
||||||
("pulseaudio" ,pulseaudio)
|
("pulseaudio" ,pulseaudio)
|
||||||
|
@ -1887,28 +1884,28 @@ standards of the IceCat project.")
|
||||||
;; in the Thunderbird release tarball. We don't use the release
|
;; in the Thunderbird release tarball. We don't use the release
|
||||||
;; tarball because it duplicates the Icecat sources and only adds the
|
;; tarball because it duplicates the Icecat sources and only adds the
|
||||||
;; "comm" directory, which is provided by this repository.
|
;; "comm" directory, which is provided by this repository.
|
||||||
,(let ((changeset "2aa18076f0c3bc49d0e216798b3640891e68fada"))
|
,(let ((changeset "c35def313c0c2bd0341e3e058f862f02390269c4"))
|
||||||
(origin
|
(origin
|
||||||
(method hg-fetch)
|
(method hg-fetch)
|
||||||
(uri (hg-reference
|
(uri (hg-reference
|
||||||
(url "https://hg.mozilla.org/releases/comm-esr78")
|
(url "https://hg.mozilla.org/releases/comm-esr91")
|
||||||
(changeset changeset)))
|
(changeset changeset)))
|
||||||
(file-name (string-append "thunderbird-" version "-checkout"))
|
(file-name (string-append "thunderbird-" version "-checkout"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0ww1rgm8hpmji9fjhinqrwf07j2jikdq8j2x87h5s3naw5898fr3")))))
|
"0rp4i353dskx065a6hskvfpf0l2qywqnivks9qc6a85h4yah4rvq")))))
|
||||||
("autoconf" ,autoconf-2.13)
|
("cargo" ,rust-1.51 "cargo")
|
||||||
("cargo" ,rust-1.41 "cargo")
|
|
||||||
("clang" ,clang)
|
("clang" ,clang)
|
||||||
("llvm" ,llvm)
|
("llvm" ,llvm)
|
||||||
|
("m4" ,m4)
|
||||||
("nasm" ,nasm)
|
("nasm" ,nasm)
|
||||||
("node" ,node)
|
("node" ,node)
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("python" ,python)
|
("python" ,python)
|
||||||
("python2" ,python-2.7)
|
("python2" ,python-2.7)
|
||||||
("rust" ,rust-1.41)
|
("rust" ,rust-1.51)
|
||||||
("rust-cbindgen" ,rust-cbindgen-0.14)
|
("rust-cbindgen" ,rust-cbindgen-0.19)
|
||||||
("which" ,which)
|
("which" ,which)
|
||||||
("yasm" ,yasm)))
|
("yasm" ,yasm)))
|
||||||
(home-page "https://www.thunderbird.net")
|
(home-page "https://www.thunderbird.net")
|
||||||
|
|
Reference in New Issue