From 8da6bd69dc2f05b6eb692f9ad311f888405fbab3 Mon Sep 17 00:00:00 2001 From: Jonathan GUILLOT Date: Wed, 6 Dec 2023 16:06:43 +0000 Subject: [PATCH] cups: use LOCALE_PATHS to split localized HTML templates Localized HTML templates in /usr/share/cups/templates are now part of locale packages. (From OE-Core rev: beb21ac92e95b6f4bf64e4932b154f78e2c6c2ef) Signed-off-by: Jonathan GUILLOT Signed-off-by: Richard Purdie --- meta/recipes-extended/cups/cups.inc | 2 ++ 1 file changed, 2 insertions(+) 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:'