| Message ID | 20260422194443.1844401-1-ross.burton@arm.com |
|---|---|
| State | Accepted, archived |
| Commit | a07763f03d4faacca4470e4f1f80f766ed068296 |
| Headers | show |
| Series | vim: disable GTK+3 UI by default | expand |
diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 6f9b31d868a..d6fdf457069 100644 --- a/meta/recipes-support/vim/vim.inc +++ b/meta/recipes-support/vim/vim.inc @@ -53,7 +53,7 @@ do_configure () { PACKAGECONFIG ??= "\ ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \ nls \ "
Disable the GTK+ UI by default. By having vim be always built with GTK+ by default installing vim results in the entire GTK+/X11 stack being pulled into images, even if they would otherwise be non-graphical. Also, real vim users run it in a terminal. The PACKAGECONFIG remains and can be enabled. Maybe a future improvement would be to split the recipe into non-X vim and GTK+-based gvim recipes. Signed-off-by: Ross Burton <ross.burton@arm.com> --- meta/recipes-support/vim/vim.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)