[DebianGIS-dev] [SCM] tilestache branch, master, updated. upstream/1.0.1-5-g51b4500

David Paleino dapal at debian.org
Wed Nov 10 19:15:01 UTC 2010


The following commit has been merged in the master branch:
commit 51b4500e3f7897e7b264e338b89ab548724b7a5e
Author: David Paleino <dapal at debian.org>
Date:   Wed Nov 10 20:14:24 2010 +0100

    Use system font instead

diff --git a/debian/patches/00-use_system_font.patch b/debian/patches/00-use_system_font.patch
new file mode 100644
index 0000000..33e9289
--- /dev/null
+++ b/debian/patches/00-use_system_font.patch
@@ -0,0 +1,22 @@
+From: David Paleino <dapal at debian.org>
+Subject: use system-wide font
+Origin: vendor
+Forwarded: not-needed
+
+---
+ TileStache/Goodies/Providers/Grid.py |    3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+--- tilestache.orig/TileStache/Goodies/Providers/Grid.py
++++ tilestache/TileStache/Goodies/Providers/Grid.py
+@@ -131,8 +131,9 @@ class UTM:
+         self.spacing = int(spacing)
+         self.tick = int(tick)
+ 
+-        file = 'DejaVuSansMono-alphanumeric.ttf'
++        file = 'DejaVuSansMono.ttf'
+         dirs = [dirname(__file__),
++                sys.prefix + '/share/fonts/truetype/ttf-dejavu',
+                 sys.prefix + '/local/share/tilestache',
+                 sys.prefix + '/share/tilestache']
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..56d9f0f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-use_system_font.patch
diff --git a/debian/rules b/debian/rules
index 218df65..bb00380 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,5 +4,12 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+PREFIX := $(CURDIR)/debian/tilestache/
+
 %:
 	dh $@
+
+override_dh_auto_install:
+	dh_auto_install
+
+	rm -f $(PREFIX)/usr/share/tilestache/DejaVuSansMono-alphanumeric.ttf

-- 
map tiles caching system



More information about the Pkg-grass-devel mailing list