From: Brian Harring <ferringb@gentoo.org>
To: gentoo-dev@robin.gentoo.org
Subject: Re: [gentoo-dev] GTK und GTK2 Use Flag
Date: Tue, 29 Mar 2005 05:50:40 -0600 [thread overview]
Message-ID: <20050329115039.GB29694@exodus> (raw)
In-Reply-To: <20050329113538.GA4377@valinor.dynalias.net>
On Tue, Mar 29, 2005 at 12:35:38PM +0100, David Morgan wrote:
> On 13:24 Tue 29 Mar , Diego Flameeyes Petten? wrote:
> > On Tuesday 29 March 2005 13:11, Stefan Sperling wrote:
> > > On Tue, Mar 29, 2005 at 01:04:13PM +0200, Diego Flameeyes Petten? wrote:
> > > > -gtk +gtk2 is a no-op.
> > > why?
> > As Brian said, gtk2 depends on gtk.
> > Just as a practical example, take ethereal, which could be built without gui
> > support, just using tethereal.
> > If you build it with -gtk +gtk2, it will build tethereal, not ethereal. I
> > submitted some time ago a patch to make this a more logical behaviour, but I
> > needed to change it to suit the same behaviour of other packages. See bug
> > #81055.
> >
> > Take also amule which you can find on bugzilla as an example, which can be
> > built without gtk support, and on which gtk2 support depends on gtk.
> >
> > Or wxGTK in which +wxnogtk flag is used to disable gtk1 support (there's gtk2
> > flag but no gtk flag).
> >
> > I still think this is illogical, but I can't do much on this.
> >
>
> What if I want things to be built without gtk where ever possible, but I
> want things that have to use either gtk1 or gtk2 to use gtk2?
>
> Under the current method this is what -gtk gtk2 should do,
Actually, no. And that is why the gtk flags need changing. :)
current setup.
gtk ~= gtk support AND fall back to gtk v1 support.
gtk2 ~= use gtk v2 support in preference to v1 if available.
There is no way to state, "I want v2, and _only_ v2" without resorting
to a package.mask'ing of gtk-1*.
> since
> something that has to use gtk won't have a gtk flag, but if there's a
> choice between gtk1 and gtk2, it should have a gtk2 flag.
>
> I don't see how this would be possible under ferringb's scheme,
my scheme- gtk == *any* version, the user doesn't care.
gtk{1,2,3} == use that version.
So... if you had USE="gtk2 and gtk3", ebuilds would use v3 if
possible, otherwise v2. No gtk v1.
If you had USE="gtk gtk2", you prefer gtk v2., but will use what is
available (any version).
> so I
> prefer the current way (though if ferringb's way of doing it could be
> modified to do this without getting too ugly I'd be just as happy with
> that).
The current scheme sucks for those who want a gtk v2 only system. How
do you specify gtk v2 only under the current system using _just_ use
flags? You don't. :)
~brian
--
gentoo-dev@gentoo.org mailing list
next prev parent reply other threads:[~2005-03-29 11:50 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-29 10:15 [gentoo-dev] GTK und GTK2 Use Flag Fabian Zeindl
2005-03-29 10:58 ` Stefan Sperling
2005-03-29 11:04 ` Diego "Flameeyes" Pettenò
2005-03-29 11:11 ` Stefan Sperling
2005-03-29 11:24 ` Diego "Flameeyes" Pettenò
2005-03-29 11:35 ` David Morgan
2005-03-29 11:50 ` Brian Harring [this message]
2005-03-29 13:09 ` David Morgan
2005-03-29 13:39 ` Brian Harring
2005-03-29 14:19 ` David Morgan
2005-03-29 15:38 ` Stefan Sperling
2005-03-29 17:20 ` Markus Nigbur
2005-03-29 21:35 ` foser
2005-03-29 21:42 ` Ciaran McCreesh
2005-03-30 9:00 ` Paul de Vrieze
2005-03-29 22:29 ` Brian Harring
2005-03-29 22:46 ` Ciaran McCreesh
2005-03-29 23:09 ` Olivier Crête
2005-03-29 23:13 ` foser
2005-03-29 23:33 ` Brian Harring
2005-03-30 4:32 ` Dulmandakh Sukhbaatar
2005-03-30 8:44 ` Diego "Flameeyes" Pettenò
2005-03-29 11:05 ` Stefan Sperling
2005-03-29 11:11 ` Brian Harring
2005-03-29 20:49 ` Spider
2005-03-29 22:43 ` Brian Harring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050329115039.GB29694@exodus \
--to=ferringb@gentoo.org \
--cc=gentoo-dev@gentoo.org \
--cc=gentoo-dev@robin.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox