]> code.ossystems Code Review - openembedded-core.git/commitdiff
vim: Update to 8.1.1240
authorTom Rini <trini@konsulko.com>
Wed, 1 May 2019 12:51:09 +0000 (08:51 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 May 2019 22:10:13 +0000 (23:10 +0100)
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 <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/vim/vim-tiny_8.1.1240.bb [moved from meta/recipes-support/vim/vim-tiny_8.1.1017.bb with 100% similarity]
meta/recipes-support/vim/vim_8.1.1240.bb [moved from meta/recipes-support/vim/vim_8.1.1017.bb with 91% similarity]

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 4e3e663c5429e0bd7599ea64cc7a165084679610..f5c74684bfa710a8842bb783913f3a341388bd8d 100644 (file)
@@ -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 += " \