Bug 17122 - Backport Candidate: java-1.8.0-openjfx because java-1.8.0-openjdk lacks of openjfx support
Summary: Backport Candidate: java-1.8.0-openjfx because java-1.8.0-openjdk lacks of op...
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: Backports (show other bugs)
Version: 5
Hardware: x86_64 Linux
Priority: Low enhancement
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA5-64-OK MGA5-32-OK has_procedure
Keywords: Backport
Depends on:
Blocks:
 
Reported: 2015-11-10 20:18 CET by Fabrice Boyrie
Modified: 2016-03-02 23:56 CET (History)
6 users (show)

See Also:
Source RPM: java-1.8.0-openjfx
CVE:
Status comment:


Attachments
Quick and dirty SPEC file for openjfx (3.85 KB, text/x-rpm-spec)
2015-11-26 16:49 CET, Nicolas Salguero
Details
A patch to allow compilation (698 bytes, patch)
2015-11-26 16:50 CET, Nicolas Salguero
Details | Diff
Updated SPEC file (3.85 KB, text/x-rpm-spec)
2016-01-29 12:55 CET, Nicolas Salguero
Details

Description Fabrice Boyrie 2015-11-10 20:18:56 CET
Some java programs, eg jalbum since version 13, needs openjfx to run. 
(http://openjdk.java.net/projects/openjfx/)

 As I understand javaFX will replace swing, so it may be a good idea to provide openjfx, at least in an optional rpm.
Comment 1 Marja Van Waes 2015-11-11 17:18:18 CET
assiging to maintainer

CC: (none) => geiger.david68210, marja11
Assignee: bugsquad => mageia

Comment 2 Nicolas Salguero 2015-11-26 16:49:40 CET
Created attachment 7237 [details]
Quick and dirty SPEC file for openjfx

I adapted a SPEC file taken from fedora: http://copr-dist-git.fedorainfracloud.org/cgit/gferon/openjfx/java-1.8.0-openjfx.git/plain/openjfx.spec?h=f21&id=ea8e98b0a785decfc187260147b0808b2c48292b

CC: (none) => nicolas.salguero

Comment 3 Nicolas Salguero 2015-11-26 16:50:32 CET
Created attachment 7238 [details]
A patch to allow compilation
Comment 4 Nicolas Salguero 2015-11-26 16:54:51 CET
Hi,

I adapted a SPEC file from fedora and I was able to build a package for Mga5 and Cauldron.  On Mga5, I installed the package and tested with success that jalbum and another program which needed JavaFX seemed to work fine with my package.

Best regards,

Nico.
Comment 5 Fabrice Boyrie 2015-11-28 19:38:29 CET
I've tried the spec file. Really slow to compile, but it works.

Thank you very much.
Comment 6 Nicolas Salguero 2015-11-28 20:28:57 CET
Yes compilation takes time: around 30 minutes with a 2nd generation Core i5.
Comment 7 Nicolas Salguero 2016-01-29 12:55:25 CET
Created attachment 7391 [details]
Updated SPEC file

New version of the SPEC file

Attachment 7237 is obsolete: 0 => 1

Comment 8 David Walser 2016-02-11 23:11:08 CET
If there are no license issues that prevent us from packaging it, you could import it in Cauldron.  If you really want it in Mageia 5, you could introduce it there as a backport.

Component: RPM Packages => New RPM package request
Assignee: mageia => bugsquad
Source RPM: java-1.8.0-openjdk-1.8.0.65-1.b17.1.mga5 => openjfx

Comment 9 Nicolas Salguero 2016-02-12 11:03:20 CET
Packages in core/backports_testing:
========================
i586:
java-1.8.0-openjfx-1.8.0.72-1.b15.1.mga5.i586.rpm

x86_64:
java-1.8.0-openjfx-1.8.0.72-1.b15.1.mga5.x86_64.rpm

Source RPMs:
java-1.8.0-openjfx-1.8.0.72-1.b15.1.mga5.src.rpm

========================

I have successfully tested the package java-1.8.0-openjfx-1.8.0.72-1.b15.1.mga5.x86_64.rpm.

Testing procedure:
1) On a system where the package java-1.8.0-openjdk is installed, download jAlbum (http://jalbum.net/fr/downloadmirror/os/anything/url/http%253A%252F%252Fdownload.jalbum.net%252Fdownload%252F13%252F%252FjAlbum.zip).
2) Unzip the downloaded archive.
3) In jAlbum directory, do a "chmod +x startjalbum.sh".
4) Launch startjalbum.sh.

WITHOUT java-1.8.0-openjfx, the software is not working with:
"""
java.lang.NoClassDefFoundError: javafx/beans/value/ChangeListener
	at se.datadosen.jalbum.SplashScreen.<init>(SplashScreen.java:39)
	at se.datadosen.jalbum.JAlbum.<init>(JAlbum.java:107)
	at se.datadosen.jalbum.JAlbum.main(JAlbum.java:358)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at se.datadosen.jalbum.Main.main(Main.java:44)
Caused by: java.lang.ClassNotFoundException: javafx.beans.value.ChangeListener
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 8 more
"""

WITH java-1.8.0-openjfx, the software is working.

Component: New RPM package request => Backports
Assignee: bugsquad => qa-bugs
Summary: lacks of openjfx support => Backport Candidate: java-1.8.0-openjfx because java-1.8.0-openjdk lacks of openjfx support

Nicolas Salguero 2016-02-12 11:09:34 CET

Version: Cauldron => 5

Comment 10 Len Lawrence 2016-02-14 13:32:04 CET
mga5  x86_64  Mate

[root@vega qa]# urpmi java-1.8.0-openjdk
Package java-1.8.0-openjdk-1.8.0.72-1.b15.1.mga5.x86_64 is already installed
Redundant check:
[root@vega qa]# urpmi java-1.8.0-openjfx
No package named java-1.8.0-openjfx
Downloaded jAlbum.zip from the link referenced in comment #9.
# ark -e jAlbum.zip
# cd jAlbum
# chmod +x startjalbum.sh
# ./startjalbum.sh
java.lang.NoClassDefFoundError: javafx/beans/value/ChangeListener
	at se.datadosen.jalbum.SplashScreen.<init>(SplashScreen.java:39)
	at se.datadosen.jalbum.JAlbum.<init>(JAlbum.java:107)
	at se.datadosen.jalbum.JAlbum.main(JAlbum.java:358)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at se.datadosen.jalbum.Main.main(Main.java:44)
Caused by: java.lang.ClassNotFoundException: javafx.beans.value.ChangeListener
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 8 more

CC: (none) => tarazed25

Comment 11 Len Lawrence 2016-02-14 17:34:45 CET
[lcl@vega jAlbum]$ ./startjalbum.sh
This launched an unlicensed version of jalbum (30 day trial) in a gui for which I lack the knowledge to operate.  There is a sign-in button, and a pricing button that launches a page in the browser showing the tariffs.  Pressing the loudhailer icon lists various announcements, which appear from time to time on the menubar.  The rest of the menu items are greyed out, presumably until a user signs in.

This should be enough to confirm that the update works.
Len Lawrence 2016-02-14 17:35:40 CET

Whiteboard: (none) => has_procedure MGA5-64-OK

Comment 12 Len Lawrence 2016-02-17 22:49:16 CET
mga5  i586 in virtualbox  Mate

Installed java-1.8.0-openjfx-1.8.0.72-1.b15.1.mga5 from Backports Testing and followed the procedure outlined above.  Launched the trial version of JAlbum and tried various items in the interface.  Examined the sample portfolio and created a test album in the user's My Album directory which was created on the fly.  Could not populate it - not signed in.

Validating this and requesting that it be pushed to updates.
Len Lawrence 2016-02-17 22:49:58 CET

Keywords: (none) => validated_update
Whiteboard: has_procedure MGA5-64-OK => MGA5-64-OK MGA5-32-OK has_procedure
CC: (none) => sysadmin-bugs

Comment 13 claire robinson 2016-02-18 10:12:05 CET
Thanks Len. Removing validated_update keyword as this one is a backport which are currently handled differently.

Keywords: validated_update => (none)

Comment 14 Len Lawrence 2016-02-18 11:26:29 CET
Thank you.  I'm a dope.  Should have realised.
Len Lawrence 2016-02-19 19:48:25 CET

Keywords: (none) => Backport

Nicolas Salguero 2016-03-02 10:52:14 CET

Source RPM: openjfx => java-1.8.0-openjfx

Comment 15 Pascal Terjan 2016-03-02 23:56:27 CET
Done:

mga-adv-move-pkg --sync --backport 5/core/java-1.8.0-openjfx

Status: NEW => RESOLVED
CC: (none) => pterjan
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.