From owner-freebsd-ports@FreeBSD.ORG Sun May 31 21:02:33 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D94061065672; Sun, 31 May 2009 21:02:33 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: from mail-ew0-f212.google.com (mail-ew0-f212.google.com [209.85.219.212]) by mx1.freebsd.org (Postfix) with ESMTP id 44CEE8FC1A; Sun, 31 May 2009 21:02:33 +0000 (UTC) (envelope-from cptsalek@gmail.com) Received: by ewy8 with SMTP id 8so3963377ewy.43 for ; Sun, 31 May 2009 14:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=TzmiCCUjDNCPGmD0MAYSM2sv3a8evUsUwwUcOQ4Ai4o=; b=PZZiiZoKx112uACN9l7pLRkmSf3RCxiShw4FLqZsMo/bEdbE3z+oMOkKnEn3Y5PXwC hu/iIvzd60SN+GoAFqYGDFyY0byqVUMmo2yZHAOucp9gyrfd4MicZ9RGr2Jm9rzV2UEg XgqF0Y54rCTEWNtBxNmUEu8nreTIpcq16IUx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=X4TJw9QIy/i6DzN4PNDhJWG3g1e/cLc0+0v/EinYWXNVpexQe4ZH1VBnvM93zWXbMw Ki5GTe6cyngKfyYPwlGLhC8iUTZlTtfgJ+AlKRC8uOyb7IfihkVTkY2oGJKuyp91czcs 8tAvI7aiHEdgXUNl6Ol3cm8MrP0Qq+rge8pJY= MIME-Version: 1.0 Received: by 10.210.17.2 with SMTP id 2mr3101924ebq.58.1243802172947; Sun, 31 May 2009 13:36:12 -0700 (PDT) Date: Sun, 31 May 2009 22:36:12 +0200 Message-ID: <14989d6e0905311336x29088a3fg569216828edc446@mail.gmail.com> From: Christian Walther To: ports@freebsd.org, nobutaka@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: multimedia/libdvdnav and libdvdread, libdvdcss X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2009 21:02:34 -0000 Hi, today I wanted to dive into the adventure of getting my media players, including vlc, to work with encrypted DVDs. After several hours of work and a minor headache because of the results I figured out that libdvdnav doesn't really depend on multimedia/libdvdread, but comes with its own version. /usr/ports/multimedia/libdvdnav/work/libdvdnav-0.1.10/Changelog states: libdvdnav (0.1.9) * libdvdnav does not depend on libdvdread any more. It has it's own version. The problem is twofold: libdvdnav seems to "swallow" dvdreads contents, so there is no real dependency. All symbols from dvdread are just contained in libdvdnav. While this doesn't cause any dependency issues with multimedia/dvdread, it is impossible to enable CSS decryption in dvdnav. The port doesn't handle this situation, it still lists multimedia/libdvdread as a dependency. While it is possible to enable CSS decryption manually (make build, edit config.h and Makefiles) I was unable to get a result that was usable by VLC. It complains that there is no access module matching 'dvd'. I guess this is because I either used the wrong flags (or adding some -I, -L and -l flags to CFLAGS and LDFLAGS was insufficient), or because dvdnav expects the symbols from dvdcss to be found in its own library, too. I don't mind if anybody would tell me that I got it all wrong and that I just need to press the right buttons to get it working, so please correct me if I'm wrong. ;-) In all other cases it would be interesting to know how to proceed from here. Can anybody verify this issue? Should I open a PR? Regards Christian Walther