10 Commits

Author SHA1 Message Date
Paul Barker
7425fdd9a2 vim: prevent binaries from being stripped too early
By default, vim binaries are stripped during the build. This prevents us from
putting non-stripped binaries into a -dbg package. Passing 'STRIP=/bin/true' to
configure is the method recommended in the vim Makefile to disable stripping of
binaries during the build.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:28 +02:00
Paul Barker
e86bab75ab vim: recommend that runtime data is installed along with binaries
Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-04-19 02:45:28 +02:00
Martin Jansa
a45830a39b recipes: Unify indentation
* This change is only aesthetic (unlike indentation in Python
  tasks).
* Some recipes were using tabs.
* Some were using 8 spaces.
* Some were using mix or different number of spaces.
* Make them consistently use 4 spaces everywhere.
* Yocto styleguide advises to use tabs (but the only reason to keep
  tabs is the need to update a lot of recipes). Lately this advice
  was also merged into the styleguide on the OE wiki.
* Using 4 spaces in both types of tasks is better because it's less
  error prone when someone is not sure if e.g.
  do_generate_toolchain_file() is Python or shell task and also allows
  to highlight every tab used in .bb, .inc, .bbappend, .bbclass as
  potentially bad (shouldn't be used for indenting of multiline
  variable assignments and cannot be used for Python tasks).
* Don't indent closing quote on multiline variables
  we're quite inconsistent wheater it's first character on line
  under opening quote or under first non-whitespace character in
  previous line.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Acked-by: Koen Kooi <koen@dominion.thruhere.net>
2013-04-15 16:23:17 +02:00
Martin Jansa
285f7fe1b4 vim: use new u-a syntax
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-31 12:58:31 +01:00
Martin Jansa
72a1427f11 vim: implement gvim, vim-tiny as PACKAGECONFIG
* only one of those should be built in sysroot, otherwise they were
  overwritting files provided by other alternatives
* define PACKAGECONFIG options
* there are no RCONFLICTS/RREPLACES/RPROVIDES, because it depends on
  selected PACKAGECONFIGs
* add PN to VIMDIR and use VIMDIR where undefined VIMVER was
  (e.g. "${PN}${VIMVER}")
* move checksums from .inc to recipe
* vim/gvim/vim-tiny conflict is now fatal, with
  http://patches.openembedded.org/patch/43105/

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-01-31 12:58:31 +01:00
Martin Jansa
aaf708746e vim-tiny: package /usr/share/vim in PN-data
* keep it separate from PN so PN is tiny
* fixes warning about a lot of unpackaged files

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:58 +01:00
Martin Jansa
cef9476f51 gvim: fix unpackaged files QA warning
* there is a lot of stuff installed to /usr/share/vim, but gvim does not have this in FILES_PN

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2012-12-11 01:52:56 +01:00
Paul Eggleton
3a30c56238 Replace bb.data.* with d.*
Used sed expression given here:

http://lists.linuxtogo.org/pipermail/openembedded-core/2011-November/012373.html

Plus an additional expression for .expand. Full expression is:

sed \
-e 's:bb.data.\(setVar([^,]*,[^,]*\), \([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,]*,[^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^, ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,]*,[^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,]*\), \([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(expand([^,]*\), \([^ )]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`

Some minor correction in systemd.bbclass was needed for some expressions
that didn't quite match the regex in the desired way; additionally a few
instances were manually changed.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2012-10-28 14:32:06 +00:00
Koen Kooi
1ec5fa073f vim: workaround a dependency problem with RPM
One of the examples has a #!/bin/csh which tells RPM to add that as a dep, which we don't want

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
2012-01-20 12:21:23 +01:00
Michael Lippautz
55fccdc2be vim: Add vim/tiny-vim/gvim 7.2 (patchset 446)
Changes from org.oe.dev:
* Include latest (stable) patchset
* Change from RCONFLICTS to RREPLACES where possible (gvim->vim->tiny-vim)

Signed-off-by: Michael Lippautz <michael.lippautz@gmail.com>
2011-04-18 20:59:07 +02:00