From owner-freebsd-ports@FreeBSD.ORG Sat Dec 17 19:40:11 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1939106564A; Sat, 17 Dec 2011 19:40:11 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 4BF128FC08; Sat, 17 Dec 2011 19:40:10 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 815F91E00170; Sat, 17 Dec 2011 20:40:09 +0100 (CET) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.4) with ESMTP id pBHJd3YF088353; Sat, 17 Dec 2011 20:39:03 +0100 (CET) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id pBHJd3Ub088352; Sat, 17 Dec 2011 20:39:03 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 17 Dec 2011 20:39:02 +0100 To: Juergen Lock Message-ID: <20111217193902.GA88180@triton8.kn-bremen.de> References: <20111119113719.GA20783@triton8.kn-bremen.de> <20111205185645.GA76468@triton8.kn-bremen.de> <3b76d03bf4984690e60f3c13e3eb84c8@bluelife.at> <20111212175834.GA66571@triton8.kn-bremen.de> <20111212180200.GA66794@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111212180200.GA66794@triton8.kn-bremen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-multimedia@freebsd.org, Bernhard Froehlich , freebsd-ports@freebsd.org Subject: Re: xbmc pvr in ports; update, please test with MythTV too! :) 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: Sat, 17 Dec 2011 19:40:11 -0000 Now updated the patch to release 57: http://people.freebsd.org/~nox/tmp/xbmc-pvr-ppa-odk57.patch I hope I can commit this and the vdr xvdr addon/plugin ports soon. :) Juergen On Mon, Dec 12, 2011 at 07:02:00PM +0100, Juergen Lock wrote: > On Mon, Dec 12, 2011 at 06:58:34PM +0100, Juergen Lock wrote: > > On Mon, Dec 12, 2011 at 02:54:11PM +0100, Bernhard Froehlich wrote: > > > On 12.12.2011 13:26, Bernhard Froehlich wrote: > > > > On 05.12.2011 19:56, Juergen Lock wrote: > > > >> I just updated to the latest release pvr-ppa-odk56: > > > >> > > > >> http://people.freebsd.org/~nox/tmp/xbmc-pvr-ppa-odk56.patch > > > >> > > > >> It would be nice if someone could verify this works with mythtv too > > > >> before I commit it... > > > > > > > > First thing I noticed was that XBMC_Mythtv.pvr should really be > > > > XBMC_MythTV.pvr because it complains in the logfile when loading the > > > > addon: > > > > > > > > ERROR: ADDON: Could not locate XBMC_MythTV.pvr > > > > > > > > Moving the file to > > > > /usr/local/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr > > > > gets it a step further. > > > > > > > > Next thing is an undefined symbol: > > > > > > > > ERROR: Unable to load > > > > /usr/local/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr, > > > > reason: /usr/local/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr: > > > > Undefined > > > > symbol "_ZTI14MythXmlCommand" > > > > > > > > It looks like this is part of libmythxml but It was not linked to the > > > > shared object. While searching for that problem I found the following > > > > commit which includes a hunk for xbmc/pvrclients/mythtv/Makefile.in > > > > and > > > > looks pretty right in what it does. But it's quite different code > > > > than > > > > what you have in your port. Are you sure you aren't using an old > > > > branch > > > > for the PVR code? > > > > > > > > > > > > http://xbmc.git.sourceforge.net/git/gitweb.cgi?p=xbmc/xbmc;a=patch;h=7e83f17 > > > > > > > > Both problems fixed with the attached patch. > > > > > > > > Now getting to the next undefined symbol: > > > > > > > > ERROR: Unable to load > > > > /usr/local/lib/xbmc/addons/pvr.mythtv/XBMC_MythTV.pvr, reason: > > > > /usr/local/lib/xbmc/add > > > > ons/pvr.mythtv/XBMC_MythTV.pvr: Undefined symbol "GetChannelsAmount" > > > > > > I got the plugin load correctly now with another patch that is > > > attached. After > > > setting the PIN in mythtv-setup it also connects fine to the backend > > > now but > > > I cannot import any channels into xbmc so I cannot even test watching > > > TV. > > > > > > It feels a lot like the code is unfinished or unmaintained and not > > > expected > > > to work with mythtv 0.24. The future also doesn't look good because I > > > found > > > in the MythTV wiki (http://www.mythtv.org/wiki/Category:MythXML): > > > > > > The MythXML interface has been rewritten for upcoming 0.25, and these > > > methods > > > will no longer be valid. > > > > > > So the xbmc pvr plugin for mythtv is kind of useless. > > > > Hm yeah as I posted on Saturday when Torfinn Ingolfsen did a first > > test (I think I even Cc'd you): > > > > Bad news: I asked on the xbmc-pvr channel and was told this mythtv > > addon hasn't been maintained for months i.e. it apparently bitrotted. > > There is a new one using libcmyth mentioned here: > > > > http://forum.xbmc.org/showthread.php?t=110694 > > > > only the git repo linked, > > > > https://github.com/tsp/xbmc > > > > is a fork of the entire opdenkamp xbmc pvr, so I guess I'll leave > > porting that to someone that actually uses mythtv i.e. not me... > > > > Sorry, :( > > Juergen > > And thanx for your testing effort! :) even if it didn't help... > > Juergen