2016-12-13, 10:31
https://github.com/xbmc/xbmc/pull/11088 should remedy some of your issues
(2016-12-13, 10:31)wsnipex Wrote: https://github.com/xbmc/xbmc/pull/11088 should remedy some of your issues
[ 13%] Performing build step for 'dvdread'
cd /mnt/nfs/kodi/buildroot-2016.11/output/build/kodi-Krypton/project/cmake/build/libdvd/src/dvdread-build && /usr/bin/make
/usr/bin/make all-am
cd /mnt/nfs/kodi/buildroot-2016.11/output/build/kodi-Krypton/project/cmake/build/libdvd/src/dvdread && git log > /mnt/nfs/kodi/buildroot-2016.11/output/build/kodi-Krypton/project/cmake/build/libdvd/src/dvdread-build/ChangeLog-tmp
fatal: Not a git repository (or any parent up to mount point /mnt/nfs)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Makefile:1006: recipe for target 'ChangeLog' failed
make[6]: [ChangeLog] Error 128 (ignored)
test -s ChangeLog-tmp && mv ChangeLog-tmp ChangeLog
Makefile:1006: recipe for target 'ChangeLog' failed
make[6]: [ChangeLog] Error 1 (ignored)
-- [download 2% complete]
-- [download 5% complete]
-- [download 8% complete]
-- [download 13% complete]
-- [download 16% complete]
-- [download 26% complete]
-- [download 29% complete]
-- [download 32% complete]
-- [download 34% complete]
-- [download 37% complete]
-- [download 40% complete]
-- [download 42% complete]
-- [download 45% complete]
-- [download 48% complete]
-- [download 80% complete]
-- [download 82% complete]
-- [download 85% complete]
-- [download 88% complete]
-- [download 90% complete]
-- [download 93% complete]
-- [download 96% complete]
-- [download 98% complete]
-- [download 100% complete]
-- downloading... done
[ 29%] Generating ServiceDescription.h
cd /mnt/nfs/kodi/buildroot-2016.11/output/build/kodi-Krypton/project/cmake/build && JsonSchemaBuilder::JsonSchemaBuilder /mnt/nfs/kodi/buildroot-2016.11/output/build/kodi-Krypton/xbmc/interfaces/json-rpc/schema/version.txt /mnt/nfs/kodi/buildroot-2016.11/output/build/kodi-Krypton/xbmc/interfaces/json-rpc/schema/license.txt /mnt/nfs/kodi/buildroot-2016.11/output/build/kodi-Krypton/xbmc/interfaces/json-rpc/schema/methods.json /mnt/nfs/kodi/buildroot-2016.11/output/build/kodi-Krypton/xbmc/interfaces/json-rpc/schema/types.json /mnt/nfs/kodi/buildroot-2016.11/output/build/kodi-Krypton/xbmc/interfaces/json-rpc/schema/notifications.json
/bin/sh: 1: JsonSchemaBuilder::JsonSchemaBuilder: not found
build/interfaces/json-rpc/schema/CMakeFiles/generate_json_header.dir/build.make:68: recipe for target 'build/ServiceDescription.h' failed
make[4]: *** [build/ServiceDescription.h] Error 127
-Dlibdvdread_URL="/path/to/libdvdread.tar.gz"
-Dlibdvdnav_URL="/path/to/libdvdnav.tar.gz"
-Dlibdvdcss_URL="/path/to/libdvdcss.tar.gz"
(2016-12-13, 17:58)wsnipex Wrote: Re libdvd: if you want working dvd (also dvd iso) playback, you have to use our libs, since we carry some kodi specific patches.
Quote:Many distros fail to actually _test_ kodi properly after they got it to build with external libs and their users then come to us complaining that kodi doesn't work.
Quote:If you have a build sys that does not allow downloading anything during build, then you can provide tarballs like this:
(2016-12-13, 18:09)Max_nl Wrote:correct.(2016-12-13, 17:58)wsnipex Wrote: Re libdvd: if you want working dvd (also dvd iso) playback, you have to use our libs, since we carry some kodi specific patches.
And those patches aren't universal enough to contribute upstream?
(2016-12-13, 18:09)Max_nl Wrote:see above. You're most welcome to try to send them upstream though.Quote:Many distros fail to actually _test_ kodi properly after they got it to build with external libs and their users then come to us complaining that kodi doesn't work.
Could be.
But rather than putting all blame on the distros, I would argue that contributing modifications back upstream, and having a version check in your cmake, would be a better longterm solution...
(2016-12-13, 18:09)Max_nl Wrote:That's how it was till ~1 year ago and it sucked. Rebasing on upstream was huge pita, specially with things like ffmpeg, where almost nobody wanted to even speak about using a new version, because our version was soo old and customized and entangled with xbmc core that it took a masters in git foo to even get a clean diff.Quote:If you have a build sys that does not allow downloading anything during build, then you can provide tarballs like this:
Well, if there is an absolute need for the modified sources, why not bundle them with the main source?
(2016-12-13, 19:18)wsnipex Wrote: see above. You're most welcome to try to send them upstream though.
also see http://forum.kodi.tv/showthread.php?tid=...ght=libdvd
Quote:As for testing: You ship software in a way not intended, recommended or supported by their creators.
(2016-12-13, 19:41)Max_nl Wrote:Then ask him how cause so far no one has seen a way to send a pull request (although i see it's an option now) and there was also no response in past attempts (which was before gitlab iirc)(2016-12-13, 19:18)wsnipex Wrote: see above. You're most welcome to try to send them upstream though.
also see http://forum.kodi.tv/showthread.php?tid=...ght=libdvd
I don't think it is appropriate for me to take code I have not written myself and contribute that to another project.
Quote:As for testing: You ship software in a way not intended, recommended or supported by their creators.
Couldn't the authors of the libraries you forked say the same?
*mumbles something about a remark concerning code quality*
(2016-12-13, 19:47)Martijn Wrote: Then ask him how cause so far no one has seen a way to send a pull request (although i see it's an option now) and there was also no response in past attempts (which was before gitlab iirc)
(2016-12-13, 19:41)Max_nl Wrote:Quote:As for testing: You ship software in a way not intended, recommended or supported by their creators.
Couldn't the authors of the libraries you forked say the same?
*mumbles something about a remark concerning code quality*
(2016-12-13, 21:15)ironic_monkey Wrote: those patches are kodi specific things that cannot, shall not and should not go upstream. go try play a dvd over the network using your system libraries.
Quote:it's libdvdread which doesn't supply proper vfs hooks and it's kodi that has to deal with the short-coming.
Quote:/**
* Opens a block device of a DVD-ROM file, or an image file, or a directory
* name for a mounted DVD or HD copy of a DVD.
* The second form of Open function (DVDOpenStream) can be used to
* provide custom stream_cb functions to access the DVD (see libdvdcss).
*
* If the given file is a block device, or is the mountpoint for a block
* device, then that device is used for CSS authentication using libdvdcss.
* If no device is available, then no CSS authentication is performed,
* and we hope that the image is decrypted.
*
* If the path given is a directory, then the files in that directory may be
* in any one of these formats:
*
* path/VIDEO_TS/VTS_01_1.VOB
* path/video_ts/vts_01_1.vob
* path/VTS_01_1.VOB
* path/vts_01_1.vob
*
* @param path Specifies the the device, file or directory to be used.
* @param stream is a private handle used by stream_cb
* @param stream_cb is a struct containing seek and read functions
* @return If successful a a read handle is returned. Otherwise 0 is returned.
*
* dvd = DVDOpen(path);
* dvd = DVDOpenStream(stream, &stream_cb);
*/
dvd_reader_t *DVDOpen( const char * );
dvd_reader_t *DVDOpenStream( void *, dvd_reader_stream_cb * );