Skip to content

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

Merged
tresf merged 14 commits intoivyfrom
fx-headless
Dec 10, 2024
Merged

Move away from "Monocle" in favor of "Headless"#1225
tresf merged 14 commits intoivyfrom
fx-headless

Conversation

@tresf
Copy link
Copy Markdown
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.

Comment thread .idea/misc.xml Outdated
Comment thread ant/javafx.xml Outdated
</condition>

<!-- FIXME:
- Temporary johan mirror URL
Copy link
Copy Markdown
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
@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