From owner-freebsd-java@freebsd.org Mon Mar 6 17:55:39 2017 Return-Path: Delivered-To: freebsd-java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93883CFACE4 for ; Mon, 6 Mar 2017 17:55:39 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 83A441D92 for ; Mon, 6 Mar 2017 17:55:39 +0000 (UTC) (envelope-from lists@opsec.eu) Received: by mailman.ysv.freebsd.org (Postfix) id 8027CCFACE1; Mon, 6 Mar 2017 17:55:39 +0000 (UTC) Delivered-To: java@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7DEA0CFACE0; Mon, 6 Mar 2017 17:55:39 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40BC01D8F; Mon, 6 Mar 2017 17:55:39 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.87 (FreeBSD)) (envelope-from ) id 1ckwrE-000Hoj-Tv; Mon, 06 Mar 2017 18:55:40 +0100 Date: Mon, 6 Mar 2017 18:55:40 +0100 From: Kurt Jaeger To: =?iso-8859-1?Q?Dr=2E_Jochen_Ra=DFler?= Cc: java@FreeBSD.org, ports@FreeBSD.org Subject: Re: openjfx8-devel future question Message-ID: <20170306175540.GQ13006@home.opsec.eu> References: <6f550c7d-5228-58fd-4a5c-e3142819331b@googlemail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6f550c7d-5228-58fd-4a5c-e3142819331b@googlemail.com> X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 17:55:39 -0000 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 !