mbox series

[v3,0/3] lib/oe/package: allow to scan extra directories for locale files

Message ID CY5ZELISQPXO.2972IEN5YAX6A@joggee.fr
Headers show
Series lib/oe/package: allow to scan extra directories for locale files | expand

Message

Jonathan GUILLOT Jan. 4, 2024, 2:11 p.m. UTC
- Rename LOCALEEXTRADIRS to LOCALE_EXTRA_PATHS to improve readability
- Add documentation

----

Just playing with cups and observe the main packages includes localized HTML templates in /usr/share/cups/templates. Locale packages were only looking for files in ${datadir}/locale. This serie of patches allows to add extra directories to be scanned.
For a next patch, I would also like possible FILES:${PN}-locale-* variables defined in recipe not to be overriden by the split_locales() function.

Regards,
Jonathan GUILLOT

Jonathan GUILLOT (3):
  lib/oe/package: replace in place PN-locale-* packages in PACKAGES
  lib/oe/package: add LOCALE_EXTRA_PATHS to add extra locations for
    locales
  cups: use LOCALE_EXTRA_PATHS to split localized HTML templates

 meta/conf/documentation.conf        |  1 +
 meta/lib/oe/package.py              | 33 ++++++++++++++++++++++-------
 meta/recipes-extended/cups/cups.inc |  2 ++
 3 files changed, 28 insertions(+), 8 deletions(-)


base-commit: e1bffeab27b062884f6366cde24ce1c67e7ec03e