[Git-commits] [grml/grml-live] d675c4: Refactor language configuration
Chris Hofstaedtler
noreply at github.com
Fri Jun 20 00:54:52 CEST 2025
Branch: refs/heads/zeha/langkbd
Home: https://github.com/grml/grml-live
Commit: d675c412876123b6bb9e7df4dfa0d63e68943074
https://github.com/grml/grml-live/commit/d675c412876123b6bb9e7df4dfa0d63e68943074
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: b1a9b1668603b097407f48b2bed517b5317732d3
https://github.com/grml/grml-live/commit/b1a9b1668603b097407f48b2bed517b5317732d3
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: da831d2e1452a80743af155990b8d82b1516000b
https://github.com/grml/grml-live/commit/da831d2e1452a80743af155990b8d82b1516000b
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/069ca2dce77e...da831d2e1452
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