Discussion:
OpenJFX Build Setup
Bryce Glover
2018-11-09 20:37:41 UTC
Permalink
To Whom It May Concern,

While going through the process of setting up an OpenJFX package to be
distributed via Homebrew in
https://github.com/Homebrew/homebrew-core/pull/32864, I noticed that the
results of running either plain 'gradle' or task-qualified 'gradle all'
don't include the following build products:

- 'libfxplugins.dylib'
- 'libglib-lite.dylib'
- 'libgstreamer-lite.dylib'
- 'libjfxmedia.dylib'
- 'libjfxmedia_avf.dylib'
- 'libjfxwebkit.dylib'

under '"$BUILD_PATH/build/artifacts/javafx-sdk-$VERSION/lib/"' (where '
$BUILD_PATH' is a temporary directory and '$VERSION' is the version being
built, currently v11.0.1+1, the latest release as of this writing) as
compared to the SDK archives you distribute on your download page
<https://gluonhq.com/products/javafx/>. It's not immediately obvious from your
build instructions
<https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX> what
additional 'gradle' options and/or properties I might need to set in order
to fix this. Given the presence of those dynamic libraries mentioning
GStreamer, it looks like I might be missing a dependency, too. How might I
build these additional artifacts like you do for the pre-compiled releases?


Thanks in advance,
Bryce Glover
***@gmail.com
Philip Race
2018-11-10 16:28:34 UTC
Permalink
try
gradle -PCOMPILE_MEDIA=true -PCOMPILE_WEBKIT=true

-phil.
Post by Bryce Glover
To Whom It May Concern,
While going through the process of setting up an OpenJFX package to be
distributed via Homebrew in
https://github.com/Homebrew/homebrew-core/pull/32864, I noticed that the
results of running either plain 'gradle' or task-qualified 'gradle all'
- 'libfxplugins.dylib'
- 'libglib-lite.dylib'
- 'libgstreamer-lite.dylib'
- 'libjfxmedia.dylib'
- 'libjfxmedia_avf.dylib'
- 'libjfxwebkit.dylib'
under '"$BUILD_PATH/build/artifacts/javafx-sdk-$VERSION/lib/"' (where '
$BUILD_PATH' is a temporary directory and '$VERSION' is the version being
built, currently v11.0.1+1, the latest release as of this writing) as
compared to the SDK archives you distribute on your download page
<https://gluonhq.com/products/javafx/>. It's not immediately obvious from your
build instructions
<https://wiki.openjdk.java.net/display/OpenJFX/Building+OpenJFX> what
additional 'gradle' options and/or properties I might need to set in order
to fix this. Given the presence of those dynamic libraries mentioning
GStreamer, it looks like I might be missing a dependency, too. How might I
build these additional artifacts like you do for the pre-compiled releases?
Thanks in advance,
Bryce Glover
Bryce Glover
2018-11-10 18:15:12 UTC
Permalink
This post might be inappropriate. Click to display it.
Loading...