Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291784 - virtual/jdk (jre) should have X USE flag and pull it from the jdk implementations
Summary: virtual/jdk (jre) should have X USE flag and pull it from the jdk implementat...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 290506
  Show dependency tree
 
Reported: 2009-11-03 20:38 UTC by Vlastimil Babka (Caster) (RETIRED)
Modified: 2012-07-08 20:28 UTC (History)
1 user (show)

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


Attachments
Untested patch with the common USE flags. (jdk-use-flacs.patch,6.53 KB, patch)
2012-07-08 19:06 UTC, W. Trevor King
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-11-03 20:38:11 UTC
so ebuilds that need it can pull it
Comment 1 W. Trevor King 2012-07-08 19:06:47 UTC
Created attachment 317600 [details, diff]
Untested patch with the common USE flags.

This untested patch adds IUSE flags for X, alsa, doc, and nsplugin.  These flags are supported by each of the providers for jdk-1.7.0.  I used the same flags for the earlier JDK virtuals though, which might be questionable.  Some of the providers for the older virtuals are no longer in the tree (e.g. 
dev-java/soylatte-jdk-bin), and I imagine future versions of the older virtuals should just remove these references.

If anyone with more Java experience wants to chime in on the suitablility of this patch, I'd appreciate it!
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2012-07-08 20:28:54 UTC
Thanks, I hope we will discuss it in java team. We should make at least sure that the deps parsing code in java-config will handle use deps. Also for a really proper solution, the java launcher code should take the into account if a JDK supports X/alsa/etc. That means it should indicate such thing in package.env, or we would have to parse USE flags that it was built with.