Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352164 - net-irc/xchat local xchatnogtk USE-flag duplicates the effect of -gtk
Summary: net-irc/xchat local xchatnogtk USE-flag duplicates the effect of -gtk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-19 20:54 UTC by Pablo Barros
Modified: 2011-01-19 21:24 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 Pablo Barros 2011-01-19 20:54:26 UTC
Why do we keep a local USE flag when there is a global flag that does exactly the same? Wasn't the whole point of global USE flags to avoid the installation of unneeded/unwanted libraries? As it is, >=x11-libs/gtk+-2.10.0 is pulled even on a -gtk system, which is against the idea of setting the flag on the first place.

Reproducible: Always

Steps to Reproduce:
1. USE="-gtk" emerge xchat

Actual Results:  
GTK gets pulled in.

Expected Results:  
Having "-gtk" set globally should disable GTK entirely on the system, giving you only the text interface.

I understand that installing Xchat without a text interface may not be common, but if the USE flags are set in a given way, the whole tree should accept them. What makes Xchat so special that it can't follow what I set up, unless I set specific rules for it?
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-01-19 21:24:16 UTC
Pablo, you are completely right. This is no longer the preferred approach. I assume the xchatnogtk USE flag comes from times where portage wasn't able to enable USE flags by default.

Anyway I fixed this in the latest version:

+  19 Jan 2011; Lars Wendler <polynomial-c@gentoo.org> xchat-2.8.8-r1.ebuild:
+  Renamed xchatnogtk USE flag to gtk. Thanks to Pablo Barros for bringing my
+  attention to this ancient USE flag in bug #352164.