[DebianGIS-dev] r1026 - in packages: . mapnik-viewer mapnik-viewer/debian mapnik-viewer/debian/patches

pere at alioth.debian.org pere at alioth.debian.org
Wed Aug 8 12:05:37 UTC 2007


Author: pere
Date: 2007-08-08 12:05:37 +0000 (Wed, 08 Aug 2007)
New Revision: 1026

Added:
   packages/mapnik-viewer/
   packages/mapnik-viewer/debian/
   packages/mapnik-viewer/debian/changelog
   packages/mapnik-viewer/debian/compat
   packages/mapnik-viewer/debian/control
   packages/mapnik-viewer/debian/copyright
   packages/mapnik-viewer/debian/mapnik-viewer.dirs
   packages/mapnik-viewer/debian/mapnik-viewer.docs
   packages/mapnik-viewer/debian/mapnik-viewer.menu
   packages/mapnik-viewer/debian/patches/
   packages/mapnik-viewer/debian/patches/foo.dpatch
   packages/mapnik-viewer/debian/patches/local.diff
   packages/mapnik-viewer/debian/rules
Log:
Draft packaging for mapnik-viewer.

Added: packages/mapnik-viewer/debian/changelog
===================================================================
--- packages/mapnik-viewer/debian/changelog	                        (rev 0)
+++ packages/mapnik-viewer/debian/changelog	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1,6 @@
+mapnik-viewer (0.0.0.20070805-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #XXXXX)
+
+ -- Petter Reinholdtsen <pere at debian.org>  Sun,  5 Aug 2007 08:53:22 +0200
+

Added: packages/mapnik-viewer/debian/compat
===================================================================
--- packages/mapnik-viewer/debian/compat	                        (rev 0)
+++ packages/mapnik-viewer/debian/compat	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1 @@
+4

Added: packages/mapnik-viewer/debian/control
===================================================================
--- packages/mapnik-viewer/debian/control	                        (rev 0)
+++ packages/mapnik-viewer/debian/control	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1,15 @@
+Source: mapnik-viewer
+Section: utils
+Priority: optional
+Maintainer: Petter Reinholdtsen <pere at debian.org>
+Build-Depends: debhelper (>> 3.0.0), cdbs, qt4-dev-tools, libmapnik-dev, libboost-serialization-dev, libfreetype6-dev
+Standards-Version: 3.7.2
+
+Package: mapnik-viewer
+Priority: important
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Openstreetmap.org viewer / wayfinder / search client
+ Gosmore is a openstreetmap.org viewer and wayfinder with support for
+ speech syntesis and fetching the current location from gpsd.
+

Added: packages/mapnik-viewer/debian/copyright
===================================================================
--- packages/mapnik-viewer/debian/copyright	                        (rev 0)
+++ packages/mapnik-viewer/debian/copyright	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1,16 @@
+This package was debianized by Petter Reinholdtsen <pere at debian.org> on
+Sun Aug  5 00:37:38 CEST 2007
+
+It was downloaded using svn from <URL:http://svn.openstreetmap.org/applications/rendering/gosmore/>.
+
+Upstream Author is Nic Roets with contribution(s) from Dave Hansen.
+
+Copyright:
+
+These programs are free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option) any
+later version.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.

Added: packages/mapnik-viewer/debian/mapnik-viewer.dirs
===================================================================
--- packages/mapnik-viewer/debian/mapnik-viewer.dirs	                        (rev 0)
+++ packages/mapnik-viewer/debian/mapnik-viewer.dirs	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1 @@
+usr/bin

Added: packages/mapnik-viewer/debian/mapnik-viewer.docs
===================================================================
--- packages/mapnik-viewer/debian/mapnik-viewer.docs	                        (rev 0)
+++ packages/mapnik-viewer/debian/mapnik-viewer.docs	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1 @@
+README

Added: packages/mapnik-viewer/debian/mapnik-viewer.menu
===================================================================
--- packages/mapnik-viewer/debian/mapnik-viewer.menu	                        (rev 0)
+++ packages/mapnik-viewer/debian/mapnik-viewer.menu	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1,4 @@
+?package(mapnik-viewer):needs="X11"\
+  section="Apps/Science"\
+  title="Mapnik viewer"\
+  command="/usr/bin/mapnik-viewer"

Added: packages/mapnik-viewer/debian/patches/foo.dpatch
===================================================================
--- packages/mapnik-viewer/debian/patches/foo.dpatch	                        (rev 0)
+++ packages/mapnik-viewer/debian/patches/foo.dpatch	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## foo.dpatch by  <pere at localhost>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+Index: mapnik-viewer/styles_model.cpp
+===================================================================
+--- mapnik-viewer~/styles_model.cpp	(revision 499)
++++ mapnik-viewer/styles_model.cpp	(working copy)
+@@ -183,6 +183,7 @@
+    : QAbstractItemModel(parent),
+      root_(new node(map_node(map))) 
+ {
++#if 0
+    typedef std::map<std::string,mapnik::feature_type_style> style_type; 
+    style_type const & styles = map->styles();
+    style_type::const_iterator itr = styles.begin();
+@@ -197,6 +198,7 @@
+          style->add_child(new node(rule_node(QString("Rule"),*itr2),style));
+       }
+    }   
++#endif
+ }
+ 
+ StyleModel::~StyleModel() {}


Property changes on: packages/mapnik-viewer/debian/patches/foo.dpatch
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/mapnik-viewer/debian/patches/local.diff
===================================================================
--- packages/mapnik-viewer/debian/patches/local.diff	                        (rev 0)
+++ packages/mapnik-viewer/debian/patches/local.diff	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1,14 @@
+Index: viewer.pro
+===================================================================
+--- viewer.pro	(revision 499)
++++ viewer.pro	(working copy)
+@@ -6,7 +6,8 @@
+ 
+ INCLUDEPATH += /usr/local/include
+ INCLUDEPATH += /opt/boost_1_35/include/boost-1_35
+-INCLUDEPATH += /usr/local/include/freetype2
++# The path reported from freetype-config --cflags
++INCLUDEPATH += /usr/include/freetype2
+ 
+ INCLUDEPATH += .
+ 

Added: packages/mapnik-viewer/debian/rules
===================================================================
--- packages/mapnik-viewer/debian/rules	                        (rev 0)
+++ packages/mapnik-viewer/debian/rules	2007-08-08 12:05:37 UTC (rev 1026)
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+  
+include /usr/share/cdbs/1/class/qmake.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/dpatch.mk
+
+QMAKE = qmake-qt4
+DESTDIR := $(CURDIR)/debian/mapnik-viewer
+DEB_MAKE_INSTALL_TARGET := DESTDIR=$(DESTDIR) prefix=/usr install
+
+install/mapnik-viewer::
+	cp viewer debian/mapnik-viewer/usr/bin/mapnik-viewer


Property changes on: packages/mapnik-viewer/debian/rules
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-grass-devel mailing list