Hi John,

I'm glad to see the Gecko SDKs landed in SVN.  Here are three sets of
changes so that the plugin can be built for Firefox 2.0, 3.0, and 3.5
on the Mac.

(1)

Here's a patch that adds gecko-1.9.1 for Mac and libxpcomglue_s.a for
gecko-1.8 and gecko-1.9.0.  I also included some files that are needed
for the executable_path in gecko 1.9.0.

http://web.mit.edu/sgross/www/gwt/gecko-sdks-darwin.patch.tar.gz (16.6 MB)

All the libraries are "universal" containing ppc and x86 binaries.
The 1.9.0 and 1.9.1 libraries were created using the "lipo" command
using the ppc and x86 binaries from
https://developer.mozilla.org/en/Gecko_SDK.  The 1.8 file was built
from source, since there is no official intel build of the gecko 1.8
sdk.

To apply the patch:

  tar xzf gecko-sdks-darwin.patch.tar.gz
  patch -p0 < gecko-sdks-darwin.patch

(2)

There are also three header files that I think should be moved to
gecko-sdks/gecko-1.9.1/Linux_x86_64-gcc3/include:

  gecko-sdks/gecko-1.9.1/include/jsautocfg64.h
  gecko-sdks/gecko-1.9.1/include/jsautocfg.h
  gecko-sdks/gecko-1.9.1/include/prcpucfg.h

(3)

Here's a patch to trunk/plugins to build universal binaries on the Mac:

  http://gwt-code-reviews.appspot.com/56802

I've built and tested plugin on:
 Firefox 2.0.0.16
 Firefox 3.0.11
 Firefox 3.5.2

Thanks,
Sam

Affected files:
A       gecko-sdks/gecko-1.9.0/Darwin-gcc3/lib/libnss3.dylib
A       gecko-sdks/gecko-1.9.0/Darwin-gcc3/lib/libsoftokn3.dylib
A       gecko-sdks/gecko-1.9.0/Darwin-gcc3/lib/libsmime3.dylib
A       gecko-sdks/gecko-1.9.0/Darwin-gcc3/lib/libxpcomglue_s.a
A       gecko-sdks/gecko-1.9.0/Darwin-gcc3/lib/libnssutil3.dylib
A       gecko-sdks/gecko-1.9.0/Darwin-gcc3/lib/libssl3.dylib
A       gecko-sdks/gecko-1.8/Darwin-gcc3/lib/libxpcomglue_s.a
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/include
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/include/xpcom-config.h
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/include/prcpucfg.h
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/include/mozilla-config.h
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/include/jsautocfg.h
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/lib
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/lib/libnspr4.dylib
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/lib/libplds4.dylib
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/lib/libxpcom.dylib
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/lib/XUL
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/lib/libmozjs.dylib
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/lib/libplc4.dylib
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/lib/libxpcomglue_s.a
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/bin
A       gecko-sdks/gecko-1.9.1/Darwin-gcc3/bin/xpidl

Moved header files:
D       gecko-sdks/gecko-1.9.1/include/jsautocfg64.h
D       gecko-sdks/gecko-1.9.1/include/jsautocfg.h
D       gecko-sdks/gecko-1.9.1/include/prcpucfg.h
A  +    gecko-sdks/gecko-1.9.1/Linux_x86_64-gcc3/include/prcpucfg.h
A  +    gecko-sdks/gecko-1.9.1/Linux_x86_64-gcc3/include/jsautocfg64.h
A  +    gecko-sdks/gecko-1.9.1/Linux_x86_64-gcc3/include/jsautocfg.h

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to