From: "Jonathan GUILLOT" <jonathan@joggee.fr>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH v4 0/3] lib/oe/package: allow to scan extra directories for locale files
Date: Mon, 12 Feb 2024 14:50:18 +0000 [thread overview]
Message-ID: <CZ36N8IH0R6J.ZIQATXFYOO0W@joggee.fr> (raw)
Hi,
Following advice from Ross Burton, here is a new version of the patches to allow scanning extra directories for locale files.
Just to remember the full story, playing with cups I observe the main package includes localized HTML templates in ${datadir}/cups/templates. Locale packages were only looking for files in ${datadir}/locale. This serie of patches allows to add extra directories to be scanned.
Following Ross comment, now the directories to be scanned for locales are defined in the LOCALE_PATHS variable containing ${datadir}/locale by default. Recipes may then add extra paths to this list or even overrides it completely e.g. cups now adds ${datadir}/cups/templates.
Regards,
Jonathan GUILLOT
Jonathan GUILLOT (3):
lib/oe/package: replace in place PN-locale-* packages in PACKAGES
lib/oe/package: add LOCALE_PATHS to add define all locations for
locales
cups: use LOCALE_PATHS to split localized HTML templates
meta/classes-global/package.bbclass | 1 +
meta/conf/documentation.conf | 1 +
meta/lib/oe/package.py | 36 ++++++++++++++++++-----------
meta/recipes-extended/cups/cups.inc | 2 ++
4 files changed, 26 insertions(+), 14 deletions(-)
base-commit: b0fdf0688109ba6b87840a0837bebee3d9a27089
--
2.43.0
next reply other threads:[~2024-02-12 14:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-12 14:50 Jonathan GUILLOT [this message]
2023-11-30 12:49 ` [PATCH v4 1/3] lib/oe/package: replace in place PN-locale-* packages in PACKAGES Jonathan GUILLOT
2023-12-06 16:03 ` [PATCH v4 2/3] lib/oe/package: add LOCALE_PATHS to add define all locations for locales Jonathan GUILLOT
2023-12-06 16:06 ` [PATCH v4 3/3] cups: use LOCALE_PATHS to split localized HTML templates Jonathan GUILLOT
2024-02-15 16:27 ` [OE-core] " Ross Burton
2024-02-19 10:00 ` Jonathan GUILLOT
2024-02-19 15:10 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CZ36N8IH0R6J.ZIQATXFYOO0W@joggee.fr \
--to=jonathan@joggee.fr \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox