From Fedora Project Wiki

< I18N

Revision as of 11:15, 14 July 2015 by Pravins (talk | contribs) (Created page with "= Glibc locale sub-packaging implementation options and associated issues = == Fedora 23 schedule == * Alpha freeze happening on 24th July 2015 == Glibc locale subpackaging ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Glibc locale sub-packaging implementation options and associated issues

Fedora 23 schedule

  • Alpha freeze happening on 24th July 2015

Glibc locale subpackaging

Method 1

Use folders for the locales instead of locale-archive.

  • Pros
    • Makes the splitting much easier, no file conflicts
    • No file conflicts
    • No need to merge stuff into a locale-chive or delete it from there
    • No problems with usr define locales, they are left alone as long as their folder does not have exactly the same name as a system locale
    • Easier to use with an xdg-app runtime: https://lists.fedoraproject.org/pipermail/devel/2015-June/211630.html
    • User locales and system locales can be mixed using LOCPATH
  • Cons
    • More stats and mmaps when an application starts: If a locale-archive is used, only that file is opened and mmapped. With the folder structure, around 15 files/folders are tried to open and 13 small LC_* files are mmapped instead of mmapping only one huge locale-archive file. For a small program like “date” which does not do much and is dominated by startup time, this makes it run twice as slow.

Method 2

Method 3