<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi Larry,</div><div><br></div><div>Maybe I’m mistaken here, but doesn’t Homebrew always compile from source? Because if so, I’d think that even the mostly statically linked binary would still need to download and install a Boost bottle (albeit one that creates a static version of the libraries).</div><div><br></div><div>But in any case, if it helps, I’d be happy to add the functionality to create mostly static versions of prepair to our CMake file, perhaps as a parameter.</div><div><br></div><div>Ken</div><div><br></div><div><div>El 06/06/2014, a las 08:33 p.m., Larry Shaffer <<a href="mailto:larrys@dakotacarto.com">larrys@dakotacarto.com</a>> escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi Ken,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 12:12 PM, Ken Arroyo Ohori <span dir="ltr"><<a href="mailto:G.A.K.ArroyoOhori@tudelft.nl" target="_blank">G.A.K.ArroyoOhori@tudelft.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Dear Larry,</div><div><br></div><div>The prepair Mac binary was made by linking to static versions of CGAL, boost, GMP, GMPXX, MPFI and MPFR, and only linking dynamically to Kyngchaos’ GDAL framework. The idea was that if people use Kyngchaos’ QGIS package, they already have his GDAL framework since it is a requirement.</div>
<div><br></div><div>For Homebrew, I think the solution in your formula is the right way to go. Linking statically to the other libraries wouldn’t make sense.</div></div></blockquote><div><br></div><div>The mostly statically built binary would help for Mac bundling based off of OSGeo4Mac within QGIS, where (currently) there is no dependency upon Boost, CGAL, etc. The <a href="http://Kyngchaos.com">Kyngchaos.com</a> setup for stable is the standard, but the QGIS Mac nightlies will probably also soon offer ones built strictly off of OSGeo4Mac. I that case, it would be ideal to offer a Homebrew 'bottle' of prepair (~3.5 MB) that would only require the gdal formula. Then, users would not even have to download/install the Boost bottle (~77 MB), let alone compile it.<br>
<br></div><div>Will look at how to do this, when it comes to that type of bundling.<br></div><div><br></div><div>Thanks,<br><br></div><div>Larry</div></div></div></div></div></blockquote></div></body></html>