From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NeRv4-0004Nh-2m for garchives@archives.gentoo.org; Mon, 08 Feb 2010 11:36:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BCD5E0AF8; Mon, 8 Feb 2010 11:36:43 +0000 (UTC) Received: from mail.apserver.co.uk (server2.alteredperspective.co.uk [212.13.194.103]) by pigeon.gentoo.org (Postfix) with ESMTP id D9457E0ABA for ; Mon, 8 Feb 2010 11:36:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.apserver.co.uk (Postfix) with ESMTP id 47CFF94152 for ; Mon, 8 Feb 2010 11:36:38 +0000 (GMT) Received: from mail.apserver.co.uk ([127.0.0.1]) by localhost (server2.alteredperspective.co.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QcbnMIWWqR2s for ; Mon, 8 Feb 2010 11:36:36 +0000 (GMT) Received: from [192.168.1.11] (cpc2-ashf2-0-0-cust203.asfd.cable.ntl.com [81.109.96.204]) by mail.apserver.co.uk (Postfix) with ESMTPSA id 9DFD794151 for ; Mon, 8 Feb 2010 11:36:36 +0000 (GMT) Message-ID: <4B6FF744.9080305@allenjb.me.uk> Date: Mon, 08 Feb 2010 11:36:36 +0000 From: AllenJB User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.1.23) Gecko/20091105 Lightning/0.9 Thunderbird/2.0.0.23 Mnenhy/0.7.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] "X" vs "gtk" USE flags References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: fe196ea2-31f2-45ba-ace6-833f4832c0d3 X-Archives-Hash: 4fe84a99adba98537526aa93ba50cefc On 08/02/10 11:15, Nikos Chantziaras wrote: > Hello. Please don't be too harsh if I got this wrong or if this looks > like whining :P > > A lot of ebuilds seem to ignore the "X" USE flag and instead only have > "gtk", "qt" and the like. This should be declared absolutely wrong, > IMHO. When a program provides a command-line tool and a GUI tool, and > the GUI tool uses only one toolkit, then the USE flag should be "X". > "gtk" vs "qt" vs "fltk" etc should be used only in cases where a program > can be built with either of those toolkits. When there's only one > choice, then this doesn't make sense. Isn't this what the "X" USE flag > is there for in the first place? Having a package where, say, Gtk is > *not* optional having a "gtk" USE flag doesn't make sense. The X tool > of that package is optional, but Gtk is not optional for the X tool. > > A Gnome user probably has "X gtk -qt" in make.conf, while a KDE user has > "X qt -gtk" in hope to have programs that support both Gtk and Qt being > built with the toolkit that is more native to his DE. When a package > has a GUI tool that is able to only use one of those toolkits, people > who have it disabled in make.conf will get no GUI tool at all even > though they have "X" in their USE flags. > > I hope I was able to explain the problem (as I see it) correctly :P If > people agree with me, it might be a good idea for maintainers of > packages that behave like that to start using "X" as the USE flag that > controls building of the packages GUI tools. > > I don't see that either system makes particularly more sense than the other. The only situation that comes immediately to mind is: Under the current system, if packages add or remove support for multiple toolkits, the changes are trivial, but under your system it would invoke shuffling use flags around (which could easily affect dependencies in other packages). It would also not be immediately clear which toolkits support has been added/removed under the proposed system (since a package would go from, for example, having use flags "gtk kde" to just "X"). Of course, even if your system was saner, the ultimate question is: Who's going to run through all the graphical packages and update all the use flags and dependencies? AllenJB