vim: Fix packaging of common data files

The majority of the vim runtime files have been moved from the package
'vim-data' to the package 'vim-common'. However, 'vim-data' was still in
RRECOMMENDS and 'vim-common' was not, so the runtime files were not being
installed by default.

To fix this, 'vim-data' is removed from RRECOMMENDS and 'vim-common' is added
instead. 'vim-data' is also removed from PACKAGES as it should now be empty.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Paul Barker
2014-05-28 22:10:40 +00:00
committed by Martin Jansa
parent 20459d1760
commit 05620be79a
+2 -2
View File
@@ -70,7 +70,7 @@ do_install_append() {
PARALLEL_MAKEINST = ""
PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-data"
PACKAGES =+ "${PN}-common ${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc"
FILES_${PN}-syntax = "${datadir}/${PN}/${VIMDIR}/syntax"
FILES_${PN}-help = "${datadir}/${PN}/${VIMDIR}/doc"
FILES_${PN}-tutor = "${datadir}/${PN}/${VIMDIR}/tutor ${bindir}/${PN}tutor"
@@ -93,7 +93,7 @@ FILES_${PN}-common = " \
"
# Recommend that runtime data is installed along with vim
RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-data"
RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
ALTERNATIVE_${PN} = "vi"
ALTERNATIVE_TARGET[vi] = "${bindir}/${PN}"