[libbluray-devel] Get the correct java home on macOS

2017-01-17 Thread Marvin Scholz
libbluray | branch: master | Marvin Scholz <epira...@gmail.com> | Thu Dec 8 03:47:00 2016 +0100| [34bce23f06e854162c75f15b25df91a73c5bd4af] | committer: hpi1 Get the correct java home on macOS On macOS apparently the only way to get the correct path to the java home for the currently

[libbluray-devel] [PATCH 1/2] Get the correct java home on macOS

2016-12-07 Thread Marvin Scholz
On macOS apparently the only way to get the correct path to the java home for the currently active SDK as selected by the user is to use the /usr/libexec/java_home tool. --- Filip Roséen was able to figure out why it was not working, so this is an actually working version of the previously

[libbluray-devel] [PATCH 2/2] Load libjli on macOS

2016-12-07 Thread Marvin Scholz
This works around an issue where even though a new Java version is installed, you will still get prompted to install the old Java 6. To workaround this issue, we need to dynamically load the libjli. (See https://bugs.openjdk.java.net/browse/JDK-7131356) --- src/libbluray/bdj/bdj.c | 43

[libbluray-devel] Load libjli on macOS

2017-01-14 Thread Marvin Scholz
libbluray | branch: master | Marvin Scholz <epira...@gmail.com> | Thu Dec 8 03:47:01 2016 +0100| [8571ffdf65f829fa8c90c07401aaa30fd248a3dc] | committer: Jean-Baptiste Kempf Load libjli on macOS This works around an issue where even though a new Java version is installed, you will sti

[libbluray-devel] [PATCH 2/2] Load libjli on macOS

2016-12-04 Thread Marvin Scholz
This works around an issue where even though a new Java version is installed, you will still get prompted to install the old Java 6. To workaround this issue, we need to dynamically load the libjli. (See https://bugs.openjdk.java.net/browse/JDK-7131356) --- src/libbluray/bdj/bdj.c | 43

[libbluray-devel] [PATCH 1/2] [RFC] Get the correct java home on macOS

2016-12-04 Thread Marvin Scholz
On macOS apparently the only way to get the correct path to the java home for the currently active SDK as selected by the user is to use the /usr/libexec/java_home tool. --- While in theory this should work, I think, it does not as the pclose always fails (returns -1) with errno 10 (ECHILD). I do

Re: [libbluray-devel] [PATCH 1/2] Get the correct java home on macOS

2016-12-07 Thread Marvin Scholz
On 8 Dec 2016, at 3:47, Marvin Scholz wrote: > [...] > It turned out the previous patchset actually still did work fine in > all cases, so this one does not use popen/pclose at all anymore, > which hopefully works in all cases. > > [...] Of course what I meant to write wa

[libbluray-devel] [PATCH] Detect JRE (from the Java Applet plugin) on macOS

2017-08-23 Thread Marvin Scholz
From: René J.V. Bertin These changes allow the code to work on hosts that don't have Oracle's JDK installed, but only the JRE (from the Java Applet plugin). --- src/libbluray/bdj/bdj.c | 33 +++-- 1 file changed, 27 insertions(+), 6 deletions(-)

Re: [libbluray-devel] libbluray on Windows 10 with JRE 9

2017-12-10 Thread Marvin Scholz
On 10 Dec 2017, at 13:58, Petri Hintukainen wrote: > su, 2017-12-03 kello 15:39 +0100, Marvin Scholz kirjoitti: >> Just tried to use libbluray with VLC on a Windows 10 machine with JRE >> 9 and >> realized it does not work, I guess that's expected? > > Not intentiona

Re: [libbluray-devel] libbluray on Windows 10 with JRE 9

2017-12-22 Thread Marvin Scholz
On 22 Dec 2017, at 9:28, Petri Hintukainen wrote: > su, 2017-12-10 kello 16:15 +0100, Marvin Scholz kirjoitti: >> >> On 10 Dec 2017, at 13:58, Petri Hintukainen wrote: >> >>> su, 2017-12-03 kello 15:39 +0100, Marvin Scholz kirjoitti: >>>> Just tried

[libbluray-devel] Implement dl_get_path for darwin (macOS)

2018-03-08 Thread Marvin Scholz
libbluray | branch: master | Marvin Scholz <epira...@gmail.com> | Wed Mar 7 10:24:41 2018 +0100| [8c15fdad7797854bc4f98cdb339074a4f9f2dbb3] | committer: hpi1 Implement dl_get_path for darwin (macOS) > http://git.videolan.org/gitweb.cgi/libbluray.git/?a

[libbluray-devel] [PATCH] Implement dl_get_path for darwin (macOS)

2018-03-07 Thread Marvin Scholz
--- src/file/dl_posix.c | 24 1 file changed, 24 insertions(+) diff --git a/src/file/dl_posix.c b/src/file/dl_posix.c index f1852a43..b97f12fe 100644 --- a/src/file/dl_posix.c +++ b/src/file/dl_posix.c @@ -27,6 +27,11 @@ #include "util/logging.h" #include

Re: [libbluray-devel] BDJ menus on MacOS?

2020-01-17 Thread Marvin Scholz
On 17 Jan 2020, at 20:55, glenn wrote: Hi, Hi, For the most part, libbluray 1.1.2 works as expected on MacOS. An issue occurs, though, when an attempt is made to access BDJ menus on a disc. Specifically, when bdj_test (compiled from src/devtools/bdj_test.c) is run, the process hangs at

Re: [libbluray-devel] Building libbluray Java issue

2019-12-27 Thread Marvin Scholz
On 27 Dec 2019, at 17:13, Stuart wrote: Hi I am trying to build libbluray-1.1.2 and I am getting the following error, can anyone suggest a fix/way forward, my Java knowledge is limited, thanks. Hi, its currently not possible to compile libbluray with anything newer than JDK 8.