mbox series

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

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

Message

Jonathan GUILLOT Dec. 13, 2023, 3:07 p.m. UTC
Ok, let's try it one more time with suggestions proposed:
- Add "Signed-off-by" to the commits ;
- Fix the subject of the cover letter.

----

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 /usr/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.

It is my first patch proposal on this project. Thanks in advance for your feedbacks.

Regards,
Jonathan GUILLOT

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

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


base-commit: 41390f5202a6ee7472cb82d12c7c32f89d6e52ff