[Git-commits] [grml/grml-live] 57cab2: Refactor language configuration
Chris Hofstaedtler
noreply at github.com
Fri Jun 20 00:51:44 CEST 2025
Branch: refs/heads/zeha/langkbd
Home: https://github.com/grml/grml-live
Commit: 57cab223a836626b3cdb7055e0855d6b6cbcb246
https://github.com/grml/grml-live/commit/57cab223a836626b3cdb7055e0855d6b6cbcb246
Author: Chris Hofstaedtler <ch at grml.org>
Date: 2025-06-20 (Fri, 20 Jun 2025)
Changed paths:
M config/files/GRMLBASE/usr/bin/grml-lang
M config/files/GRMLBASE/usr/sbin/grml-setlang
M config/files/GRMLBASE/usr/share/grml-autoconfig/autoconfig.functions
M config/files/GRMLBASE/usr/share/grml-autoconfig/language-functions
M config/files/GRMLBASE/usr/share/man/man8/grml-setlang.8
Log Message:
-----------
Refactor language configuration
This refactoring significantly reduces complexity while maintaining the same
functionality and improving maintainability:
- Remove complex setvalue() functions and replace with direct file generation
- Modernize from legacy KEYTABLE/XKEYBOARD to modern XKB layout system
- Consolidate language-functions with consistent structure and clear comments
- Fix validation logic to properly check XKBLAYOUT for supported languages
- Remove obsolete charset/keytable variables and grml-small specific checks
- Simplify keyboard configuration with unified configure_keyboard() function
Changes reduce codebase by 351 lines while maintaining identical functionality
and improving error handling. The new approach is more straightforward and
less prone to bugs.
grml-small check was removed as it was inaccurate: locales are present, even
if the LC_MESSAGES data gets removed by grml-live.
Default once again to lang=en, as this reinstates English (Austria).
Commit-message drafted by Claude, code-changes by myself.
Commit: b20d495210177993f8a3378dbd9cebc59d9bd3ba
https://github.com/grml/grml-live/commit/b20d495210177993f8a3378dbd9cebc59d9bd3ba
Author: Chris Hofstaedtler <ch at grml.org>
Date: 2025-06-20 (Fri, 20 Jun 2025)
Changed paths:
M config/files/GRMLBASE/usr/share/man/man8/grml-setlang.8
Log Message:
-----------
grml-setlang: update man page
Commit: 069ca2dce77eda155ef5232cf0a721a26758a1f0
https://github.com/grml/grml-live/commit/069ca2dce77eda155ef5232cf0a721a26758a1f0
Author: Chris Hofstaedtler <ch at grml.org>
Date: 2025-06-20 (Fri, 20 Jun 2025)
Changed paths:
A config/files/GRMLBASE/usr/share/man/man1/grml-lang.1
M config/scripts/GRMLBASE/01-autoconfig
Log Message:
-----------
grml-lang: create man page
Compare: https://github.com/grml/grml-live/compare/57cab223a836%5E...069ca2dce77e
To unsubscribe from these emails, change your notification settings at https://github.com/grml/grml-live/settings/notifications
More information about the Git-commits
mailing list