[Git][debian-gis-team/mapnik-vector-tile][master] 2 commits: Add patch by Peter Michael Green to support mapbox-geometry 1.0.0.

Bas Couwenberg gitlab at salsa.debian.org
Wed Nov 21 08:20:56 GMT 2018


Bas Couwenberg pushed to branch master at Debian GIS Project / mapnik-vector-tile


Commits:
9def1aa3 by Bas Couwenberg at 2018-11-21T08:12:42Z
Add patch by Peter Michael Green to support mapbox-geometry 1.0.0.

- - - - -
7e3a4d07 by Bas Couwenberg at 2018-11-21T08:12:46Z
Set distribution to unstable.

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/mapbox-geometry-1.0.0.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,11 @@
+mapnik-vector-tile (1.6.1+dfsg-6) unstable; urgency=medium
+
+  * Team upload.
+  * Add patch by Peter Michael Green to support mapbox-geometry 1.0.0.
+    See: #913708
+
+ -- Bas Couwenberg <sebastic at debian.org>  Wed, 21 Nov 2018 07:54:04 +0100
+
 mapnik-vector-tile (1.6.1+dfsg-5) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/mapbox-geometry-1.0.0.patch
=====================================
@@ -0,0 +1,37 @@
+Description: Add support for mapbox-geometry 1.0.0.
+Author: Peter Michael Green <plugwash at raspbian.org>
+Origin: https://debdiffs.raspbian.org/main/n/node-mapnik/node-mapnik_3.7.2%2bdfsg-2%2brpi1.debdiff
+Bug-Debian: https://bugs.debian.org/913708
+Bug: https://github.com/mapnik/node-mapnik/issues/901
+
+--- a/src/vector_tile_geometry_encoder_pbf.hpp
++++ b/src/vector_tile_geometry_encoder_pbf.hpp
+@@ -21,6 +21,11 @@ namespace mapnik
+ namespace vector_tile_impl
+ {
+ 
++MAPNIK_VECTOR_INLINE bool encode_geometry_pbf(mapbox::geometry::empty const& pt,
++                                              protozero::pbf_writer & current_feature,
++                                              int32_t & start_x,
++                                              int32_t & start_y);
++
+ MAPNIK_VECTOR_INLINE bool encode_geometry_pbf(mapbox::geometry::point<std::int64_t> const& pt,
+                                               protozero::pbf_writer & current_feature,
+                                               int32_t & start_x,
+--- a/src/vector_tile_geometry_encoder_pbf.ipp
++++ b/src/vector_tile_geometry_encoder_pbf.ipp
+@@ -181,6 +181,14 @@ inline bool encode_polygon(mapbox::geome
+ 
+ } // end ns detail
+ 
++MAPNIK_VECTOR_INLINE bool encode_geometry_pbf(mapbox::geometry::empty const& pt,
++                                              protozero::pbf_writer & current_feature,
++                                              int32_t & start_x,
++                                              int32_t & start_y)
++{
++    return false;
++}
++
+ MAPNIK_VECTOR_INLINE bool encode_geometry_pbf(mapbox::geometry::point<std::int64_t> const& pt,
+                                               protozero::pbf_writer & current_feature,
+                                               int32_t & start_x,


=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ test_using_created_tif.patch
 use-protozero-package.patch
 skip-tests-for-missing-data.patch
 no-mason.patch
+mapbox-geometry-1.0.0.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/mapnik-vector-tile/compare/c09cab9ff1f4a868dbc6dad9e1e2995ab012f21f...7e3a4d074e05a32f4fbf0498ea61bab8371ffcc4

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mapnik-vector-tile/compare/c09cab9ff1f4a868dbc6dad9e1e2995ab012f21f...7e3a4d074e05a32f4fbf0498ea61bab8371ffcc4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20181121/40b0218a/attachment-0001.html>


More information about the Pkg-grass-devel mailing list