Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Mar 2017 18:55:40 +0100
From:      Kurt Jaeger <lists@opsec.eu>
To:        =?iso-8859-1?Q?Dr=2E_Jochen_Ra=DFler?= <jochen.rassler@gmail.com>
Cc:        java@FreeBSD.org, ports@FreeBSD.org
Subject:   Re: openjfx8-devel future question
Message-ID:  <20170306175540.GQ13006@home.opsec.eu>
In-Reply-To: <6f550c7d-5228-58fd-4a5c-e3142819331b@googlemail.com>
References:  <6f550c7d-5228-58fd-4a5c-e3142819331b@googlemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> currently I'm developing a email client using OpenJDK8 and openJFX8 (and 
> of course javamail) under FreeBSD 11 STABLE.

Interesting.

> I'd like to use the HTMLEditor widget, which is part of the JavaFX 
> framework, but not running under the above mentioned configuration, as 
> openjfx does not compile against webkit (or parts of it). There are more 
> such artifacts, as for example MP3 player widget, which needs gstreamer.
> Obviously, those dependencies are defined for the package, but not 
> included by the gradle build script for FreeBSD. This might be, because 
> of some maven repositories, as e.g. webview 
> (https://repo1.maven.org/maven2/com/sun/webkit/webview-deps/1.3/) having 
> no FreeBSD definition files.

>From what I understand: If you have java code that needs to be compiled
using maven, maven automagically fetches dependencies from
the maven repos out there.

The problem for a freebsd port is: during the build phase not
'fetch from extern' is allowed, so we need to explicitly name
the distfiles to be fetched before, which breaks a lot of the
maven assumptions and is a mess to maintain.

> Are there any plans to include full openjfx support in the next FreeBSD 
> release or any integration for the upcoming OpenJDK9?
> Maybe is there 
> already support in CURRENT? Is there any political reason not to include 
> those packages (license,..)?

The problem is the build process in the ports framework.

If someone would integrate the fetch-distfile process of maven
in the ports framework, all those java codes build using maven
would be become much more simpler to maintain.

See the discussion in

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188110#c37

and followups.

-- 
pi@opsec.eu            +49 171 3101372                         3 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170306175540.GQ13006>