FS#77338 - [plasma-workspace] GLIBC_LOCALE_GENERATED=ON should be set alongside GLIBC_LOCALE_GEN=OFF
Attached to Project:
Arch Linux
Opened by Mike Yuan (YHNdnzj) - Monday, 30 January 2023, 17:25 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 01 February 2023, 07:59 GMT
Opened by Mike Yuan (YHNdnzj) - Monday, 30 January 2023, 17:25 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 01 February 2023, 07:59 GMT
|
Details
Description:
In the current plasma-workspace packaging, GLIBC_LOCALE_GEN=OFF is set to avoid Plasma messing with locale.gen [1]. However, this results in spurious error message in plasma, announcing "this KCM doesn't support auto-locale generation on non-glibc systems". It also breaks saving to plasma-localerc, so users would have to edit the file manually. To fix this, GLIBC_LOCALE_GENERATED=ON should also be set. It declares that locales should be considered pre-configured for plasma, which matches the reason that "Arch users are supposed to configure locales themselves". Additional info: * package version(s) 5.26.5-2 [1]: https://github.com/archlinux/svntogit-packages/commit/2f2b1e3c683d489e946afacd08cea0aeda1ec15c |
This task depends upon
Closed by Antonio Rojas (arojas)
Wednesday, 01 February 2023, 07:59 GMT
Reason for closing: Won't implement
Wednesday, 01 February 2023, 07:59 GMT
Reason for closing: Won't implement
Can you elaborate how this breaks saving to plasma-localerc?
https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/2565
I'm reporting the same (actually only a bit relevant since I changing the issue title on KDE bug tracker) issue, and that according to Mike, turning GLIBC_LOCALE_GEN=OFF solely will cause the `LANG=` under `[Formats]` section in the file ~/.config/plasma-localerc to use a value that isn't the same as the preferred language, but having GLIBC_LOCALE_GEN=OFF and GLIBC_LOCALE_GENERATED=ON will solve it. I haven't tested their opinion out though, but I tested out that turning GLIBC_LOCALE_GEN=ON is fine (though not expected by the packager since you would like to avoid Plasma messing around with locale.gen). And the merge request on KDE's GitLab is going to solve the case of GLIBC_LOCALE_GEN=OFF and GLIBC_LOCALE_GENERATED=OFF (current setting).