From a07763f03d4faacca4470e4f1f80f766ed068296 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 22 Apr 2026 20:44:43 +0100 Subject: [PATCH] vim: disable GTK+3 UI by default 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 Signed-off-by: Richard Purdie --- meta/recipes-support/vim/vim.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 6f9b31d868..d6fdf45706 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 \ " -- 2.47.3