New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tv.kodi.Kodi. #673
Add tv.kodi.Kodi. #673
Conversation
I try to add as much of the depends as possible. The program works well, and I test music, videos and addons, and they can be updated. I move move the kodi data file into the flatpak folder structure. I test with VDPAU playback with pulseaudio. I try samba for loading media files.
deps/ghostscript.json
Outdated
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs922/ghostscript-9.22.tar.xz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This ghostscript version is one year old with tons of CVE allowing for arbitrary code execution. Latest is 9.25.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For what is ghostscript required; is this dependency really required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it is just for building
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If its just for building it could have cleanup: ["*"] to avoid shipping it in the final app.
Have you contacted upstream to see if they are interested in maintaining this? |
Binary addons are missing |
I thought I just make it work first and then maybe the kodi team will be interested. I did not post to the kodi forum. If the kodi team wants to help maintain the flatpak - fine with me. |
I need some time to read and understand all the comments and make changes. |
It works the other way, especially for such big projects as Kodi; it's better to ask the team first. |
The forum threads on the kodi website are not very inspiring. People have asked for a flatpak for a long time, and no reply from kodi teams. I do not want to wait longer myself. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
has this been tested with Intel/Amd gfx? Looks like EGL and vaapi is missing
- Only share xdg-{movies,music,pictures} and not all of home. - I did not test wayland support. Disable it now. - Rename desktop file. - Remove unnecesary options for bluez configure. - Update ghostscript - Fix libical before bluez, udev first as well. - No parallel make flag. - Use cmake-ninja buildsystem - Update sdk and runtime. - Better parallel builds for samba. - Use udev and glu from shared-modules. - Update libcdio, but disable all features - Attempt to fix icon post-install. - Remove obsolete modules. - Add python, fix post-install, and make fmt external.
Works now with VA-API |
Any one here interested in doing a "article" about this that we can post on our kodi.tv website ? |
@wsnipex It is not yet published. Everyone is currently building it on their own computer to test it. The official builds are tests to see if they build on the flathub system. You can install it with |
@Marko10-000 I assumed as much, but thought there might be a hidden url to download the test builds. That would be really helpful for testing. |
@Marko10-000 I started to maintain a text file in the repo that lists addons that have blocker issues. There are 3 at the moment (with reason listed). The list does not contain addons that "I have still to try these", I will add them there. If the official version 18 release is soon, we can probably wait for that. |
@wsnipex we're working on a new repo system right now that would enable just that. patches welcome! (as ever) |
@MartijnKaijser @Marko10-000 suggest you read this article from fedoramagazine.org to get some inspiration and maybe steal ideas/text from it for an "article" or "blog-post" for the kodi.tv website: https://fedoramagazine.org/getting-started-flatpak/ Fedora Magazine content is usually published under Creative Commons (CC) license so it's probably ok? https://fedoramagazine.org/terms-and-conditions/ PS: Personally I think that it would be best to post a whole separate blog-post on Flatpak and Flathub. |
Ok - do you want to hold for a v18 final release? Happy to do so or to ship now. |
@nedrichards : @wsnipex you can decide for me. I just don't want that at the end the Kodi team is appended to publish faulty/unusable software. They already have enough problems (brand name in Canada, sold pirate boxes with the name Kodi and with the corresponding consequences that they got kicked out of an app store, ...). I think you know best whether the beta 5 is already stable enough to be released. |
Well, I'm running v18beta5 on my Xbox from the MS Store ;-) but overall I love the focus on making sure users get high quality software. There's one wider ecosystem regression that I'm tracking (which we discovered through testing this) which is in VA-API provision in the runtime: https://gitlab.com/freedesktop-sdk/freedesktop-sdk/issues/463 we might want to make sure that's fixed and rolled out first. |
I'm for releasing this asap so that the flatpak side gets some testing before v18 final, but vaapi should work. |
Well then we have to wait for this changes. Shouldn't take long because just some symbolic links are broken. |
I have been very busy but will have some extra time soon to do cleanups and dependency updates. I test on a Radeon Vega. I have also tested on Intel HD. |
FYI I have no preference for either waiting or shipping as is. I am already building and using this build locally on 3-4 computers and it is no difference for me either way. I do have some segmentation faults in pvr.mythtv binary addon, but this is addon problem not kodi. Kodi itself runs stable for me. |
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://download.samba.org/pub/samba/stable/samba-4.7.4.tar.gz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update samba? The latest release from 4.7.x branch is 4.7.11. The latest overall release is 4.9.2. There are a couple of CVE for this old release.
"sources": [ | ||
{ | ||
"type": "archive", | ||
"url": "https://ftp.gnu.org/gnu/libmicrohttpd/libmicrohttpd-0.9.59.tar.gz", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest release is 0.9.60.
I will do an update check on all the deps and addons soon. |
Co-Authored-By: comparascope <44108613+comparascope@users.noreply.github.com>
bot, build tv.kodi.Kodi |
Repository has been created: https://github.com/flathub/tv.kodi.Kodi |
OK, as suggested I've created the repo and sent invitations to it to everyone mentioned above. If you don't have access or think someone else should be there let me know. You can now push new commits to master to kick off release builds and use PRs and the bot, build comment command yourself to kick off builds on https://flathub.org/builds |
@nedrichards Will only the master branch be built or all other branches too? |
Only master branch. Multiple branches support is reserved for baseapps or platform/Sdk extensions. |
I try to add as much of the depends as possible. The program works well,
and I test music, videos and addons, and they can be updated. I move
move the kodi data file into the flatpak folder structure. I test with
VA-API playback with pulseaudio. I use smb for loading media files.
Current state:
Missing items not listed above:
unsure if Plist, MDNS, LIRC, Shairplay are high priority. I assume no.