Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119219 - JRE/JDKs should respect USE=X, and not install libs that link against X
Summary: JRE/JDKs should respect USE=X, and not install libs that link against X
Status: RESOLVED DUPLICATE of bug 177925
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 177925
Blocks:
  Show dependency tree
 
Reported: 2006-01-16 11:11 UTC by Thomas Matthijs (RETIRED)
Modified: 2008-04-19 14:39 UTC (History)
2 users (show)

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


Attachments
sun-jdk-respect-some-deps.patch (jdk-deps.patch,1.20 KB, patch)
2006-09-25 07:27 UTC, Georgi Georgiev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 ***