pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/multimedia/xine-lib



On Mon, Jul 21, 2008 at 12:11:34AM +0000, David A. Holland wrote:
> 
> Module Name:  pkgsrc
> Committed By: dholland
> Date:         Mon Jul 21 00:11:34 UTC 2008
> 
> Modified Files:
>       pkgsrc/multimedia/xine-lib: Makefile Makefile.common PLIST.common
> 
> Log Message:
> Add libXvMC so the XvMC plugin is built and installed.
> Noted by Gilles Dauphin in PR 37895.
> PKGREVISION++.
> 
> Note: I've handled libXvMC the same way libXv is handled, which may not
> be optimal but is least likely to break anything.

Unfortunally this seems to be broken:

=> Checking file-check results for xine-lib-1.1.14nb1
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         /usr/pkg/lib/xine/plugins/1.23/xineplug_vo_out_xvmc.a
ERROR:         /usr/pkg/lib/xine/plugins/1.23/xineplug_vo_out_xvmc.so
ERROR:         /usr/pkg/lib/xine/plugins/1.23/xineplug_vo_out_xxmc.a
ERROR:         /usr/pkg/lib/xine/plugins/1.23/xineplug_vo_out_xxmc.so
*** Error code 1

Lets see.

Makefile.common:
+ PLIST_VARS+=          xvmc
+ .if ${X11_TYPE} == "modular"
+ .  include "../../x11/libXvMC/buildlink3.mk"
+ .endif
+ .if ${X11_TYPE} == "modular" || exists(${X11BASE}/lib/libXvMC.so)
+ CONFIGURE_ARGS+=      --with-xvmc-path='${X11BASE}/lib'
+ CONFIGURE_ARGS+=      --with-xxmc-path='${X11BASE}/lib'
+ PLIST.xvmc=           yes
+ .endif
+ 

> ls -la /usr/X11R6/lib/libXvMC.so
lrwxr-xr-x  1 root  wheel  12 Jul 27 19:16 /usr/X11R6/lib/libXvMC.so -> 
libXvMC.so.1

And from the configure run:

checking whether to enable the xxmc plugin with vld extensions... 
checking for XvMCPutSlice in -lXvMCW... no
*** Could not link with -lXvMCW for vld extensions.
checking for XvMCCreateContext in -lXvMCW... no
*** Could not link with -lXvMCW for standard XvMC.
*** Disabling xxmc plugin due to above errors.
checking whether to enable the xvmc plugin... 
checking for XvMCCreateContext in -lXvMCW... (cached) no
*** Could not link with -lXvMCW.
*** Disabling old xvmc plugin due to above errors.

IMHO you should remove the check for libXvMC.so or use libXvMCW.so instead.

Bernd



Home | Main Index | Thread Index | Old Index