Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#67102 - [java-openjfx] [java11-openjfx] Make gtk2 optional

Attached to Project: Arch Linux
Opened by Anton (Xakep_SDK) - Thursday, 25 June 2020, 08:50 GMT
Last edited by freswa (frederik) - Friday, 26 June 2020, 00:05 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Maxime Gauduin (Alucryd)
Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 4
Private No


According to this, JavaFX 9 and newer works with gtk2 and gtk3.
Is it possible to mark GTK2 optional or require gtk2 or gtk3 be installed with javafx?

Also i tested my JavaFX app on system without gtk2 and with gtk3 installed - it works.
This task depends upon

Comment by Phil Schaf (flying-sheep) - Monday, 20 July 2020, 09:11 GMT
Yes. This has been described in  FS#59904 .

GTK2 should be a make dependency and optional dependency, and software that uses JavaFX and needs GTK2 specifically should depend on both JavaFX and GTK2.
Comment by devnull (0devnull0) - Monday, 20 July 2020, 20:43 GMT
Same for  FS#66776 
Updated pycharm-ce today and see, python2, gtk2 and their dependencies,...what? :(
Comment by soloturn (soloturn) - Monday, 20 July 2020, 23:49 GMT
please make python2, ruby as build dependency, not a runtime dependency, see here:
Comment by Anton (Xakep_SDK) - Tuesday, 21 July 2020, 02:38 GMT
1. gtk2 and gtk3 installed: gtk2 will be used
2. gtk2 only installed: gtk2 will be used
3. gtk3 only installed: gtk3 will be used

qt5-base is probably not required at runtime, but i'm not sure. I don't have qt5-base free environment to test.
Comment by soloturn (soloturn) - Wednesday, 22 July 2020, 21:59 GMT