<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>68727</bug_id>
          
          <creation_ts>2004-10-24 11:12 0000</creation_ts>
          <short_desc>USE flag &quot;java&quot; should be split into &quot;java-jre&quot; and &quot;java-jdk&quot;</short_desc>
          <delta_ts>2004-10-30 08:53:16 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>zarhan@iki.fi</reporter>
          <assigned_to>java@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>zarhan@iki.fi</who>
            <bug_when>2004-10-24 11:12:39 0000</bug_when>
            <thetext>The use flag &quot;java&quot; should be split. For example, mozilla-firefox only requires JRE (the ebuild has only):

RDEPEND=&quot;virtual/x11
         (...)
        java?  ( virtual/jre )

However, db (version 4.1.25_p1-r3, latest stable) has:

DEPEND=&quot;tcltk? ( dev-lang/tcl )
        java? ( virtual/jdk )&quot;

RDEPEND=&quot;tcltk? ( dev-lang/tcl )
        java? ( virtual/jre )&quot;

This means, that when I have emerged sun-jre for web browsing, and decide to update world (with java flag set), portage wants to emerge a jdk as well (blackdown-jdk). Therefore, I think that these java USE-flags should be split depending on whether the ebuild utilizes JRE or JDK..

Desired result is that

I can set USE=&quot;java-jre&quot;

emerge mozilla-firefox
...emerges a jre (whatever that may be, blackdown, sun, etc)

emerge db
...does NOT emerge a JDK. If it requires JDK for the java functionality, then don&apos;t utilize java at all.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>axxo@gentoo.org</who>
            <bug_when>2004-10-30 08:05:48 0000</bug_when>
            <thetext>Well, the use flag is for java support
some need a jdk others a jre ..

if you only want one, isntall a jdk, it includes a jre</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zarhan@iki.fi</who>
            <bug_when>2004-10-30 08:53:16 0000</bug_when>
            <thetext>Well, I&apos;ll resort to per-package use-flags (/etc/portage/package.use) then (+java for web browser, -java for everything that requires jdk).</thetext>
          </long_desc>
      
    </bug>

</bugzilla>