Kodi Krypton

Technical issues/questions of an intermediate or advanced nature.
rchase
Shogun
Shogun
Posts: 282
Joined: 10 Jan 2016, 17:26
Distribution: Porteus 5.0 rc3 xfce
Location: Denver, Colorado

Kodi Krypton

Post#1 by rchase » 18 Jun 2017, 04:14

Kodi 17 Krypton is available through slackonly but the module produced by USM is too small and doesn't run (i.e. crashes instantly without error messages). What needs to be done to get a working module?

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Kodi Krypton

Post#2 by francois » 18 Jun 2017, 04:53

On what desktop did you built kodi? Donald says he had some success building it on xfce. Which I did not achieved, alas. :(
Prendre son temps, profiter de celui qui passe.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Kodi Krypton

Post#3 by donald » 18 Jun 2017, 08:29

What i have at hand/build is

kodi-17.1-i486-bundle-don.xzm -- 32 Bit and
kodi-17.3-x86_64-bundle-don.xzm -- 64 Bit

Build in 3.2.2-XFCE - module size ~ 100 mb - both do start, and i also
clicked around a bit, no crash.

Personally i do not have any use for kodi, so no further testing has
been done.
If you need it badly, i could upload it.
But because of the module size and my wobbly Internet connection
i am reluctant to do it "just for fun".
( until now brokenman hasn't read/answered the PM, so no upload to "bundles")

EDIT
found the packages list ( not 100% sure whether complete)

Code: Select all

crossguid-20160705-x86_64-1_slonly.txz
jemalloc-3.6.0-x86_64-1.txz
judy-1.0.5-x86_64-1.txz
kodi-17.3-x86_64-1_slonly.txz
libmicrohttpd-0.9.42-x86_64-1_slonly.txz
libunistring-0.9.3-x86_64-1.txz
mariadb-10.0.30-x86_64-1_slack14.2.txz
python-2.7.13-x86_64-2_slack14.2.txz
tcl-8.6.5-x86_64-2.txz
tinyxml-2.6.2-x86_64-2ponce.txz
tk-8.6.5-x86_64-2.txz
yajl-2.1.0-x86_64-2ponce.txz
so you may try to build kodi once more..

rchase
Shogun
Shogun
Posts: 282
Joined: 10 Jan 2016, 17:26
Distribution: Porteus 5.0 rc3 xfce
Location: Denver, Colorado

Re: Kodi Krypton

Post#4 by rchase » 19 Jun 2017, 01:12

francois wrote:On what desktop did you built kodi? Donald says he had some success building it on xfce. Which I did not achieved, alas. :(
xfce x64

rchase
Shogun
Shogun
Posts: 282
Joined: 10 Jan 2016, 17:26
Distribution: Porteus 5.0 rc3 xfce
Location: Denver, Colorado

Re: Kodi Krypton

Post#5 by rchase » 19 Jun 2017, 01:30

donald wrote:... so you may try to build kodi once more..
How? Download those modules and use mergexzm? I will attempt that. I thought that USM was supposed to resolve dependencies and do this automatically.

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Kodi Krypton

Post#6 by donald » 19 Jun 2017, 10:01

Long story short.. :) .try this one:
kodi-17.3-x86_64-bundle-don.xzm
http://filehorst.de/d/bHAcEemA
It runs on my 10yr old box in always fresh mode xfce x86_64
((2gb ram, nvidia onboard graphic and nouveau driver.(and played a video incl. sound))
Bear in mind that i don't use kodi - i only made some basic tests...

The File is on a german hosting service so please do as follows to get it.

How to get it:
Wait 15 sec > click "Jetzt zur Download-Seite" (means go to download page) >
click "Klicke hier, um ihn zu starten" (means click to start the download). 8)

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Kodi Krypton

Post#7 by francois » 20 Jun 2017, 01:57

This seems to be donald first bundle. :good:
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Kodi Krypton

Post#8 by Ed_P » 20 Jun 2017, 02:51

francois wrote:This seems to be donald first bundle. :good:
Exactly. A user has a need, someone creates a bundle to meet it. Not creating bundles for app after app for no reason. :good:
Ed

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Kodi Krypton

Post#9 by francois » 20 Jun 2017, 03:05

Donald:
What is the size of your bundle? It does not work for me. Are you using 3.2.2 or x.x porteus version?
Prendre son temps, profiter de celui qui passe.

rchase
Shogun
Shogun
Posts: 282
Joined: 10 Jan 2016, 17:26
Distribution: Porteus 5.0 rc3 xfce
Location: Denver, Colorado

Re: Kodi Krypton

Post#10 by rchase » 20 Jun 2017, 04:23

Ed_P wrote:
francois wrote:This seems to be donald first bundle. :good:
Exactly. A user has a need, someone creates a bundle to meet it. Not creating bundles for app after app for no reason. :good:
Donald had already created the bundle. Whether he or you use Kodi is rather beside the point that it is an important app -- the best media center available and an important update bringing it current. I hope to test his bundle soon. Anyone care to essay an answer to my questions? Donald, did you make your bundle by downloading the dependencies as modules then merge them?

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Kodi Krypton

Post#11 by Ed_P » 20 Jun 2017, 05:49

rchase wrote:Donald, did you make your bundle by downloading the dependencies as modules then merge them?
If you download donald's bundle and activate it you will find out. :)
Ed

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Re: Kodi Krypton

Post#12 by donald » 20 Jun 2017, 08:45

Hi guys
First of all, right now there is a problem with the "kodi-17.3-x86_64-1_slonly.txz" package.
Its size is 0 bytes but should be ~ 33 mb -- trying to build kodi will not work at the moment.
USM complains:

Code: Select all

Verifying package kodi-17.3-x86_64-1_slonly.txz.
xz: (stdin): File format not recognized
Installing package kodi-17.3-x86_64-1_slonly.txz:
PACKAGE DESCRIPTION:
WARNING:  Package has not been created with 'makepkg'
check what you got (file size) in /tmp/usm

@ francois
This seems to be donald first bundle.
Nope, I did one before (frozen-bubble) for Rava - and everyone else of course - :wink:

Kodi:
the size of the kodi bundle is ~ 100 mb
I used (stock) porteus 3.2.2-XFCE-x86_64 to build the module.
Please try again (my bundle module) in always fresh mode and guest account.

@ rchase
Donald, did you make your bundle by downloading the dependencies as modules then merge them?
I used USM in cli-mode and let USM merge the modules.....(this time)

normally i get the (*.txz) packages via USM, (they are in /tmp/usm then) and merge them like this EXAMPLE:

Code: Select all

root@porteus:/home/guest# mkdir /tmp/kodi
root@porteus:/home/guest# for pkgs in /tmp/usm/*.txz; do installpkg -root /tmp/kodi $pkgs; done
.........
root@porteus:/home/guest# dir2xzm /tmp/kodi /tmp/kodi-17.3.xzm
.........
root@porteus:/home/guest# rm -r /tmp/kodi
after this, the bundled (and renamed) file is in /tmp

EDIT
If you want to merge existing *.xzm files (modules)
NOTE all this is done in /tmp
Create a folder, any name would do, and put the xzms you want to merge into that folder.
- eg. /tmp/bla -
Create a 2nd folder named like the app you want to build/bundle
- /tmp/whatever-the-app-is-named -

Open a terminal > su to root > cd into /tmp/bla

Code: Select all

root@porteus:/tmp/bla# for a in *.xzm; do xzm2dir $a /tmp/your-app-name-folder; done
.........
root@porteus:/tmp/bla# dir2xzm /tmp/your-app-name-folder /tmp/app-name-bundle.xzm
-- the bundle is ready and you can now delete the temporary used folders --
( /tmp/bla and /tmp/whatever-the-app-name-was )

rchase
Shogun
Shogun
Posts: 282
Joined: 10 Jan 2016, 17:26
Distribution: Porteus 5.0 rc3 xfce
Location: Denver, Colorado

Re: Kodi Krypton

Post#13 by rchase » 23 Jun 2017, 20:40

Ed_P wrote:
rchase wrote:Donald, did you make your bundle by downloading the dependencies as modules then merge them?
If you download donald's bundle and activate it you will find out. ...
I've been doing other things -- just saw this. I'm about to activate it; it will be the very first time that activating a module produced an explanation as to how it was created, or is extrasensory perception involved? I find your reply bizarre.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Re: Kodi Krypton

Post#14 by Ed_P » 23 Jun 2017, 20:51

rchase wrote:I find your reply bizarre.
:lol: I agree, it doesn't address your questions.
Ed

rchase
Shogun
Shogun
Posts: 282
Joined: 10 Jan 2016, 17:26
Distribution: Porteus 5.0 rc3 xfce
Location: Denver, Colorado

Re: Kodi Krypton

Post#15 by rchase » 23 Jun 2017, 22:22

Donald, thanks for your bundle; it appears to work. I was able to download an ~30MB module for Kodi 17 using USM -- why doesn't USM catch all its dependencies and offer to download and merge them to produce a functioning Kodi bundle on its own? It works for other packages.

Post Reply