[Unofficial] Raspberry Pi / armhf builds
Added by Jonathan Thomson over 8 years ago
As a way of giving something back to the community, I have set up a bintray repository for some Raspberry Pi / armhf builds of TVHeadend. I am by no means promising to keep this bang up to date, but I'll add releases as and when I can.
Check the changelog below for details about what packages are in this repository - the aim is to maintain a stable and unstable branch.
I have implemented a BuildBot script on the Pi that is building these files. The purpose of the BuildBot is to check out the new code, compile it into a redistributable Debian (.deb) archive and automatically publish it to Bintray. This is an ALPHA-like trial at the moment as I need to wait for a change to the 4.1 branch to check that it works end-to-end. The benefit of this is that new builds will be uploaded to Bintray within 24 hours of the code being added to Github - I'll review these timings later providing the script works as expected, with the aim of doing 4 build cycles per branch (4 stable and 4 unstable) per day - that will cut the 24 hour wait down to a maximum of 8 hours delay between Github and my Bintray repository.¶
To set up my this repository;
$ sudo nano /etc/apt/sources.list
add the following to the sources.list file
deb https://dl.bintray.com/djbenson/deb wheezy stable (for the stable wheezy branch) deb https://dl.bintray.com/djbenson/deb wheezy unstable (for the unstable/nightly wheezy branch)
NOTE: Remember, even if you are running Jessie, you MUST add the wheezy repository to get my builds. I will move to Jessie at some point but for now wheezy builds work fine on Jessie and cover the two most used Raspbery Pi operating systems in use at the moment.¶
Save and exit (CTRL+O then CTRL+X)
The following may be necessary on a clean Debian install (thanks to Mike Somerville for this tip)
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
This adds the keys required to download software from bintray without receiving signature errors.
$ sudo apt-get update $ sudo apt-get install tvheadend
If you get an error like this;
E: The method driver /usr/lib/apt/methods/https could not be found. N: Is the package apt-transport-https installed?
Then run
$ sudo apt-get install apt-transport-https
Then run the above commands again.
You may get a package verification error - until I work out how to fix that, simply enter "Y" at the prompt.
Some caveats/useful information:- This repository supports only armhf builds at the moment
- Regardless of whether you are running Wheezy or Jessie, you MUST enable only the wheezy branch to receive my builds
- Both stable (4.0) and unstable/git-master (4.1) branches are supported
- Binaries are now compiled on native Raspberry Pi hardware (Pi 1 B+) using Raspbian Wheezy, cross-compilation caused me too many headaches
- Due to a bug in the GCC compiler, ffmpeg_static is disabled in my builds. This shouldn't cause many issues as the Pi (even version 3) is low-powered and not really capable of reliable transcoding duties. I think (but cannot confirm) that TVHeadend will use ffmpeg if it's installed on your system despite it not being compiled into the TVHeadend binary (if somebody can confirm this I'd appreciate it)
--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 --disable-ffmpeg_static --enable-hdhomerun_static --enable-dvbcsa --enable-bundle
Changelog (As of 2016-11-24, builds are added to Bintray automatically so this changelog will no longer be updated with build-specific information)
2016-11-24 Enabled automated build/deployment script which will take care of adding new builds to Bintray 2016-11-23 Switched to native Raspbery Pi hardware (Pi v1 B+) instead of cross-compiling 2016-11-22 armhf build 4.1-2331-gf2371cf added to the repository armhf build 4.1-2330~g3a113b6 added to the repository 2016-11-18 armhf build 4.0.9-13~g64fec81 added to the repository armhf build 4.1-2328~gca5f094 added to the repository (see note on page 2!) 2016-09-07 armhf build 4.0.9-12~ge5400e2 added to the repository 2016-09-06 only wheezy builds will be published going forward 2016-09-06 armhf build 4.1-2236~g817f67e added to the repository 2016-07-21 armhf build 4.1-2141~g01c26fc~jessie added to repository 2016-07-19 armhf build 4.1-2141~g01c26fc added to repository 2016-07-01 armhf build 4.1-2140~gf34fac1 added to repository 2016-06-30 armhf build 4.1-2135~g631b6b5 added to repository armhf build 4.0.9-5~g4749320 added to repository
Replies (95)
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson over 8 years ago
Added latest armhf build (4.1-2141~g01c26fc) to repository.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Mischa Mischock over 8 years ago
Hi, thanks for you job thomson.
But, make you not for jessie builds?
Im use raspberry pi, raspbian jessie.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson over 8 years ago
jessie build added for git master (4.1).
As usual, I make no guarantees I will keep uploading these builds but if people find them useful I'll do my best.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Mischa Mischock over 8 years ago
perfect, its works on raspbian jessie, i testing tomorrow on OSMC
best man Thomson
Edit...
you tvh server version for Raspberry pi 3, OSMC jessie, just working to, perfect and thank you.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson over 8 years ago
I've documented a number of (what I hope are) useful guides on TVHeadend on my site at;
http://techblog.thomserve.co.uk/category/tutorials/tvheadend/
I hope somebody finds them useful.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Mike Somerville over 8 years ago
THANK YOU! I didn't have enough time to dedicate to compiling the source code and you really saved my bacon here. Thank you again.
One thing you may want to know though is that the Jessie unstable does not work atm
root@raspberrypi:/home/pi# tvheadend Illegal instruction
However the "wheezy stable" seems to run perfectly on Jessie atm. Oh yeah and one more thing don't forget to also include the following if you are on a new image of Jessie (or Wheezy)
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 379CE192D401AB61
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Mike Somerville over 8 years ago
I am having a hell of a time getting tvheadend to map any channels though. They all seem to come in with 71% signal strength though. Odd, I move the USB tuner to another computer (running Ubnutu 16.04) and the tuner works fine. I have set "max_usb_current=1" in the /boot/config.xml of my pi. Any other ideas?
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Felicia Schneezehn about 8 years ago
Jonathan Thomson wrote:
Added latest armhf build (4.1-2141~g01c26fc) to repository.
Thanks for making these builds available!
To give you some feedback:
Build build 4.1-2141~g01c26fc~jessie crashes with "Invalid machine opcode" (translated by me)
Build 4.1-2140~gf34fac1 tells that libiconv.so is missing
Build 4.1-2135~g631b6b5 works without problems :-) although I run jessie on a Raspi 1B:
Linux raspi 4.4.11+ #888 Mon May 23 20:02:58 BST 2016 armv6l GNU/Linux
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson about 8 years ago
When I get a moment I am going to bring the builds up to date - I will be removing all but the wheezy branches as you really don't need Jessie-specific builds to run TVH on Debian Jessie.
Regarding the libiconv error - I've built libiconv in my repository so check out Bintray for the link(s) or try apt-get install -f after installing TVHeadend to install any missing dependencies.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Anthony Thomas about 8 years ago
Just installed 4.1-2141~g01c26fc on Jessie and I get a segfault when starting.
Raspberry Pi 1 Model B (512 MB)
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson about 8 years ago
Anthony Thomas wrote:
Just installed 4.1-2141~g01c26fc on Jessie and I get a segfault when starting.
Raspberry Pi 1 Model B (512 MB)
Use the Wheezy builds - I am going to remove the Jessie ones as there's no need for Jessie-specific builds.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by JJ S about 8 years ago
Hi,
I can't install tvheadend. I still have the same error and I don't understand it. Sorry, it's in French (see below), but basically, that says:
"the following packages have unmet dependencies:
tvheadend : depend: libdvbcsa1 (>= 1.1.0) but it is not going to be installed
depends: liburiparser1 (>= 0.6.0) but it is not going to be installed
recommanded: xmltv-util but it is not going to be installed
E: Unable to correct problems, you have held broken packages"
I tried a bunch of things, with no success: apt-get clean, aptitude,... I can't find the missing packages.
I can't compile it either, I have other dependancies errors.
My system: Raspberry PI 3, Jessie
Thanks a lot if somebody is able to solve my problem.
Original French:
sudo apt-get install tvheadend
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :
Les paquets suivants contiennent des dépendances non satisfaites :
tvheadend : Dépend: libdvbcsa1 (>= 1.1.0) mais il n'est pas installable
Dépend: liburiparser1 (>= 0.6.0) mais il n'est pas installable
Recommande: xmltv-util mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson about 8 years ago
Try
sudo apt-get install -f
To see if the dependencies are met or
sudo aptitude install -f
Aptitude is better than apt-get as it is able to resolve (most) dependency issues. See what it offers you up and keep going through the solutions it presents and it may resolve it for you.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by JJ S about 8 years ago
Hi,
That doesn't work (already tried that): it still asks for libdvbcsa1 and liburiparser1, but I can't install them (virtual packages?).
"keep the packages in their current version
1) tvheadend (not installed)"
---------------------
sudo aptitude install -f tvheadend
Les NOUVEAUX paquets suivants vont être installés :
tvheadend{b}
0 paquets mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de télécharger 11,7 Mo d'archives. Après dépaquetage, 24,7 Mo seront utilisés.
Les paquets suivants ont des dépendances non satisfaites :
tvheadend : Dépend: libdvbcsa1 (>= 1.1.0) qui est un paquet virtuel
Dépend: liburiparser1 (>= 0.6.0) qui est un paquet virtuel
Les actions suivantes permettront de résoudre ces dépendances :
Conserver les paquets suivants dans leur version actuelle :
1) tvheadend [Non installé]
Accepter cette solution ? [Y/n/q/?] Y
Aucun paquet ne va être installé, mis à jour ou enlevé.
0 paquets mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de télécharger 0 o d'archives. Après dépaquetage, 0 o seront utilisés.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson about 8 years ago
4.1-2236~g817f67e wheezy build added. Removed instructions for Jessie as only wheezy to be supported going forward.
4.0 wheezy build to follow...
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson about 8 years ago
4.0.9-12~ge5400e2 wheezy build added.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Mike Somerville about 8 years ago
I have been blowing my brains out trying to get EPG to work and I just found a post that says that 4.1 stream is required for it to work (of course that link is burried in a sea of open tabs somewhere in the bazillion open browser windows I have open ATM. I blame lazyness for not providing the link). I see that you have
4.1-2236~g817f67e wheezy build added
but it isn't showing up in my
apt-get update && apt-get upgrade
I have the stable branch selected.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson about 8 years ago
Hi Mike - 4.0 is the stable branch, 4.1 is still considered unstable so you'd need to switch to that. Stable/unstable aside, I recommend anybody on 4.0 upgrade to 4.1 as the benefits far outweigh the issues it may have. I'm running 4.1 (aligned to git-master as I'm a bit sadistic ) in a "production" setup (i.e. 100% of our live and recorded TV in the house is served up by TVHeadend) and I have very few problems with it - in fact I get more headaches from Kodi than I do TVH.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Mark Weidauer about 8 years ago
JJ S wrote:
Hi,
I can't install tvheadend. I still have the same error and I don't understand it. Sorry, it's in French (see below), but basically, that says:
"the following packages have unmet dependencies:
tvheadend : depend: libdvbcsa1 (>= 1.1.0) but it is not going to be installed
depends: liburiparser1 (>= 0.6.0) but it is not going to be installed
recommanded: xmltv-util but it is not going to be installed
E: Unable to correct problems, you have held broken packages"I tried a bunch of things, with no success: apt-get clean, aptitude,... I can't find the missing packages.
I can't compile it either, I have other dependancies errors.My system: Raspberry PI 3, Jessie
Thanks a lot if somebody is able to solve my problem.
Original French:
sudo apt-get install tvheadend
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Certains paquets ne peuvent être installés. Ceci peut signifier
que vous avez demandé l'impossible, ou bien, si vous utilisez
la distribution unstable, que certains paquets n'ont pas encore
été créés ou ne sont pas sortis d'Incoming.
L'information suivante devrait vous aider à résoudre la situation :Les paquets suivants contiennent des dépendances non satisfaites :
tvheadend : Dépend: libdvbcsa1 (>= 1.1.0) mais il n'est pas installable
Dépend: liburiparser1 (>= 0.6.0) mais il n'est pas installable
Recommande: xmltv-util mais il n'est pas installable
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».
Hi,
I tried to install TVHeadend on my Raspi 2 as well and keep getting the same error as JJ S above. I followed the steps mentionend in the first post and also tried to resolve the unsatisfied dependancies using aptitude -f without success.
I'm using Raspbian 8.0. (Jessie) in my raspi.
My /etc/apt/sources-list contains the following entry:deb https://dl.bintray.com/djbenson/deb wheezy stable
Is the any solution to this problem? Since I'm pretty new to using linux at all I dön't really know what do now, e.g. if I should try to uninstall liburiparser1 and let aptitude install it as dependand package.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Mike Somerville about 8 years ago
I feel like a total moron, I answered my own question. I had the stable branch seleced in my /etc/apt/sources.list so, um,yeah. I changed to unstable did another apt-get update and BAM! There was the 4.1 version. Well I feel dumb
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Mike Somerville about 8 years ago
Oh yeah and once I got the 4.1 stream installed the EPG started to work. I am using zap2xml for my EPG BTW. If anyone wants (and if I have some spare time) I can do up a little how to for the EPG
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Schmell Mafeet about 8 years ago
check out https://github.com/edit4ever/script.module.zap2xml for absolute easiest use of zap2xml
RE: [Unofficial] Raspberry Pi / armhf builds - Added by big big about 8 years ago
Hello
Is it possible to have a newer build?
Thanks' a lot.
RE: [Unofficial] Raspberry Pi / armhf builds - Added by Jonathan Thomson almost 8 years ago
I've had to rebuild my cross-compile environment but I've got a couple of builds baking now. I'll add them ASAP.