Commit Graph

8 Commits

Author SHA1 Message Date
Jackie Huang
2f1d7533de vim: work around rpm picking up perl as a dep
Some perl example scripts cause RPM to add perl as a
dep, which we don't want, so remove x bit as work around
just like the ones for csh and awk.

Refer to:
1b088e4 vim: workaround nawk dependency problem with RPM
280d150 vim: workaround a dependency problem with RPM

I think a better solution might be:
Split the tools directory into a new package ${PN}-tools
and add RDEPENDS on csh, awk and perl for it and we don't
put it in RRECOMMENDS to install along with vim.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15 15:02:27 +02:00
Jackie Huang
c9927977c3 vim: use BPN instead of PN to fix multilib build
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-06-13 13:38:10 +02:00
Paul Barker
05620be79a 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>
2014-06-10 12:27:20 +02:00
Paul Barker
8d037a30a3 vim: Don't build out-of-tree
Out-of-tree builds don't seem to work for vim, probably as it doesn't use
automake.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:45:04 +02:00
Chong Lu
a5cc93d8e3 vim: add knob whether elf.h are checked
Previously, it still was checked when there was no elf library in sysroots directory.
Add knob to decide whether elf.h are checked or not.

Fixed by using PACKAGECONFIG to check elf, with default disabled set.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-21 13:31:48 +02:00
Chong Lu
38d45f7446 vim: don't check acl header if acl support disabled
Vim/vim-tiny always check 'sys/acl.h' existence even acl support
has been disabled from configure line. This works in mostly time
but except for acl works in an odd mode - while acl was mirrored
from sstate_cache, it will install 'sys/acl.h' to sysroot dir and
and then clean the header file with sysroot_cleansstate().

If build vim/vim-tiny and acl in parallel, below errors will occur:

* os_unix.c:2668:23: fatal error: sys/acl.h: No such file or directory

This change only workaround the failure and get build running, we
still need to fix it from acl side.

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-21 13:31:47 +02:00
Chong Lu
9dfa0411e0 vim: add dependency and selinux and acl support control
1. Add explicit selinux and acl support control.
2. Vim depends on gettext-native, add to the dependency list.
3. Split binary file into vim package and put others in vim-common.

Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-21 13:31:47 +02:00
Paul Barker
2bc68c32cb vim: Upgrade to v7.4.258
The patch against configure.in was resubmitted to the vim mailing list and was
merged into the upstream sources so is no longer needed.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-04-20 13:14:56 +02:00