mxcl/homebrew — pull request #12652 by MaZderMind (2012-06-07 19:50:20+00:00)
Title: add osmium formula

This pull request adds the osmium formula. Osmium is a C++ framework for building osm-processing apps in C++. It comes with half a ton of example apps that demonstrate its power.

The maintainer, @joto, is not willing to provide a named version yet. As I also contributed a bunch of code and regularly talking to him I started to tag versions on a date-basis. Whenever some major changes occur, I'll update my tag and this formular. Once @joto is ready to launch a stable version, we can swtich this formula over.

There's one problem I see with this formula: some examples require gdal being compiled with spatialite support which isn't there by default. Unfortunately there's no way to tell homebrew that the version of gdal installed does not provide the neccessary features and it needs to be reinstalled using other command line options.

I read, that there are changes to the dependency system which will fix those issues (#10555) but I was unable to find any documentation about this. For the moment all tools will compile but osmium_toogr in example will fail to run if gdal was not installed with the --complete flag.

This is mentioned in the caveats section of th formula beeing pull-requested.
The formula contains code originally written by @christoph-buente who is hereby informed of this pull request ;)