From 8bbd9520fa881787c568b4f8e1dfcd6acebea608 Mon Sep 17 00:00:00 2001 From: Lenard Spencer Date: Sat, 18 Apr 2020 20:24:15 +0700 Subject: multimedia/k9copy-reloaded: Use internal dvdnav. Signed-off-by: Willy Sudiarto Raharjo --- .../k9copy-reloaded/patches/k9copy-dvdnav.patch | 207 +++++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 multimedia/k9copy-reloaded/patches/k9copy-dvdnav.patch (limited to 'multimedia/k9copy-reloaded/patches') diff --git a/multimedia/k9copy-reloaded/patches/k9copy-dvdnav.patch b/multimedia/k9copy-reloaded/patches/k9copy-dvdnav.patch new file mode 100644 index 0000000000..bf456a3252 --- /dev/null +++ b/multimedia/k9copy-reloaded/patches/k9copy-dvdnav.patch @@ -0,0 +1,207 @@ +diff -Naur k9copy/src/libdvdnav-NOW/dvdnav/dvdnav.h k9copy.new/src/libdvdnav-NOW/dvdnav/dvdnav.h +--- k9copy/src/libdvdnav-NOW/dvdnav/dvdnav.h 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/dvdnav/dvdnav.h 2020-04-17 15:06:57.239790857 -0400 +@@ -32,11 +32,11 @@ + extern "C" { + #endif + +-#include +-#include +-#include +-#include /* For vm_cmd_t */ +-#include ++#include "dvdnav/dvd_types.h" ++#include "dvdread/dvd_reader.h" ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" /* For vm_cmd_t */ ++#include "dvdnav_events.h" + + + +diff -Naur k9copy/src/libdvdnav-NOW/dvdnav.c k9copy.new/src/libdvdnav-NOW/dvdnav.c +--- k9copy/src/libdvdnav-NOW/dvdnav.c 2014-09-29 12:02:49.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/dvdnav.c 2020-04-17 14:58:35.428540596 -0400 +@@ -34,14 +34,14 @@ + #include + #include + #include "dvdnav/dvdnav.h" +-#include +-#include +-#include /* For vm_cmd_t */ ++#include "dvdread/dvd_reader.h" ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" /* For vm_cmd_t */ + #include "vm/decoder.h" + #include "vm/vm.h" + #include "dvdnav_internal.h" + #include "read_cache.h" +-#include ++#include "dvdread/nav_read.h" + + static dvdnav_status_t dvdnav_clear(dvdnav_t * this) { + /* clear everything except file, vm, mutex, readahead */ +diff -Naur k9copy/src/libdvdnav-NOW/highlight.c k9copy.new/src/libdvdnav-NOW/highlight.c +--- k9copy/src/libdvdnav-NOW/highlight.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/highlight.c 2020-04-17 14:59:35.543043065 -0400 +@@ -29,7 +29,7 @@ + #include + #include + #include +-#include ++#include "dvdread/nav_types.h" + #include "dvdnav/dvdnav.h" + #include "vm/decoder.h" + #include "vm/vm.h" +diff -Naur k9copy/src/libdvdnav-NOW/navigation.c k9copy.new/src/libdvdnav-NOW/navigation.c +--- k9copy/src/libdvdnav-NOW/navigation.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/navigation.c 2020-04-17 15:00:18.333402659 -0400 +@@ -27,8 +27,8 @@ + #include + #include + #include "dvdnav/dvdnav.h" +-#include +-#include ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" + #include "vm/decoder.h" + #include "vm/vm.h" + #include "dvdnav_internal.h" +diff -Naur k9copy/src/libdvdnav-NOW/read_cache.c k9copy.new/src/libdvdnav-NOW/read_cache.c +--- k9copy/src/libdvdnav-NOW/read_cache.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/read_cache.c 2020-04-17 15:01:33.012033279 -0400 +@@ -34,8 +34,8 @@ + #include + #include + #include "dvdnav/dvdnav.h" +-#include +-#include ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" + #include "vm/decoder.h" + #include "vm/vm.h" + #include "dvdnav_internal.h" +diff -Naur k9copy/src/libdvdnav-NOW/searching.c k9copy.new/src/libdvdnav-NOW/searching.c +--- k9copy/src/libdvdnav-NOW/searching.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/searching.c 2020-04-17 15:02:25.819481072 -0400 +@@ -30,12 +30,12 @@ + #include + #include + #include "dvdnav/dvdnav.h" +-#include +-#include ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" + #include "vm/decoder.h" + #include "vm/vm.h" + #include "dvdnav_internal.h" +-#include ++#include "dvdread/ifo_read.h" + + /* + #define LOG_DEBUG +diff -Naur k9copy/src/libdvdnav-NOW/settings.c k9copy.new/src/libdvdnav-NOW/settings.c +--- k9copy/src/libdvdnav-NOW/settings.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/settings.c 2020-04-17 15:03:13.324884966 -0400 +@@ -27,8 +27,8 @@ + #include + #include + #include "dvdnav/dvdnav.h" +-#include +-#include ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" + #include "vm/decoder.h" + #include "vm/vm.h" + #include "dvdnav_internal.h" +diff -Naur k9copy/src/libdvdnav-NOW/vm/decoder.c k9copy.new/src/libdvdnav-NOW/vm/decoder.c +--- k9copy/src/libdvdnav-NOW/vm/decoder.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/vm/decoder.c 2020-04-17 15:04:17.177429113 -0400 +@@ -32,8 +32,8 @@ + #include + #include + +-#include +-#include /* vm_cmd_t */ ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" /* vm_cmd_t */ + + #include "dvdnav/dvdnav.h" + #include "decoder.h" +diff -Naur k9copy/src/libdvdnav-NOW/vm/getset.c k9copy.new/src/libdvdnav-NOW/vm/getset.c +--- k9copy/src/libdvdnav-NOW/vm/getset.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/vm/getset.c 2020-04-17 15:09:14.945967023 -0400 +@@ -30,9 +30,9 @@ + #include + #include + +-#include +-#include +-#include ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" ++#include "dvdread/ifo_read.h" + #include "dvdnav/dvdnav.h" + + #include "decoder.h" +diff -Naur k9copy/src/libdvdnav-NOW/vm/play.c k9copy.new/src/libdvdnav-NOW/vm/play.c +--- k9copy/src/libdvdnav-NOW/vm/play.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/vm/play.c 2020-04-17 15:10:18.384509885 -0400 +@@ -29,9 +29,9 @@ + #include + #include + +-#include +-#include +-#include ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" ++#include "dvdread/ifo_read.h" + #include "dvdnav/dvdnav.h" + + #include "decoder.h" +diff -Naur k9copy/src/libdvdnav-NOW/vm/vm.c k9copy.new/src/libdvdnav-NOW/vm/vm.c +--- k9copy/src/libdvdnav-NOW/vm/vm.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/vm/vm.c 2020-04-17 15:11:23.105064197 -0400 +@@ -37,9 +37,9 @@ + #include + #include + +-#include +-#include +-#include ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" ++#include "dvdread/ifo_read.h" + #include "dvdnav/dvdnav.h" + + #include "decoder.h" +diff -Naur k9copy/src/libdvdnav-NOW/vm/vmcmd.c k9copy.new/src/libdvdnav-NOW/vm/vmcmd.c +--- k9copy/src/libdvdnav-NOW/vm/vmcmd.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/vm/vmcmd.c 2020-04-17 15:12:20.354554837 -0400 +@@ -30,8 +30,8 @@ + #include + + #include "dvdnav/dvdnav.h" +-#include +-#include ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" + #include "decoder.h" + #include "vm.h" + #include "vmcmd.h" +diff -Naur k9copy/src/libdvdnav-NOW/vm/vmget.c k9copy.new/src/libdvdnav-NOW/vm/vmget.c +--- k9copy/src/libdvdnav-NOW/vm/vmget.c 2014-09-29 11:50:54.000000000 -0400 ++++ k9copy.new/src/libdvdnav-NOW/vm/vmget.c 2020-04-17 15:14:34.696659304 -0400 +@@ -31,9 +31,9 @@ + #include + #include + +-#include +-#include +-#include ++#include "dvdread/nav_types.h" ++#include "dvdread/ifo_types.h" ++#include "dvdread/ifo_read.h" + #include "dvdnav/dvdnav.h" + + #include "decoder.h" -- cgit v1.2.3