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

Bug 351082

Summary: media-video/mplayer-9999: wrong libdir for win32codecs
Product: Gentoo Linux Reporter: 5FBCDB43
Component: New packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED FIXED    
Severity: normal CC: spinal.by
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch
fixed patch

Description 5FBCDB43 2011-01-08 04:12:56 UTC
I'm on x86.
media-libs/win32codecs installs DLLs into /usr/lib/win32 but the MPlayer ebuild sets the dir to /opt/RealPlayer/codecs.

Reproducible: Always

Steps to Reproduce:
Comment 1 5FBCDB43 2011-01-08 04:13:17 UTC
Created attachment 259250 [details]
patch
Comment 2 5FBCDB43 2011-01-08 04:17:15 UTC
Created attachment 259251 [details, diff]
fixed patch

Checked win32codecs's ebuild and there was $(get_libdir) in there.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-01-16 10:45:20 UTC
Seems to apply to other mplayer versions as well.
Comment 4 Arthur D. 2012-01-09 13:32:13 UTC
The bug is still not fixed in any ebuild of mplayer. I just installed stable mplayer with win32codecs support and wasn't able to play some videos because of this bug.
I wanted to create new bugreport, but then I found this one. Why the patch is still not applied to portage?
Comment 5 Arthur D. 2012-01-09 13:37:34 UTC
This is the error I get when trying to play the videofile:

Loading codec DLL: 'vp7vfw.dll'
Win32 LoadLibrary failed to load: /opt/RealPlayer/codecs/vp7vfw.dll
Can't open library vp7vfw.dll

And I found this dll here:
/usr/lib/win32/vp7vfw.dll

Is there any more information you need to fix it?
Comment 6 Alexis Ballier gentoo-dev 2013-02-08 13:41:03 UTC
+  08 Feb 2013; Alexis Ballier <aballier@gentoo.org> mplayer-1.1-r1.ebuild,
+  mplayer-9999.ebuild:
+  let mplayer find by itself the binary codec dir, should fix bug #320087
+


please sync and rebuild mplayer and tell me if its good for you, it seems mplayer's configure will detect them automatically...