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

Bug 119219

Summary: JRE/JDKs should respect USE=X, and not install libs that link against X
Product: Gentoo Linux Reporter: Thomas Matthijs (RETIRED) <axxo>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal CC: chutz+bugs.gentoo.org, esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 177925    
Bug Blocks:    
Attachments: sun-jdk-respect-some-deps.patch

Description Thomas Matthijs (RETIRED) gentoo-dev 2006-01-16 11:11:33 UTC
jre/jdk's should probably not install libs linking with X when using -X
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-01-19 21:43:35 UTC
Not all JRE/JDKs even have USE=X. Additionally, while fixing this bug, it would be worthwhile to add modular-xorg dependencies in. I believe that sun-jdk can be used as a template for those deps.
Comment 2 Georgi Georgiev 2006-09-25 07:22:51 UTC
What about also adding "alsa" and "odbc" to that list (I'm referring to sun-jdk-1.5.0.08)
Comment 3 Georgi Georgiev 2006-09-25 07:27:51 UTC
Created attachment 98020 [details, diff]
sun-jdk-respect-some-deps.patch

Would you guys consider something like this patch?
It removes some files that are linked against alsa, odbc or X libs. It also adds a RDEPEND to net-libs/libnet (needed by libnio.so, so guessing it would only be needed for >=jdk-1.5)
Comment 4 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-04-19 14:39:10 UTC
The solution we choose is bug 177925

*** This bug has been marked as a duplicate of bug 177925 ***