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

Torinthiel torinthiel at wp.pl
Tue Jan 20 16:50:07 CET 2004


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.

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.

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. 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.
Torinthiel

-- 
 Waclaw "Torinthiel" Schiller       GG#: 542916, 3073512
   torinthiel(at)wp(dot)pl
   gpg: B06901F1 fpr: FAA3 559F CAE9 34DE CDC8  7346 2B6E 39F2 B069 01F1
 "No classmates may be used during this examination"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040120/b98fbccc/attachment.pgp>


More information about the MPlayer-dev-eng mailing list