It is actually the javafx-web module that requires these. Anyone know what part of the Web module that needs the libavcodec and libavcoded-ffmpeg?
We are using a small part of the web module, just WebView for Tooltip with HTML. No Video or Audio. /Sverre ons. 18. sep. 2019 kl. 23:30 skrev Sverre Moe <sverre....@gmail.com>: > Where does the Requires for libavcodec-ffmpeg and libavcodec.so come from? > Is it javafx-media which requires these. > > The first one of these two requires I cannot find an RPM package for on > www.rpmfind.net. > > Actually we are not using the javafx-media in our application. I could > remove that jmods, but would be interesting to see what would happen > without this require while running an media JavaFX application. > > /Sverre > > > ons. 18. sep. 2019 kl. 23:20 skrev Sverre Moe <sverre....@gmail.com>: > >> It seems many of the RPM Requires comes from me adding the JavaFX jmods >> to the application image. >> --add-modules javafx.base javafx.controls javafx.graphics javafx.fxml >> javafx.media javafx.web javafx.swing >> >> Without the JavaFX jmods added to runtime image I get only these Requires. >> >> libX11.so.6()(64bit) >> libXext.so.6()(64bit) >> libXi.so.6()(64bit) >> libXrender.so.1()(64bit) >> libXtst.so.6()(64bit) >> libasound.so.2()(64bit) >> libasound.so.2(ALSA_0.9)(64bit) >> libasound.so.2(ALSA_0.9.0rc4)(64bit) >> libawt.so()(64bit) >> libawt_xawt.so()(64bit) >> libc.so.6()(64bit) >> libc.so.6(GLIBC_2.2.5)(64bit) >> libc.so.6(GLIBC_2.3)(64bit) >> libc.so.6(GLIBC_2.3.2)(64bit) >> libc.so.6(GLIBC_2.3.4)(64bit) >> libc.so.6(GLIBC_2.4)(64bit) >> libc.so.6(GLIBC_2.6)(64bit) >> libc.so.6(GLIBC_2.7)(64bit) >> libdl.so.2()(64bit) >> libdl.so.2(GLIBC_2.2.5)(64bit) >> libfreetype.so()(64bit) >> libjava.so()(64bit) >> libjli.so()(64bit) >> libjvm.so()(64bit) >> libjvm.so(SUNWprivate_1.1)(64bit) >> libm.so.6()(64bit) >> libm.so.6(GLIBC_2.2.5)(64bit) >> libnet.so()(64bit) >> libpthread.so.0()(64bit) >> libpthread.so.0(GLIBC_2.2.5)(64bit) >> libpthread.so.0(GLIBC_2.3.2)(64bit) >> libverify.so()(64bit) >> libz.so.1()(64bit) >> >> >> /Sverre >> >> >> tir. 17. sep. 2019 kl. 10:25 skrev Sverre Moe <sverre....@gmail.com>: >> >>> I have built many times with the new jpackage, but actually just now >>> tried to install the package built by it. >>> >>> The new jpackage adds a lot of Requires to the built RPM package. We had >>> the same problem with the old javapackager. Its default RPM spec file had a >>> lot of Requires that made it difficult for us to install our package on >>> different Linux distributions. We circumvented this by packaging the >>> application image with the Gradle ospackage plugin for RPM and DEB packages. >>> >>> Only the last one of these requires is actually in our RPM spec file >>> provided with --resource-dir. >>> >>> I cannot even install the package on the system I built it, because it >>> cannot find libavcodec-ffmpeg.so.56 >>> For OpenSUSE Leap 15.1, my Linux distribution there is no package that >>> provides the libavcodec-ffmpeg. >>> >>> Are all these Requires actually necessary for running a JavaFX >>> application on Linux? >>> As mentioned we had packaged our JavaFX 8 application with Gradle >>> ospackage plugin without all these Requires, and it has worked fine on RPM >>> Linux distributions. >>> >>> ld-linux-x86-64.so.2()(64bit) >>> ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) >>> libGL.so.1()(64bit) >>> libX11.so.6()(64bit) >>> libXext.so.6()(64bit) >>> libXi.so.6()(64bit) >>> libXrender.so.1()(64bit) >>> libXtst.so.6()(64bit) >>> libasound.so.2()(64bit) >>> libasound.so.2(ALSA_0.9)(64bit) >>> libasound.so.2(ALSA_0.9.0rc4)(64bit) >>> libavcodec-ffmpeg.so.56()(64bit) >>> libavcodec-ffmpeg.so.56(LIBAVCODEC_FFMPEG_56)(64bit) >>> libavcodec.so.54()(64bit) >>> libavcodec.so.54(LIBAVCODEC_54)(64bit) >>> libavcodec.so.56()(64bit) >>> libavcodec.so.56(LIBAVCODEC_56)(64bit) >>> libavcodec.so.57()(64bit) >>> libavcodec.so.57(LIBAVCODEC_57)(64bit) >>> libavformat-ffmpeg.so.56()(64bit) >>> libavformat-ffmpeg.so.56(LIBAVFORMAT_FFMPEG_56)(64bit) >>> libavformat.so.54()(64bit) >>> libavformat.so.54(LIBAVFORMAT_54)(64bit) >>> libavformat.so.56()(64bit) >>> libavformat.so.56(LIBAVFORMAT_56)(64bit) >>> libavformat.so.57()(64bit) >>> libavformat.so.57(LIBAVFORMAT_57)(64bit) >>> libawt.so()(64bit) >>> libawt_xawt.so()(64bit) >>> libc.so.6()(64bit) >>> libc.so.6(GLIBC_2.11)(64bit) >>> libc.so.6(GLIBC_2.14)(64bit) >>> libc.so.6(GLIBC_2.15)(64bit) >>> libc.so.6(GLIBC_2.17)(64bit) >>> libc.so.6(GLIBC_2.2.5)(64bit) >>> libc.so.6(GLIBC_2.3)(64bit) >>> libc.so.6(GLIBC_2.3.2)(64bit) >>> libc.so.6(GLIBC_2.3.4)(64bit) >>> libc.so.6(GLIBC_2.4)(64bit) >>> libc.so.6(GLIBC_2.6)(64bit) >>> libc.so.6(GLIBC_2.7)(64bit) >>> libcairo.so.2()(64bit) >>> libdl.so.2()(64bit) >>> libdl.so.2(GLIBC_2.2.5)(64bit) >>> libfreetype.so()(64bit) >>> libfreetype.so.6()(64bit) >>> libgdk-3.so.0()(64bit) >>> libgdk-x11-2.0.so.0()(64bit) >>> libgdk_pixbuf-2.0.so.0()(64bit) >>> libgio-2.0.so.0()(64bit) >>> libglib-2.0.so.0()(64bit) >>> libgmodule-2.0.so.0()(64bit) >>> libgobject-2.0.so.0()(64bit) >>> libgstreamer-lite.so()(64bit) >>> libgthread-2.0.so.0()(64bit) >>> libgtk-3.so.0()(64bit) >>> libgtk-x11-2.0.so.0()(64bit) >>> libjava.so()(64bit) >>> libjli.so()(64bit) >>> libjvm.so()(64bit) >>> libjvm.so(SUNWprivate_1.1)(64bit) >>> libm.so.6()(64bit) >>> libm.so.6(GLIBC_2.15)(64bit) >>> libm.so.6(GLIBC_2.2.5)(64bit) >>> libnet.so()(64bit) >>> libpango-1.0.so.0()(64bit) >>> libpangoft2-1.0.so.0()(64bit) >>> libpthread.so.0()(64bit) >>> libpthread.so.0(GLIBC_2.2.5)(64bit) >>> libpthread.so.0(GLIBC_2.3.2)(64bit) >>> librt.so.1()(64bit) >>> librt.so.1(GLIBC_2.2.5)(64bit) >>> libverify.so()(64bit) >>> libz.so.1()(64bit) >>> rpmlib(CompressedFileNames) <= 3.0.4-1 >>> rpmlib(FileDigests) <= 4.6.0-1 >>> rpmlib(PayloadFilesHavePrefix) <= 4.0-1 >>> rpmlib(PayloadIsXz) <= 5.2-1 >>> rtld(GNU_HASH) >>> xdg-utils >>> >>