Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move away from "Monocle" in favor of "Headless" #1225

Merged
merged 14 commits into from
Dec 10, 2024
Merged

Move away from "Monocle" in favor of "Headless" #1225

merged 14 commits into from
Dec 10, 2024

Conversation

tresf
Copy link
Contributor

@tresf tresf commented Nov 30, 2023

Switches to the new experimental glass.platform="Headless" property, removing the special monocle JavaFX dependency.

  • This is built atop the jdk21 branch, but the only relevant commits should be those on or after d87055b.
  • At time of writing this, this flag does not yet exist in OpenJFX as it's still undergoing internal R&D

Fixes #1253.

.idea/misc.xml Outdated Show resolved Hide resolved
ant/javafx.xml Outdated
@@ -207,6 +207,28 @@
</not>
</condition>

<!-- FIXME:
- Temporary johan mirror URL
Copy link
Contributor Author

@tresf tresf Dec 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has progressed significantly since, quoting:

[Gluon has] a working build in our public Nexus repository, that you can test:

<repository>
   <id>Gluon Releases</id>
   <url>https://nexus.gluonhq.com/nexus/content/repositories/releases/</url>
</repository>

<dependency>
   <groupId>org.openjfx</groupId>
   <artifactId>javafx-controls</artifactId>
   <version>24-headless+0-2024-12-02-101029</version>
</dependency>

In order to select the headless platform, you need to add:

-Dglass.platform=Headless 

This can run on sw pipeline as well (convenient for CI).

This PR depends on the switch to JDK21, making it a good candidate to rebased and merged into #1222 (edit: perhaps #1216) however this will depend on whether or not the repository is compatible with Ivy, so this PR was created as a stop-gap for testing interim headless builds. I'll do some integration testing.

@tresf tresf changed the base branch from master to ivy December 9, 2024 21:35
@tresf tresf changed the base branch from ivy to master December 9, 2024 21:37
@tresf tresf changed the base branch from master to ivy December 10, 2024 22:39
@tresf tresf marked this pull request as ready for review December 10, 2024 23:02
@tresf tresf merged commit 72726cc into ivy Dec 10, 2024
5 of 12 checks passed
@tresf tresf deleted the fx-headless branch December 10, 2024 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ubuntu 18.04: QuantumRenderer: no suitable pipeline found
1 participant