Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 252833

Summary: app-text/jabref should depend on jdbc-mysql
Product: Gentoo Linux Reporter: Sven <sven.koehler>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: fauli
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: jabref-2.4.2.ebuild.patch

Description Sven 2008-12-28 18:08:25 UTC
jabref-2.4.2 is installed on my system. But it's impossible to connect to a database.

I had to add jdbc-mysql to DEPEND in /usr/share/jabref/package.env.

Reproducible: Always

Steps to Reproduce:
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2009-01-04 12:57:46 UTC
caster, can you please check for a proper solution?
Comment 2 Sven 2009-04-23 11:25:45 UTC
Created attachment 189223 [details, diff]
jabref-2.4.2.ebuild.patch

Fix this. This is really an easy problem. Attached is a patch for the ebuild.
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-04-23 13:45:37 UTC
Sorry, missed this bug. Fauli should ping me more often :)
Added a mysql USE flag that pulls the jdbc-mysql dependency. Regardless of the flag, the jdbc-mysql is registered as optional dependency in package.env, so it will be loaded if it is present.
Updated stable 2.4.2 with this, and also in the new 2.5 beta.