summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/vim
Commit message (Collapse)AuthorAgeFilesLines
* vim: Fix a race over creation of the desktop filesRichard Purdie2021-02-262-0/+34
| | | | | | | | | | | | | | The LINGUAS file can be written by two different Makefile targets and if they race, the desktop file contents isn't deterministic. Fix the makfile to avoid this. (From OE-Core rev: 29286073251847eb9931e232b8ff5e4a71f5de5f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 416bc7b697764075fbf73683cd8bddf36d839244) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Improve determinismRichard Purdie2021-02-261-0/+2
| | | | | | | | | | | | | Add a couple of configure options to avoid determism issues in the vim build. This can happen due to the addition of glib-2.0 to the native sysroot through later task additions to the sysroot through indirect dependencies. (From OE-Core rev: d1ba11457ebfdbdc0b717b6c5798bb9930e71c88) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 914f86054f5ea0a115767c1b3d9cdb4c4ef9545b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: restore the 'chmod -x' workaround in do_installChen Qi2020-06-121-0/+6
| | | | | | | | | | | | | | | | | | | | | | | These workarounds are removed because a previous patch solve the host path reference for gawk and perl, and it skips the do_package_qa issue by setting the INSANE_SKIP. But it introduces regression for do_rootfs. The dependencies are calculated and will require packages like python, perl, gawk and csh. The error is like below. Error: Problem: conflicting requests - nothing provides /bin/csh needed by vim-tools-8.2-r0.corei7_64 - nothing provides /usr/bin/nawk needed by vim-tools-8.2-r0.corei7_64 - nothing provides /usr/bin/python needed by vim-tools-8.2-r0.corei7_64 So we keep the previous patch which solve the host path reference problem and restore the long-used 'chmod -x' workaround here. (From OE-Core rev: bf3e799e32b4de300887b844b0b7bce3d60ca379) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: _FORTIFY_SOURCE=2 be goneJoe Slater2020-06-091-0/+5
| | | | | | | | | | vim will abort in many places with this setting. Replace it with the benign _FORTIFY_SOURCE=1. (From OE-Core rev: 18129cbaeddb3278efe9963718556e3765f06c1e) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: do not adjust script paths building for targetJoe Slater2020-04-242-6/+33
| | | | | | | | | | | | | When cross-compiling, do not change scripts to use host versions of perl and gawk. Also, use INSANE_SKIP to suppress QA complaints if perl or gawk are not on the target. (From OE-Core rev: 8972fe5581b9fe8ef14d539001758bb13bca6737) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Add missing mime-xgd inheritRichard Purdie2020-01-191-1/+1
| | | | | | | | | | | Resolves: WARNING: vim-8.2-r0 do_package_qa: QA Issue: package contains desktop file with key 'MimeType' but does not inhert mime-xdg: vim path '/work/core2-32-poky-linux/vim/8.2-r0/packages-split/vim/usr/share/applications/vim.desktop' (From OE-Core rev: 9464b19205c9f88998db7820274c9c0364c79bd9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: update from 8.1.1518 to 8.2Oleg Polyakov2020-01-193-2/+2
| | | | | | | | | | | vim-tiny: update from 8.1.1518 to 8.2 The date in the license was updated to 2020 and a trailing space was removed from one line. (From OE-Core rev: 07d23c2d255f74cf9fbb0e917dfd1fe3bd6a65d2) Signed-off-by: Oleg Polyakov <Oleg.Polyakov@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: fix upstream version checkAlexander Kanavin2019-12-281-0/+3
| | | | | | | | | | | Only new x.y versions will be reported, as upstream creates a new x.y.z tag for every commit. (From OE-Core rev: 99558e667e4e04934943476472bd9919b5d07855) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Update to 8.1.1518 to fix CVE-2019-12735Tom Rini2019-06-123-1/+1
| | | | | | | (From OE-Core rev: cdd6f417c5d1535bd922703e18185b9d376e3b6f) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Move PACKAGECONFIG[gtkgui] from GTK 2 to GTK 3Adrian Bunk2019-05-291-1/+1
| | | | | | | (From OE-Core rev: 79582352f256673999ad3ae1c24a4602c5bcaf26) Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Rework things so vim adds features not vim-tiny removesTom Rini2019-05-213-10/+10
| | | | | | | | | | | | Now that we have a common inc file for both vim and vim-tiny move a few bits of logic out of vim.inc and in to vim_$VER.bb so that vim adds things rather than vim-tiny removes them. Suggested-by: Martin Jansa <martin.jansa@gmail.com> (From OE-Core rev: a9f62ea2c380375c749a28405708bfdb7754f51f) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: split the common part into vim.incAlexander Kanavin2019-05-213-142/+143
| | | | | | | | | | | | Previously vim-tiny would include the vim recipe wholesale; this meant that they had to be upgraded in a single transaction which devtool cannot cope with. This thwarted the latest AUH run in particular. (From OE-Core rev: 55cc8c6dbef8de240f63e7274a2beaf421124b58) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Update to 8.1.1240Tom Rini2019-05-022-1/+11
| | | | | | | | | | | | | 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. (From OE-Core rev: ffa4b0abcab2ed4e4f642b4b3140aa6095938422) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Rework to not rely on relative directoriesTom Rini2019-05-022-9/+11
| | | | | | | | | | | | | The vim recipe has all of the code inside the "src" subdirectory but other things we rely on, such as the license file in a subdirectory relative to the src. However, as there is a top-level "configure" script that moves us down to the src directory, we can rework the recipe to be overall more simple and regularly laid out if we use that. (From OE-Core rev: 2eb66c1ff55a3fe9785967f45f1cb6a27df44f93) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Update to 8.1.1017Tom Rini2019-03-183-5/+5
| | | | | | | | | | | | The most current release of vim is now 8.1.1017. The only problem currently is that the disable_acl_header patch is still not upstream. Cc: Wenzong Fan <wenzong.fan@windriver.com> Cc: Changqing Li <changqing.li@windriver.com> (From OE-Core rev: 791b278c513abb6587d4efcf2e4e974a0bf280ae) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Import version 8.1.0347Tom Rini2019-03-065-0/+271
In order to have a stand-alone editor in oe-core, bring in vim from meta-openembedded/meta-oe. This imports the recipes as of git commit: commit 41f3f8165bde3eb4f8bcf6dddbaca0d3b760c70b Author: Mark Hatle <mark.hatle@windriver.com> Date: Thu Feb 28 09:39:19 2019 +0800 vim: remove xfce vim bbappend Changing the behavior of a recipe by including a layer is not allowed by the yocto-check-layer script. (From OE-Core rev: cc2022ad369a74ee3f60c345778e4fe206f5df36) Signed-off-by: Tom Rini <trini@konsulko.com> -- Changes in v3: - Catch vim-tiny too (thanks Richard!) Changes in v2: - List self as maintainer Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>