]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
vim: disable GTK+3 UI by default
authorRoss Burton <ross.burton@arm.com>
Wed, 22 Apr 2026 19:44:43 +0000 (20:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Apr 2026 09:48:55 +0000 (10:48 +0100)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/vim/vim.inc

index 6f9b31d868ae4105b01de362f0389d105533619a..d6fdf457069ab8426df8a5d5e9216113e07d88cd 100644 (file)
@@ -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 \
 "