Antonio Gomes wrote:
Guys,
I've followed on the great work of Ben and others on *embedding
mozilla* issues, gecko profile, libxul and related stuff. They are
really making the embedding process easier, and of course I
particularly agree with this kind of initiative.
But over my point of view, although things keep getting better and
better they're not yet ideal. In my case, for example, I'm working on
a mozilla-based embedded browser for the nokia 770 linux-running
target, and I'm not completely *pleased* with the current footprint of
shared build of xulrunner that I am using for embedding mozilla. Even
using the current 'minimal' gecko profile, the footprint a *bit*
large.
On the other hand, I've spent part of my free time to help dougt out
with some minimo stuff (mozilla.org/proejcts/minimo) on linux, and the
11Mbs of footprint that I got would be better for my needs.
The problem is : minimo builds only statically (once it's not
following the libxul linking strategy for shared builds so far), hence
most of '.a' libs are linked against the minimo executable itself.
So, I'm wondering what do I have to do to put my browser running over
a static build ? Is it feasible linking things/libs against a single
lib (just as libxul) ? How to reach this ?
(please, don't get me wrong here, I'm not complaining at all and keep
up the great work).
--
--Antonio Gomes
So, at some point in the future -- Minimo will use libxul. Minimo will
be a xul runner application using the middle embedding profile -- in
fact, Minimo defines what this middle embedding profile is. A
requirement of this migration is that we do not get any bigger.
The xul runner using the smallest embedding profile should be smaller
then what Minimo will actually use (feature / footprint tradeoffs). For
example, NPAPI might be disabled in the smallest embedding profile.
How soon will all of this be?
The XULRunner changes required to do this are only on the trunk. These
changes will probably never end up on the MOZILLA_1_8_BRANCH (so I am
told). Because of this, and the fact that I want to release Minimo from
some stable branch, the timeframe on a minimo+xulrunner release is in
the many months. I would also suggest that you also stay on the
MOZILLA_1_8_BRANCH for your work for similar reasons.
So, what can you do in the mean time? I would do a few things -- first
continue building on the trunk and encourage this xulrunner work.
Secondly, maybe we can hack up your makefile to statically link only
what I do for Minimo. This might get you the size saving you see with
Minimo.
Regards,
Doug
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding