meson: don't pass localedir
PATCH 1/1 meson: don't pass localedir
For historic reasons the localedir directory is where binary locales are stored (/usr/lib/locale) , not where application translations belong (typically, /usr/share/locale). Don't pass localedir explicitly, and let Meson use the default of $datadir/locale to match the behaviour of autotools.bbclass and the expectations of the system.
--- meta-oe/classes/meson.bbclass | 1 - 1 file changed, 1 deletion(-)
meta-oe/classes/meson.bbclass +0 -1
@@ -27,7 +27,6 @@ MESONOPTS = " --prefix ${prefix} \ --libexecdir ${@noprefix('libexecdir', d)} \ --includedir ${@noprefix('includedir', d)} \ --mandir ${@noprefix('mandir', d)} \ - --localedir ${@noprefix('localedir', d)} \ --sysconfdir ${sysconfdir}" MESON_C_ARGS = "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
Signature · 1 line
2.8.1
Quoted 10 lines · Ross Burton
For historic reasons the localedir directory is where binary locales are stored
(/usr/lib/locale) , not where application translations belong (typically,/usr/share/locale). Don't pass localedir explicitly, and let Meson use the default of $datadir/locale to match the behaviour of autotools.bbclass and the
expectations of the system.Signed-off-by Ross Burton <[email protected]>
Maybe we should think about renaming that variable for clarity.
Signature · 4 lines
Christopher Larson kergoth at gmail dot com Founder - BitBake, OpenEmbedded, OpenZaurus Senior Software Engineer, Mentor Graphics
Quoted 2 lines · Christopher Larson
Maybe we should think about renaming that variable for clarity.
Yes. Not sure what to though.
Ross