mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
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 <jonathan@joggee.fr> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
c2a7c008e1
commit
8da6bd69dc
@@ -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:'
|
||||
|
||||
Reference in New Issue
Block a user