[MPlayer-cvslog] r23805 - trunk/configure
Luca Barbato
lu_zero at gentoo.org
Tue Jul 24 02:00:24 CEST 2007
Ivan Kalvachev wrote:
> 2007/7/18, Attila Kinali <attila at kinali.ch>:
>> On Tue, 17 Jul 2007 14:37:16 +0200 (CEST)
>> diego <subversion at mplayerhq.hu> wrote:
>>
>>> Do not test for the existence of device files during configuration,
>>> it fails for packagers, crosscompilers or other cases where the binaries
>>> are built on a machine different from the one they are run on.
>> Hm.. i would rather make a note in the binary packaging manual
>> that distributors are encouraged to build with --enable-mga --enable-xmga
>> instead of disabling this test. Most people still build mplayer
>> themselves. Ie with mga_vid always enabled they will have to build
>> two big drivers all the time although they will never need it
>> (the mga_vid user base is quite small).
>>
>> Crosscompilers are a different case. Those rather tend not
>> to use mga_vid as most crosscompilation is for embedded
>> systems that do not use matrox graphics cards. And even
>> if they would, they can easily enable it by hand during
>> configure.
>>
>> So, i suggest to revert the mga_vid part of this commit completely.
>
> 10l cola
>
> I complained yesterday to diego (on irc) about broken compilation on
> the mga driver (something to do with latest kernel and probably missed
> include).
>
> However I'm outraged. The mga driver is now build on default on all
> linux platforms, no matter if there is or not Matrox card. This should
> not be so:
>
> -If the device test is not reliable (and on properly configured system
> that plugs all modules for existing devices it should be there), then
> a more reliable test should be used. E.g. using lspci to find matrox
> cards (it's linux tool). However I can't recall somebody complaining
> from the old test.
>
> -If distro-packages do not follow our recommendations there is no
> point in forcing them. They will just disable it, anyway.
>
> - I believe that crosscompilation also requires few more option than
> usual and also extensive reading of the manual, so --enable-mga won't
> be too big burden. (and as it was already pointed embedded devices
> don't have mga :)
>
> - vo_mga have higher priority because it is faster than the default
> matrox xv driver. AND because vo_mga is compiled only for system with
> Matrox (or by package maintainers that know what they do).
>
> -Matrox owners are quite few (mplayer developers are not
> representative group), it would be useless cruft for about 99% of
> them. Makes MPlayer bigger, starting slower and outputs more alerting
> messages. And slows down compilation.
>
>
> I'm going to disable building of mga driver by default.
>
I'm ok with that...
lu
--
Luca Barbato
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
More information about the MPlayer-cvslog
mailing list