diff options
author | Ovidiu Panait <ovidiu.panait@windriver.com> | 2019-02-01 10:07:20 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-02-01 06:57:14 -0800 |
commit | 7b48bd2be97408107c0dd3c74b1e28f042268457 (patch) | |
tree | dd7322b2b95bd696287f8e0753153b6d06dd8aba /meta-oe/recipes-support | |
parent | e49842903b64ada99bd3a428c20e8f31a206f37c (diff) | |
download | meta-openembedded-7b48bd2be97408107c0dd3c74b1e28f042268457.tar.gz |
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>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r-- | meta-oe/recipes-support/vim/vim_8.1.0347.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/vim/vim_8.1.0347.bb b/meta-oe/recipes-support/vim/vim_8.1.0347.bb index a561ad272..070583158 100644 --- a/meta-oe/recipes-support/vim/vim_8.1.0347.bb +++ b/meta-oe/recipes-support/vim/vim_8.1.0347.bb | |||
@@ -36,7 +36,10 @@ do_configure () { | |||
36 | 36 | ||
37 | #Available PACKAGECONFIG options are gtkgui, acl, x11, tiny | 37 | #Available PACKAGECONFIG options are gtkgui, acl, x11, tiny |
38 | PACKAGECONFIG ??= "" | 38 | PACKAGECONFIG ??= "" |
39 | PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)}" | 39 | PACKAGECONFIG += " \ |
40 | ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \ | ||
41 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \ | ||
42 | " | ||
40 | 43 | ||
41 | PACKAGECONFIG[gtkgui] = "--enable-gui=gtk2,--enable-gui=no,gtk+," | 44 | PACKAGECONFIG[gtkgui] = "--enable-gui=gtk2,--enable-gui=no,gtk+," |
42 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," | 45 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl," |