From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9B74B158CB7 for ; Thu, 19 Aug 2021 15:50:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1CD1E078A; Thu, 19 Aug 2021 15:50:47 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7B7ABE078A for ; Thu, 19 Aug 2021 15:50:47 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0DA86335DB0 for ; Thu, 19 Aug 2021 15:50:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 48D9A5A0 for ; Thu, 19 Aug 2021 15:50:44 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1629388240.6eba14b16d3cbb8fb5be9959c911a40b477ac3ca.marecki@gentoo> Subject: [gentoo-commits] data/gentoo-news:master commit in: 2021-08-19-mc-legacy-config-dirs/ X-VCS-Repository: data/gentoo-news X-VCS-Files: 2021-08-19-mc-legacy-config-dirs/2021-08-19-mc-legacy-config-dirs.en.txt X-VCS-Directories: 2021-08-19-mc-legacy-config-dirs/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 6eba14b16d3cbb8fb5be9959c911a40b477ac3ca X-VCS-Branch: master Date: Thu, 19 Aug 2021 15:50:44 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c9254cbf-7067-41f7-aa8d-83b4e54d74c0 X-Archives-Hash: 86156b0534e47f1cc0bf66bc066a4703 commit: 6eba14b16d3cbb8fb5be9959c911a40b477ac3ca Author: Marek Szuba gentoo org> AuthorDate: Thu Aug 19 15:50:12 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Thu Aug 19 15:50:40 2021 +0000 URL: https://gitweb.gentoo.org/data/gentoo-news.git/commit/?id=6eba14b1 Add 2021-08-19-mc-legacy-config-dirs Signed-off-by: Marek Szuba gentoo.org> .../2021-08-19-mc-legacy-config-dirs.en.txt | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/2021-08-19-mc-legacy-config-dirs/2021-08-19-mc-legacy-config-dirs.en.txt b/2021-08-19-mc-legacy-config-dirs/2021-08-19-mc-legacy-config-dirs.en.txt new file mode 100644 index 0000000..fe7d6ce --- /dev/null +++ b/2021-08-19-mc-legacy-config-dirs/2021-08-19-mc-legacy-config-dirs.en.txt @@ -0,0 +1,37 @@ +Title: >=app-misc/mc-4.8.27 to drop support for ~/.mc +Author: Marek Szuba +Posted: 2021-08-19 +Revision: 1 +News-Item-Format: 2.0 +Display-If-Installed: app-misc/mc + +app-misc/mc versions between 4.8.1 and 4.8.26, inclusive, would look +for their user configuration in two possible places: + + * if built with USE=-xdg, only the legacy directory ~/.mc is used; + + * if built with USE=xdg, mc uses appropriate XDG user directories + (e.g. ~/.config/mc, ~/.local/share/mc) if present and attempts + to automatically migrate the contents of ~/.mc otherwise. + +However, starting with version 4.8.27 Midnight Commander will use _only +XDG user directories_ for its configuration and no longer automatically +migrate the contents of ~/.mc. For more information, see: + + https://midnight-commander.org/wiki/NEWS-4.8.27 + https://midnight-commander.org/ticket/3682 + +For everyone who currently uses app-misc/mc[-xdg], or has not started +mc for so long that it hasn't had a chance to migrate its configuration, +upgrading to 4.8.27 or newer will result in Midnight Commander +effectively reverting to default user configuration. In order to prevent +this from happening, make sure automatic migration is available: + + echo 'app-misc/mc xdg' >> /etc/portage/package.use + emerge --oneshot