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:53:36 +0000 |
commit | 8da6bd69dc2f05b6eb692f9ad311f888405fbab3 (patch) | |
tree | 3d4768a1f74206347bc9b82d7fcb595ffe0d86f5 /meta/recipes-extended | |
parent | c2a7c008e17248edaf454c0911fcbb6acc513e5e (diff) | |
download | poky-8da6bd69dc2f05b6eb692f9ad311f888405fbab3.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.
(From OE-Core rev: beb21ac92e95b6f4bf64e4932b154f78e2c6c2ef)
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" | |||
110 | 110 | ||
111 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/cups-config" | 111 | MULTILIB_SCRIPTS = "${PN}-dev:${bindir}/cups-config" |
112 | 112 | ||
113 | LOCALE_PATHS += "${datadir}/cups/templates" | ||
114 | |||
113 | SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess" | 115 | SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess" |
114 | cups_sysroot_preprocess () { | 116 | cups_sysroot_preprocess () { |
115 | sed -i ${SYSROOT_DESTDIR}${bindir_crossscripts}/cups-config -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:' -e 's:cups_serverbin=.*:cups_serverbin=${libexecdir}/cups:' | 117 | sed -i ${SYSROOT_DESTDIR}${bindir_crossscripts}/cups-config -e 's:cups_datadir=.*:cups_datadir=${datadir}/cups:' -e 's:cups_serverbin=.*:cups_serverbin=${libexecdir}/cups:' |