<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 Kyngchaos.com 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<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>All the best,</div><div>Ken</div><br><div><div><blockquote type="cite"><div><b>From:</b> Larry Shaffer <<a href="mailto:larrys@dakotacarto.com" target="_blank">larrys@dakotacarto.com</a>><br>
<b>Date:</b> 6 juni 2014 17:30:53 CEST<br><b>To:</b> <a href="mailto:h.ledoux@tudelft.nl" target="_blank">h.ledoux@tudelft.nl</a><br><b>Cc:</b> QGIS Developer List <<a href="mailto:qgis-developer@lists.osgeo.org" target="_blank">qgis-developer@lists.osgeo.org</a>><br>
<b>Subject: Re: [Qgis-developer] Opinion on plugin named prepair (and possible likes)</b><br><br></div><div class=""><div><div dir="ltr">Hi Hugo,<br><div class="gmail_extra"><br></div><div class="gmail_extra">About a month ago, I created a formula for prepair in the OSGeo4Mac Homebrew tap [0,1].<br>
<br></div><div class="gmail_extra">I would appreciate it if you would review it, and possibly do any pull requests for changes you feel are appropriate. Specifically, what options you used to create the new Mac binary for your plugin, where it is only linked to GDAL's lib (I haven't looked into it yet).<br>
</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 7:29 AM, Hugo Ledoux <span dir="ltr"><<a href="mailto:h.ledoux@tudelft.nl" target="_blank">h.ledoux@tudelft.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div>On Fri, Jun 6, 2014 at 3:11 PM, <<a href="mailto:qgis-developer-request@lists.osgeo.org" target="_blank">qgis-developer-request@lists.osgeo.org</a>> wrote:<br>
> I also agree with Nathan: would you like to cooperate with QGIS core team, and<br>> incorporate your logic, possibly your code, in QGIS itself?<br>> All the best.<br><br></div>Yes we’re willing to do that. It should be stressed out here that we<br>
use CGAL (<a href="http://www.cgal.org" target="_blank">www.cgal.org</a>, which is GPL) and its depends (GMP, MPFR,<br>Boost).<br></blockquote><div><br></div><div>Boost is a very large extra dependency, indeed.<br></div><div>
<br>[0] <a href="https://github.com/OSGeo/homebrew-osgeo4mac" target="_blank">https://github.com/OSGeo/homebrew-osgeo4mac</a><br>[1] <a href="https://github.com/OSGeo/homebrew-osgeo4mac/blob/master/Formula/prepair.rb" target="_blank">https://github.com/OSGeo/homebrew-osgeo4mac/blob/master/Formula/prepair.rb</a><br>
<br></div><div>Regards,<br><br>Larry Shaffer<br>Dakota Cartography<br>Black Hills, South Dakota</div></div></div></div></div></div></blockquote></div></div></div></blockquote></div><br></div></div></div>