From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.3/8.13.3) with ESMTP id j2TBBeXF032230 for ; Tue, 29 Mar 2005 11:11:41 GMT Received: from adsl-67-39-48-198.dsl.milwwi.ameritech.net ([67.39.48.198] helo=exodus) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1DGEdI-0003JD-Da for gentoo-dev@robin.gentoo.org; Tue, 29 Mar 2005 11:11:40 +0000 Date: Tue, 29 Mar 2005 05:11:44 -0600 From: Brian Harring To: gentoo-dev@robin.gentoo.org Subject: Re: [gentoo-dev] GTK und GTK2 Use Flag Message-ID: <20050329111142.GA29694@exodus> References: <42492AB5.8080903@gmx.at> <20050329105857.GA9909@stud.seeling33.de> Precedence: bulk List-Post: , , List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-To: gentoo-dev@gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050329105857.GA9909@stud.seeling33.de> User-Agent: Mutt/1.5.6i X-Archives-Salt: 5c5eff0f-a3ff-4532-b913-46a6ee7b228f X-Archives-Hash: 6e8bb56d1f82304a19f1e41d42b4dbeb On Tue, Mar 29, 2005 at 12:58:57PM +0200, Stefan Sperling wrote: > On Tue, Mar 29, 2005 at 12:15:17PM +0200, Fabian Zeindl wrote: > > Hello > > > > There was a discussion on the gentoo-user-de list about this two > > Useflags: gtk and gtk2. Because not everybody is sure what the mean, so > > if you have -gtk +gtk2 some think that gtk2 should be installed and soon. > > There are lots of useflags that don't install anything. > Take the new mp3 useflag for example, used by beep-media-player. > would you expect it to install a program called 'mp3'? :) > > > Wouldn't it be better if "gtk" meaned that the newest available gtk > > version ist installed (gtk1 or gtk2) and a flag like oldgtk take the > > older version gtk1. > > As soon as gtk3 comes along, you scheme won't work anymore. > > Some programs use gtk1 only, some gtk2 only, and a few have > support for both. As there is not much point in using both > of them at runtime, if you use +gtk2, programs that support > both will use gtk2. A saner (and previously proposed) approach would be gtk ~= gtk support. *any* version. gtk1 = gtk v1 support gtk2 = gtk v2 support gtkN = gtk vN support. With the current approach, gtk2 is dependant on gtk; above approach breaks the dependency between the two flags, and gives the user the ability to control explicitly what versions are used, rather then the partial crapshoot it is now. If they want *just* v2 support, above allows it w/out resorting to a package.mask. ~brian -- gentoo-dev@gentoo.org mailing list