Re: Piggy-Bank build instructions

From: Ryan Lee <ryanlee_at_w3.org>
Date: Wed, 02 Feb 2005 18:41:27 -0500

David Huynh wrote:
> Hi all,
>
> I've checked in some instructions for downloading Piggy-Bank's source
> code and building it:
>
> http://simile.mit.edu/piggy-bank/build.html
>
> Cheers,
>
> David

The build process refers to your blog post, which appears to contain a
Windows- only set of instructions. The following will enable a Mac OS X
XPI build (I'm not sure where to put this since the same information is
externally referred to in your simile.mit.edu document).

The ant-contrib portion is the same.

With much help from:
1. http://www.webweavertech.com/costin/archives/000395.html
refers to 2. http://www.iosart.com/firefox/gecko-sdk-macosx/
and also 3. http://www.geeklair.net/downloads/

On Mac OS X, libIDL and the Gecko SDK are required for a build. libIDL
is available as a binary from [3] above. The Gecko SDK must be compiled.

To compile the Gecko SDK requires GTK+ and libIDL. I tried to build the
gtk-osx package described in [2], but Xcode failed to do so, so I went
another route and grabbed the GTK+ package out of Fink. Steps 4-6 in
'The Solution' in [2] are fine; hopefully I didn't miss any requisite
additional installs due to something already being installed on my system...

Tell piggy-bank where to find libIDL-config (/usr/local on mine) and
your ${compiled-mozilla}/dist/sdk directory, perhaps via

ant -Dgecko_sdk_path=${compiled-mozilla}/dist/sdk
-Dbuildtools_path=/usr/local

and you should have your piggy-bank.xpi in dist/

-- 
Ryan Lee                 ryanlee_at_w3.org
W3C Research Engineer    +1.617.253.5327
http://simile.mit.edu/
Received on Wed Feb 02 2005 - 23:41:10 EST

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:17 EDT