[Enigmail] building the IPC library with xulrunner-dev instead of a full build tree
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Tue Mar 17 08:44:22 PDT 2009
On 03/17/2009 11:13 AM, Daniel Kahn Gillmor wrote:
> On 03/17/2009 10:46 AM, Andy Ruddock wrote:
>> If you document what's in your build tree and how you put it together
>> I'll try it here and see if I can get anywhere.
>
> Thanks for your offer, Andy! The tarball with my makefiles that run
> against the (otherwise unmodified) source is in my earlier e-mail to
> this list. I've just published them to the web as well.
Aha! I think i've found what i needed -- curiously, the resolution is
not related to visibility=hidden, but to the fact that the static
library libxpcomglue_s.a wasn't being fully included in the final linked
output. Including libxpcomglue_s.a in the linker list after a
-Wl,--whole-archive argument seems to make it build fine. I'll update
my published Makefiles shortly.
The resultant stripped libipc.so on amd64 is ~186KB, which is roughly
comparable to libenigmime.so from debian's experimental repo (~167KB on
i386), so i don't appear to be including anything too excessive.
I believe i'm on to the next step, which is sorting out the rest of the
libipc packaging arrangements. For example, i need to sort out which
xpt files need to be exported for libipc.so to be available, and how to
make sure the extension is available for iceweasel and other
xulrunner-1.9 packages, including icedove (thunderbird) 3, whenever that
drops into debian.
Advice or suggestions are welcome. Sorry for the flood of e-mails here
as i stumble my way through. There might be more to come.
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 890 bytes
Desc: OpenPGP digital signature
URL: <http://www.mozdev.org/pipermail/enigmail/attachments/20090317/62f1fcdc/attachment.bin>
More information about the Enigmail
mailing list