Bug 270424 - sysutils/plasma5-systemsettings: Could not find the system's available locales using the localectl tool
Summary: sysutils/plasma5-systemsettings: Could not find the system's available locale...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Gleb Popov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-23 21:57 UTC by Thierry Thomas
Modified: 2023-06-26 08:15 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thierry Thomas freebsd_committer freebsd_triage 2023-03-23 21:57:43 UTC
In KDE System Settings, Region & Language: trying to change the language from english to french does not work and produces the error:

Could not find the system's available locales using the localectl tool. Please file a bug report about this at https://bugs.kde.org

Note: I do not report this bug to bugs.kde as requested, but here firstly, because it seems specific to FreeBSD.
Comment 1 Graham Perrin freebsd_committer freebsd_triage 2023-03-25 19:05:07 UTC
With plasma5-plasma-workspace-5.27.3_2: 


% rg localectl /usr/ports/x11/plasma5-plasma-workspace
/usr/ports/x11/plasma5-plasma-workspace/files/patch-kcms_region__language_kcmregionandlang.cpp
5:             m_localectl->start();
%
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-06-26 08:13:14 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=be631d4b5c83261c944c1487b00b6cb6fec9e17e

commit be631d4b5c83261c944c1487b00b6cb6fec9e17e
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-06-26 08:11:03 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-06-26 08:12:39 +0000

    x11/plasma5-plasma-workspace: Pull in a proper fix for the locale settings problem.

    PR:             270424
    Sponsored by:   Serenity Cybersecurity, LLC

 x11/plasma5-plasma-workspace/Makefile              |   1 +
 .../files/patch-kcmregionandlanguage (new)         | 312 +++++++++++++++++++++
 .../files/patch-kcmregionandlanguage2 (new)        | 143 ++++++++++
 ...ms_region__language_kcmregionandlang.cpp (gone) |  13 -
 4 files changed, 456 insertions(+), 13 deletions(-)
Comment 3 Gleb Popov freebsd_committer freebsd_triage 2023-06-26 08:15:28 UTC
Should be fixed now. Please report back if something's still wrong.