← Back to team overview

kicad-developers team mailing list archive

Re: OSX Build changes.

 


Sent from my iPad

> On Oct 2, 2014, at 12:58 PM, Bernhard Stegmaier <stegmaier@xxxxxxxxxxxxx> wrote:
> 
> Yes, I didn’t do anything about documentation yet.
> It should be pretty easy to add if there is a way to copy/fetch/build it from CMake and put it to the bundle - just like the templates, etc.
> 
> Same for the libraries/footprints.
> Speaking about releases, maybe there should be two in future (build option for CMake, sth. like OSX_BUNDLE_INCLUDE_LIBMOD3D)… one with libraries, one without. I have all my libs/footprints/3d-models in my own local repository. I don’t care about wasting some bits and having default things in the bundle (if it doesn’t get too big), but I guess I don’t want them to show up and mix with my stuff.
> 
This sounds like a fine idea so long as the things are read only.  I tend to treat the /Applications directory like /usr/bin.  In fact, I run as an unprivileged user and can't write in there by default.  It's really annoying when applications try to scribble in the bundle.

> I will (hopefully) fix scripting stuff at the weekend, I already made some first steps for that.
> Then, I found some ideas to try to place libraries in the right spot inside the bundle so that it will be more conform to Apple standards (as Garth noted previously - it will be only internal cosmetics, though).
> 
You should be able to use install_name_tool to change the library ID and the rpath in the executables at bundling time.

> I am open for above ideas then, if not anybody else already did it… I still have some other OSX things to provide (but need to be rebased first), e.g. I have some more eeschema redraw fixes that I think need to be included and I still have a patch open for more OSX-like X-Y touchpad scrolling (I couldn’t live without that one… :) ).
> 
> 
I have a pinch to zoom implementation that's not quite there yet, but I'd like to try to get it into the tree at some point.  It's currently hung up on the fact that it interacts poorly with the touchpad scrolling patches that I grabbed from somewhere.  Turns out those patches are buggy so I've been hacking that up.  If you have a different touchpad scrolling implementation, though, perhaps I should be using that instead.


> Regards,
> Bernhard
> 
Garth

References