Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18828 - Emacs-cvs USE variables
Summary: Emacs-cvs USE variables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-05 20:30 UTC by David Escott
Modified: 2003-04-16 13:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Escott 2003-04-05 20:30:40 UTC
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
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2003-04-06 15:39:47 UTC
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
Comment 2 David Escott 2003-04-06 21:12:41 UTC
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.
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2003-04-16 13:14:20 UTC
okay, i can agree with this. fixed in cvs.

thanks, 
matt