Bug 127143 - libXvMC can't find XvMCConfig
Bug#: 127143 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P1
Resolution: FIXED Assigned To: x11@gentoo.org Reported By: stevenrwalter@gmail.com
Component: Ebuilds
URL: 
Summary: libXvMC can't find XvMCConfig
Keywords:  
Status Whiteboard: 
Opened: 2006-03-21 20:39 0000
Description:   Opened: 2006-03-21 20:39 0000
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 From Steven Walter 2006-03-21 20:40:57 0000 -------
Created an attachment (id=82834) [details]
Hardcode XVMC_CONFIGDIR

This is always true on Gentoo; not sure where the current code works, but it
isn't here.

------- Comment #2 From Steven Walter 2006-03-21 20:41:54 0000 -------
Created an attachment (id=82835) [details]
Update ebuild to apply patch

Apply the patch in the previous attachment.  ${PATCHES} is a variable defined
in the x-modular eclass.

------- Comment #3 From Donnie Berkholz 2006-03-22 10:13:57 0000 -------
Fixed in -r1