Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26184 - net-irc/xchat ebuild has wrong USE flag. Should be 'gtk2', not 'gtk'.
Summary: net-irc/xchat ebuild has wrong USE flag. Should be 'gtk2', not 'gtk'.
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-08 01:03 UTC by Keith Constable
Modified: 2003-08-08 02:06 UTC (History)
1 user (show)

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


Attachments
Corrected ebuild. (xchat-2.0.4-r1.ebuild,1.37 KB, text/plain)
2003-08-08 01:25 UTC, Keith Constable
Details

Note You need to log in before you can comment on or make changes to this bug.
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.