Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] xchat's use of local USE flag xchatnogtk
Date: Wed, 07 Apr 2004 06:51:17
Message-Id: 20040407065112.GA22786@lion.gg3.net
In Reply to: Re: [gentoo-dev] xchat's use of local USE flag xchatnogtk by Jason Huebel
1 maillog: 06/04/2004-20:54:30(+0000): Jason Huebel types
2 > Andrew Ross wrote:
3 > | Does anyone know why net-irc/xchat uses the local USE flag xchatnogtk
4 > | instead of looking at the global flag gtk?
5 > |
6 > |>From use.local.desc:
7 > | net-irc/xchat:xchatnogtk - Disables building the GTK front end to XChat
8 > |
9 > |>From use.desc:
10 > | gtk - Adds support for x11-libs/gtk+ (The GIMP Toolkit)
11 > |
12 > | Seems like xchatnogtk is simply duplicating the intended effect of -gtk
13 >
14 > Well, if you tie xchat to the global gtk USE flag, someone who installs
15 > xchat may wonder why it isn't working for them when they don't have gtk
16 > in their USE flags. Has anyone actually taken a look at xchat-text... UGH.
17 >
18 > I for one don't have gtk in my USE flags (I prefer KDE/Qt), but I use
19 > the gtk interface for XChat. The default interface that most people
20 > expect when installing xchat is the GTK interface, not text. Maybe a
21 > better choice would be to have an "xchattextonly" USE flag or something
22 > similar.
23
24 That's what per-package USE flags are for. It doesn't make any sense to create
25 extra local use flags, when the functionality is already there. Other examples include:
26
27 net-analyzer/mtr
28 sys-devel/distcc
29
30 --
31 / Georgi Georgiev / Here I am, fifty-eight, and I still don't /
32 \ chutz@×××.net \ know what I want to be when I grow up. -- \
33 / +81(90)6266-1163 / Peter Drucker /