]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
cups: use LOCALE_PATHS to split localized HTML templates
authorJonathan GUILLOT <jonathan@joggee.fr>
Wed, 6 Dec 2023 16:06:43 +0000 (16:06 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 14 Feb 2024 13:52:20 +0000 (13:52 +0000)
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>
meta/recipes-extended/cups/cups.inc

index 31f686cdfd8f05c9b2220807d024460761d0c40f..b70ba3ae58c7e9af59077b5a329a1e5b38999f58 100644 (file)
@@ -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:'