Skip to content
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

kodi: 17.4 -> 17.6 and move to cmake #29830

Merged
merged 1 commit into from Nov 18, 2017
Merged

Conversation

peterhoeg
Copy link
Member

@peterhoeg peterhoeg commented Sep 27, 2017

Motivation for this change

Working on kodi was quite painful as it would rebuild ffmpeg every time. ffmpeg is now built as a separate derivation using the kodi makefile to avoid having to rebuild ffmpeg every time kodi is changed.

Additionally, due to the far superior cmake output a number of dependencies were identified that have been added as well.

This PR compiles but the tests fail (at least no more segfaulting). The main issue with troubleshooting the tests is that they take FOREVER to run now - approximately 4 hours as each test takes 30 seconds. My guess is that there is a timeout of some kind due to our sandbox.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Cc: @domenkozar @titanous @edwtjo @joachifm

@peterhoeg peterhoeg changed the title kodi: [WIP] move to cmake which is the default from 18.0 kodi: 17.4 -> 17.5 and move to cmake Oct 25, 2017
@peterhoeg
Copy link
Member Author

Upgrade to 17.5 works fine but test suite still takes about 4 hours to run (and has a few failures).

@domenkozar @titanous @edwtjo


let
kodi_version = "17.4";
kodiReleaseDate = "20170422";
kodiVersion = "17.4";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't that be 17.5?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@domenkozar - it's probably easier for everyone involved if I push the right branch...

@peterhoeg
Copy link
Member Author

Thanks @edwtjo - this PR disables the checks and I want to be sure everybody is cool with that.

ffmpeg is now built as a separate derivation using the kodi makefile to avoid
having to rebuild ffmpeg every time kodi is changed.

Additionally, due to the far superior cmake output a number of dependencies were
identified that have been added as well.
@peterhoeg peterhoeg changed the title kodi: 17.4 -> 17.5 and move to cmake kodi: 17.4 -> 17.6 and move to cmake Nov 18, 2017
@peterhoeg
Copy link
Member Author

Supersedes #31787 if everyone is cool with this.

@peterhoeg
Copy link
Member Author

It has a number of security patches (specifically with regards to ffmpeg) - we should probably backport this to 17.09. I'll do later during the weekend.

@peterhoeg peterhoeg restored the f/kodi branch November 19, 2017 08:54
@peterhoeg peterhoeg deleted the f/kodi branch November 25, 2017 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants