Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 127143

Summary: libXvMC can't find XvMCConfig
Product: Gentoo Linux Reporter: Steven Walter <stevenrwalter>
Component: New packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Highest    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Hardcode XVMC_CONFIGDIR
Update ebuild to apply patch

Description Steven Walter 2006-03-21 20:39:50 UTC
x11-libs/libXvMC-1.0.1 can't find XvMCConfig.  When an application attempts to initialize XvMC, the message "can't open XConfigDir/XvMCConfig" is shown.

The problem appears to be the XVMC_CONFIGDIR is defined in Makefile.in, as though it should be substituted for the proper value, but it is not.  In any case, the proper value for Gentoo should always be /etc/X11.  Therefore, I'm attaching a patch to libXvMC and a patch to the ebuild which will apply it.

The patch is tested and working here on amd64.
Comment 1 Steven Walter 2006-03-21 20:40:57 UTC
Created attachment 82834 [details, diff]
Hardcode XVMC_CONFIGDIR

This is always true on Gentoo; not sure where the current code works, but it isn't here.
Comment 2 Steven Walter 2006-03-21 20:41:54 UTC
Created attachment 82835 [details, diff]
Update ebuild to apply patch

Apply the patch in the previous attachment.  ${PATCHES} is a variable defined in the x-modular eclass.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2006-03-22 10:13:57 UTC
Fixed in -r1