From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 57AED138CEF for ; Wed, 12 Feb 2014 06:27:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DB5DE0B83; Wed, 12 Feb 2014 06:27:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C186E0ADE for ; Wed, 12 Feb 2014 06:27:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D41A433F9FE for ; Wed, 12 Feb 2014 06:27:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Flag: NO X-Spam-Score: -1.32 X-Spam-Level: X-Spam-Status: No, score=-1.32 tagged_above=-999 required=5.5 tests=[AWL=-0.669, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.649, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no Received: from smtp.gentoo.org ([IPv6:::ffff:127.0.0.1]) by localhost (smtp.gentoo.org [IPv6:::ffff:127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KUx_OIZv1fXY for ; Wed, 12 Feb 2014 06:27:24 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C910A33F9EF for ; Wed, 12 Feb 2014 06:27:23 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WDTHy-0001u9-V1 for gentoo-dev@gentoo.org; Wed, 12 Feb 2014 07:27:18 +0100 Received: from 71-17-69-121.yktn.hsdb.sasknet.sk.ca ([71.17.69.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Feb 2014 07:27:18 +0100 Received: from dirtyepic by 71-17-69-121.yktn.hsdb.sasknet.sk.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Feb 2014 07:27:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Ryan Hill Subject: [gentoo-dev] Re: RFC: GTK USE flag situation (gtk, gtk2, gtk3; relevant to bug #420493) Date: Wed, 12 Feb 2014 00:27:03 -0600 Organization: Gentoo Message-ID: <20140212002703.0fdccd67@caribou.gateway.pace.com> References: <20140211223913.GB26141@fury> <1392160421.31609.2.camel@kanae> <52FAC142.3000602@gentoo.org> 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 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/q5fc4VO/vcd+jRrwGz2GPlT"; protocol="application/pgp-signature" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 71-17-69-121.yktn.hsdb.sasknet.sk.ca X-Newsreader: Claws Mail 3.9.3 (GTK+ 2.24.22; x86_64-pc-linux-gnu) X-Archives-Salt: e4ecc54d-0799-4ece-9d37-ce800a299b86 X-Archives-Hash: 53a14c6df67d69dd06fae063bb94b614 --Sig_/q5fc4VO/vcd+jRrwGz2GPlT Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Tue, 11 Feb 2014 19:33:06 -0500 Chris Reffett wrote: > This doesn't make sense to me at all. I can't see why slotted > libraries can't just use USE flags to specify what toolkit they're > built against, just like any other package in the tree (so, for > example, a package that needs webkit-gtk built against gtk3 would > depend on webkit-gtk[gtk3] instead of webkit-gtk:3). I'm well aware > that there could be limitations I'm unaware of (maybe the package only > can build one at a time?), but this is how it looks to me. By > switching to versioned gtk flags, this kills two birds with one stone: > it makes it obvious to the end user which version they're trying to > build their package against, and it gets rid of the need for (ab)using > revision numbers to implement slots like that. Exactly. For wxGTK my options are using a gtk3 USE flag, adding a whole new wxGTK-gtk3 ebuild, or using a 3.0-gtk3 SLOT and some clumsy -r300 thing. The second option brings along a nightmare of file collisions (we have enou= gh trouble supporting multiple installed versions, never mind multiple toolkits within those versions), and the last option isn't actually feasible because everything in the eclass/eselect is tied directly into the SLOT. --=20 Ryan Hill psn: dirtyepic_sk gcc-porting/toolchain/wxwidgets @ gentoo.org 47C3 6D62 4864 0E49 8E9E 7F92 ED38 BD49 957A 8463 --Sig_/q5fc4VO/vcd+jRrwGz2GPlT Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBCgAGBQJS+xQ8AAoJEO04vUmVeoRjeUcIAKxzMkPQiE8V81a7wKkRXAKt e75DZKByV/puJR4StVNN0M7dMR3DTE9Z+/IxokioTVSG0xz+xp7eWLrEOQmdBOgO NMCUqWAUHcrbabLFk1fvoo4C05aWcit1/cJXS93EK4PpbA3Dh7MJNMhXhPM4lI4X rnKfAiOmevEZTa9JaMnNo8+kWI5JBFx3ESG+VDge7waoPNeYSfe4mAlPqONaQujN T4Su6emQoGaD255kWiIajB9jUMUjwIybQgPDRAt+2d8DFMvNs9sVHrrMqhbOTPqG zjWhTHOtq/CyX6KrFLarejngvt0p9MiTQQvd2hcrCHq8MPWdR1FUfI8B9T2tkk8= =VhN/ -----END PGP SIGNATURE----- --Sig_/q5fc4VO/vcd+jRrwGz2GPlT--