Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 May 2009 05:12:33 -0400
From:      "Joseph S. Atkinson" <jsa@wickedmachine.net>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Cc:        jpaetzel@FreeBSD.org
Subject:   ports/134153: Fix multimedia/libxine with libdvdcss
Message-ID:  <1241255553.52414@mephisto.wickedmachine.net>
Resent-Message-ID: <200905020920.n429KXtE027391@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         134153
>Category:       ports
>Synopsis:       Fix multimedia/libxine with libdvdcss
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 02 09:20:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Joseph S. Atkinson
>Release:        FreeBSD 7.2-RC2 i386
>Organization:
>Environment:


System: FreeBSD 7.2-RC2 #0: Sat Apr 25 14:38:07 EDT 2009
    jsa@mephisto.wickedmachine.net:/usr/obj/usr/src/sys/MEPHISTO



>Description:


libxine expects to dlopen a static libdvdcss.so.2, but currently it sits at version 3. This patch, to be placed in multimedia/libxine/files/, changes the hardlink to the .so symlink. This not only allows fixes the problem currently, but should allow for future versions to work without need for further modification (until the ABI truly does break).

NOTE: There is a hook HAVE_DVDCSS_DVDCSS_H for building support proper, but this appears to be broken.

Thanks to jpaetzel for solving the mystery and rnoland for helping me try it out with dvdcss/dvdcss.h.


>How-To-Repeat:


Build multimedia/xine or multimdia/totem-xine, then try to watch a css encrypted dvd.


>Fix:


--- patch-src:libdvdnav:dvd_input.c begins here ---
--- src/input/libdvdnav/dvd_input.c.orig	2009-05-02 04:36:50.000000000 -0400
+++ src/input/libdvdnav/dvd_input.c	2009-05-02 04:40:01.000000000 -0400
@@ -369,7 +369,7 @@
 #elif defined(WIN32)
   dvdcss_library = dlopen("libdvdcss.dll", RTLD_LAZY);
 #else
-  dvdcss_library = dlopen("libdvdcss.so.2", RTLD_LAZY);
+  dvdcss_library = dlopen("libdvdcss.so", RTLD_LAZY);
 #endif
 
   if(dvdcss_library != NULL) {
--- patch-src:libdvdnav:dvd_input.c ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1241255553.52414>