[OE-core] [RFC DO NOT APPLY][PATCH 3/2] vim: Add a work-around for some locale issues
Tom Rini
trini at konsulko.com
Wed Apr 24 21:08:54 UTC 2019
We do not support fully / correctly the certain locales. Attempting
to use these with msgfmt in order to update the ".desktop" files exposes
this problem and leads to the compile failing.
Signed-off-by: Tom Rini <trini at konsulko.com>
---
meta/recipes-support/vim/vim_8.1.1198.bb | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/meta/recipes-support/vim/vim_8.1.1198.bb b/meta/recipes-support/vim/vim_8.1.1198.bb
index d7b864ee8b94..6b17a3c90e68 100644
--- a/meta/recipes-support/vim/vim_8.1.1198.bb
+++ b/meta/recipes-support/vim/vim_8.1.1198.bb
@@ -36,6 +36,16 @@ do_configure () {
touch src/auto/config.mk src/auto/config.h
}
+do_compile() {
+ # We do not support fully / correctly the following locales. Attempting
+ # to use these with msgfmt in order to update the ".desktop" files exposes
+ # this problem and leads to the compile failing.
+ for LOCALE in cs fr ko pl sk zh_CN zh_TW;do
+ echo -n > src/po/${LOCALE}.po
+ done
+ autotools_do_compile
+}
+
#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny
PACKAGECONFIG ??= ""
PACKAGECONFIG += " \
--
2.7.4
More information about the Openembedded-core
mailing list