Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 18828
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Matthew Kennedy (RETIRED) <mkennedy@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Escott <david.escott@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 18828 depends on: Show dependency tree
Bug 18828 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-04-05 20:30 0000
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 From Matthew Kennedy (RETIRED) 2003-04-06 15:39:47 0000 -------
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 From David Escott 2003-04-06 21:12:41 0000 -------
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 From Matthew Kennedy (RETIRED) 2003-04-16 13:14:20 0000 -------
okay, i can agree with this. fixed in cvs.

thanks, 
matt

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug