Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100288 - USE Flag firefox has no effect on eclipse-sdk-3.1-r1
Summary: USE Flag firefox has no effect on eclipse-sdk-3.1-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Development Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 14:17 UTC by Peter Leugner
Modified: 2007-04-01 20:53 UTC (History)
0 users

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


Attachments
compile eclipse with firefox - some include still seems not correct (eclipse-sdk-3.1-r1-firefox.patch,1018 bytes, patch)
2005-08-19 14:39 UTC, amette
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Leugner 2005-07-25 14:17:36 UTC
The ebuild for eclipse-sdk-3.1-r1 has a USE flag for firefox and mozilla. If you
set the mozilla USE flag and have firefox installed, eclipse is compiled against
the firefox libs. If you don't have mozilla installed, but firefox, no support
for  gecko internal bwoser is built at all. I don't want to install mozilla,
only to have gecko as a browser widget in eclipse, when I have firefox already
installed.

Reproducible: Always
Steps to Reproduce:
1.USE="-mozilla firefox" emerge eclipse-sdk
2.start eclipse
3.Menu Window/Show View/Other/Basic/Internal Web Browser

Actual Results:  
No more handles (java.lang.UnsatisfiedLinkError: no swt-mozilla-gtk-3138 in
java.library.path)
org.eclipse.swt.SWTError: No more handles (java.lang.UnsatisfiedLinkError: no
swt-mozilla-gtk-3138 in java.library.path)

Expected Results:  
Show the embedded firefox browser widget
Comment 1 amette 2005-08-19 13:22:25 UTC
Same problem here, except I don't get the effect:  
"If you set the mozilla USE flag and have firefox installed, eclipse is  
compiled against the firefox libs."  
  
I would be happy, if it would be like that - I found no solution for compiling  
it with Firefox.  
 
I'm runnin' on amd64 and have both firefoxes 32/64bit installed. 
Comment 2 amette 2005-08-19 14:39:05 UTC
Created attachment 66349 [details, diff]
compile eclipse with firefox - some include still seems not correct

It compiles nicely, but when running Eclipse the internal browser doesn't work.
In the eclipse-error message again the wrong include-path is shown.
Comment 3 amette 2005-08-19 14:42:16 UTC
(In reply to comment #2) 
> Created an attachment (id=66349) [edit] 
> compile eclipse with firefox - some include still seems not correct 
>  
> It compiles nicely, but when running Eclipse the internal browser doesn't 
work. 
> In the eclipse-error message again the wrong include-path is shown. 
 
Sorry, I never used the Attachments before - didn't know how that looks.. so 
I'll continue here: 
 
In the patch I changed the path from /usr/lib/MozillaFirefox 
to /usr/lib/mozilla-firefox - in which on my system libgtkembedmoz.so is 
located. So it gets found and Eclipse compiles - Never the less in Eclipse the 
error message shows: 
 
No more handles [NS_InitEmbedding /usr/lib64/MozillaFirefox error -2147221164] 
org.eclipse.swt.SWTError: No more handles 
[NS_InitEmbedding /usr/lib64/MozillaFirefox error -2147221164] 
 
 
Comment 4 amette 2005-08-20 10:19:51 UTC
# export MOZILLA_FIVE_HOME=/usr/lib/mozilla-firefox/ 
# eclipse-3.1 
 
does the trick - but it runs frickin' unstable... :( 
 
I hope, that some package-maintainers can use that information. 
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-04-01 20:53:59 UTC
(In reply to comment #0)
> The ebuild for eclipse-sdk-3.1-r1 has a USE flag for firefox and mozilla. 

Not any more, for almost one year. Closing.