Package Details: jabref 5.13-1

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: 212
Popularity: 1.78
First Submitted: 2012-06-07 22:47 (UTC)
Last Updated: 2024-04-02 16:01 (UTC)

Dependencies (4)

Required by (0)

Sources (6)

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 .. 7 8 9 10 11 12 13 14 15 16 17 .. 21 Next › Last »

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.

n.vaughan commented on 2019-07-25 23:17 (UTC) (edited on 2019-07-25 23:18 (UTC) by n.vaughan)

@Rhinoceros You're right! Very odd indeed.

Rhinoceros commented on 2019-07-25 23:16 (UTC) (edited on 2019-07-25 23:16 (UTC) by Rhinoceros)

@n.vaughan You just needed to follow the pinned comment. It looks like you are using the old PKGBUILD. The current one already has that line in it!

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=jabref#n16

n.vaughan commented on 2019-07-25 23:10 (UTC) (edited on 2019-07-25 23:12 (UTC) by n.vaughan)

@Rhinoceros, I just changed the line:

depends=('archlinux-java-run>=4' 'java-openjfx'

to:

depends=('archlinux-java-run>=4' 'java8-openjfx'

in the PKGBUILD file. It now works fine.

Rhinoceros commented on 2019-07-25 22:52 (UTC)

@n.vaughan It's in the official repos, not the AUR. Did you follow the pinned comment? pacman -Syu then pacman -S --asdeps java8-openjfx