Re: OpenStreetMap Software
On Fri, Feb 28, 2014 at 10:03:01AM +0100, Andreas Tille wrote:
> It would be great. Since you are interested I wonder whether you can provide
> some helping hand with mkgmap
>
> https://bugs.debian.org/580170
>
> We have real trouble to get the dependencies packaged and every help would
> be really appreciated.
This is what I found out so far: mkgmap depends on osmpbf version 1.1.1 which
is really old. It's ant script magically finds it somewhere and pulls it in
during compilation. I don't know why the ant in Debian doesn't do this, but
I guess it has something to do with the changes in the debian/patches/build_xml.patch
file. I assume somebody made these changes for a reason?
To add the build dependency this works:
======================
diff --git a/debian/control b/debian/control
index 11723c2..6adcb82 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,8 @@ Build-Depends: debhelper (>= 9),
ant,
default-jdk,
time,
- libfastutil-java
+ libfastutil-java,
+ libosmpbf-java
Standards-Version: 3.9.5
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-grass/mkgmap.git
Vcs-Git: git://anonscm.debian.org/pkg-grass/mkgmap.git
======================
But Debian is at version 1.3.0 for osmpbf (which should be 1.3.1 actually).
So this doesn't build either.
Somebody should probably ask upstream why they are using the old version of
osmpbf.
Jochen
--
Jochen Topf jochen@remote.org http://www.jochentopf.com/ +49-721-388298
Reply to: