1 |
Hi Marek, |
2 |
|
3 |
thank you very much for wqriting this up. I highly appreciate this. |
4 |
|
5 |
On Mon, 16 Aug 2021 16:15:06 +0100 Marek Szuba wrote: |
6 |
|
7 |
>Title: >=app-misc/mc-4.8.27 to drop support for ~/.mc |
8 |
>Author: Marek Szuba <marecki@g.o> |
9 |
>Posted: 2021-08-19 |
10 |
>Revision: 1 |
11 |
>News-Item-Format: 2.0 |
12 |
>Display-If-Installed: app-misc/mc |
13 |
> |
14 |
>app-misc/mc versions between 4.8.1 and 4.8.26, inclusive, would look |
15 |
>for their user configuration in two possible places: |
16 |
> |
17 |
> * if built with USE=-xdg, only the legacy directory ~/.mc is used; |
18 |
> |
19 |
> * if built with USE=xdg, mc uses appropriate XDG user directories |
20 |
> (e.g. ~/.config/mc, ~/.local/share/mc) if present and attempts |
21 |
> to automatically migrate the contents of ~/.mc otherwise. |
22 |
> |
23 |
>However, starting with version 4.8.27 Midnight Commander will use _only |
24 |
>XDG user directories_ for its configuration and no longer automatically |
25 |
>migrate the contents of ~/.mc. For more information, see: |
26 |
> |
27 |
> https://midnight-commander.org/wiki/NEWS-4.8.27 |
28 |
> https://midnight-commander.org/ticket/3682 |
29 |
> |
30 |
>For everyone who currently uses app-misc/mc[-xdg], or has not started |
31 |
>mc for so long that it hasn't had a chance to migrate its |
32 |
>configuration, upgrading to 4.8.27 or newer will result in Midnight |
33 |
>Commander effectively reverting to default user configuration. In |
34 |
>order to prevent this from happening, make sure automatic migration is |
35 |
>available: |
36 |
> |
37 |
> echo 'app-misc/mc' >> /etc/portage/package.use |
38 |
|
39 |
I suppose that should be: |
40 |
|
41 |
echo 'app-misc/mc xdg' >> /etc/portage/package.use |
42 |
|
43 |
> emerge --oneshot <app-misc/mc-4.8.27 |
44 |
> |
45 |
>and have every user on your system with ~/.mc present run mc at least |
46 |
|
47 |
run mc _and_ mcedit once |
48 |
|
49 |
>once prior to the version upgrade. |
50 |
> |
51 |
>No action is required of everyone currently using app-misc/mc |
52 |
|
53 |
s/of/for/ ? |
54 |
|
55 |
>with USE=xdg enabled. |
56 |
> |
57 |
|
58 |
Cheers |
59 |
Lars |
60 |
-- |
61 |
Lars Wendler |
62 |
Gentoo package maintainer |
63 |
GPG: 21CC CF02 4586 0A07 ED93 9F68 498F E765 960E 9B39 |