From owner-freebsd-multimedia@FreeBSD.ORG Fri Aug 30 06:43:13 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 40DE390C for ; Fri, 30 Aug 2013 06:43:13 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 043AB29B8 for ; Fri, 30 Aug 2013 06:43:12 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id xn12so1483724obc.20 for ; Thu, 29 Aug 2013 23:43:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bluelife.at; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=JQf03NbFhyhboksgoXF3nL8ardk8ONqDLRFk8Yf+5pc=; b=QaqRRlO1V/JbNq89YQcUP8P+xF3IvXv46iO09Tu/nFBoQa0Blp32EQJL12abN1d0hx mC/CQRUTtYbQp1I6a1lSGH0p+kV+cyeVwrQqV8tacAHvzErEDhB0ih5u9FAuPJmRE8gt Q5Il5xVxaN3bEqnSNoQF89auV5eSL8ESgDjeA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=JQf03NbFhyhboksgoXF3nL8ardk8ONqDLRFk8Yf+5pc=; b=Aa4I/IIMD3szSy7erujEymVOTUl+ujygx6rrucg5+KgPivfRL+C5nJkuYN6ZJkzE6F Ecil0/olSBCCIDIQXq/Dno1c/l6JpYbARXU+zNbALDGWu0o3bgUq63IBDrecxrIJiztO ADfqBVFh1eJMdMLQ3I7dp8IPa8hnp5VBJludC8oRghxk5qwxV2rSpX6Azu+GE+vKqnbL QG+JumuZ77S2M4TmYwEOguzydeuA3bPxY7Q8D6j2RHEPSEH6Io06i316jjRNltCVaJkc s3tcyd5Jh+t4QqJzAAiLqY4Zb02x5c9ym9HXFal2w8wdu8xCqdE7LAHAqKa4aRYoA3co i3Mg== X-Gm-Message-State: ALoCoQnndGVBaxhuaO9Wem76c63OxWisbXrhUyMot0t5ExBqc7xNiMbXcydJR0ZZ7A1f52DxCL+h MIME-Version: 1.0 X-Received: by 10.182.101.198 with SMTP id fi6mr5595961obb.79.1377844992094; Thu, 29 Aug 2013 23:43:12 -0700 (PDT) Received: by 10.76.81.4 with HTTP; Thu, 29 Aug 2013 23:43:11 -0700 (PDT) X-Originating-IP: [80.123.233.199] In-Reply-To: <20130828161907.GA53039@triton8.kn-bremen.de> References: <20130818131337.GA40218@triton8.kn-bremen.de> <20130818162154.GA64130@triton8.kn-bremen.de> <20130828161907.GA53039@triton8.kn-bremen.de> Date: Fri, 30 Aug 2013 08:43:11 +0200 Message-ID: Subject: Re: xbmc-pvr-addons: on the way to xbmc pvr From: =?ISO-8859-1?Q?Bernhard_Fr=F6hlich?= To: Juergen Lock Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: nox@freebsd.org, 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: Fri, 30 Aug 2013 06:43:13 -0000 Yeah it would be awesome to commit them upstream but my patches for xbmc-addon-pvr are almost all to add FreeBSD as an architecture. Since this also would need to be the same in xbmc itself it does not make sense yet to send them upstream. The only patch that could go upstream right now is the one for configure: http://svnweb.freebsd.org/ports/head/multimedia/xbmc-addon-pvr/files/patch-= configure.ac?revision=3D324927&view=3Dco If someone wants to spend some time to add FreeBSD architecture to the xbmc addon system the patches in xbmc-addon-pvr are a good start and the patch to libXBMC/addon.h can be the same for xbmc. http://svnweb.freebsd.org/ports/head/multimedia/xbmc-addon-pvr/files/patch-= xbmc__libXBMC_addon.h?revision=3D324927&view=3Dco On Wed, Aug 28, 2013 at 6:19 PM, Juergen Lock wrot= e: > On Wed, Aug 28, 2013 at 11:29:21AM +0200, Micka=EBl 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=F6hlich 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=F6hlich wrot= e: >> > > >> Hi guys, >> > > > Hi! >> > > >> >> > > >> now that we have xbmc 12.2 and tvheadend in the portstree the nex= t >> > > >> step to a proper PVR solution running on FreeBSD is to add the xb= mc >> > > >> 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 th= at >> > > >> 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=3DAdd-on_manager#How_to_install_f= rom_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.di= ff >> > > >> >> > > >> >> > > >> 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 t= he >> > > >> tree. tvheadend with FreeBSD support from latest git is also avai= lable >> > > >> 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 t= hat. >> > :o) >> > > >> >> > > > I finally got around looking at this and turns out the fix is rea= lly >> > > > 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 >> > > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> > > > --- Makefile (revision 15743) >> > > > +++ Makefile (working copy) >> > > > @@ -17,7 +17,6 @@ >> > > > BUILD_DEPENDS+=3D xbmc:${PORTSDIR}/multimedia/xbmc >> > > > RUN_DEPENDS+=3D xbmc:${PORTSDIR}/multimedia/xbmc >> > > > >> > > > -PATCH_ARGS=3D --suffix "" >> > > > USE_GL=3D gl >> > > > USE_AUTOTOOLS=3D libtoolize aclocal libtool automake autoconf >> > > > MAKE_JOBS_SAFE=3D 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-p= vr. >> > > >> > > 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 >> > --=20 Bernhard Fr=F6hlich http://www.bluelife.at/