[josm-dev] JOSM WMS does not work with Firefox 3

andrzej zaborowski balrogg at gmail.com
Fri Dec 5 22:42:24 GMT 2008


It seems that gnome-web-photo-5.0 breaks again with Firefox 3.0.0.4
and xulrunner 1.9.0.4, so I took the afternoon to try to make it run
again or switch to khtml2png if that doesn't work (depends on kdelibs
unfortunately).  gnome-web-photo worked and here's what I changed, in
case anyone else hits this.

Firstly gnome-web-photo illegally (according to XUL docs) links
against both libxpcomglue and libxpcomglue_s and uses functions from
both of them.  I fixed the linking and removed the usage of the
libxpcomglue functions, but now I think this wasn't the main problem,
so I won't post the instructions here, but I can provide them if
needed.

Then, highly unobvious, I had to call
gtk_moz_embed_set_comp_path("/usr/lib/mozilla-firefox/components/");
after the call to gtk_moz_embed_set_path(xpcomLocation); in
src/main.cpp.  Otherwise do_GetService(whatever) always fails.  I
can't explain why, but I'm happy if it works.  I thought
gtk_moz_embed_set_comp_path was deprecated.

Cheers




More information about the josm-dev mailing list