On Wednesday, March 14, 2012 8:18:35 AM UTC-7, Charlie Sharpsteen wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">On Wednesday, March 14, 2012 12:02:24 AM UTC-7, Sandro Santilli wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Mar 13, 2012 at 07:50:32PM -0700, Charlie Sharpsteen wrote:<p>> I was wondering if anyone has a Personal Package Archive for Ubuntu that is <br>> tracking the 2.0 beta releases. I looked at the UbuntuGIS and Postgis <br>> project pages on Launchpad, but the only releases listed there were for <br>> 1.5.x. Even the unstable repostory of UbuntuGIS was still tracking 1.5.x.</p><p>I'm not aware of any. It'd be very welcome if you want to setup one.</p><p>--strk;</p></blockquote><div><br></div><div>Allright, I'll take a shot at it. Looks like there is a Launchpad repository that is synching with PostGIS SVN every 6 hours or so---perhaps I can get a nightly build set up.</div><div><br></div><div>-Charlie</div></blockquote><div><br></div><div><br></div><div>Ok, I now have a nightly build set up that is tracking the PostGIS trunk. Binaries are being built for Oneric (11.11) and Precise (12.04-dev) and can be installed thusly:</div><div><br></div><div>    sudo apt-add-repository ppa:sharpie/postgis-nightly<br></div><div>    sudo apt-get update</div><div>    sudo apt-get install postgresql-9.1-postgis</div><div><br></div><div><br></div><div>Caveats:</div><ul><li>No build of `postgis` or `libpostgis-java`, the only package provided is `postgresql-9.1-postgis` which contains the PostGIS plugins, extensions and command line tools.<br></li><li>Builds against GEOS 3.2.2, supplied by the standard Ubuntu repositories, thus the topology extension is unavailable.<br></li><li>Builds against GDAL 1.7.0, supplied by the standard Ubuntu repositories, thus some raster functionalities are unavailable.<br></li></ul><div><br></div><div>The raw materials that went into creating this build were the PostGIS repository on Launchpad which synchs with the upstream SVN trunk ~every 6 hours:</div><div><br></div><div>  https://code.launchpad.net/~registry/postgis/trunk</div><div><br></div><div>This repostory can be cloned using bazaar via `bzr branch lp:postgis`. The other component is the official Ubuntu PostGIS repository that contains the debian packaging materials:</div><div><br></div><div>  https://code.launchpad.net/~ubuntu-branches/ubuntu/precise/postgis/precise</div><div><br></div><div>This repository can be cloned using `bzr branch lp:ubuntu/postgis`. My strategy was to fork `lp:ubuntu/postgis`, edit the contents of the debian subdirectory to make it compatible with 2.0-dev and then publish the edited fork to Launchpad under my `+junk` section. After this was done, I set up a `bzr-builder` recipe that fuses `lp:postigs`, which tracks the upstream PostGIS repo, with the debian subdirectory contained in `lp:~sharpie/+junk/postgis`, which contains my edited packaging info, to create a nightly build:</div><div><br></div>    # bzr-builder format 0.3 deb-version {debupstream}~r{revno}~ppa{revno:packaging}<br><font color="#000000">    lp:postgis</font><br>    nest-part packaging lp:~sharpie/+junk/postgis debian debian<div><br></div><div>Pretty slick. I will ponder upgrading GEOS and GDAL and setting up a stable build for the most recent beta releases.</div><div><br></div><div><br></div><div>-Charlie</div>