[Git][debian-gis-team/mapproxy][master] Added mapnik patch

Angelos Tzotsos (@kalxas-guest) gitlab at salsa.debian.org
Thu Aug 4 09:24:27 BST 2022



Angelos Tzotsos pushed to branch master at Debian GIS Project / mapproxy


Commits:
04fed1e5 by Angelos Tzotsos at 2022-08-04T11:24:18+03:00
Added mapnik patch

- - - - -


3 changed files:

- debian/changelog
- + debian/patches/mapnik.patch
- debian/patches/series


Changes:

=====================================
debian/changelog
=====================================
@@ -1,10 +1,14 @@
 mapproxy (1.15.1-2) UNRELEASED; urgency=medium
 
+  [ Bas Couwenberg ]
   * Add patch by Chris Lamb to make the build reproducible.
     (closes: #1012836)
   * Bump Standards-Version to 4.6.1, no changes.
 
- -- Bas Couwenberg <sebastic at debian.org>  Wed, 15 Jun 2022 09:34:48 +0200
+  [ Angelos Tzotsos ]
+  * Added patch to work with mapnik supporting latest proj.
+
+ -- Angelos Tzotsos <gcpp.kalxas at gmail.com>  Wed, 03 Aug 2022 13:00:00 +0300
 
 mapproxy (1.15.1-1) unstable; urgency=medium
 


=====================================
debian/patches/mapnik.patch
=====================================
@@ -0,0 +1,27 @@
+Description: Patch to work with latest mapnik proj support
+Author: Angelos Tzotsos <gcpp.kalxas at gmail.com>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: <vendor|upstream|other>, <url of original patch>
+Bug: <url in upstream bugtracker>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: <no|not-needed|url proving that it has been forwarded>
+Reviewed-By: <name and email of someone who approved the patch>
+Last-Update: 2022-08-04
+
+--- mapproxy-1.15.1.orig/mapproxy/source/mapnik.py
++++ mapproxy-1.15.1/mapproxy/source/mapnik.py
+@@ -120,7 +120,7 @@ class MapnikSource(MapLayer):
+ 
+         m = self.map_obj(mapfile)
+         m.resize(query.size[0], query.size[1])
+-        m.srs = '+init=%s' % str(query.srs.srs_code.lower())
++        m.srs = str(query.srs.srs_code.lower())
+         envelope = mapnik.Box2d(*query.bbox)
+         m.zoom_to_box(envelope)
+         data = None


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 disable-tag_date.patch
 reproducible-build.patch
+mapnik.patch



View it on GitLab: https://salsa.debian.org/debian-gis-team/mapproxy/-/commit/04fed1e5921ae97573e5087f041edb3790804a9c

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/mapproxy/-/commit/04fed1e5921ae97573e5087f041edb3790804a9c
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/20220804/f6eece40/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list