[EMAIL PROTECTED] wrote:
> Anssi Hannula skrev:
>
>>[EMAIL PROTECTED] wrote:
>>
>>
>>>Anssi Hannula skrev:
>>>
>>>
>>>>It is now built against XvMCW by default, which is a dynamic wrapper for
>>>>XvMC drivers. You just need to put the location of the XvMC driver you
>>>>want to /etc/X11/XvMCConfig. I don't see any downsides in this, and it
>>>>appears mythtv devs don't either, as it's not possible to use anything
>>>>
>>>>
>>>>else than XvMCW without patching configure.
>>>>
>>>
>>>that is not really true, it does support building against XvMCNVIDIA
>>>without patching.
>>>
>>
>>I don't see how. Do you want to tell me?
>>
> It is atodetected at build if the needed headers are available
> this is actually the main reson that i created my first nvidia rpms
> since the official ones from mandriva did not provide it.
>
> %if %{build_xvmcnvidia}
> BuildRequires: nvidia-devel
> BuildRequires: libxorg-x11-devel
>
>
> %if %{build_xvmcnvidia}
> --enable-xvmc --disable-xvmc-pro \
>
> and i do a small change for this
>
>
> perl -pi
> -e's,VENDOR_XVMC_LIBS="-lXvMCNVIDIA",VENDOR_XVMC_LIBS="-lXvMCNVIDIA
> -lXv",' configure
>
> so you see it is there
>
No, look at configure lines 2053-2078.
The structure is as follows:
if has_library libXvMCW; then
use it
else if has_library libviaXvMCPro; then
use it
else if has_library libviaXvMC; then
use it
else if has_library libXvMCNVIDIA; then
use it
else if has_library libI810XvMC; then
use it
As you can see, there is no chance for the nvidia library to be
selected, as libXvMCW is first and it is provided by libxorg-x11-devel
--
Anssi Hannula
_______________________________________________
PLF-discuss mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-discuss