Bug 218014 - java/openjfx8-devel does not build against all build targets
Summary: java/openjfx8-devel does not build against all build targets
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias Kortkamp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-22 17:30 UTC by Dr. Jochen Raßler
Modified: 2017-07-22 22:09 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dr. Jochen Raßler 2017-03-22 17:30:13 UTC
openjfx8-devel does not build against build targets COMPILE_WEBKIT and COMPILE_MEDIA. More build targets may fail, too.
Omitting these build targets result in runtime errors for some classes, e.g. javafx.scene.web.HTMLEditor for COMPILE_WEBKIT and javafx.scene.media.MediaPlayer for COMPILE_MEDIA.

At least for target COMPILE_WEBKIT I already had a deeper look inside the issue and it seems the maven repository dependencies for FreeBSD are missing. In this case webkit depends on webview, which does not define FreeBSD dependencies. See https://repo1.maven.org/maven2/com/sun/webkit/webview-deps/1.3/ for the build dependencies the gradle build script checks.
Comment 1 commit-hook freebsd_committer 2017-07-22 22:05:44 UTC
A commit references this bug:

Author: tobik
Date: Sat Jul 22 22:05:22 UTC 2017
New revision: 446432
URL: https://svnweb.freebsd.org/changeset/ports/446432

Log:
  java/openjfx8-devel: Update to a more recent snapshot

  - Add new default options MEDIA and WEBKIT to enable building of the
    media and web modules
  - Take back maintainership

  Running e.g. AsciidocFX on FreeBSD should be possible now.

  PR:		218014
  Reported by:	Dr. Jochen Ra?ler <jochen.rassler@gmail.com>, mr (via mail)

Changes:
  head/java/openjfx8-devel/Makefile
  head/java/openjfx8-devel/distinfo
  head/java/openjfx8-devel/files/patch-build.gradle
  head/java/openjfx8-devel/files/patch-buildSrc_build.gradle
  head/java/openjfx8-devel/files/patch-modules_graphics_src_main_native-font_pango.c
  head/java/openjfx8-devel/files/patch-modules_web_src_main_native_Source_cmake_OptionsJava.cmake
  head/java/openjfx8-devel/pkg-message
  head/java/openjfx8-devel/pkg-plist