Package Details: jabref 5.15-3

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: 215
Popularity: 0.092743
First Submitted: 2012-06-07 22:47 (UTC)
Last Updated: 2025-01-17 16:00 (UTC)

Dependencies (4)

Required by (0)

Sources (8)

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?

............
--module-path ${ROOT}/lib \
${JABREF_EXT_Options} \
--patch-module .............

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.

JABREF_EXT_Options='-Dglass.gtk.uiScale=144dpi -Djdk.gtk.version=2' jabref

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.

Latest Comments

« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 22 Next › Last »

Bevan commented on 2020-03-19 09:06 (UTC)

blegat: You likely still have an old version of LICENSE.md lying around in the folder where makepkg is running. Removing it should solve the problem.

I will make the package more robust against this issue in future.

blegat commented on 2020-03-19 09:00 (UTC) (edited on 2020-03-19 09:00 (UTC) by blegat)

I just tried to update and I got:

==> Validating source files with sha256sums...
    JabRef-5.0-portable_linux.tar.gz ... Passed
    LICENSE.md ... FAILED

Bevan commented on 2020-03-18 08:57 (UTC)

Sorry that the update to JabRef 5 takes a while. I'm planning to do it within the next couple of days.

Rhinoceros commented on 2020-03-09 10:00 (UTC)

@SebRut $pkgver never has whitespace in it, and URLs never have spaces either, so those changes are pointless.

SebRut commented on 2020-01-03 11:51 (UTC)

I'm getting the follwing, easily fixed warnings when running shellcheck:

In /dev/stdin line 68:
source=(https://github.com/JabRef/jabref/releases/download/v${pkgver}/JabRef-${pkgver}.jar
                                                            ^-------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.                                                                                                            
                                                                             ^-------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.                                                                                           


In /dev/stdin line 69:
        https://raw.githubusercontent.com/JabRef/jabref/v${pkgver}/LICENSE.md
                                                         ^-------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.                                                                                                               


In /dev/stdin line 72:
noextract=(JabRef-${pkgver}.jar)
                  ^-------^ SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.

For more information:
  https://www.shellcheck.net/wiki/SC2206 -- Quote to prevent word splitting/g...

duckmayr commented on 2019-10-13 15:36 (UTC)

UPDATE: I was able to install jabref.

After thinking a little harder about the error message I saw, I realized archlinux-java-run was probably an additional dependency (beyond java8-openjfx), which probably wasn't in the official repos. Sure enough, I just needed to get it from the AUR at https://aur.archlinux.org/packages/archlinux-java-run/

It might be worthwhile to have as a pinned comment the process to install jabref from scratch, so that people know to get both the java8-openjfx and archlinux-java-run dependencies setup from the get-go. (Or maybe others don't have such problems, and it would only help someone relatively inexperienced with the AUR like me...).

duckmayr commented on 2019-10-13 15:00 (UTC)

I am having some trouble installing, even after following the pinned comment. Specifically, these are the commands I ran:

git clone <https://aur.archlinux.org/jabref.git>
cd jabref/
sudo pacman -Syu
sudo pacman -S --asdeps java8-openjfx
makepkg -si

and I got as output

==> Making package: jabref 4.3.1-3 (Sun 13 Oct 2019 09:49:23 AM CDT)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: archlinux-java-run>=4
==> ERROR: 'pacman' failed to install missing dependencies.

Any thoughts? Thanks!

(This is my first time posting on AUR; please let me know if there's information I haven't provided that is expected).

Bevan commented on 2019-08-02 19:05 (UTC)

myops: As far as I can tell, the checksum is still correct. Maybe you have an old/modified version of the LICENSE.md file lying around?

curl https://raw.githubusercontent.com/JabRef/jabref/v4.3.1/LICENSE.md 2>/dev/null|sha256sum 
d0a8248eeaafc526f1137703fdc5aac1c8fae106f94c4bef56e3650e2c4c73a7  -

myops commented on 2019-08-02 15:35 (UTC)

Please update the checksum for LICENSE.md in PKGBUILD.