Skip to content
Snippets Groups Projects

locale: Check for the necessary files to generate more locales

Merged Simon McVittie requested to merge wip/smcv/locale-gen into master
Compare changes
  • Side-by-side
  • Inline
Files
17
  • f2d4877b
    This tool is similar to the Debian-specific locale-gen script shipped
    with glibc, but generates the locales needed for the Steam Runtime
    instead of a set of locales configured system-wide, and writes to
    the current working directory instead of a system path. See the
    included man page for details.
    
    This is pushing the boundaries of what I'm comfortable releasing as a
    shell script, due to shell scripts' error handling behaviour and other
    sharp edges; but I've written it as shell script anyway because this way
    it doesn't matter so much which architecture(s) is/are supported, and
    whether it is run in a container or against an LD_LIBRARY_PATH runtime.
    
    The (non-multiarch-prefixed) steam-runtime-check-locale helper is useful
    but not strictly required. If it is not executable, the failure mode is
    that we generate more locales than we would otherwise have done, and
    spend more time on doing so - that isn't terrible.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
Loading