Web lists-archives.com

Re: [MPlayer-dev-eng] [PATCH] configure: remove support for internal libdvd*.




Reimar Döffinger wrote on Sat, 25 Oct 2014 15:50:08 +0200:

> On Sat, Oct 25, 2014 at 03:43:12PM +0200, Nicolas George wrote:
>> Le quartidi 4 brumaire, an CCXXIII, Reimar Döffinger a écrit :
>> > Thanks, I didn't have old version around to test that.
>>
>> Note that I could only test the build, not running with a DVD.

> If you could it most likely wouldn't work because you don't have
> libdvdcss2 installed :)
> (dlopen is used to load it, so you do not notice it missing
> compile-time)

Either you let libdvdread use dlopen or you compile libdvdread directly
against libdvdcss. Unfortunately, we currently don't support this and
compiling fails with unresolved references to libdvdcss, because libdvdread
"Requires.private"ly libdvdcss in its pkg-config file in that case.

In order to fix it pass the --static option to pkg-config for libdvdread. It
won't hurt if libdvdread hasn't been built against libdvdcss, but will add
the necessary -ldvdcss if it has.

Ingo
Index: configure
===================================================================
--- configure	(revision 37411)
+++ configure	(working copy)
@@ -747,7 +747,7 @@
 _dvdnav=auto
 _dvdnavconfig="pkg-config dvdnav"
 type dvdnav-config >/dev/null 2>&1 && _dvdnavconfig=dvdnav-config
-_dvdreadconfig="pkg-config dvdread"
+_dvdreadconfig="pkg-config dvdread --static"
 type dvdread-config >/dev/null 2>&1 && _dvdreadconfig=dvdread-config
 _dvdread=auto
 _xanim=auto
_______________________________________________
MPlayer-dev-eng mailing list
MPlayer-dev-eng@xxxxxxxxxxxx
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng