Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Add Kodi snap for stable release. #197
Conversation
dgmvecuador
added some commits
Jul 23, 2016
dholbach
reviewed
Jul 27, 2016
| +Jul 18 21:35:49 XXXXXXXX kernel: [ 5027.856093] exe="/usr/bin/dbus-daemon" sauid=106 hostname=? addr=? terminal=?' | ||
| +Jul 18 21:35:49 XXXXXXXX kernel: [ 5027.860905] audit: type=1107 audit(1468895749.325:2882): pid=886 uid=106 auid=4294967295 ses=4294967295 msg='apparmor="ALLOWED" operation="dbus_method_call" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager" member="CanReboot" mask="send" name="org.freedesktop.login1" pid=10058 label="snap.kodi.kodi" peer_pid=903 peer_label="unconfined" | ||
| +Jul 18 21:35:49 XXXXXXXX kernel: [ 5027.860905] exe="/usr/bin/dbus-daemon" sauid=106 hostname=? addr=? terminal=?' | ||
| + |
dholbach
Jul 27, 2016
Collaborator
Do you know if they were discussed on snapcraft@lists.snapcraft.io? It looks like we might need another interface or two.
dholbach
Jul 28, 2016
Collaborator
I think it'd be good to at least bring it up there and see if others can work on resolving them.
dholbach
reviewed
Jul 27, 2016
| + | ||
| +Actions=Fullscreen;Standalone; | ||
| + | ||
| +[Desktop Action Fullscreen] |
|
In Travis this fails to build with |
|
On my machine locally it fails with |
dholbach
reviewed
Jul 28, 2016
| + plugin: x_kodiautotools | ||
| + configflags: | ||
| + - --prefix=/ | ||
| + build-packages: |
dholbach
Jul 28, 2016
Collaborator
Can you apply this? http://paste.ubuntu.com/21252024/
It add's a few build-packages.
|
Can we somehow adjust where ffmpeg comes from? This is how the build fails (both using 'snapcraft' or 'snapcraft cleanbuild'): http://paste.ubuntu.com/21252125/ |
|
Kodi developers usually recommend to use version of ffmpeg provided inside the code, so we should use that one. They update ffmpeg each major release. |
|
Ok, let's pick whatever works. Can you apply the patch I specified earlier? That way you should see in the next Travis build how it's currently failing. Currently it's missing some build-packages. |
dgmvecuador
added some commits
Jul 29, 2016
|
I have applied your patch and other changes. Now the build is successful in Travis |
|
Great work! When I try to run it, I see this though: And I get a black screen. Anything I'm missing? |
|
Its a problem with opengl libs, there are multiple bugs reported like https://bugs.launchpad.net/snappy/+bug/1574851 As workaround, you can copy your driver libs to the folder "/var/lib/snapd/lib/gl/" in my case, I copied all the content of "/usr/lib/nvidia-xxx". I dont know about your graphic card, but it seems to work with intel without problems. |
|
I'm on intel too (i915). |
|
You should copy all the libs from Intel, "i965_dri.so" and the dependencies to "/var/lib/snapd/lib/gl/", maybe check the deb package from the repository. |
|
Hi, did you solve the problem in your environment?? |
|
Sorry for the long wait. This makes it work for me: http://paste.ubuntu.com/22795846/ |
|
Brilliant work! :-D |

dgmvecuador commentedJul 27, 2016
•
Edited 1 time
-
didrocks
Jul 27, 2016
Add a snap for Kodi for the last stable tag "16.1-Jarvis"

checking for LIBDCADEC... no
configure: error: libdcadec not found
Command '['/bin/sh', '/tmp/tmpwwmf3jxr', './configure', '--prefix=', '--prefix=/']' returned non-zero exit status 1