gothicVI: Yes, that is how it works now. With version 5, JabRef is not a simple jar-file anymore but a more complex project with many dependencies that are managed with gradle. Version 5.0-1 of this package used the prebuilt portable version. However, that was only meant as a temporary workaround.
Search Criteria
Package Details: jabref 5.15-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/jabref.git (read-only, click to copy) |
---|---|
Package Base: | jabref |
Description: | Graphical Java application for managing BibTeX and biblatex (.bib) databases |
Upstream URL: | https://www.jabref.org/ |
Licenses: | MIT |
Submitter: | Allan |
Maintainer: | Bevan |
Last Packager: | Bevan |
Votes: | 213 |
Popularity: | 0.23 |
First Submitted: | 2012-06-07 22:47 (UTC) |
Last Updated: | 2024-09-23 19:59 (UTC) |
Dependencies (4)
- archlinux-java-runAUR
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, java-openjdk-ea-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk)
- gradle (gradle7) (make)
- python (python37AUR, python311AUR, python310AUR) (optional) – browser extension
Required by (0)
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 6 7 8 9 10 11 12 13 14 15 16 .. 21 Next › Last »
Bevan commented on 2020-03-23 19:59 (UTC)
gothicVI commented on 2020-03-23 19:47 (UTC)
@Bevan: that fixed it though it took quite some time as it had to download gradle and build java for some reason. Anyhow, thanks a lot!
Bevan commented on 2020-03-23 19:31 (UTC)
gothicVI, can you please retry with the newest PKGBUILD?
Bevan commented on 2020-03-23 18:50 (UTC)
gothicVI: It looks like gradle tries to use an unsuitable path for its files when building. I will try to come up with a fix later today.
gothicVI commented on 2020-03-23 17:33 (UTC)
Hi all, version 5.0-2 fails to update from version 5.0-1 and fails to install after a removal. Here's the console output:
:: Starte den Buildvorgang:
Running as unit: run-u2354.service
Press ^] three times within 1s to disconnect TTY.
==> Erstelle Paket: jabref 5.0-2 (Mo 23 Mär 2020 18:31:43 CET)
==> Prüfe Laufzeit-Abhängigkeiten...
==> Prüfe Buildtime-Abhängigkeiten...
==> Empfange Quellen...
-> Lade jabref-5.0.tar.gz herunter...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 119 100 119 0 0 340 0 --:--:-- --:--:-- --:--:-- 339
100 9209k 0 9209k 0 0 2948k 0 --:--:-- 0:00:03 --:--:-- 4896k
-> jabref.sh gefunden
-> jabref.desktop gefunden
==> Überprüfe source Dateien mit sha256sums...
jabref-5.0.tar.gz ... Durchgelaufen
jabref.sh ... Durchgelaufen
jabref.desktop ... Durchgelaufen
==> Entpacke Quellen...
-> Entpacke jabref-5.0.tar.gz mit bsdtar
==> Beginne build()...
Exception in thread "main" java.lang.RuntimeException: Could not create parent directory for lock file /.gradle/wrapper/dists/gradle-6.2.1-bin/5m14x4d33sfxbtkeo25s43l8q/gradle-6.2.1-bin.zip.lck
at org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:43)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:63)
==> FEHLER: Ein Fehler geschah in build().
Breche ab...
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 4.609s
Ausführung des Befehls 'systemd-run --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/pikaur/build/jabref sh -c trap "exit 2" INT ; makepkg --force' ist fehlgeschlagen.
:: Versuchen, wiederherzustellen?
[R] Build nochmal versuchen
[p] überspringe PGP-Signaturprüfung
[c] überspringe Checksummen-Prüfung
[i] ignoriere Architektur
[d] entferne Build-Verzeichnis und versuche erneut
[e] edit PKGBUILD
------------------------
[u] überspringe Build dieses Pakets
[a] bauen aller Pakete abbrechen
> a
Are there missing dependencies?
billypilgrim commented on 2020-03-20 10:40 (UTC)
@Bevan Great, thanks for your response and for your work on this package :-). That all sounds sensible.
Bevan commented on 2020-03-19 23:37 (UTC)
The package now only contains Java resources again and no JRE.
For now, it requires jdk-openjdk in version 13. I will make this more flexible in future, since JabRef seems to work fine with JDK 14 as well.
Bevan commented on 2020-03-19 12:18 (UTC) (edited on 2020-03-20 09:10 (UTC) by Bevan)
billypilgrim: This package is not supposed to ship the prebuilt portable version for long, so no, it is not becoming a jabref-bin.
I would love to get rid of the JRE. If this is not possible, I at least would like to build the package from scratch to use our own JRE instead of someone's. This is however a non-trivial process. Pull requests are always welcome :)
Since people started asking if this package is still maintained at all, I decided to temporarily distribute the portable version until a better solution is found.
billypilgrim commented on 2020-03-19 10:58 (UTC)
@Bevan Thanks for updating this to v5. The only issue is that I think this package should be called jabref-bin as per the standard AUR naming conventions. It would be nice not to have an entire bundled JRE with the package.
Rhinoceros commented on 2020-03-19 09:44 (UTC)
Ah yes good point. I always forget "the downloaded source filename must be unique" in my PKGBUILDs. Thanks for the reply.
Pinned Comments
Bevan commented on 2024-03-28 17:57 (UTC)
Everyone who struggles to update right now: Please install the jdk21-openjdk package. It provides java-environment=21.
Bevan commented on 2022-03-14 20:04 (UTC)
@shmilee: I like that idea. Implemented in 5.5-2 using JABREF_OPTIONS as variable name.
Note that you can then also put that environment variable into your .bashrc, .pam_environment or something similar to be automatically applied.
shmilee commented on 2022-03-12 13:51 (UTC)
How about add an extra JavaOptions variable in launch script
/usr/bin/jabref
like this?So we can add the
-Djdk.gtk.version=2
flag or-Dglass.gtk.uiScale=144dpi
flag by cmdline, no need to edit/usr/bin/jabref
after upgrade.matteodelabre commented on 2020-11-17 14:25 (UTC)
Using JabRef with i3wm, I’m running into the issue described at https://github.com/JabRef/jabref/issues/5867 in which clicking the menu bar sometimes opens then immediately closes the associated menu, rendering it unusable.
I was able to fix this issue by adding the
-Djdk.gtk.version=2
flag after line 9 in https://aur.archlinux.org/cgit/aur.git/tree/jabref.sh?h=jabref (as suggested in the related bug report https://bugs.openjdk.java.net/browse/JDK-8251240). This change also removes the “XSetErrorHandler() called with a GDK error trap pushed. Don't do that.” warning mentioned by ruiin in a previous comment.So far, I have not encountered any adverse side-effect from this workaround.