diff options
author | Jonathan GUILLOT <jonathan@joggee.fr> | 2023-12-06 16:06:43 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-02-14 13:52:20 +0000 |
commit | beb21ac92e95b6f4bf64e4932b154f78e2c6c2ef (patch) | |
tree | 645368f7acade4fe30a228637c108ad17532f916 /meta/recipes-extended | |
parent | 0ffc7cf01225743789ac30dd325fca05b9203be1 (diff) | |
download | openembedded-core-beb21ac92e95b6f4bf64e4932b154f78e2c6c2ef.tar.gz |
cups: use LOCALE_PATHS to split localized HTML templates
Localized HTML templates in /usr/share/cups/templates are now part of
locale packages.
Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/cups/cups.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/cups/cups.inc b/meta/recipes-extended/cups/cups.inc index 31f686cdfd..b70ba3ae58 100644 --- a/meta/recipes-extended/cups/cups.inc +++ b/meta/recipes-extended/cups/cups.inc @@ -110,6 +110,8 @@ CONFFILES:${PN} += "${sysconfdir}/cups/cupsd.conf" MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/cups-config" +LOCALE_PATHS += "${datadir}/cups/templates" + SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess" cups_sysroot_preprocess () { sed -i ${SYSROOT_DESTDIR}${bindir_crossscripts}/cups-config -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:' -e 's:cups_serverbin=.*:cups_serverbin=${libexecdir}/cups:' |