Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 100288
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Development Tools Team <dev-tools@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Peter Leugner <pleugner@as-computer.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
eclipse-sdk-3.1-r1-firefox.patch compile eclipse with firefox - some include still seems not correct patch amette 2005-08-19 14:39 0000 1018 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 100288 depends on: Show dependency tree
Bug 100288 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-25 14:17 0000
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 From amette 2005-08-19 13:22:25 0000 -------
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 From amette 2005-08-19 14:39:05 0000 -------
Created an attachment (id=66349) [details]
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 From amette 2005-08-19 14:42:16 0000 -------
(In reply to comment #2) 
> Created an attachment (id=66349) [edit] [details] 
> 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 From amette 2005-08-20 10:19:51 0000 -------
# 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 From Jakub Moc (RETIRED) 2007-04-01 20:53:59 0000 -------
(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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug