<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 &lt;<a href="mailto:trini@konsulko.com">trini@konsulko.com</a>&gt; 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 &lt;<a href="mailto:ovidiu.panait@windriver.com" target="_blank" rel="noreferrer">ovidiu.panait@windriver.com</a>&gt;<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 &lt;<a href="mailto:trini@konsulko.com" target="_blank" rel="noreferrer">trini@konsulko.com</a>&gt;<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 &lt;<a href="mailto:Bram@vim.org" target="_blank" rel="noreferrer">Bram@vim.org</a>&gt;.  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 &quot;:version&quot;<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>
+     &lt;<a href="mailto:maintainer@vim.org" target="_blank" rel="noreferrer">maintainer@vim.org</a>&gt;<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 &lt;<a href="mailto:mingli.yu@windriver.com" target="_blank" rel="noreferrer">mingli.yu@windriver.com</a>&gt;<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 &lt;<a href="mailto:mingli.yu@windriver.com" target="_blank" rel="noreferrer">mingli.yu@windriver.com</a>&gt;<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 &#39;#include &quot;vim.h&quot;&#39; &gt;&gt; $@<br>
+       -@echo &#39;char_u *default_vim_dir = (char_u *)&quot;$(VIMRCLOC)&quot;;&#39; | $(QUOTESED) &gt;&gt; $@<br>
+       -@echo &#39;char_u *default_vimruntime_dir = (char_u *)&quot;$(VIMRUNTIMEDIR)&quot;;&#39; | $(QUOTESED) &gt;&gt; $@<br>
+-      -@echo &#39;char_u *all_cflags = (char_u *)&quot;$(CC) -c -I$(srcdir) $(ALL_CFLAGS)&quot;;&#39; | $(QUOTESED) &gt;&gt;  $@<br>
+-      -@echo &#39;char_u *all_lflags = (char_u *)&quot;$(CC) $(ALL_LIB_DIRS) $(LDFLAGS) -o $(VIMTARGET) $(ALL_LIBS) &quot;;&#39; | $(QUOTESED) &gt;&gt;  $@<br>
+-      -@echo &#39;char_u *compiled_user = (char_u *)&quot;&#39; | tr -d $(NL) &gt;&gt; $@<br>
+-      -@if test -n &quot;$(COMPILEDBY)&quot;; then \<br>
+-              echo &quot;$(COMPILEDBY)&quot; | tr -d $(NL) &gt;&gt; $@; \<br>
+-              else ((logname) 2&gt;/dev/null || whoami) | tr -d $(NL) &gt;&gt; $@; fi<br>
+-      -@echo &#39;&quot;;&#39; &gt;&gt; $@<br>
+-      -@echo &#39;char_u *compiled_sys = (char_u *)&quot;&#39; | tr -d $(NL) &gt;&gt; $@<br>
+-      -@if test -z &quot;$(COMPILEDBY)&quot;; then hostname | tr -d $(NL) &gt;&gt; $@; fi<br>
+-      -@echo &#39;&quot;;&#39; &gt;&gt; $@<br>
++      -@echo &#39;char_u *all_cflags = (char_u *)&quot;&quot;;&#39; | $(QUOTESED) &gt;&gt;  $@<br>
++      -@echo &#39;char_u *all_lflags = (char_u *)&quot;&quot;;&#39; | $(QUOTESED) &gt;&gt;  $@<br>
++      -@echo &#39;char_u *compiled_user = (char_u *)&quot;&quot;;&#39; &gt;&gt; $@<br>
++      -@echo &#39;char_u *compiled_sys = (char_u *)&quot;&quot;;&#39; &gt;&gt; $@<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 &lt;<a href="mailto:wenzong.fan@windriver.com" target="_blank" rel="noreferrer">wenzong.fan@windriver.com</a>&gt; <br>
+Date: Tue, 26 Jun 2018 17:29:09 +0800<br>
+Subject: [PATCH] disable acl header check<br>
+<br>
+Don&#39;t check &#39;sys/acl.h&#39; if acl support disabled for vim/vim-tiny.<br>
+<br>
+Upstream-Status: pending<br>
+<br>
+Signed-off-by: Wenzong Fan &lt;<a href="mailto:wenzong.fan@windriver.com" target="_blank" rel="noreferrer">wenzong.fan@windriver.com</a>&gt;<br>
+Signed-off-by: Changqing Li &lt;<a href="mailto:changqing.li@windriver.com" target="_blank" rel="noreferrer">changqing.li@windriver.com</a>&gt;<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=&quot;yes&quot;])<br>
+ if test &quot;$enable_acl&quot; = &quot;yes&quot;; then<br>
+   AC_MSG_RESULT(no)<br>
++  AC_CHECK_HEADERS(sys/acl.h)<br>
+   AC_CHECK_LIB(posix1e, acl_get_file, [LIBS=&quot;$LIBS -lposix1e&quot;],<br>
+       AC_CHECK_LIB(acl, acl_get_file, [LIBS=&quot;$LIBS -lacl&quot;<br>
+                 AC_CHECK_LIB(attr, fgetxattr, LIBS=&quot;$LIBS -lattr&quot;,,)],,),)<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 &lt;<a href="mailto:Chong.Lu@windriver.com" target="_blank" rel="noreferrer">Chong.Lu@windriver.com</a>&gt;<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 &lt;<a href="mailto:Chong.Lu@windriver.com" target="_blank" rel="noreferrer">Chong.Lu@windriver.com</a>&gt;<br>
+Signed-off-by: Changqing Li &lt;<a href="mailto:changqing.li@windriver.com" target="_blank" rel="noreferrer">changqing.li@windriver.com</a>&gt;<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 &lt;stdio.h&gt;], [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=&quot;no&quot;)<br>
++AC_MSG_RESULT($enable_elf_check)<br>
++if test &quot;x$enable_elf_check&quot; != &quot;xno&quot;; then<br>
+ AC_CHECK_HEADER(elf.h, HAS_ELF=1)<br>
+ dnl AC_CHECK_HEADER(dwarf.h, SVR4=1)<br>
+ if test &quot;$HAS_ELF&quot; = 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 += &quot; (with tiny features)&quot;<br>
+<br>
+PROVIDES_remove = &quot;xxd&quot;<br>
+ALTERNATIVE_${PN}_remove = &quot;xxd&quot;<br>
+<br>
+PACKAGECONFIG += &quot;tiny&quot;<br>
+<br>
+do_install() {<br>
+    install -D -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny<br>
+}<br>
+<br>
+ALTERNATIVE_PRIORITY = &quot;90&quot;<br>
+ALTERNATIVE_TARGET = &quot;${bindir}/vim.tiny&quot;<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 = &quot;Vi IMproved - enhanced vi editor&quot;<br>
+SECTION = &quot;console/utils&quot;<br>
+<br>
+PROVIDES = &quot;xxd&quot;<br>
+DEPENDS = &quot;ncurses gettext-native&quot;<br>
+# vimdiff doesn&#39;t like busybox diff<br>
+RSUGGESTS_${PN} = &quot;diffutils&quot;<br>
+LICENSE = &quot;vim&quot;<br>
+LIC_FILES_CHKSUM = &quot;file://../runtime/doc/uganda.txt;endline=287;md5=f1f82b42360005c70b8c19b0ef493f72&quot;<br>
+<br>
+SRC_URI = &quot;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>
+&quot;<br>
+SRCREV = &quot;f1c118be93184e8e57e3e80b1b3383f464ed649e&quot;<br>
+<br>
+S = &quot;${WORKDIR}/git/src&quot;<br>
+<br>
+VIMDIR = &quot;vim${@d.getVar(&#39;PV&#39;).split(&#39;.&#39;)[0]}${@d.getVar(&#39;PV&#39;).split(&#39;.&#39;)[1]}&quot;<br>
+<br>
+inherit autotools-brokensep update-alternatives<br>
+<br>
+CLEANBROKEN = &quot;1&quot;<br>
+<br>
+# vim <a href="http://configure.in" rel="noreferrer noreferrer" target="_blank">configure.in</a> contains functions which got &#39;dropped&#39; 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 ??= &quot;&quot;<br>
+PACKAGECONFIG += &quot; \<br>
+    ${@bb.utils.filter(&#39;DISTRO_FEATURES&#39;, &#39;acl selinux&#39;, d)} \<br>
+    ${@bb.utils.contains(&#39;DISTRO_FEATURES&#39;, &#39;x11&#39;, &#39;x11 gtkgui&#39;, &#39;&#39;, d)} \<br>
+&quot;<br>
+<br>
+PACKAGECONFIG[gtkgui] = &quot;--enable-gui=gtk2,--enable-gui=no,gtk+,&quot;<br>
+PACKAGECONFIG[acl] = &quot;--enable-acl,--disable-acl,acl,&quot;<br>
+PACKAGECONFIG[x11] = &quot;--with-x,--without-x,xt,&quot;<br>
+PACKAGECONFIG[tiny] = &quot;--with-features=tiny,--with-features=big,,&quot;<br>
+PACKAGECONFIG[selinux] = &quot;--enable-selinux,--disable-selinux,libselinux,&quot;<br>
+PACKAGECONFIG[elfutils] = &quot;--enable-elf-check,,elfutils,&quot;<br>
+<br>
+EXTRA_OECONF = &quot; \<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>
+&quot;<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 = &quot;&quot;<br>
+<br>
+PACKAGES =+ &quot;${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-tools&quot;<br>
+FILES_${PN}-syntax = &quot;${datadir}/${BPN}/${VIMDIR}/syntax&quot;<br>
+FILES_${PN}-help = &quot;${datadir}/${BPN}/${VIMDIR}/doc&quot;<br>
+FILES_${PN}-tutor = &quot;${datadir}/${BPN}/${VIMDIR}/tutor ${bindir}/${BPN}tutor&quot;<br>
+FILES_${PN}-vimrc = &quot;${datadir}/${BPN}/vimrc&quot;<br>
+FILES_${PN}-data = &quot;${datadir}/${BPN}&quot;<br>
+FILES_${PN}-tools = &quot;${datadir}/${BPN}/${VIMDIR}/tools&quot;<br>
+FILES_${PN}-common = &quot; \<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>
+&quot;<br>
+<br>
+RDEPENDS_${BPN} = &quot;ncurses-terminfo-base&quot;<br>
+# Recommend that runtime data is installed along with vim<br>
+RRECOMMENDS_${BPN} = &quot;${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common&quot;<br>
+<br>
+ALTERNATIVE_${PN} = &quot;vi vim xxd&quot;<br>
+ALTERNATIVE_PRIORITY = &quot;100&quot;<br>
+ALTERNATIVE_TARGET = &quot;${bindir}/${BPN}.${BPN}&quot;<br>
+ALTERNATIVE_LINK_NAME[vi] = &quot;${base_bindir}/vi&quot;<br>
+ALTERNATIVE_LINK_NAME[vim] = &quot;${bindir}/vim&quot;<br>
+ALTERNATIVE_TARGET[xxd] = &quot;${bindir}/xxd&quot;<br>
+ALTERNATIVE_LINK_NAME[xxd] = &quot;${bindir}/xxd&quot;<br>
+<br>
+BBCLASSEXTEND = &quot;native&quot;<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>