[buug] mozilla
Rob Helmer
robert at namodn.com
Wed Oct 30 11:14:08 PST 2002
On Tue, Oct 29, 2002 at 11:32:38PM -0800, Nick Moffitt wrote:
> begin f.johan.beisser quotation:
> > i suspect you're going to be SOL. gecko itself is not tiny by any
> > means. most of those "alternatives using gecko" need to have
> > mozilla installed with it, which just kills the space saving aspect
> > of it.
>
> Why can't they just lift out the gecko sources and use that?
> I really don't get it. I can handle gecko being a few megs of bloated
> libraries, but I just don't want all the other cruft that mojira comes
> with.
You can. It's redistributing it that's the trick.
The Galeon people are waiting for the relicensing -
http://www.mozilla.org/MPL/missing.html
Google for details.
There's also a project at Mozilla to split Gecko into a
"runtime environment", probably just a bunch of libraries despite the
fancy name :
http://mozilla.org/projects/embedding/MRE.html
Finally, nightly builds ( or builds from source ) of Mozilla come
with TestGtkEmbed, which is a very simple browser. Simple enough
to be an example or test, not something most people would use
everyday. It does show the bare minimum needed to implement Gecko
though.
$ ls -l TestGtkEmbed
-rwxr-xr-x 1 rhelmer rhelmer 18972 Oct 29 08:42 TestGtkEmbed
$ ldd TestGtkEmbed
libgtkembedmoz.so => ./libgtkembedmoz.so (0x40014000)
libgtksuperwin.so => ./libgtksuperwin.so (0x4002e000)
libdl.so.2 => /lib/libdl.so.2 (0x4003f000)
libmozjs.so => ./libmozjs.so (0x40042000)
libxpcom.so => ./libxpcom.so (0x400b3000)
libplds4.so => ./libplds4.so (0x401a8000)
libplc4.so => ./libplc4.so (0x401ab000)
libnspr4.so => ./libnspr4.so (0x401b0000)
libpthread.so.0 => /lib/libpthread.so.0 (0x401de000)
libgtk-1.2.so.0 => /usr/lib/libgtk-1.2.so.0 (0x401f2000)
libgdk-1.2.so.0 => /usr/lib/libgdk-1.2.so.0 (0x40317000)
libgmodule-1.2.so.0 => /usr/lib/libgmodule-1.2.so.0 (0x4034b000)
libglib-1.2.so.0 => /usr/lib/libglib-1.2.so.0 (0x4034e000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40371000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40379000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40387000)
libm.so.6 => /lib/libm.so.6 (0x40461000)
libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40482000)
libc.so.6 => /lib/libc.so.6 (0x404c4000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
$ ls -la `ldd TestGtkEmbed | awk '{print $1}'`
( not counting system/gtk/X11 libraries, just Mozilla )
-rwxr-xr-x 1 rhelmer rhelmer 98520 Oct 29 08:42 libgtkembedmoz.so
-rwxr-xr-x 1 rhelmer rhelmer 17216 Oct 29 08:42 libgtksuperwin.so
-rwxr-xr-x 1 rhelmer rhelmer 461748 Oct 29 08:42 libmozjs.so
-rwxr-xr-x 1 rhelmer rhelmer 179584 Oct 29 08:42 libnspr4.so
-rwxr-xr-x 1 rhelmer rhelmer 16084 Oct 29 08:42 libplc4.so
-rwxr-xr-x 1 rhelmer rhelmer 9804 Oct 29 08:42 libplds4.so
-rwxr-xr-x 1 rhelmer rhelmer 1011408 Oct 29 08:42 libxpcom.so
( some of these libraries link to eachother, but I didn't see anything
else that linked further into the Mozilla libraries ).
--
Rob
More information about the buug
mailing list