Subject: [bug#51508] [PATCH 0/2] Update icedove to 91 branch

From: Mark H Weaver <[email-masked]>
Date: Sun, 31 Oct 2021 01:43:23 -0400

Hi Jonathan,

Jonathan Brielmaier <[email-masked]> writes:
> One big outstanding issue, is that thunderbird uses now the
> ~/.thunderbird folder for the profiles. I did not get it using
> ~/.icedove like before. So you need to migrate (copy) your profile. I
> can live with that, who can't: have fun finding out how to get back the
> old behaviour :)

Here's a proposed patch that might be what's needed:

--8<---------------cut here---------------start------------->8---
diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 30b5d6544e..39d67641ff 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1687,6 +1687,9 @@ standards of the IceCat project.")
                             "comm/suite/components/customizeToolbar.js")
                (("AppConstants.MOZ_APP_NAME (.)= \"thunderbird" _ e)
                 (format #f "AppConstants.MOZ_APP_NAME ~a= \"icedove" e)))
+             (substitute* "comm/suite/components/migration/src/nsThunderbirdProfileMigrator.cpp"
+               (("\"Thunderbird\"") "\"Icedove\"")
+               (("\"\\.thunderbird\"") "\".icedove\""))
 
              ;; Override addon URLs and settings
              (substitute* "comm/mail/app/profile/all-thunderbird.js"
--8<---------------cut here---------------end--------------->8---

Would you like to test it?

       Mark

-- 
Disinformation flourishes because many people care deeply about injustice
but very few check the facts.  Ask me about <https://stallmansupport.org>.