Hi Doug,

Actually, I've been thinking about it more and looking at Frameworks, but the problem I see is that they'd require a #include <GRE/GRE.h> style include syntax, where that one include file (GRE.h) includes all other Mozilla include files. It's a convenient thing once it's working right (just like users can just do #include <Carbon/Carbon.h>) but it won't work with anyone's existing Mozilla code.

For wxMozilla, I can probably scale this back to a more simple approach of dropping the libs into /Library/wxMozilla/GRE/<version> (or ~/Library/wxMozilla/GRE/<version> for user installs). Is there any chance of getting Mozilla itself to do this, say for 1.6 or 1.7?

Also, since we're speaking about the GRE... =) After working with wxMozilla and the GRE for a while and getting a feel for the process, I would really like to see the GRE have a devel package for Mac and Windows as well, based at least on 'final' releases like 1.6, 1.7, etc. There's the SDK package, but that's not really a complete package (i.e. doesn't work for people using lots of Mozilla bits, or string classes other than what is in embed_string), and it doesn't follow the same structure as a 'from source' build, meaning that in terms of makefiles its an either/or (get files from build tree or SDK) proposition unless you do a lot of work to accommodate both possibilities.

What I'm thinking about is a package like the *nix devel package, with all the includes and (on Windows) all the .libs in /dist/lib that might be needed to compile a Mozilla embedding app. It should also include any .xpt/dll/so files that don't make it into the standard GRE package as well, composer.xpt/dll being one that immediately comes to mind. =) I think most folks wouldn't mind downloading a few megs of files not to have to build their own Mozilla and build against an installed GRE.

I basically already do this with my wxMozilla GRE package on Windows, but if Mozilla itself did this, I think it would really simplify the build process for Windows and Mac embedders. If you put the devel package into the GRE folders (or another standard location) on install, embedders could even automate the whole process, so that people wanting to build a Mozilla embedding client (like wxMozilla =) would simply install Mozilla-devel on Windows, Mac, or Linux, then do the configure, make, make install dance (or .dsp stuff on Windows using a special MOZDEVPKG env variable set on install) and the makefiles would automatically find the Devel bits and everything would magically work. =)

This doesn't seem that it would be too complex to accomplish (basically zipping a couple folders into an installer package), and would flesh out the way GRE works on Unix/Mac. Do you agree? Or am I simplifying things too much here? If it is OK to work with Python, I may even be able to write some scripts to do this, assuming a source tree with a built Mozilla. I'm not a *nix guy so I'm still weak on shell scripts.

Thanks,

Kevin

On Dec 9, 2003, at 8:57 PM, Doug Turner wrote:

It was considered. Conrad Carlen was looking into this at some point. I am not sure how far he got nor do I have his current email address. If I see him online in the next couple of days, I will ask him to comment.

Doug

Kevin Ollivier wrote:

Has anyone considered or tried making a GRE.Framework for OS X? Frameworks provide the versioning capabilities the GRE needs, and makes the GRE available system-wide to any apps that want to use it. This would be a very, very nice thing to have for OS X. =)
Kevin
On Dec 9, 2003, at 4:34 AM, Martin Creutziger wrote:
Am 05.12.2003 10:42 Uhr schrieb Alessio Milan in sauberster Handschrift:

I am porting on MacOSX an application running on Linux and using the xpcom
library. On (RedHat) Linux I installed the mozilla-devel rpm, containing
all the C/C++ header files. Is there such package available for MacOSX?
If not, is there a way to get those headers without building the whole
mozilla on MacOSX (10.3) ?


try installing the mozilla-dev package in Fink. It's only Moz 1.1 but might work for you.

Martin

--
In a world without walls and fences, who needs windows and gates?
_______________________________________________
Mozilla-macosx mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-macosx


_______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding


_______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to