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 1QfFaq-0006ew-2r for garchives@archives.gentoo.org; Fri, 08 Jul 2011 18:16:00 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD79B21C13D for ; Fri, 8 Jul 2011 18:15:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BA8D321C08D for ; Fri, 8 Jul 2011 17:50:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 06E372AC101 for ; Fri, 8 Jul 2011 17:50:56 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -4.918 X-Spam-Level: X-Spam-Status: No, score=-4.918 required=5.5 tests=[AWL=1.681, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VdWO5Bi6rMTM for ; Fri, 8 Jul 2011 17:50:49 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id B07BA2AC0F0 for ; Fri, 8 Jul 2011 17:50:45 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QfFCL-0008KQ-2D for gentoo-user@gentoo.org; Fri, 08 Jul 2011 19:50:41 +0200 Received: from athedsl-371613.home.otenet.gr ([79.131.3.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2011 19:50:41 +0200 Received: from realnc by athedsl-371613.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2011 19:50:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: Is Gentoo wiping out Gtk 2 support from packages that support it? Date: Fri, 08 Jul 2011 20:50:57 +0300 Organization: Lucas Barks Message-ID: References: <1310130876.229332.5.camel@localhost.localdomain> <1562264.5oy8gnuzIK@nazgul> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-371613.home.otenet.gr User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110705 Thunderbird/5.0 In-Reply-To: <1562264.5oy8gnuzIK@nazgul> X-Archives-Salt: X-Archives-Hash: 6f02c99802fbd5f4dfa952c7acc3cbe3 On 07/08/2011 06:19 PM, Alan McKinnon wrote: > On Friday 08 July 2011 09:14:36 Albert Hopkins did opine thusly: >> On Friday, July 8 at 13:11 (+0100), Stroller said: >>> Taking a look at this bug today, is there any reason why the >>> ebuild shouldn't simply RDEPEND="x11-libs/gtk+" (i.e. remove >>> the explicit dep on gtk3), detect what version you have >>> installed on your system and then either run --enable-gtk3 or >>> --enable-gtk2 during src_configure(), depending upon which >>> you're using? >> >> ebuilds generally don't do this, because it is bad. What you have >> and what you want aren't necessarily the same thing. Consider: >> >> * You don't yet have any gtk installed >> * You have gtk2 but actually *want* the gtk3 version, so you >> want the ebuild to pull in gtk3 (or vice versa) >> * You have both gtk2 and gtk3 installed. >> * You have gtk installed, but don't want gtk support for a >> particular package (if gtk support is optional for that >> package). > > easy. > > Two USE flags: gtk2 and gtk3 > > in ebuild: > > DEPEND=" > gtk2? (x11-libs/gtk+:2) > gtk3? (x11-libs/gtk+:3) > " Actually, it's better to have "gtk2" and "gtk". *Not* "gtk3". That would repeat the problems of the past (gtk1->gtk2.) But the devs have gone into ego-mode by now, so there's no chance in hell they would accept help or suggestions about this. It has reached the point where accepting a suggestion would mean "losing the argument" to them, so I doubt they'll do any of it as they don't want to "lose" to some n00b users.