summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/vim/vim_8.1.0172.bb
diff options
context:
space:
mode:
authorRandy MacLeod <randy.macleod@windriver.com>2018-09-05 14:15:08 -0400
committerKhem Raj <raj.khem@gmail.com>2018-09-05 13:59:16 -0700
commit3798321fc902148af073200ea39903ef1b415c5c (patch)
tree27b74178dfff1fb52814de495354a82d91c6cb72 /meta-oe/recipes-support/vim/vim_8.1.0172.bb
parente518bfe931543ff067e89d5c1959005881fe1df9 (diff)
downloadmeta-openembedded-3798321fc902148af073200ea39903ef1b415c5c.tar.gz
vim/vim-tiny: upgrade 8.1.0172 -> 8.1.0347
The license file changed because the vim format tag on the last line of the file changed. Specify the the license end line to avoid this problem. Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/vim/vim_8.1.0172.bb')
-rw-r--r--meta-oe/recipes-support/vim/vim_8.1.0172.bb115
1 files changed, 0 insertions, 115 deletions
diff --git a/meta-oe/recipes-support/vim/vim_8.1.0172.bb b/meta-oe/recipes-support/vim/vim_8.1.0172.bb
deleted file mode 100644
index 371fe35eec..0000000000
--- a/meta-oe/recipes-support/vim/vim_8.1.0172.bb
+++ /dev/null
@@ -1,115 +0,0 @@
1SUMMARY = "Vi IMproved - enhanced vi editor"
2SECTION = "console/utils"
3
4PROVIDES = "xxd"
5DEPENDS = "ncurses gettext-native"
6# vimdiff doesn't like busybox diff
7RSUGGESTS_${PN} = "diffutils"
8LICENSE = "vim"
9LIC_FILES_CHKSUM = "file://../runtime/doc/uganda.txt;md5=b6eb9d541de3933cc8f48125ae0335fe"
10
11SRC_URI = "git://github.com/vim/vim.git \
12 file://disable_acl_header_check.patch;patchdir=.. \
13 file://vim-add-knob-whether-elf.h-are-checked.patch;patchdir=.. \
14"
15SRCREV = "c229e54a69468722ca2449e807e90445b7479659"
16
17S = "${WORKDIR}/git/src"
18
19VIMDIR = "vim${@d.getVar('PV').split('.')[0]}${@d.getVar('PV').split('.')[1]}"
20
21inherit autotools-brokensep update-alternatives
22
23CLEANBROKEN = "1"
24
25# vim configure.in contains functions which got 'dropped' by autotools.bbclass
26do_configure () {
27 rm -f auto/*
28 touch auto/config.mk
29 aclocal
30 autoconf
31 oe_runconf
32 touch auto/configure
33 touch auto/config.mk auto/config.h
34}
35
36#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny
37PACKAGECONFIG ??= ""
38PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}"
39
40PACKAGECONFIG[gtkgui] = "--enable-gtk2-test --enable-gui=gtk2,--enable-gui=no,gtk+,"
41PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"
42PACKAGECONFIG[x11] = "--with-x,--without-x,xt,"
43PACKAGECONFIG[tiny] = "--with-features=tiny,--with-features=big,,"
44PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,"
45PACKAGECONFIG[elfutils] = "--enable-elf-check,,elfutils,"
46
47EXTRA_OECONF = " \
48 --disable-gpm \
49 --disable-gtktest \
50 --disable-xim \
51 --disable-netbeans \
52 --with-tlib=ncurses \
53 ac_cv_small_wchar_t=no \
54 vim_cv_getcwd_broken=no \
55 vim_cv_memmove_handles_overlap=yes \
56 vim_cv_stat_ignores_slash=no \
57 vim_cv_terminfo=yes \
58 vim_cv_tgetent=non-zero \
59 vim_cv_toupper_broken=no \
60 vim_cv_tty_group=world \
61 STRIP=/bin/true \
62"
63
64do_install() {
65 autotools_do_install
66
67 # Work around file-rdeps picking up csh, awk, perl or python as a dep
68 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/vim132
69 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/mve.awk
70 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/*.pl
71 chmod -x ${D}${datadir}/${BPN}/${VIMDIR}/tools/*.py
72
73 # Install example vimrc from runtime files
74 install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${BPN}/vimrc
75
76 # we use --with-features=big as default
77 mv ${D}${bindir}/${BPN} ${D}${bindir}/${BPN}.${BPN}
78}
79
80PARALLEL_MAKEINST = ""
81
82PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-tools"
83FILES_${PN}-syntax = "${datadir}/${BPN}/${VIMDIR}/syntax"
84FILES_${PN}-help = "${datadir}/${BPN}/${VIMDIR}/doc"
85FILES_${PN}-tutor = "${datadir}/${BPN}/${VIMDIR}/tutor ${bindir}/${BPN}tutor"
86FILES_${PN}-vimrc = "${datadir}/${BPN}/vimrc"
87FILES_${PN}-data = "${datadir}/${BPN}"
88FILES_${PN}-tools = "${datadir}/${BPN}/${VIMDIR}/tools"
89FILES_${PN}-common = " \
90 ${datadir}/${BPN}/${VIMDIR}/*.vim \
91 ${datadir}/${BPN}/${VIMDIR}/autoload \
92 ${datadir}/${BPN}/${VIMDIR}/colors \
93 ${datadir}/${BPN}/${VIMDIR}/compiler \
94 ${datadir}/${BPN}/${VIMDIR}/ftplugin \
95 ${datadir}/${BPN}/${VIMDIR}/indent \
96 ${datadir}/${BPN}/${VIMDIR}/keymap \
97 ${datadir}/${BPN}/${VIMDIR}/lang \
98 ${datadir}/${BPN}/${VIMDIR}/macros \
99 ${datadir}/${BPN}/${VIMDIR}/plugin \
100 ${datadir}/${BPN}/${VIMDIR}/print \
101 ${datadir}/${BPN}/${VIMDIR}/spell \
102 ${datadir}/icons \
103"
104
105RDEPENDS_${BPN} = "ncurses-terminfo-base"
106# Recommend that runtime data is installed along with vim
107RRECOMMENDS_${BPN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
108
109ALTERNATIVE_${PN} = "vi vim"
110ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}"
111ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi"
112ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim"
113ALTERNATIVE_PRIORITY = "100"
114
115BBCLASSEXTEND = "native"