kodi-pvr-addons (armv7)

This forum is for topics dealing with problems with software specifically in the ARMv7h repo.

kodi-pvr-addons (armv7)

Postby staro » Fri Jan 30, 2015 10:33 pm

Hi, is there anyone working on package for kodi-pvr-addons support (ARMv7)? This package is available for ARMv6, but not for ARMv7.

I tried download PKGBUILD from AUR, edit arch tag to add 'armv7h', create symlink for

$this->bbcode_second_pass_code('', '/usr/include/KHR -> /opt/fsl/include/KHR/
/usr/include/GLES -> /opt/fsl/include/GLES ')

but compilation always failed. Am I doing something completely wrong?
staro
 
Posts: 3
Joined: Fri Jan 30, 2015 10:11 pm

Re: kodi-pvr-addons (armv7)

Postby wakko » Sun Feb 01, 2015 1:10 pm

hi, same problem here (odroid-c1)

tried to extract the files from
http://deb.odroid.in/pool/main/x/xbmc-p ... _armhf.deb
und place it in the folders on arch...

vnsi connects and catches epd data, channels - but no picture at live-tv -> maybe you have more luck :)

regards,
wakko
wakko
 
Posts: 6
Joined: Sat Apr 12, 2014 11:20 am

Re: kodi-pvr-addons (armv7)

Postby staro » Tue Feb 17, 2015 9:57 pm

Still no luck with kodi pvr addons :(

anyone?
staro
 
Posts: 3
Joined: Fri Jan 30, 2015 10:11 pm

Re: kodi-pvr-addons (armv7)

Postby nocrea » Mon Feb 23, 2015 1:52 pm

I would like to use the kodi pvr addons as well (primarily the kodi-pvr-tvheadend-htsp). I would try to compile it myself (even though I'm not a skilled programmer) but could not even find the source code. As I'm afraid I would run into many problems it would be great if the archlinux / kodi / arm7 maintainers could do it for us (or give hint how to do it ourselves).

Could anyone give me hint on how to proceed?
nocrea
 
Posts: 3
Joined: Mon Feb 23, 2015 12:29 pm

Re: kodi-pvr-addons (armv7)

Postby moonman » Tue Feb 24, 2015 5:30 am

I think this gives a pretty good good example on compiling this package https://projects.archlinux.org/svntogit ... pvr-addons
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: kodi-pvr-addons (armv7)

Postby nocrea » Tue Feb 24, 2015 7:58 pm

Thanx, Moonman. You put me on the right track!

Here is what I did to get a kodi-pvr-addons package for arm7 (in my case: Raspberry Pi 2):

As a non-root user I transferred the text the PKGBUILD file that Moonman pointed to (actually copy-paste) to a file named PKGBUILD in a new directory and changed "arch=('i686' 'x86_64')" to "'arch=('armv7h')":
$this->bbcode_second_pass_code('', '# $Id$
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: BlackEagle <ike.devolder@gmail.com>>

pkgname=kodi-pvr-addons
pkgver=20141212
_relname='Helix_rc3'
pkgrel=2
pkgdesc="PVR add-ons for current stable kodi"
arch=('armv7h')
url="https://github.com/opdenkamp/xbmc-pvr-addons"
license=('GPL3')
groups=('kodi-addons')
depends=('kodi')
makedepends=('git')
optdepends=('tvheadend-git: tvheadend backend' 'mythtv: mythtv backend')
replaces=('xbmc-pvr-addons')
conflicts=('xbmc-pvr-addons' 'xbmc-pvr-addons-git')
source=("$pkgname-$pkgver.tar.gz::https://github.com/opdenkamp/xbmc-pvr-addons/archive/${_relname}.tar.gz")

build() {
cd "$srcdir/xbmc-pvr-addons-${_relname}"
./bootstrap
./configure --prefix=/usr --enable-addons-with-dependencies
make
}

package() {
cd "$srcdir/xbmc-pvr-addons-${_relname}"
make DESTDIR="$pkgdir/" install
}

sha256sums=('e48de53c58245e512095d515d463f013e51e165fc617f1cb93e443cdd9f5096b')
')

Then, in that same directory I executed
$this->bbcode_second_pass_code('', 'makepkg')
I ignored all warnings and even errors and it finally, after a long time (I think it was > 1 hour) the result was there.

As root I executed
$this->bbcode_second_pass_code('', 'pacman -U kodi-pvr-addons-20141212-2-armv7h.pkg.tar.xz')

I activated my pvr-addon (tvheadend), rebooted twice, and then... it almost worked: Kodi crashed two or three times (while loading EPG data? Maybe b/o the warnings/errors during build?). Since then it seems to work fine (have only tried this afternoon). Can anyone (Staro? Wakko?) confirm that it works this way.

Maybe a skilled package maintainer could (if necessary) just add armv7h architecture to his/her package building?! That would be great!
nocrea
 
Posts: 3
Joined: Mon Feb 23, 2015 12:29 pm

Re: kodi-pvr-addons (armv7)

Postby pepedog » Tue Feb 24, 2015 10:53 pm

This pkg is in abs community, not our github, so it should have been built for v7 (probably for v5 if depends built ok)
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: kodi-pvr-addons (armv7)

Postby nocrea » Wed Feb 25, 2015 8:16 am

$this->bbcode_second_pass_quote('pepedog', 'T')his pkg is in abs community, not our github, so it should have been built for v7 (probably for v5 if depends built ok)

@Pepedog: Thank you for your hint. Does "abs community" mean that the package should be in AUR? In http://archlinuxarm.org/packages it is listed only for architecture armv6 (neither for armv5 nor armv7) and contained in the community repository.

Whom could I ask to add an armv7 package?
nocrea
 
Posts: 3
Joined: Mon Feb 23, 2015 12:29 pm

Re: kodi-pvr-addons (armv7)

Postby pepedog » Wed Feb 25, 2015 8:58 am

abs are PKGBUILDs (etc) that are direct from Archlinux.org, most build on arm with makepkg -A
Install and run abs to grab them

The aur is ditto to above, but package no built

Our github, clone and copy over abs files and this is how Archlinuxarm builds.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: kodi-pvr-addons (armv7)

Postby staro » Thu Feb 26, 2015 6:08 am

TO> nocrea
unfortunately this PKGBUILD fails to compile too

I managed to get it working with OpenELEC image - build for Freescale iMX6 builds (because I have Cubox i4 Pro).
I only need HTS pvr addons to work with my TVHeadend server...
steps:
    download OpenELEC-imx6.arm-5.0.4.tar
    extract with tar
    mount SquashFS from target/SYSTEM
    copy files from OpenELEC TARGET img:

$this->bbcode_second_pass_code('', '
SYSTEM:usr/lib/kodi/addons/pvr.hts/Kodi_Tvheadend.pvr to CUBOX:usr/lib/kodi/addons/pvr.hts/Kodi_Tvheadend.pvr
SYSTEM:usr/share/kodi/addons/pvr.hts/* to CUBOX:usr/share/kodi/addons/pvr.hts/*
')
staro
 
Posts: 3
Joined: Fri Jan 30, 2015 10:11 pm

Next

Return to ARMv7h

Who is online

Users browsing this forum: No registered users and 10 guests