Eclipse has a DEPEND on mozilla but it should work with firefox (+konqueror and friends). The ebuild even has: elif [ -f ${ROOT}/usr/lib/MozillaFirefox/libgtkembedmoz.so ] ; then einfo "Compiling against www-client/mozilla-firefox" mozilla_dir=/usr/lib/MozillaFirefox which checks for firefox if mozilla is missing... which is currently impossible, since mozilla is in DEPEND, and hence will always be there! Fix: Mozilla shouldn't always be required, ebuild should require whatever browser the user wants to use, and hopefully set the browser property in eclipse, as even with -mozilla set the default browser is still being set to mozilla (which causes eclipse to throw an exception trying to access help) and everything else is being ignored.
At least the 3.0.2 ebuild can built against firefox. I just changed the depend to mozilla? ( || (>=www-client/mozilla-1.5 >=www-client/mozilla-firefox-1.0.2-r2))
The eclipse-sdk needs the mozilla headers to be built so I don't think it will work ith Konqueror and friends.
I think freebsd ship eclipse without requiring mozilla.. http://lists.freebsd.org/pipermail/freebsd-java/2004-August/002712.html
Eclipse should not use a hardcoded env-path to the headers. 'MozillaFirefox' is unsuitable for flexible building and relocation of sources. The ebuild should depend on either the new path '/usr/lib/mozilla-firefox' or require MOZILLA_FIVE_HOME from the environment in 10mozilla or 10MozillaFirefox. See also Bug #86070 Please fix this!
eclipse now has USE flags for mozilla and firefox, so I think this bug has since been addressed. Could someone from dev-tools verify?
I'm using the eclipse-sdk-3.1.2 ebuild from the java-experimental overlay and it says: SRC_URI="http://download.eclipse.org/eclipse/downloads/drops/R-${PV}-${RELEASE_DATE}/${MY_A}" # firefox has been removed, because 1.5 seems to cause some problems IUSE="gnome mozilla jikes nosrc nodoc atk" I don't know what problems... I'm using 1.5 and have manually set eclipse to use firefox and it's working fine. I don't have mozilla installed, and everything works, so it doesn't seem to be required.
How did you manually set eclipse to use firefox? Remember, there are two things: what external browser is used to open links, and the embedded gecko engine for the Eclipse HTML widget used in the Javadoc view, the welcome view, and many other places. Firefox from mozilla.org is statically linked and cannot be used for embedding. I'm not sure about the firefox in gentoo, but...
I just added firefox as an external browser in Preferences -> General -> Web Browser, my USE flags are: [ebuild R ] dev-util/eclipse-sdk-3.1.2 -atk -gnome -jikes -mozilla -nodoc -nosrc 0 kB [2] I don't know what internal renderer it's using - maybe gecko-sdk which was installed as a depend of mplayerplug-in?
I would say this has been fixed with stable swt having firefox & seamonkey use flags. dev-java/swt gentoo: 3.3.1.1 {:3} installed: 3.3.1.1* {:3} Description: GTK based SWT Library Homepage: http://www.eclipse.org/ Relevant USE flags: (-cairo) (-elibc_FreeBSD) (firefox) (-gnome) (opengl) (-seamonkey) (-xulrunner) License: CPL-1.0 LGPL-2.1 MPL-1.1 Installed time: Wed Mar 26 00:46:06 2008 Source repository: gentoo