Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it?
Date: Fri, 08 Jul 2011 14:06:31
Message-Id: 1310130876.229332.5.camel@localhost.localdomain
In Reply to: Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it? by Stroller
1 On Friday, July 8 at 13:11 (+0100), Stroller said:
2
3 > Taking a look at this bug today, is there any reason why the ebuild
4 > shouldn't simply RDEPEND="x11-libs/gtk+" (i.e. remove the explicit dep
5 > on gtk3), detect what version you have installed on your system and
6 > then either run --enable-gtk3 or --enable-gtk2 during src_configure(),
7 > depending upon which you're using?
8 >
9 ebuilds generally don't do this, because it is bad. What you have and
10 what you want aren't necessarily the same thing. Consider:
11
12 * You don't yet have any gtk installed
13 * You have gtk2 but actually *want* the gtk3 version, so you want
14 the ebuild to pull in gtk3 (or vice versa)
15 * You have both gtk2 and gtk3 installed.
16 * You have gtk installed, but don't want gtk support for a
17 particular package (if gtk support is optional for that
18 package).

Replies

Subject Author
Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it? Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Is Gentoo wiping out Gtk 2 support from packages that support it? Stroller <stroller@××××××××××××××××××.uk>