Age | Commit message (Collapse) | Author |
|
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.
|
|
Also, we can remove our custom gradle upgrade since gradle 6.3 is used
by default in JabRef 5.1
|
|
|
|
|
|
|
|
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.
|
|
For now, use the prebuilt portable version.
|
|
java-openjfx was updated to version 11 in the repos.
|
|
Additional dependencies for the JavaFX UI. Not sure if this should be
dependencies of java-openjfx instead, but for now let's just add them
here.
|
|
|
|
|
|
|
|
* 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)
|
|
|
|
|
|
|
|
The license file was recently changed, causing (1) the checksum test to fail
and (2) the license file to become out of sync with what applies to the
installed program version. Download the matching the program version to avoid
that.
Thanks to n-st for this contributing this change via github.
|
|
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!
|
|
|
|
|
|
|
|
|
|
|
|
bsdtar seems to have issues when the JAR is extracted over earlier extracted
data:
... Can't replace existing directory with non-directory
|
|
|
|
|
|
|
|
|
|
JabRef is incompatible to java 7. Instead of hardcoding java 8 just always
use the latest of the installed JREs.
|
|
|
|
|
|
Otherwise desktop environments cannot detect that a running instance belongs
to this desktop file.
|
|
|
|
|
|
|
|
Files taken from AUR3.
|