<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 1, 2019, 4:27 PM Tom Rini <<a href="mailto:trini@konsulko.com">trini@konsulko.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In order to have a stand-alone editor in oe-core, bring in vim from<br>
meta-openembedded/meta-oe. This imports the recipes as of git commit:<br>
commit 7b48bd2be97408107c0dd3c74b1e28f042268457<br>
Author: Ovidiu Panait <<a href="mailto:ovidiu.panait@windriver.com" target="_blank" rel="noreferrer">ovidiu.panait@windriver.com</a>><br>
Date: Fri Feb 1 10:07:20 2019 +0200<br>
<br>
vim: Enable GUI support for x11 DISTRO_FEATURES<br>
<br>
Signed-off-by: Tom Rini <<a href="mailto:trini@konsulko.com" target="_blank" rel="noreferrer">trini@konsulko.com</a>><br>
---<br>
meta/files/common-licenses/vim | 81 ++++++++++++++<br>
...0001-src-Makefile-improve-reproducibility.patch | 46 ++++++++<br>
.../vim/files/disable_acl_header_check.patch | 39 +++++++<br>
.../vim-add-knob-whether-elf.h-are-checked.patch | 42 +++++++<br>
meta/recipes-support/vim/<a href="http://vim-tiny_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim-tiny_8.1.0347.bb</a> | 15 +++<br>
meta/recipes-support/vim/<a href="http://vim_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim_8.1.0347.bb</a> | 121 +++++++++++++++++++++<br>
6 files changed, 344 insertions(+)<br>
create mode 100644 meta/files/common-licenses/vim<br>
create mode 100644 meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch<br>
create mode 100644 meta/recipes-support/vim/files/disable_acl_header_check.patch<br>
create mode 100644 meta/recipes-support/vim/files/vim-add-knob-whether-elf.h-are-checked.patch<br>
create mode 100644 meta/recipes-support/vim/<a href="http://vim-tiny_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim-tiny_8.1.0347.bb</a><br>
create mode 100644 meta/recipes-support/vim/<a href="http://vim_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim_8.1.0347.bb</a></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Someone should be added as the maintainer of these recipes?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
diff --git a/meta/files/common-licenses/vim b/meta/files/common-licenses/vim<br>
new file mode 100644<br>
index 000000000000..4aa818eb248e<br>
--- /dev/null<br>
+++ b/meta/files/common-licenses/vim<br>
@@ -0,0 +1,81 @@<br>
+VIM LICENSE<br>
+<br>
+I) There are no restrictions on distributing unmodified copies of Vim except<br>
+ that they must include this license text. You can also distribute<br>
+ unmodified parts of Vim, likewise unrestricted except that they must<br>
+ include this license text. You are also allowed to include executables<br>
+ that you made from the unmodified Vim sources, plus your own usage<br>
+ examples and Vim scripts.<br>
+<br>
+II) It is allowed to distribute a modified (or extended) version of Vim,<br>
+ including executables and/or source code, when the following four<br>
+ conditions are met:<br>
+ 1) This license text must be included unmodified.<br>
+ 2) The modified Vim must be distributed in one of the following five ways:<br>
+ a) If you make changes to Vim yourself, you must clearly describe in<br>
+ the distribution how to contact you. When the maintainer asks you<br>
+ (in any way) for a copy of the modified Vim you distributed, you<br>
+ must make your changes, including source code, available to the<br>
+ maintainer without fee. The maintainer reserves the right to<br>
+ include your changes in the official version of Vim. What the<br>
+ maintainer will do with your changes and under what license they<br>
+ will be distributed is negotiable. If there has been no negotiation<br>
+ then this license, or a later version, also applies to your changes.<br>
+ The current maintainer is Bram Moolenaar <<a href="mailto:Bram@vim.org" target="_blank" rel="noreferrer">Bram@vim.org</a>>. If this<br>
+ changes it will be announced in appropriate places (most likely<br>
+ <a href="http://vim.sf.net" rel="noreferrer noreferrer" target="_blank">vim.sf.net</a>, <a href="http://www.vim.org" rel="noreferrer noreferrer" target="_blank">www.vim.org</a> and/or comp.editors). When it is completely<br>
+ impossible to contact the maintainer, the obligation to send him<br>
+ your changes ceases. Once the maintainer has confirmed that he has<br>
+ received your changes they will not have to be sent again.<br>
+ b) If you have received a modified Vim that was distributed as<br>
+ mentioned under a) you are allowed to further distribute it<br>
+ unmodified, as mentioned at I). If you make additional changes the<br>
+ text under a) applies to those changes.<br>
+ c) Provide all the changes, including source code, with every copy of<br>
+ the modified Vim you distribute. This may be done in the form of a<br>
+ context diff. You can choose what license to use for new code you<br>
+ add. The changes and their license must not restrict others from<br>
+ making their own changes to the official version of Vim.<br>
+ d) When you have a modified Vim which includes changes as mentioned<br>
+ under c), you can distribute it without the source code for the<br>
+ changes if the following three conditions are met:<br>
+ - The license that applies to the changes permits you to distribute<br>
+ the changes to the Vim maintainer without fee or restriction, and<br>
+ permits the Vim maintainer to include the changes in the official<br>
+ version of Vim without fee or restriction.<br>
+ - You keep the changes for at least three years after last<br>
+ distributing the corresponding modified Vim. When the maintainer<br>
+ or someone who you distributed the modified Vim to asks you (in<br>
+ any way) for the changes within this period, you must make them<br>
+ available to him.<br>
+ - You clearly describe in the distribution how to contact you. This<br>
+ contact information must remain valid for at least three years<br>
+ after last distributing the corresponding modified Vim, or as long<br>
+ as possible.<br>
+ e) When the GNU General Public License (GPL) applies to the changes,<br>
+ you can distribute the modified Vim under the GNU GPL version 2 or<br>
+ any later version.<br>
+ 3) A message must be added, at least in the output of the ":version"<br>
+ command and in the intro screen, such that the user of the modified Vim<br>
+ is able to see that it was modified. When distributing as mentioned<br>
+ under 2)e) adding the message is only required for as far as this does<br>
+ not conflict with the license used for the changes.<br>
+ 4) The contact information as required under 2)a) and 2)d) must not be<br>
+ removed or changed, except that the person himself can make<br>
+ corrections.<br>
+<br>
+III) If you distribute a modified version of Vim, you are encouraged to use<br>
+ the Vim license for your changes and make them available to the<br>
+ maintainer, including the source code. The preferred way to do this is<br>
+ by e-mail or by uploading the files to a server and e-mailing the URL.<br>
+ If the number of changes is small (e.g., a modified Makefile) e-mailing a<br>
+ context diff will do. The e-mail address to be used is<br>
+ <<a href="mailto:maintainer@vim.org" target="_blank" rel="noreferrer">maintainer@vim.org</a>><br>
+<br>
+IV) It is not allowed to remove this license from the distribution of the Vim<br>
+ sources, parts of it or from a modified version. You may use this<br>
+ license for previous Vim releases instead of the license that they came<br>
+ with, at your option.<br>
+<br>
+===<br>
+Read more about this license at <a href="http://vimdoc.sourceforge.net/htmldoc/uganda.html#license" rel="noreferrer noreferrer" target="_blank">http://vimdoc.sourceforge.net/htmldoc/uganda.html#license</a><br>
diff --git a/meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch b/meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch<br>
new file mode 100644<br>
index 000000000000..63a7b78f12f1<br>
--- /dev/null<br>
+++ b/meta/recipes-support/vim/files/0001-src-Makefile-improve-reproducibility.patch<br>
@@ -0,0 +1,46 @@<br>
+From 133ab27cdb17ca20ef6b0304cf30621d2bcbe757 Mon Sep 17 00:00:00 2001<br>
+From: Mingli Yu <<a href="mailto:mingli.yu@windriver.com" target="_blank" rel="noreferrer">mingli.yu@windriver.com</a>><br>
+Date: Thu, 31 Jan 2019 21:32:26 -0800<br>
+Subject: [PATCH] src/Makefile: improve reproducibility<br>
+<br>
+Clear all_cflags, all_lflags, compiled_user<br>
+and compiled_sys to avoid introducing build<br>
+info to improve reproducibility as below:<br>
+<br>
+WARNING: vim-8.1.0347-r0 do_package_qa: QA Issue: File /work/core2-64-wrs-linux/vim/8.1.0347-r0/packages-split/vim/usr/bin/vim.vim in package contained reference to tmpdir [buildpaths]<br>
+<br>
+Upstream-Status: Inappropriate [oe specific]<br>
+<br>
+Signed-off-by: Mingli Yu <<a href="mailto:mingli.yu@windriver.com" target="_blank" rel="noreferrer">mingli.yu@windriver.com</a>><br>
+---<br>
+ src/Makefile | 14 ++++----------<br>
+ 1 file changed, 4 insertions(+), 10 deletions(-)<br>
+<br>
+diff --git a/src/Makefile b/src/Makefile<br>
+index f2fafa4dc..7148d4bd9 100644<br>
+--- a/src/Makefile<br>
++++ b/src/Makefile<br>
+@@ -2845,16 +2845,10 @@ auto/pathdef.c: Makefile auto/<a href="http://config.mk" rel="noreferrer noreferrer" target="_blank">config.mk</a><br>
+ -@echo '#include "vim.h"' >> $@<br>
+ -@echo 'char_u *default_vim_dir = (char_u *)"$(VIMRCLOC)";' | $(QUOTESED) >> $@<br>
+ -@echo 'char_u *default_vimruntime_dir = (char_u *)"$(VIMRUNTIMEDIR)";' | $(QUOTESED) >> $@<br>
+- -@echo 'char_u *all_cflags = (char_u *)"$(CC) -c -I$(srcdir) $(ALL_CFLAGS)";' | $(QUOTESED) >> $@<br>
+- -@echo 'char_u *all_lflags = (char_u *)"$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) ";' | $(QUOTESED) >> $@<br>
+- -@echo 'char_u *compiled_user = (char_u *)"' | tr -d $(NL) >> $@<br>
+- -@if test -n "$(COMPILEDBY)"; then \<br>
+- echo "$(COMPILEDBY)" | tr -d $(NL) >> $@; \<br>
+- else ((logname) 2>/dev/null || whoami) | tr -d $(NL) >> $@; fi<br>
+- -@echo '";' >> $@<br>
+- -@echo 'char_u *compiled_sys = (char_u *)"' | tr -d $(NL) >> $@<br>
+- -@if test -z "$(COMPILEDBY)"; then hostname | tr -d $(NL) >> $@; fi<br>
+- -@echo '";' >> $@<br>
++ -@echo 'char_u *all_cflags = (char_u *)"";' | $(QUOTESED) >> $@<br>
++ -@echo 'char_u *all_lflags = (char_u *)"";' | $(QUOTESED) >> $@<br>
++ -@echo 'char_u *compiled_user = (char_u *)"";' >> $@<br>
++ -@echo 'char_u *compiled_sys = (char_u *)"";' >> $@<br>
+ -@sh $(srcdir)/pathdef.sh<br>
+ <br>
+ GUI_GTK_RES_INPUTS = \<br>
+-- <br>
+2.17.1<br>
+<br>
diff --git a/meta/recipes-support/vim/files/disable_acl_header_check.patch b/meta/recipes-support/vim/files/disable_acl_header_check.patch<br>
new file mode 100644<br>
index 000000000000..4720003c252a<br>
--- /dev/null<br>
+++ b/meta/recipes-support/vim/files/disable_acl_header_check.patch<br>
@@ -0,0 +1,39 @@<br>
+From 5ed25c076a1fb1889a3c50dddf29f21850b59a13 Mon Sep 17 00:00:00 2001<br>
+From: Wenzong Fan <<a href="mailto:wenzong.fan@windriver.com" target="_blank" rel="noreferrer">wenzong.fan@windriver.com</a>> <br>
+Date: Tue, 26 Jun 2018 17:29:09 +0800<br>
+Subject: [PATCH] disable acl header check<br>
+<br>
+Don't check 'sys/acl.h' if acl support disabled for vim/vim-tiny.<br>
+<br>
+Upstream-Status: pending<br>
+<br>
+Signed-off-by: Wenzong Fan <<a href="mailto:wenzong.fan@windriver.com" target="_blank" rel="noreferrer">wenzong.fan@windriver.com</a>><br>
+Signed-off-by: Changqing Li <<a href="mailto:changqing.li@windriver.com" target="_blank" rel="noreferrer">changqing.li@windriver.com</a>><br>
+---<br>
+ src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a> | 3 ++-<br>
+ 1 file changed, 2 insertions(+), 1 deletion(-)<br>
+<br>
+diff --git a/src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a> b/src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
+index 107c170..0ee86ad 100644<br>
+--- a/src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
++++ b/src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
+@@ -3220,7 +3220,7 @@ AC_CHECK_HEADERS(stdint.h stdlib.h string.h \<br>
+ sys/systeminfo.h locale.h sys/stream.h termios.h \<br>
+ libc.h sys/statfs.h poll.h sys/poll.h pwd.h \<br>
+ utime.h sys/param.h libintl.h libgen.h \<br>
+- util/debug.h util/msg18n.h frame.h sys/acl.h \<br>
++ util/debug.h util/msg18n.h frame.h \<br>
+ sys/access.h sys/sysinfo.h wchar.h wctype.h)<br>
+ <br>
+ dnl sys/ptem.h depends on sys/stream.h on Solaris<br>
+@@ -3848,6 +3848,7 @@ AC_ARG_ENABLE(acl,<br>
+ , [enable_acl="yes"])<br>
+ if test "$enable_acl" = "yes"; then<br>
+ AC_MSG_RESULT(no)<br>
++ AC_CHECK_HEADERS(sys/acl.h)<br>
+ AC_CHECK_LIB(posix1e, acl_get_file, [LIBS="$LIBS -lposix1e"],<br>
+ AC_CHECK_LIB(acl, acl_get_file, [LIBS="$LIBS -lacl"<br>
+ AC_CHECK_LIB(attr, fgetxattr, LIBS="$LIBS -lattr",,)],,),)<br>
+-- <br>
+2.7.4<br>
+<br>
diff --git a/meta/recipes-support/vim/files/vim-add-knob-whether-elf.h-are-checked.patch b/meta/recipes-support/vim/files/vim-add-knob-whether-elf.h-are-checked.patch<br>
new file mode 100644<br>
index 000000000000..37914d4cd9c1<br>
--- /dev/null<br>
+++ b/meta/recipes-support/vim/files/vim-add-knob-whether-elf.h-are-checked.patch<br>
@@ -0,0 +1,42 @@<br>
+From 38de4bccdb8a861ffdd447f12fdab19d6d852c02 Mon Sep 17 00:00:00 2001<br>
+From: Chong Lu <<a href="mailto:Chong.Lu@windriver.com" target="_blank" rel="noreferrer">Chong.Lu@windriver.com</a>><br>
+Date: Tue, 26 Jun 2018 17:34:15 +0800<br>
+Subject: [PATCH] vim: add knob whether elf.h are checked<br>
+<br>
+Previously, it still was checked when there was no elf library in sysroots directory.<br>
+Add knob to decide whether elf.h are checked or not.<br>
+<br>
+Upstream-Status: Pending<br>
+<br>
+Signed-off-by: Chong Lu <<a href="mailto:Chong.Lu@windriver.com" target="_blank" rel="noreferrer">Chong.Lu@windriver.com</a>><br>
+Signed-off-by: Changqing Li <<a href="mailto:changqing.li@windriver.com" target="_blank" rel="noreferrer">changqing.li@windriver.com</a>><br>
+---<br>
+ src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a> | 7 +++++++<br>
+ 1 file changed, 7 insertions(+)<br>
+<br>
+diff --git a/src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a> b/src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
+index 0ee86ad..64736f0 100644<br>
+--- a/src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
++++ b/src/<a href="http://configure.ac" rel="noreferrer noreferrer" target="_blank">configure.ac</a><br>
+@@ -3192,11 +3192,18 @@ AC_TRY_COMPILE([#include <stdio.h>], [int x __attribute__((unused));],<br>
+ AC_MSG_RESULT(no))<br>
+ <br>
+ dnl Checks for header files.<br>
++AC_MSG_CHECKING(whether or not to look for elf.h)<br>
++AC_ARG_ENABLE(elf-check,<br>
++ [ --enable-elf-check If elfutils, check for elf.h [default=no]],<br>
++ , enable_elf_check="no")<br>
++AC_MSG_RESULT($enable_elf_check)<br>
++if test "x$enable_elf_check" != "xno"; then<br>
+ AC_CHECK_HEADER(elf.h, HAS_ELF=1)<br>
+ dnl AC_CHECK_HEADER(dwarf.h, SVR4=1)<br>
+ if test "$HAS_ELF" = 1; then<br>
+ AC_CHECK_LIB(elf, main)<br>
+ fi<br>
++fi<br>
+ <br>
+ AC_HEADER_DIRENT<br>
+ <br>
+-- <br>
+2.7.4<br>
+<br>
diff --git a/meta/recipes-support/vim/<a href="http://vim-tiny_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim-tiny_8.1.0347.bb</a> b/meta/recipes-support/vim/<a href="http://vim-tiny_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim-tiny_8.1.0347.bb</a><br>
new file mode 100644<br>
index 000000000000..8b1fb7b1158d<br>
--- /dev/null<br>
+++ b/meta/recipes-support/vim/<a href="http://vim-tiny_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim-tiny_8.1.0347.bb</a><br>
@@ -0,0 +1,15 @@<br>
+require vim_${PV}.bb<br>
+<br>
+SUMMARY += " (with tiny features)"<br>
+<br>
+PROVIDES_remove = "xxd"<br>
+ALTERNATIVE_${PN}_remove = "xxd"<br>
+<br>
+PACKAGECONFIG += "tiny"<br>
+<br>
+do_install() {<br>
+ install -D -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny<br>
+}<br>
+<br>
+ALTERNATIVE_PRIORITY = "90"<br>
+ALTERNATIVE_TARGET = "${bindir}/vim.tiny"<br>
diff --git a/meta/recipes-support/vim/<a href="http://vim_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim_8.1.0347.bb</a> b/meta/recipes-support/vim/<a href="http://vim_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim_8.1.0347.bb</a><br>
new file mode 100644<br>
index 000000000000..070583158467<br>
--- /dev/null<br>
+++ b/meta/recipes-support/vim/<a href="http://vim_8.1.0347.bb" rel="noreferrer noreferrer" target="_blank">vim_8.1.0347.bb</a><br>
@@ -0,0 +1,121 @@<br>
+SUMMARY = "Vi IMproved - enhanced vi editor"<br>
+SECTION = "console/utils"<br>
+<br>
+PROVIDES = "xxd"<br>
+DEPENDS = "ncurses gettext-native"<br>
+# vimdiff doesn't like busybox diff<br>
+RSUGGESTS_${PN} = "diffutils"<br>
+LICENSE = "vim"<br>
+LIC_FILES_CHKSUM = "file://../runtime/doc/uganda.txt;endline=287;md5=f1f82b42360005c70b8c19b0ef493f72"<br>
+<br>
+SRC_URI = "git://<a href="http://github.com/vim/vim.git" rel="noreferrer noreferrer" target="_blank">github.com/vim/vim.git</a> \<br>
+ file://disable_acl_header_check.patch;patchdir=.. \<br>
+ file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \<br>
+ file://0001-src-Makefile-improve-reproducibility.patch;patchdir=.. \<br>
+"<br>
+SRCREV = "f1c118be93184e8e57e3e80b1b3383f464ed649e"<br>
+<br>
+S = "${WORKDIR}/git/src"<br>
+<br>
+VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}"<br>
+<br>
+inherit autotools-brokensep update-alternatives<br>
+<br>
+CLEANBROKEN = "1"<br>
+<br>
+# vim <a href="http://configure.in" rel="noreferrer noreferrer" target="_blank">configure.in</a> contains functions which got 'dropped' by autotools.bbclass<br>
+do_configure () {<br>
+ rm -f auto/*<br>
+ touch auto/<a href="http://config.mk" rel="noreferrer noreferrer" target="_blank">config.mk</a><br>
+ aclocal<br>
+ autoconf<br>
+ oe_runconf<br>
+ touch auto/configure<br>
+ touch auto/<a href="http://config.mk" rel="noreferrer noreferrer" target="_blank">config.mk</a> auto/config.h<br>
+}<br>
+<br>
+#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny<br>
+PACKAGECONFIG ??= ""<br>
+PACKAGECONFIG += " \<br>
+ ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \<br>
+ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \<br>
+"<br>
+<br>
+PACKAGECONFIG[gtkgui] = "--enable-gui=gtk2,--enable-gui=no,gtk+,"<br>
+PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"<br>
+PACKAGECONFIG[x11] = "--with-x,--without-x,xt,"<br>
+PACKAGECONFIG[tiny] = "--with-features=tiny,--with-features=big,,"<br>
+PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,"<br>
+PACKAGECONFIG[elfutils] = "--enable-elf-check,,elfutils,"<br>
+<br>
+EXTRA_OECONF = " \<br>
+ --disable-gpm \<br>
+ --disable-gtktest \<br>
+ --disable-xim \<br>
+ --disable-netbeans \<br>
+ --with-tlib=ncurses \<br>
+ ac_cv_small_wchar_t=no \<br>
+ vim_cv_getcwd_broken=no \<br>
+ vim_cv_memmove_handles_overlap=yes \<br>
+ vim_cv_stat_ignores_slash=no \<br>
+ vim_cv_terminfo=yes \<br>
+ vim_cv_tgetent=non-zero \<br>
+ vim_cv_toupper_broken=no \<br>
+ vim_cv_tty_group=world \<br>
+ STRIP=/bin/true \<br>
+"<br>
+<br>
+do_install() {<br>
+ autotools_do_install<br>
+<br>
+ # Work around file-rdeps picking up csh, awk, perl or python as a dep<br>
+ chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132<br>
+ chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk<br>
+ chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/*.pl<br>
+ chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/*.py<br>
+<br>
+ # Install example vimrc from runtime files<br>
+ install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc<br>
+<br>
+ # we use --with-features=big as default<br>
+ mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN}<br>
+}<br>
+<br>
+PARALLEL_MAKEINST = ""<br>
+<br>
+PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-tools"<br>
+FILES_${PN}-syntax = "${datadir}/${BPN}/${VIMDIR}/syntax"<br>
+FILES_${PN}-help = "${datadir}/${BPN}/${VIMDIR}/doc"<br>
+FILES_${PN}-tutor = "${datadir}/${BPN}/${VIMDIR}/tutor ${bindir}/${BPN}tutor"<br>
+FILES_${PN}-vimrc = "${datadir}/${BPN}/vimrc"<br>
+FILES_${PN}-data = "${datadir}/${BPN}"<br>
+FILES_${PN}-tools = "${datadir}/${BPN}/${VIMDIR}/tools"<br>
+FILES_${PN}-common = " \<br>
+ ${datadir}/${BPN}/${VIMDIR}/*.vim \<br>
+ ${datadir}/${BPN}/${VIMDIR}/autoload \<br>
+ ${datadir}/${BPN}/${VIMDIR}/colors \<br>
+ ${datadir}/${BPN}/${VIMDIR}/compiler \<br>
+ ${datadir}/${BPN}/${VIMDIR}/ftplugin \<br>
+ ${datadir}/${BPN}/${VIMDIR}/indent \<br>
+ ${datadir}/${BPN}/${VIMDIR}/keymap \<br>
+ ${datadir}/${BPN}/${VIMDIR}/lang \<br>
+ ${datadir}/${BPN}/${VIMDIR}/macros \<br>
+ ${datadir}/${BPN}/${VIMDIR}/plugin \<br>
+ ${datadir}/${BPN}/${VIMDIR}/print \<br>
+ ${datadir}/${BPN}/${VIMDIR}/spell \<br>
+ ${datadir}/icons \<br>
+"<br>
+<br>
+RDEPENDS_${BPN} = "ncurses-terminfo-base"<br>
+# Recommend that runtime data is installed along with vim<br>
+RRECOMMENDS_${BPN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"<br>
+<br>
+ALTERNATIVE_${PN} = "vi vim xxd"<br>
+ALTERNATIVE_PRIORITY = "100"<br>
+ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}"<br>
+ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi"<br>
+ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim"<br>
+ALTERNATIVE_TARGET[xxd] = "${bindir}/xxd"<br>
+ALTERNATIVE_LINK_NAME[xxd] = "${bindir}/xxd"<br>
+<br>
+BBCLASSEXTEND = "native"<br>
-- <br>
2.7.4<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank" rel="noreferrer">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div></div></div>