flathub / org.bluej.BlueJ

https://flathub.org/apps/details/org.bluej.BlueJ
0 stars 5 forks source link

Update BlueJ to 5.2.1 and switch to Freedesktop runtime #15

Closed bbhtt closed 9 months ago

bbhtt commented 9 months ago

Closes https://github.com/flathub/org.bluej.BlueJ/pull/14 Closes https://github.com/flathub/org.bluej.BlueJ/pull/7

Combines work from above two PRs

Closes https://github.com/flathub/org.bluej.BlueJ/issues/11 Closes https://github.com/flathub/org.bluej.BlueJ/issues/8

See https://github.com/flathub/flathub/issues/1040 for the dconf migration

flathubbot commented 9 months ago

Started test build 87561

flathubbot commented 9 months ago

Build 87561 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/70228/org.bluej.BlueJ.flatpakref
bbhtt commented 9 months ago

Wayland isn't supported, not sure why it was there in the first place. Allowing it causes the app to crash immediately

Dec 13, 2023 10:57:49 AM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @86c0cf4'
Exception in thread "main" java.lang.UnsupportedOperationException: Unable to open DISPLAY
    at com.sun.glass.ui.gtk.GtkApplication.lambda$new$6(GtkApplication.java:181)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
    at com.sun.glass.ui.gtk.GtkApplication.<init>(GtkApplication.java:179)
    at com.sun.glass.ui.gtk.GtkPlatformFactory.createApplication(GtkPlatformFactory.java:41)
    at com.sun.glass.ui.Application.run(Application.java:146)
    at com.sun.javafx.tk.quantum.QuantumToolkit.startup(QuantumToolkit.java:291)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:293)
    at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)
    at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659)
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
    at java.base/java.lang.Thread.run(Thread.java:840)

Also the script needs updating, otherwise it doesn't open. I'll update it with whatever they ship for the deb

flathubbot commented 9 months ago

Started test build 87563

flathubbot commented 9 months ago

Build 87563 successful To test this build, install it from the testing repository:

flatpak install --user https://dl.flathub.org/build-repo/70230/org.bluej.BlueJ.flatpakref