From: Ross Burton Date: Wed, 22 Apr 2026 19:44:43 +0000 (+0100) Subject: vim: disable GTK+3 UI by default X-Git-Tag: yocto-6.0~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a07763f03d4f;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git 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 --- 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 \ "