unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicholas von Klitzing via Bug reports for GNU Guix <bug-guix@gnu.org>
To: Maxime Devos <maximedevos@telenet.be>
Cc: "53250@debbugs.gnu.org" <53250@debbugs.gnu.org>
Subject: bug#53250: icedove clears data
Date: Mon, 17 Jan 2022 09:50:55 +0000	[thread overview]
Message-ID: <9XY6iMgv2chFVxLkl6tE7yYnC6e6W7p23cMZLTyzkjIKi8xoA7HbPh5T4iKIokiVgF61qqT-zFzBvuT7Dd_CSWJwiFrqvT6rHIYXm7MIYZY=@nvk.pm> (raw)
In-Reply-To: <JPgtGUpjv1mcAeMCaDd2-1SmEJF7i7pz64aYVxDbDA5G-pEjbxoXUBZRIZnMif3mepCIX9Pd7G6dCIiwS3g4hNgQOvpUOfNs-_8yEx-lGhk=@nvk.pm>

[-- Attachment #1: Type: text/plain, Size: 2644 bytes --]



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐

On Monday, January 17th, 2022 at 9:44 AM, Nicholas von Klitzing <nicholas@nvk.pm> wrote:

> Hi Maxime,
>
> It seems that this issue is describing the new fix that is needed:
>
> https://gitlab.torproject.org/tpo/applications/tor-browser/-/issues/33734
>
> Only a simple patch would be necessary:
>
> https://gitlab.torproject.org/acat/tor-browser/-/commit/92f480c30178c0847e6866a4115a9393f1d49a28
>
> Kind regards,
>
> Nicholas
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
>
> On Friday, January 14th, 2022 at 2:52 PM, Maxime Devos maximedevos@telenet.be wrote:
>
> > Nicholas von Klitzing via Bug reports for GNU Guix schreef op vr 14-01-
> >
> > 2022 om 12:02 [+0000]:
> >
> > > A brief follow up:
> > >
> > > It seems the ~/.icedove folder is not used by icedove (it was probably a relic of when I used icedove-wayland).
> > >
> > > Now looking into ~./thunderbird instead I see several more profiles.
> > >
> > >     nicholas@guix14 ~/.thunderbird$ ls
> > >     bv7r86h9.default/            installs.ini               profiles.ini
> > >     gdmykixq.default-default-1/  k6sjw3jm.default-default/
> > >     nicholas@guix14 ~/.thunderbird$ cat profiles.ini
> > >     [Profile2]
> > >     [...]
> > >     [Profile1]
> > >     [...]
> > >     [Profile0]
> > >     [...]
> > >     [Install281FC43567D8867D]
> > >     [General]
> > >     [...]
> > >     [Install3F4F07DFB18472B1]
> > >     [...]
> > >
> > >
> > > Launching icedove with `icedove -p` and then iterating through the 3 listed profiles all leads to a blank profile, except for default-default. The default-default profile contains all of my mail account and settings.
> > >
> > > I now set default-default to be my main profile (resolving my issue) but I doubt this is what users expect the software to do.
> > >
> > > Is it possible that icedove creates a new profile on upgrades and sets it as default? I definitely did not manually create 3 profiles.
> >
> > Maybe take a look at the following code in 'icedove':
> >
> > ;; 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
> >
> > (lambda _
> >
> > (substitute* "comm/mail/moz.configure"
> >
> > (("MOZ_DEDICATED_PROFILES, True")
> >
> > "MOZ_DEDICATED_PROFILES, False"))
> >
> > #t))
> >
> > Seems like this was fixed at some point but the fix broke?
> >
> > Greetings,
> >
> > Maxime.

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-icedove-stop-per-install-profile-generation.patch --]
[-- Type: text/x-patch; name=0001-gnu-icedove-stop-per-install-profile-generation.patch, Size: 1016 bytes --]

From 300eb9cc705f4529672f900bd107ba1dc7b69ad5 Mon Sep 17 00:00:00 2001
From: Nicholas von Klitzing <nicholas@nvk.pm>
Date: Mon, 17 Jan 2022 10:46:36 +0100
Subject: [PATCH] gnu: icedove: stop per-install profile generation.

* gnu/packages/gnuzilla.scm (): New variable.
---
 gnu/packages/gnuzilla.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm
index 27a9d099ce..bc7f32131b 100644
--- a/gnu/packages/gnuzilla.scm
+++ b/gnu/packages/gnuzilla.scm
@@ -1371,8 +1371,8 @@ (define-public icedove
          (add-after 'patch-source-shebangs 'fix-profile-setting
            (lambda _
              (substitute* "comm/mail/moz.configure"
-               (("MOZ_DEDICATED_PROFILES, True")
-                "MOZ_DEDICATED_PROFILES, False"))
+               (("MOZ_NORMANDY, True")
+                "MOZ_NORMANDY, False"))
              #t))
          (add-after 'prepare-thunderbird-sources 'rename-to-icedove
            (lambda _
-- 
2.34.0


  reply	other threads:[~2022-01-17  9:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-14 11:47 bug#53250: icedove clears user data on upgrade Nicholas von Klitzing via Bug reports for GNU Guix
2022-01-14 12:02 ` bug#53250: icedove clears data Nicholas von Klitzing via Bug reports for GNU Guix
2022-01-14 14:52   ` Maxime Devos
2022-01-17  9:44     ` Nicholas von Klitzing via Bug reports for GNU Guix
2022-01-17  9:50       ` Nicholas von Klitzing via Bug reports for GNU Guix [this message]
2022-01-17 10:36       ` Maxime Devos
2022-01-14 15:25   ` bug#53250: icedove clears user data on upgrade Ludovic Courtès
2022-01-17 20:49 ` Jonathan Brielmaier
2022-01-19 20:29 ` bug#53250: [PATCH] gnu: icedove: Stop per-install profile generation Jonathan Brielmaier
2022-01-19 20:33 ` bug#53250: icedove clears user data on upgrade Jonathan Brielmaier
2022-01-19 22:40 ` bug#53250: (No Subject) Nicholas von Klitzing via Bug reports for GNU Guix
2023-02-20 18:46   ` bug#53250: icedove clears user data on upgrade Maxim Cournoyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='9XY6iMgv2chFVxLkl6tE7yYnC6e6W7p23cMZLTyzkjIKi8xoA7HbPh5T4iKIokiVgF61qqT-zFzBvuT7Dd_CSWJwiFrqvT6rHIYXm7MIYZY=@nvk.pm' \
    --to=bug-guix@gnu.org \
    --cc=53250@debbugs.gnu.org \
    --cc=maximedevos@telenet.be \
    --cc=nicholas@nvk.pm \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).