1 |
Title: >=app-misc/mc-4.8.27 to drop support for ~/.mc |
2 |
Author: Marek Szuba <marecki@g.o> |
3 |
Posted: 2021-08-19 |
4 |
Revision: 1 |
5 |
News-Item-Format: 2.0 |
6 |
Display-If-Installed: app-misc/mc |
7 |
|
8 |
app-misc/mc versions between 4.8.1 and 4.8.26, inclusive, would look |
9 |
for their user configuration in two possible places: |
10 |
|
11 |
* if built with USE=-xdg, only the legacy directory ~/.mc is used; |
12 |
|
13 |
* if built with USE=xdg, mc uses appropriate XDG user directories |
14 |
(e.g. ~/.config/mc, ~/.local/share/mc) if present and attempts |
15 |
to automatically migrate the contents of ~/.mc otherwise. |
16 |
|
17 |
However, starting with version 4.8.27 Midnight Commander will use _only |
18 |
XDG user directories_ for its configuration and no longer automatically |
19 |
migrate the contents of ~/.mc. For more information, see: |
20 |
|
21 |
https://midnight-commander.org/wiki/NEWS-4.8.27 |
22 |
https://midnight-commander.org/ticket/3682 |
23 |
|
24 |
For everyone who currently uses app-misc/mc[-xdg], or has not started |
25 |
mc for so long that it hasn't had a chance to migrate its configuration, |
26 |
upgrading to 4.8.27 or newer will result in Midnight Commander |
27 |
effectively reverting to default user configuration. In order to prevent |
28 |
this from happening, make sure automatic migration is available: |
29 |
|
30 |
echo 'app-misc/mc' >> /etc/portage/package.use |
31 |
emerge --oneshot <app-misc/mc-4.8.27 |
32 |
|
33 |
and have every user on your system with ~/.mc present run mc at least |
34 |
once prior to the version upgrade. |
35 |
|
36 |
No action is required of everyone currently using app-misc/mc |
37 |
with USE=xdg enabled. |
38 |
|
39 |
-- |
40 |
Marecki |