Commit Graph

7 Commits

Author SHA1 Message Date
Mark Hatle
41f3f8165b vim: remove xfce vim bbappend
Changing the behavior of a recipe by including a layer is not allowed
by the yocto-check-layer script.

INFO: ======================================================================
INFO: FAIL: test_signatures (common.CommonCheckLayer)
INFO: ----------------------------------------------------------------------
INFO: Traceback (most recent call last):
  File "/poky/scripts/lib/checklayer/cases/common.py", line 53, in test_signatures
    self.fail('Adding layer %s changed signatures.\n%s' % (self.tc.layer['name'], msg))
AssertionError: Adding layer meta-xfce changed signatures.
19 signatures changed, initial differences (first hash before, second after):
   vim:do_install: 7f165dbd724ca0127dfb653ef0ecd8e7fb882713adedfd0e14f59d7f54cb645e -> 6e4a49063534d67f70186bf8bdb313184f42426e2c42b12b127638b586c7ffe8
      bitbake-diffsigs --task vim do_install --signature 7f165dbd724ca0127dfb653ef0ecd8e7fb882713adedfd0e14f59d7f54cb645e

fix by move the logic into recipe vim

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-28 09:42:11 -08:00
Martin Jansa
676a4c806c vim: use empty PACKAGECONFIG for vim-native
* otherwise it depends on gtk+-native and we don't need gtkgui enabled
  in native builds as vim-native was introduced only for xxd-native in:

  commit 1dff2351aa
  Author: Martin Jansa <Martin.Jansa@gmail.com>
  Date:   Fri Mar 10 11:55:44 2017 +0100

    vim: add native BBCLASSEXTEND

    * some recipes might use xxd
    * with stricter host binaries available in PATH:
      http://lists.openembedded.org/pipermail/openembedded-core/2017-March/133886.html
      we cannot use xxd from host and it's not so common to add it into
      HOSTTOOL_NONFATAL
    * there is also smaller solution for xxd -i (which is what I need):
      https://github.com/gregkh/xxdi
      but after creating xxdi-native recipe for this I've discovered that
      perl on my host as well as perlnative doesn't provide File::Slurp
      used by this, so adding BBCLASSEXTEND here is easier solution

    Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-24 08:07:53 -08:00
Ovidiu Panait
7b48bd2be9 vim: Enable GUI support for x11 DISTRO_FEATURES
Adding vim to a sato image will produce a non-working Gvim desktop entry
because GUI support is not compiled in:
# vim -g
E25: GUI cannot be used: Not enabled at compile time

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-01 06:57:14 -08:00
Ovidiu Panait
e49842903b vim: Fix "--enable-gtk2-test" unrecognized option error
Fix the following build error when vim PACKAGECONFIG[gtkgui] is enabled:
...
ERROR: vim-8.1.0347-r0 do_configure: QA Issue: vim: configure was passed
unrecognised options: --enable-gtk2-test [unknown-configure-option]
ERROR: vim-8.1.0347-r0 do_configure: Fatal QA errors found, failing task.
ERROR: vim-8.1.0347-r0 do_configure: Function failed: do_qa_configure
...

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-01 06:57:14 -08:00
Mingli Yu
6d9694f480 vim: improve reproducibility
Clear all_cflags, all_lflags, compiled_user
and compiled_sys to avoid introducing build
info to improve reproducibility as below:

WARNING: vim-8.1.0347-r0 do_package_qa: QA Issue: File /work/core2-64-wrs-linux/vim/8.1.0347-r0/packages-split/vim/usr/bin/vim.vim in package contained reference to tmpdir [buildpaths]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-02-01 06:57:14 -08:00
Dan McGregor
897c10b7c1 vim: alternatify xxd
toybox also provides xxd.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-10-18 14:19:37 -07:00
Randy MacLeod
3798321fc9 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>
2018-09-05 13:59:16 -07:00