Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 600698 - app-text/jabref-3.7 version bump
Summary: app-text/jabref-3.7 version bump
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Nicolas Bock
: 608742 (view as bug list)
Depends on: 339574
Blocks: 718152
  Show dependency tree
Reported: 2016-11-24 22:45 UTC by Jonas Stein
Modified: 2020-04-19 14:21 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Stein gentoo-dev 2016-11-24 22:45:00 UTC
It would be nice to have a recent jabref in gentoo. 
I guess it is not trivial.
James already had a short look at the old ebuild in
Comment 1 Nicolas Bock gentoo-dev 2016-11-27 12:34:36 UTC
Currently jabref is built with gradle which we don't have in tree. How would we build jabref?
Comment 2 Jonas Stein gentoo-dev 2016-11-27 19:07:39 UTC
Nicolas, thank you for pointing out that we need gradle. Now I remember, that we had been at this point in spring this year already.
Comment 3 Jonas Stein gentoo-dev 2017-06-13 06:43:15 UTC
*** Bug 608742 has been marked as a duplicate of this bug. ***
Comment 4 koppdev 2017-08-04 00:28:03 UTC
Just for information: JabRef 2.10 was the last version built with gradle.

There is not much magic being done in the gradle build (see

- generating source using antlr
- generating source using xjc
- patching in VERSION and DEVELOPERS in the source files
- declaring dependencies
- making a fat jar and some magic so that it works with gradle

Other things not required for a binary:
- some Install4J thing - windows + mac only
- checkstyle
- modernizer
- junit

In case someone has experience with other build tools (Maven?) it should not be that hard to write a pom.xml doing the build for JabRef.

FYI, here what debian did to package 3.8.2:

Debian's patch to build.gradle is available at

The also had issues to get xjc running, thus they added the generated files:

And the usual org.json replacement patch:

Finally, due to non-available libraries, some functionality has been removed and a DB driver replaced:
Comment 5 koppdev 2017-08-08 13:43:39 UTC
All external libraries are listed at - required for the upcoming version 4.0 of JabRef relying on JavaFX being available.

Version 3.8.2 does not rely on JavaFX. Its external libraries are listed at

Sure, the dependencies stated at build.gradle are the ones really used:
Comment 6 Joakim Tjernlund 2019-10-31 19:28:28 UTC
(In reply to koppdev from comment #5)
> All external libraries are listed at
> -
> required for the upcoming version 4.0 of JabRef relying on JavaFX being
> available.

FYI, JavaFX is now in Gentoo tree but now called dev-java/openjfx
Comment 7 cjosephson 2020-03-31 23:51:34 UTC
Should this ebuild be eliminated and jabref-bin left as the only jabref ebuild in the tree? Jabref 2.x is more than 5 years old and jabref 5.x is the latest stable.
Comment 8 John (EBo) David 2020-04-01 04:56:10 UTC
I only have 2c worth adding here.  I remember reading in the documentation that philosophically source builds are preferred over binary builds when possible. 
 That said, I am not an official gentoo developer.  If one of the official maintainers are willing to mentor me through the process of becoming an official developer I will commit to helping upgrade jabref-bin to 5.0 and do my best to get jabref source build updated as well (as well as modernizing them to EAPI=7 or jabref to 6 at the preference of the sci team).  My biggest issue here is that of the roughly 40 different languages I have programmed in non-trivially over my career, java is not one of them, so that will be a learning curve.

Also to note, I have been using Jabref on and off since 2008 or before (that is the oldest email I can find referring to jabref), and would really like to get some of these issues resolved.

Anyway, if any devs are willing to work with me to mentor, then I will look at my schedule and see how much time I can start breaking away for this.
Comment 9 Benda Xu gentoo-dev 2020-04-01 05:31:08 UTC
@Java team, are you interesting in mentoring EBo?