From: Tom Rini Date: Wed, 1 May 2019 12:51:09 +0000 (-0400) Subject: vim: Update to 8.1.1240 X-Git-Tag: uninative-2.5~274 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ffa4b0abcab2ed4e4f642b4b3140aa6095938422;p=openembedded-core.git vim: Update to 8.1.1240 This brings us to the current version of vim. As part of this we need to work-around a locale issue that upstream has exposed. 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 Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-support/vim/vim-tiny_8.1.1017.bb b/meta/recipes-support/vim/vim-tiny_8.1.1240.bb similarity index 100% rename from meta/recipes-support/vim/vim-tiny_8.1.1017.bb rename to meta/recipes-support/vim/vim-tiny_8.1.1240.bb diff --git a/meta/recipes-support/vim/vim_8.1.1017.bb b/meta/recipes-support/vim/vim_8.1.1240.bb similarity index 91% rename from meta/recipes-support/vim/vim_8.1.1017.bb rename to meta/recipes-support/vim/vim_8.1.1240.bb index 4e3e663c54..f5c74684bf 100644 --- a/meta/recipes-support/vim/vim_8.1.1017.bb +++ b/meta/recipes-support/vim/vim_8.1.1240.bb @@ -13,7 +13,7 @@ SRC_URI = "git://github.com/vim/vim.git \ file://vim-add-knob-whether-elf.h-are-checked.patch \ file://0001-src-Makefile-improve-reproducibility.patch \ " -SRCREV = "493fbe4abee660d30b4f2aef87b754b0a720213c" +SRCREV = "d96dbd6f95ea22f609042cc9c6272f14a21ff1a5" S = "${WORKDIR}/git" @@ -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 += " \