Project

General

Profile

Add build for Debian Stretch

Added by Josu Lazkano over 8 years ago

Hello,

I is possible to add the Debian Stretch build in the bintray repository?

The stable Debian Jessie has an old kernel and I want to test new DVB hardware in the Tvheadend server.

If you need a build server, I could use one if you guide how to configure it.

Kind regards.


Replies (6)

RE: Add build for Debian Stretch - Added by Alfred Zastrow over 8 years ago

It is pretty easy to build yourself under Debian Stretch:

Install software as discribed here:

https://tvheadend.org/projects/tvheadend/wiki/Building

Then:

cd <your source space>

git clone https://github.com/tvheadend/tvheadend.git

cd tvheadend

./Autobuild.sh

RE: Add build for Debian Stretch - Added by Josu Lazkano over 8 years ago

Thanks Alfred,

But I prefer to get a updated repository for this.

Anyway, I will to try to compile it.

Kind regards.

RE: Add build for Debian Stretch - Added by Jonathan Thomson over 8 years ago

I think the wiki is out of date and depending upon what options you pass to the autobuild script it will fail on dependencies check - I know for sure that the dvb-tools package isn't listed as a dependency but it is and the build fails without it.

This is the ./configure options to build TVHeadend exactly as the repositories provide it;

./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-libffmpeg_static --enable-hdhomerun_static --enable-dvbcsa --enable-bundle --arch=x86_64

NOTE: This does NOT package the build into a .deb file but if it's to be installed on the same server that built it then that doesn't matter. If you do need to package the build up, use;

AUTOBUILD_CONFIGURE_EXTRA='--prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libexecdir=${prefix}/lib/tvheadend --disable-maintainer-mode --disable-dependency-tracking --enable-libffmpeg_static --enable-hdhomerun_static --enable-dvbcsa --enable-bundle' ./Autobuild.sh -t debian

Again using Autobuild has it's own list of dependencies which are again not listed in the wiki. When I get a moment I will provide the full dependencies list to build/package TVHeadend.

RE: Add build for Debian Stretch - Added by Josu Lazkano over 8 years ago

Thanks Jonathan,

I try the autobuild and it works!

Regards.

RE: Add build for Debian Stretch - Added by Alfred Zastrow over 8 years ago

Autobuils has the advantage, that you are getting installable deb-Packages at the end.
I'm building inside a Virtual-Box machine of my destop and I transfer this package into a local repo where my real runtime only tvh machine picks it up during update. Very nice.

br
Alfred

RE: Add build for Debian Stretch - Added by Josu Lazkano over 8 years ago

Thanks for all the replies,

How is the manager of the Tvheadend repository? I want to ask if it possible to add Debian Stretch on it.

It is very easy for me to add a repo and upgrade without install any compilation software.

Kind regards.

    (1-6/6)