Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94056 - new useflag for the java-browserplugin
Summary: new useflag for the java-browserplugin
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-26 03:18 UTC by Jan Brinkmann (RETIRED)
Modified: 2005-09-10 11:07 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Brinkmann (RETIRED) gentoo-dev 2005-05-26 03:18:26 UTC
Since more browsers than mozilla can use the java browserplugin , we should probably rename the useflag. 

The current situation:

A user (let's say one who hasnt a jdk/jre installed) merges mozilla-firefox with USE="java" and expects that he can see java applets on websites. The java useflag controlls a rdepend on virtual/jre which is getting installed. In this case where the user has no jdk/jre installed it will probably install the blackdown-jre. The blackdown-jre only installs the browserplugin if the mozilla useflag is enabled. Many users dont know this, and it's not a very clean solution.


The idea:
We could rename both useflags, mozilla's java useflag and the mozilla useflag of jdks/jres, to something which has the same name like "javaplugin". If somebody now does the following...:

USE="javaplugin" emerge mozilla-firefox 

...the blackdown-jre will also be installed, but since the blackdown-jre uses the same useflag to control wether the plugin should be made available or not it will install it. That makes much more sense than the current situation where you have to use two useflags to install the java-plugin:

USE="mozilla java" emerge mozilla-firefox

Most of the users arent aware of that fact, and it avoids that somebody has to merge the jre twice. The useflag can be changed of course, was just an idea. What do you guys think?
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2005-06-18 06:19:28 UTC
i think its a good idea
the mozilla ebuilds seem to have the java use flag, but don't use it, they 
always but the oji thing, so maybe java use can be removed there
and have a "browserplugin" flag for the jdk/jre's
Comment 2 Sok Ann Yap 2005-08-03 15:57:13 UTC
The pkg_postinst() function added to blackdown-jre ebuilds overrides the one 
specified in java.eclass. So, I think a call to java_pkg_postinst should be 
added to those ebuilds.
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2005-09-10 11:07:26 UTC
Thanks, fixed postinst