Re: [OE-core] [PATCH v3 2/3] lib/oe/package: add LOCALE_EXTRA_PATHS to add extra locations for locales

2024-01-26 Thread Ross Burton
I like the idea of this patch (hardcoding behaviour is bad), but I think it could be generalised some more. > On 6 Dec 2023, at 16:03, Jonathan GUILLOT via lists.openembedded.org > wrote: > -localedir = os.path.join(dvar + datadir, 'locale') > +localedirs = [os.path.join(dvar +

[OE-core] [PATCH v3 2/3] lib/oe/package: add LOCALE_EXTRA_PATHS to add extra locations for locales

2024-01-04 Thread Jonathan GUILLOT
Some packages may contain localized files not located in ${datadir}/locale. This new variables allows to add these directories in dedicated locale packages. Signed-off-by: Jonathan GUILLOT --- meta/conf/documentation.conf | 1 + meta/lib/oe/package.py | 23 ++- 2