Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 76747

Summary: No gtk2 gvim w/ only gtk2 flag set
Product: Gentoo Linux Reporter: Fanatic <blake_pettersson>
Component: New packagesAssignee: Vim Maintainers <vim>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Fanatic 2005-01-05 03:40:10 UTC
I don't have gtk1 installed on my system, so I had the gtk flag unset. When emerging gvim with the gtk2 flag set (and gtk unset) it builds a Xlib(?) gui instead of a gtk2 gui. After checking the vim.eclass I figured out why, both gtk and gtk2 has to be set in order for gvim to build w/ gtk2 support. 

Reproducible: Always
Steps to Reproduce:
1. USE="-gtk gtk2" emerge gvim
2.
3.

Actual Results:  
I got a basic Xlib (?) gui.

Expected Results:  
Built with gtk2 support.
Comment 1 Ciaran McCreesh 2005-01-05 03:47:48 UTC
gtk:  Adds support for x11-libs/gtk+ (The GIMP Toolkit)
gtk2: Use gtk+-2.0.0 over gtk+-1.2 in cases where a program supports both.

gvim's behaviour is correct.