[wx-dev] Making a Mac PKG for wxWidgets

Anders F Björklund afb at algonet.se
Thu Oct 12 00:58:15 PDT 2006


Stefan Csomor wrote:

> because I don't want an 'official' install, people start using, before
> we have really tested the binary compatibility issues I'm afraid of. In
> the end I want a script that produces everything including the 
> installer
> automatically, like eg Mono or Python have it.

If you like to, we could do one version that would install the regular 
wx
libraries etc. directly into /usr instead - just like Apple did for 
Tiger ?

Then you would have the regular binary compatibility and library 
versioning
that you have on all the platforms ? That is: 
/usr/lib/libwx_macu-2.6.dylib
"libwx_macu-2.6.0.dylib (compatibility version 3.0.0, current version 
3.1.0)"
But you will still need one package for Tiger and one for Panther, 
though.

There the PKG package does come in handy, since those are not 
user-accessible.
(i.e. the Finder pretends that /usr doesn't exist, unless you force it 
to...)

Mono does some symlinking "tricks" with their PKG, not sure what Python 
does.
I'll post some proof-of-concepts for 2.6.4 this weekend, we can go from 
there.
--anders


PS. Yes, I know about DarwinPorts / "MacPorts". That's nice to have too.
     (and I am using both versions to build Code::Blocks, for 
instance...)





More information about the wx-dev mailing list