Summary: | media-tv/kodi: Use more external libraries | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sebastian <sebastian_ml> |
Component: | Current packages | Assignee: | Craig Andrews <candrews> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aklhfex, arthur, proxy-maint |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
ebuild patch
disabled gtest patch privacy patch (disables version check by default) patch to use external dvdread patch to use external jbig patch to use external hdhomerun patch to use external sidplay new jasper/jbig patch new ebuild kodi-15.1.ebuild kodi-15.1-disable-gtest.patch kodi-15.1-privacy.patch kodi-15.1-remove-ljbig-and-ljasper.patch kodi-15.1-use-external-dvdread.patch kodi-15.1-use-external-libhdhomerun.patch |
Description
Sebastian
2015-03-29 21:08:49 UTC
Created attachment 400076 [details, diff]
ebuild patch
Created attachment 400078 [details, diff]
disabled gtest patch
Created attachment 400080 [details, diff]
privacy patch (disables version check by default)
Created attachment 400082 [details, diff]
patch to use external dvdread
Created attachment 400084 [details, diff]
patch to use external jbig
Created attachment 400086 [details, diff]
patch to use external hdhomerun
Created attachment 400088 [details, diff]
patch to use external sidplay
Just realized the privacy patch has nothing to do with the version check. I just disables the RSS feed by default. Created attachment 400348 [details, diff]
new jasper/jbig patch
Checked the binaries for traces of jasper/jbig. None found. It didn't even link to the external jbig when I had told it to (--as-needed in LDFLAGS took care of that). Then I checked the source again and saw that jbig and jasper aren't even enabled in cximage (check CxImage/ximadef.h & CxImage/ximacfg.h for the logic).
This patch gets rid of both.
Created attachment 400350 [details]
new ebuild
Removed deps on jasper and jbigkit from the ebuild.
(In reply to Sebastian from comment #9) could you send this upstream via github ? Hello Spanky, I've mailed the person who I believe authored the original patches and asked if he already tried to push them upstream, but didn't receive a response, yet. I'd feel weird trying to push _his_ patches upstream myself. Plus, I think that further polishing of the patches would be necessary because some (hdhomerun, libdvdread) require additional action when building (see ebuild). I don't really have time for this currently. Maybe we can agree to put this to "Wontfix" for now? I'll upload the patches for 15.1 anyway. Kind regards, Sebastian Created attachment 411472 [details]
kodi-15.1.ebuild
Sidplay support was removed upstream, so no more sidplay patch.
Created attachment 411474 [details, diff]
kodi-15.1-disable-gtest.patch
Created attachment 411476 [details, diff]
kodi-15.1-privacy.patch
Created attachment 411478 [details, diff]
kodi-15.1-remove-ljbig-and-ljasper.patch
Created attachment 411480 [details, diff]
kodi-15.1-use-external-dvdread.patch
Created attachment 411482 [details, diff]
kodi-15.1-use-external-libhdhomerun.patch
(In reply to Sebastian from comment #12) if you could post them to the xbmc github repo, that'd be great. then we'd just mark this bug as UPSTREAM so we know things won't get lost in the long run. some of these are fixed in 16.0 or git because they don't ship/use them anymore (In reply to Sebastian from comment #17) > Created attachment 411480 [details, diff] [details, diff] > kodi-15.1-use-external-dvdread.patch Kodi have forked libdvdread: https://github.com/xbmc/libdvdread also libdvdnav: https://github.com/xbmc/libdvdnav and libdvdcss: https://github.com/xbmc/libdvdcss with changes, even some API differences making using upstream releases tricky to impossible. As far as I know, all external libraries mentioned in this bug and that I've been tracking (for years) have finally been externalized upstream (as of Kodi 17). Therefore, I'm closing this issue - if there are any libraries that are still bundled that I haven't noticed / am not aware of / that are added in future versions of Kodi, please don't hesitate to open new bugs. |