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

Bug 26184

Summary: net-irc/xchat ebuild has wrong USE flag. Should be 'gtk2', not 'gtk'.
Product: Gentoo Linux Reporter: Keith Constable <kccricket>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED INVALID    
Severity: minor CC: mr_bones_
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Corrected ebuild.

Description Keith Constable 2003-08-08 01:03:50 UTC
Each ebuild for net-irc/xchat version 2.0.x has 'gtk?' as one of its RDEPENDs. 
This is an inconsistency.  xchat optionally depends on >=x11-libs/gtk+-2.0.3. 
x11-libs/gtk+-2.0.3 falls under the USE flag 'gtk2,' not 'gtk.'

Reproducible: Always
Steps to Reproduce:

Actual Results:  
In the case of xchat, USE="-gtk" causes a terminal-based X-less interface to be
built.  This is incorrect since xchat uses gtk2 and not gtk.

Expected Results:  
Users, including myself, often have USE="-gtk gtk2" to build a gtk2 interface if
it is available.  xchat has one such interface available.
Comment 1 Keith Constable 2003-08-08 01:25:33 UTC
Created attachment 15734 [details]
Corrected ebuild.

It works for me like this.  Basically changed each 'gtk' to 'gtk2.'  I added
'-r1' to the version string.  You'll have to add the GNU and CVS version
headers again, I removed them.
Comment 2 Keith Constable 2003-08-08 01:26:46 UTC
Comment on attachment 15734 [details]
Corrected ebuild.

It works for me like this.  Basically changed each 'gtk' to 'gtk2.'  I added
'-r1' to the version string.  You'll have to add the GNU and CVS version
headers again, I removed them.
Comment 3 foser (RETIRED) gentoo-dev 2003-08-08 02:06:43 UTC
this is not correct, read the description of the relevant USE flags carefully. gtk2 USE is only used when there is a choice between gtk1 and gtk2 .

There are similar bugs around, please search before you submit bugs.