|
Bugzilla – Full Text Bug Listing |
| Summary: | [Feature Request] openJFX package | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Forgotten User b3T01WmZkI <forgotten_b3T01WmZkI> |
| Component: | Java | Assignee: | Fridrich Strba <fstrba> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Enhancement | ||
| Priority: | P5 - None | CC: | forgotten_Kr9TBsY3CB, forgotten__AcwqRqvKw, gilbertoca, info, kkirill, marc.schlegel, sebastian, sverre.moe, tchvatal |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | x86-64 | ||
| OS: | openSUSE 42.1 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Forgotten User b3T01WmZkI
2016-07-29 17:16:16 UTC
Someone already has tried to build a openjfx package: https://bugzilla.opensuse.org/show_bug.cgi?id=976102 I've tried it too – it's quite difficult to compile and package openjfx. Please provide a compiled version of the JavaFX binaries as part of the OpenJDK RPM. It is currently not possible to work on JavaFX projects (without major efforts). Both of my development machines are running Leap 42.2 and I cannot work on a project I need to. And why is this considered a "enhancement"? Java 8 includes JavaFX, so it should be part of the distribution. If there are no resources available to work on this, I might find some time to provide a pull-request, but I have to educate myself with everything (rpm, suse build, process, etc.) I am also in need of JavaFX and think it should be included in the distribution as it is part of Java these days. (https://en.wikipedia.org/wiki/JavaFX#JavaFX_8) The Fedora team appears to have been able to figure out how to build openjfx. Might that be of any help to package for OpenSUSE? * https://bugzilla.redhat.com/show_bug.cgi?id=1145303 * https://koji.fedoraproject.org/koji/packageinfo?packageID=24255 * http://pkgs.fedoraproject.org/cgit/rpms/java-1.8.0-openjdk.git/tree/java-1.8.0-openjdk.spec?id=aaedfc554ed8429191b75a38108e92f516465fd3 This project https://build.opensuse.org/package/show/home:Herbster0815/java-openjfx by Robert Herb, could be a started point. WDT? (In reply to Gilberto C. Andrade from comment #5) > This project > https://build.opensuse.org/package/show/home:Herbster0815/java-openjfx by > Robert Herb, could be a started point. WDT? No. I wrote that package > https://build.opensuse.org/package/show/home:kistelini/openjfx and it doesn't even build from source. openSUSE doesn't build OpenJDK, it builds IcedTea and it seems that IcedTea doesn't include JavaFX. I tried building OpenJFX from source with openSUSE's JDK, it already failed in a configure script when it tried to parse the JDK version (it's different from OpenJDK) and when I patched that the build failed in a Java class with an error message not even Google could help me with. Fedora builds from OpenJDK sources, as does Debian and that's the only way that will work. (In reply to Christian Buschau from comment #6) > (In reply to Gilberto C. Andrade from comment #5) > > This project > > https://build.opensuse.org/package/show/home:Herbster0815/java-openjfx by > > Robert Herb, could be a started point. WDT? > > No. I wrote that package > > https://build.opensuse.org/package/show/home:kistelini/openjfx > and it doesn't even build from source. > > openSUSE doesn't build OpenJDK, it builds IcedTea and it seems that IcedTea > doesn't include JavaFX. I tried building OpenJFX from source with openSUSE's > JDK, it already failed in a configure script when it tried to parse the JDK > version (it's different from OpenJDK) and when I patched that the build > failed in a Java class with an error message not even Google could help me > with. Do you use SPECS like this one https://github.com/gferon/openjfx-fedora/tree/master/SPECS ? Maybe we could one similar for openSUSE? I don't know if the license permits! The OBuildFactory project[1] builds it from source. I will try it and see if openjfx it build together. [1] https://github.com/hgomez/obuildfactory Now, one can take the Fedora spec file and adapt it. Nonetheless, openjfx is not so easy to build, since it requires gradle that likes to download things right and left. Which is not possible in our build environment. The Fedora folks solve this with xmvn plugin that allows them to use pre-downloaded or even system jar dependencies. To make this work on SUSE would require quite a non-trivial (not to say huge) time of work. So, I am closing this bug as wontfix. If someone wants to step in and backport the xmvn plugin, she is most welcome. Nevertheless, since we are nice, there is a package https://build.opensuse.org/package/show/home:fstrba/java-1_8_0-openjdk-openjfx that can be built on a client system using rpmbuild. If you have the right gradle installed, it will build and create package that you can install on your system. But, since it will download stuff needed for build, you will not able to build it using osc build. *** This bug has been marked as a duplicate of bug 976102 *** |