[MPlayer-dev-eng] Re: --enable-svga

D Richard Felker III dalias at aerifal.cx
Tue Jan 20 17:15:04 CET 2004


On Tue, Jan 20, 2004 at 04:50:07PM +0100, Torinthiel wrote:
> On Tue, Jan 20, 2004 at 09:16:34AM -0600, Joey Parrish wrote:
> > If you build MPlayer once, you only type configure once.
> > If you build MPlayer often, like most of the developers, then
> > your common options are probably in a shell script.  (Or am I
> > the only one?)
> 
> No, your not. I've also put all options in a script. I'm to lazy to
> remember all of them, not to mention typing them.

I think everyone has...

> Enricko: Damn, if you're creating your own distro then you can always
> create a shell script or program that knows what the user has and based
> on some 'if's passes --(dis|en)able to configure. You probably are going
> to create it anyway IIRC what you've wanted your build system to be. And
> watching for new configure options is part of package maintaining, as
> was said before.  Nevertheless it's quite easy. Every change is mailed
> to -cvslog, so just (quoting intentional ;) man 5 procmailrc

:)

> Oh, and if you really want to know a list of options to enable/disable
> something than here it is. Machine-doable. Find first line with --help.
> Line below has an 'EOF' string in it. Now process everything from next
> line to a line with only EOF in it - grep for lines containing --. You
> have option, description and in [] the default setting. Simple
> grep/sed/awk should do.

Yep.

> But if you want dependencies then it's impossible. At least not with any
> system I know. IF you write your XML-based one and take some time to
> make configuration for MPlayer I think (cannot assure you, as I'm not a
> core developer) it will be tested and maybe, if it works everywhere
> where the current one works and is much easier to maintain MPlayer will be
> switched.

ROTFL! Anything XML-based will never be included in MPlayer
source/build system.

> It has to be much better however, because this is something
> you've just disliked - adding another dependency to MPlayer, one to a
> not common project to make it worse. And the current configure is very
> readable, it took me less than 15min to understand it and make a patch
> that added some more autodetection and made it to CVS.

Yes, agree totally.

Rich




More information about the MPlayer-dev-eng mailing list