Age | Commit message (Collapse) | Author |
|
Upstream states that JDK 21 is required for building JabRef 5.10 but
this is due to a bug in jlink:
https://bugs.openjdk.org/browse/JDK-8240567
As this package does not build a custom JRE, jlink is not used. So we
can stick to JDK 20 here.
|
|
Temporarily switch to using the provided gradle wrapper, because the
gradle package in Arch is outdated and not compatible with Java 19.
|
|
Thankfully, the authors of JabRef switched back to a supported version
of Java.
|
|
|
|
|
|
Example:
JABREF_OPTIONS="-Dglass.gtk.uiScale=144dpi -Djdk.gtk.version=2" jabref
|
|
|
|
|
|
Additional changes:
* use Arch's gradle package instead of the gradlew wrapper
* allow Java version 14 and newer
|
|
Jabref only builds against Java 14 and 15. Unfortunately, we cannot
specify
'java-runtime>=14' 'java-runtime<16'
as makedepends, because this is also satisfied if people have Java 16
and some version below 14 installed.
Therefore, let's stick to Java 15 here. Unfortunately, this is not
provided by any official Arch package, so people need to install one of:
https://aur.archlinux.org/packages/amazon-corretto-15/
https://aur.archlinux.org/packages/jdk15-adoptopenjdk/
https://aur.archlinux.org/packages/zulu-15-bin/
|
|
Notes:
* Remove patch for jabrefHost.py which is now included upstream.
* Update start script.
* Update StartupWMClass in desktop file.
* Bump required JDK version to 14. Officially, version 15 is required
but 14 still seems to work. I cannot test 13 anymore and there is only
a single JDK 13 package in AUR, so let's drop support for that.
* In contrast to the devdocs, javafx is not required to build jabref
when using gradle. See https://github.com/JabRef/jabref/pull/6679.
|
|
|
|
The package still includes all required java modules, in particular, we
do not use java-openjfx. It seems that the provided javafx version is
slightly different from Arch's java-openjfx, so trying to use the system
jars leads to a crash on startup.
|
|
* Depend on java-openjfx in version 8
(this has to be realized by requiring java-openjfx>=8 & <9 since
java-openjfx 8 does not provide java-openjfx=8)
* Let archlinux-java-run ensure that a javafx-capable JRE is used
(requires archlinux-java-run v4)
|
|
|
|
|
|
If a suitable java version is selected via archlinux-java we should use it.
Otherwise use the latest version available as we did before.
Thanks a lot to Rhinoceros for providing this solution!
|
|
JabRef is incompatible to java 7. Instead of hardcoding java 8 just always
use the latest of the installed JREs.
|
|
Files taken from AUR3.
|