summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/vim/vim.inc
Commit message (Collapse)AuthorAgeFilesLines
* vim: upgrade to v7.4.27 and refactorPaul Barker2013-09-191-80/+0
| | | | | | | | | | | | | | | | | | 'vim.inc' is merged into the new recipe 'vim_7.4.27.bb', the recipe is slightly reorganised and a minor omission in the comments is corrected. DESCRIPTION is replaced with SUMMARY. PR and INC_PR values are dropped. The variable PV_MAJOR is also dropped as it isn't used. LIC_FILES_CHECKSUM is updated as an address and version number given in the license have been modified. The main license text itself is unchanged. The setting of PARALLEL_MAKE to force single-threaded compilation is removed as there is no justification in the git history for this being needed and the compilation completes fine without it. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vim: workaround nawk dependency problem with RPMPeter Bigot2013-09-101-1/+2
| | | | | | | | One of the examples has a #!/usr/bin/nawk which tells RPM to add that as a dep, which we don't want. Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vim: add PACKAGECONFIG for aclMartin Jansa2013-07-201-0/+1
| | | | | | * it's autodetected from sysroot Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vim: update to 7.3.905Paul Barker2013-04-221-7/+3
| | | | | | | | | | | | | | | | | Replace version 7.2.446 with the latest version currently available, 7.3.905. The old fetch method was inefficient as version 7.2 was downloaded and patches applied to get to version 7.2.446. Attempting this method with git 7.3 did not work as not all 905 patches applied cleanly. Instead we fetch version 7.3.905 directly from the upstream mercurial repository. This causes an implicit dependency on mercurial-native for the build which is reasonable considering that not many images include vim by default. The previously used patch configure.in_remove_CC_quotes.patch is still required as these changes haven't been made upstream; this patch still applies cleanly. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vim: use correct license filePaul Barker2013-04-221-1/+1
| | | | | | | | The vim license conditions are in the file runtime/doc/uganda.txt within the sources, not src/README.txt. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vim: use example vimrc from vim runtime filesPaul Barker2013-04-221-3/+4
| | | | | | | | | | | | Rather than keeping our own local vimrc file we can use vimrc_example.vim from the runtime files distributed with vim. This keeps us up-to-date with changes to the config when we move to a new vim version. Also tidy comments around do_install_append so that it is clearer what is happening. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vim: prevent binaries from being stripped too earlyPaul Barker2013-04-191-0/+1
| | | | | | | | | | 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>
* vim: recommend that runtime data is installed along with binariesPaul Barker2013-04-191-0/+3
| | | | | Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* recipes: Unify indentationMartin Jansa2013-04-151-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* vim: use new u-a syntaxMartin Jansa2013-01-311-5/+5
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* vim: implement gvim, vim-tiny as PACKAGECONFIGMartin Jansa2013-01-311-26/+21
| | | | | | | | | | | | | | | * 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>
* Replace bb.data.* with d.*Paul Eggleton2012-10-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* vim: workaround a dependency problem with RPMKoen Kooi2012-01-201-1/+6
| | | | | | 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>
* vim: Add vim/tiny-vim/gvim 7.2 (patchset 446)Michael Lippautz2011-04-181-0/+77
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>