---------- Forwarded message ----------
From: Lucas C. Villa Real <[EMAIL PROTECTED]>
Date: May 17, 2006 6:16 PM
Subject: Re: [Gobolinux-recipes] FFMpeg CVS and dependencies
To: [EMAIL PROTECTED]


On 5/17/06, Laurent Pelecq <[EMAIL PROTECTED]> wrote:
Le Tue, 16 May 2006 21:31:33 -0300, "Lucas C. Villa Real"
<[EMAIL PROTECTED]> a dit :
> On 5/16/06, Laurent Pelecq <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I've succeeded in compiling FFmpeg CVS with ogg, vorbis, theora and faac
> > support. Recipe for Faac has been updated to pass configure arguments
> > to bootstap. Mpeg2Dec is just an update.
>
> Thanks, I've uploaded them all. BTW, I'm starting to fine-tune all
> Dependencies submitted together with recipes so that no non-mandatory
> dependency doesn't get in.

Do you mean that you are going to remove all optional dependencies ?
This may be a problem with recipes like FFmpeg. You would remove most
of what it can support. Maybe we would need a mechanism such as the
"suggested packages" en Debian. Compile would propose all dependencies
but some of them would be identified as optional.

I'm just removing things like Mplayer depending on Xorg, VLC depending
on AALib and so on. They're obvious dependencies added because
configure found them at compile time. If they're not explicitly listed
on configure_options and are known to be no-mandatory, they're
removed.

This optional dependencies proposal might be interesting to be
discussed on the devel mailing list, since this is a hot topic there
right now (I'm CC:'ing the devel list here).

The other problem with recipes like FFmpeg is that script configure
doesn't detect automatically what is available. A recipe with optional
dependencies would have to set the configure_options array accordingly.

I think the best thing to do is to define "standard"
configure_options, and let the user override that later in the command
line (with Compile --configure-options) or by modifying the recipe,
which might have some commented entries. The latter is already
happening in some recipes such as Qt, IIRC.

I've tried to reproduce the problem but it works. I don't know why but
that's nice :-) I've just have to patch a file because it didn't
compile with gcc 4. I've attached the recipe.

Thanks, commited!

--
Lucas
powered by /dev/dsp


--
Lucas
powered by /dev/dsp
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to