Skip to contentSkip to conversation

vim: disable GTK+3 UI by default

PATCH New Ross Burton 1 participant 1 message Apr 22

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 meta/recipes-support/vim/vim.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/vim/vim.inc +1 -1
index 6f9b31d868a..d6fdf457069 100644
@@ -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 \
 "
 
Signature · 1 line
2.43.0