Emacs-cvs uses the use variable gtk to decide whether or not to build with gtk+-2.x. IMHO it should instead use the gtk2 USE variable. Besides making good sense this will be helpful to those of us who have the variables "-gtk gtk2" set (in order to ensure precedence of gtk2 over gtk when both are available). Reproducible: Always Steps to Reproduce: 1. Built emacs-cvs with "-gtk gtk2" 2. 3. Actual Results: Got a Xaw3d based emacs Expected Results: built a gtk2 emacs
hi, I don't think thats the intented purpose of the gtk and gtk2 use flags. From /usr/portage/profiles/use.desc: 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. beware that gtk+-2 support can be bad. i think this bug is invalid. feel free to re-open if you disagree. Matt
I understand your point but perhaps you could do an or test on the use variable. If gtk or gtk2 then build with gtk support. The problem arises when individuals (like me) would prefer not to build gtk+-1.2 based interfaces at all (unless the package cannot be used) and for that reason include a -gtk flag. Perhaps this is more generally aimed at gtk and gtk2 use variables but I the definition from the description may not be the best. In another year or so when most every project has ported over excepting a few that have essentially unmaintained gui's, it seems like a natural response to unmerge gtk+-1.x and add -gtk to ones use variable to avoid have the old toolkit lying around. Anyways philosophical debate aside it makes sense to build a gtk interface when one has the gtk2 use variable set even if -gtk is set.
okay, i can agree with this. fixed in cvs. thanks, matt