From owner-freebsd-multimedia@FreeBSD.ORG Wed Aug 28 16:20:35 2013 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3A3284D3; Wed, 28 Aug 2013 16:20:35 +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 B444A25CD; Wed, 28 Aug 2013 16:20:34 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 53CD41E00869; Wed, 28 Aug 2013 18:20:27 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.5/8.14.4) with ESMTP id r7SGJ85H053198; Wed, 28 Aug 2013 18:19:08 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.5/8.14.3/Submit) id r7SGJ7Bo053197; Wed, 28 Aug 2013 18:19:07 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Wed, 28 Aug 2013 18:19:07 +0200 To: =?iso-8859-1?Q?Micka=EBl?= Maillot Subject: Re: xbmc-pvr-addons: on the way to xbmc pvr Message-ID: <20130828161907.GA53039@triton8.kn-bremen.de> References: <20130818131337.GA40218@triton8.kn-bremen.de> <20130818162154.GA64130@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: nox@freebsd.org, Bernhard =?iso-8859-1?Q?Fr=F6hlich?= , Juergen Lock , multimedia@freebsd.org X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2013 16:20:35 -0000 On Wed, Aug 28, 2013 at 11:29:21AM +0200, Mickaël Maillot wrote: > Good jobs guys ! i happy to see PVR working on FreeBSD. > do you want me to send patch upstream ? > and i can commit on github xbmc/xbmc. > Yes please! :) (tho technically I can only speak for my vdr-plugin-vnsiserver patches that should all go in except for the patch-Makefile, decke will have to say about his patches.) Thanx you, Juergen (and decke probably too.) > > > > 2013/8/18 Juergen Lock > > > On Sun, Aug 18, 2013 at 05:45:26PM +0200, Bernhard Fröhlich wrote: > > > On Sun, Aug 18, 2013 at 3:13 PM, Juergen Lock > > wrote: > > > > On Sat, Aug 17, 2013 at 11:23:50AM +0200, Bernhard Fröhlich wrote: > > > >> Hi guys, > > > > Hi! > > > >> > > > >> now that we have xbmc 12.2 and tvheadend in the portstree the next > > > >> step to a proper PVR solution running on FreeBSD is to add the xbmc > > > >> pvr addons that allow to use various backends like tvheadend. > > > >> > > > >> I have already created a port for the pvr addons that builds and > > > >> installs just fine but for some reason xbmc doesn't like them and > > > >> doesn't even display them in the GUI or any errors in the logfile. > > > >> > > > >> To try out the xbmc-pvr-addons port: > > > >> svn co https://svn.redports.org/decke/multimedia/xbmc-addon-pvr > > > >> > > > >> It should build and install fine but it doesn't seem to have any > > > >> effect on xbmc. You can also build ZIP packages for the addons that > > > >> you can try to install via the Addon manager. > > > >> > > > >> Build zip addons: > > > >> cd xbmc-addon-pvr && make && cd work/xbmc-pvr-addons-12.0-Frodo && > > make zip > > > >> > > > >> Install ZIP addons: > > > >> > > http://wiki.xbmc.org/index.php?title=Add-on_manager#How_to_install_from_a_ZIP_file > > > >> > > > >> With the ZIP files I always get "Add-on does not have the correct > > > >> structure" immediately. No log message that tells why it's > > > >> complaining. > > > >> > > > >> > > > >> There was one error in the logfile with stock multimedia/xbmc 12.2 > > > >> that I fixed on the way: > > > >> ERROR: PVR - CreateTables - failed to get add-ons from the add-on > > manager > > > >> > > > >> I fixed it with the following patch that I also needed for > > xbmc-pvr-addons. > > > >> http://people.freebsd.org/~decke/patches/xbmc-12.2_1-addon-fix.diff > > > >> > > > >> > > > >> So we are pretty close to a working xbmc pvr because the requires > > > >> parts are all there already. We have an up-to-date xbmc 12.2 in the > > > >> tree. tvheadend with FreeBSD support from latest git is also available > > > >> in multimedia/tvheadend and works fine with webcamd devices. The > > > >> xbmc-pvr-addons port is also there already. All that is left is > > > >> getting that parts working in combination. > > > >> > > > >> I hope someone has an idea what is going on there or how to fix that. > > :o) > > > >> > > > > I finally got around looking at this and turns out the fix is really > > > > simple if you know it: xbmc seems to look for > > linux > > > > in the addon.xml files not freebsd. I added back freebsd too in > > > > case this gets fixed later tho. (first post-patch REINPLACE_CMD.) > > > > > > > > Index: Makefile > > > > =================================================================== > > > > --- Makefile (revision 15743) > > > > +++ Makefile (working copy) > > > > @@ -17,7 +17,6 @@ > > > > BUILD_DEPENDS+= xbmc:${PORTSDIR}/multimedia/xbmc > > > > RUN_DEPENDS+= xbmc:${PORTSDIR}/multimedia/xbmc > > > > > > > > -PATCH_ARGS= --suffix "" > > > > USE_GL= gl > > > > USE_AUTOTOOLS= libtoolize aclocal libtool automake autoconf > > > > MAKE_JOBS_SAFE= yes > > > > @@ -29,8 +28,10 @@ > > > > .include > > > > > > > > post-patch: > > > > + @${REINPLACE_CMD} 's|@OS@|freebsd linux|' \ > > > > + ${WRKSRC}/addons/*/addon/addon.xml.in > > > > @${REINPLACE_CMD} 's|-ldl||' \ > > > > ${WRKSRC}/addons/pvr.hts/Makefile.am > > > > - @${RM} ${WRKSRC}/addons/*/*.orig > > > > + @${RM} ${WRKSRC}/addons/*/*/*.orig > > > > > > > > .include > > > > > > > > HTH, :) > > > > Juergen > > > > > > Runtime testing showed that it works very nice now so I fixed a few > > > small things in the port and committed it as multimedia/xbmc-addon-pvr. > > > > > > So far I have only tested the pvr.hts plugin but there are many more to > > > test so feedback is welcome! :o) > > > > > > Thanks a lot! > > > > > And I just committed the updated multimedia/vdr-plugin-vnsiserver > > to work with the pvr.vdr.vnsi addon from your port. > > > > Thanx to you for working on this also, :) > > Juergen > >