Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Add upstream patch for Mapnik FontEngine changes. (closes: #908198)
· 1b59db9e
Bas Couwenberg
authored
Sep 07, 2018
1b59db9e
Set distribution to unstable.
· 0c572bc2
Bas Couwenberg
authored
Sep 07, 2018
0c572bc2
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
0c572bc2
tilestache (1.51.5-4)
UNRELEASED
; urgency=medium
tilestache (1.51.5-4)
unstable
; urgency=medium
* Bump Standards-Version to 4.2.1, no changes.
* Update watch file to limit matches to archive path.
* Add upstream patch for Mapnik FontEngine changes.
(closes: #908198)
-- Bas Couwenberg <sebastic@debian.org>
Sun, 05 Aug
2018
2
1:
01:49
+0200
-- Bas Couwenberg <sebastic@debian.org>
Fri, 07 Sep
2018
1
1:
57:24
+0200
tilestache (1.51.5-3) unstable; urgency=medium
...
...
debian/patches/0001-Modify-so-that-Mapnik-FontEngine-API-can-be-used-wit.patch
0 → 100644
View file @
0c572bc2
Description: Modify so that Mapnik FontEngine API can be used with older and newer Mapnik builds.
Author: Sean Brewer <seabre986@gmail.com>
Origin: https://github.com/TileStache/TileStache/pull/327/commits/c36a0d699e4852e85aeb555ef326b0739b77079e
Bug: https://github.com/TileStache/TileStache/pull/327
Bug-Debian: https://bugs.debian.org/908198
--- a/TileStache/Mapnik.py
+++ b/TileStache/Mapnik.py
@@ -91,7 +91,11 @@
class ImageProvider:
self.layer = layer
self.mapnik = None
- engine = mapnik.FontEngine.instance()
+ # Maintain compatiblity between old and new Mapnik FontEngine API
+ try:
+ engine = mapnik.FontEngine.instance()
+ except AttributeError:
+ engine = mapnik.FontEngine
if fonts:
fontshref = urljoin(layer.config.dirpath, fonts)
debian/patches/series
View file @
0c572bc2
00-use_system_font.patch
03-use_system_modestmaps.patch
0001-Modify-so-that-Mapnik-FontEngine-API-can-be-used-wit.patch