Re: Osmium packages
On Mon, Mar 16, 2015 at 10:40:02PM +0100, Sebastiaan Couwenberg wrote:
> On 03/16/2015 10:11 PM, Jochen Topf wrote:
> > Looking more closely at the packages I noticed the following issue with
> > libosmium: /usr/share/doc/libosmium2-dev/examples/ contains the *.cpp example
> > files, but without the CMake build scripts they are basically useless.
> > Unfortunately the CMakeLists.txt from the example dir is not enough, it needs
> > its parent CMakeLists.txt which in turn needs other files.
> That's why I excluded the build system, and only installed the example
> code. To serve the a similar purpose as osmium-contrib, showing how to
> use libosmium.
> If users want to build the code they should apt-get the source package.
> Including an build system examples for the source may be a good idea to
> help developers get started by building and modifying (copies of) the
Another reason why it might make sense to move the examples into their own
> libosmium should probably also install FindOsmium.cmake since that's
> recommended in the "Using Libosmium in your own projects" documentation.
We'll also need FindOSMPBF.cmake in most cases. On the other hand this should
maybe live in the libosmpbf-dev package and be installed from there. Not sure
whats right here.
> > I can build the libosmium package now, but not the others as they all depend on
> > libosmium2-dev which isn't yet available to cowbuilder. Can I somehow give
> > cowbuilder this extra package?
> You can configure pbuilder to use local dependencies via the othermirror
> option, either local files or via an APT repo.
Thanks. Took me forever to get right, but I got it to work now.
Jochen Topf email@example.com http://www.jochentopf.com/ +49-173-7019282