<div dir="ltr">Hi Ken,<br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 12:46 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>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></blockquote><div><br></div><div>Homebrew builds from source, unless there is a 'bottle' (binary package) available and the user has not specified special options to the package (all bottles are made with default options). Homebrew has a great Jenkins CI setup at github that allows bottles to be made on-the-fly when testing builds from pull requests. So, essentially, new bottle binaries are available as soon as changes are pushed to the main repo. Secondary Homebrew 'taps' (like Homebrew-science, similar to a Linux ppa) will soon have this integration as well.<br>
</div><div> </div><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>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></blockquote><div><br></div><div>Yes, please do. This will help instances where the QGIS.app bundle is anticipated to be completely or mostly standalone and prepair executable is bundled, e.g. libgdal.dylib also bundled, like with future OSGeo4Mac and current Boundless distros.<br>
</div><div> <br></div><div>Regards,<br><br></div><div>Larry<br></div><div><br></div><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>
<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" target="_blank">larrys@dakotacarto.com</a>> escribió:</div><div class=""><br><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" target="_blank">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></div></div></blockquote></div>
<br></div></div>