--- mapnik-0.6.0.orig/SConstruct +++ mapnik-0.6.0/SConstruct @@ -53,7 +53,7 @@ color_print(1,'Problem encounted with SCons scripts, please post bug report to: http://trac.mapnik.org\nError was: %s' % stderr) if platform.uname()[4] == 'x86_64': - LIBDIR_SCHEMA='lib64' + LIBDIR_SCHEMA='lib' elif platform.uname()[4] == 'ppc64': LIBDIR_SCHEMA='lib64' else: @@ -885,4 +885,4 @@ SConscript('bindings/python/SConscript') # Configure fonts and if requested install the bundled DejaVu fonts -SConscript('fonts/SConscript') \ No newline at end of file +SConscript('fonts/SConscript') --- mapnik-0.6.0.orig/debian/rules +++ mapnik-0.6.0/debian/rules @@ -0,0 +1,117 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYVERS=$(shell pyversions -vr) + +# scons flags +SCONS_FLAGS=INPUT_PLUGINS=raster,sqlite,postgis,ogr,shape,osm,gdal PROJ_INCLUDES=/usr/include PROJ_LIBS=/usr/lib INTERNAL_LIBAGG=no SYSTEM_FONTS=/usr/share/fonts/truetype/ttf-dejavu XMLPARSER=libxml2 DESTDIR=$(CURDIR)/debian/tmp PREFIX=/usr LIB_DIR_NAME=/mapnik/0.6 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + scons configure $(SCONS_FLAGS) PYTHON=/usr/bin/python$* + touch configure-stamp + +build-%/configure-stamp: + dh_testdir + mkdir -p build-$* + touch $@ + +build: $(PYVERS:%=build-%/build-stamp) +build-%/build-stamp: build-%/configure-stamp + dh_testdir + + # Add here commands to compile the package. + scons $(SCONS_FLAGS) PYTHON=/usr/bin/python$* + # We don't provide pkg-config files so this Makefile is just confusing + # when installed as a demo + rm -f demo/c++/Makefile + touch $@ + +clean: + dh_testdir + dh_testroot + rm -Rf build-* + + # Add here commands to clean up after the build process. + -scons $(SCONS_FLAGS) PYTHON=/usr/bin/python$* --clean + rm -rf .sconf_temp + find -name '*.pyc' -exec rm -f {} \; + rm -f config.log bindings/python/mapnik/paths.py + find -name '.sconsign*' -exec rm -f {} \; + find -name '*.o' -exec rm -f {} \; + rm -f utils/shapeindex/shapeindex + rm -f config.py config.cache + + # Lintian fix + chmod -x demo/viewer/images/*.png bindings/python/mapnik/ogcserver/modserver.py + + dh_clean + +install: build $(PYVERS:%=install-%) +install-%: + dh_testdir + dh_testroot + #dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp + scons $(SCONS_FLAGS) PYTHON=/usr/bin/python$* install + find $(CURDIR)/debian/tmp -name '.sconsign' -exec rm -f {} \; + install -d $(CURDIR)/debian/tmp/usr/bin + install -m 0755 debian/mapnik-plugin-base $(CURDIR)/debian/tmp/usr/bin + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_installexamples -Xdata/new + dh_install --sourcedir=debian/tmp +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl + dh_pycentral + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- mapnik-0.6.0.orig/debian/mapnik-utils.install +++ mapnik-0.6.0/debian/mapnik-utils.install @@ -0,0 +1 @@ +usr/bin/shapeindex --- mapnik-0.6.0.orig/debian/mapnik-utils.manpages +++ mapnik-0.6.0/debian/mapnik-utils.manpages @@ -0,0 +1 @@ +debian/shapeindex.1 --- mapnik-0.6.0.orig/debian/python-mapnik.install +++ mapnik-0.6.0/debian/python-mapnik.install @@ -0,0 +1,2 @@ +usr/lib/python*/*-packages/mapnik/* +usr/lib/python*/*-packages/mapnik/*/* --- mapnik-0.6.0.orig/debian/libmapnik-dev.examples +++ mapnik-0.6.0/debian/libmapnik-dev.examples @@ -0,0 +1 @@ +demo/* --- mapnik-0.6.0.orig/debian/changelog +++ mapnik-0.6.0/debian/changelog @@ -0,0 +1,168 @@ +mapnik (0.6.0-1ubuntu1) karmic; urgency=low + + * Merge from debian unstable (LP: #378819), remaining changes: + - debian/control: + + Change bdeps from python2.5-dev to python-all-dev (>= 2.5) + + Change XS-Python-Version from 2.5 to >= 2.5 + - debian/rules: + + Various changes to enable python2.5 and python2.6 builds + * debian/patches/libtool2_2.diff Dropped. Included upsteam. + * Removed quilt support. + + -- Andres Rodriguez Wed, 20 May 2009 15:39:58 -0500 + +mapnik (0.6.0-1) unstable; urgency=low + + * New upstream release (closes: #522823, #523190) + * Update debian/build-svn-tarball.sh for next major release + * Update build-dep from proj to libproj-dev to reflect proj package + reorganization (closes: #521818) + * Add explicit configure step in debian/rules + * Update Standards-Version (no changes) + * Update build-dep from libltdl3-dev to libltdl-dev to reflect libtool + changes + * Changes from Ubuntu: + - add Homepage control field + - update python-mapnik install file to be compatible with Python 2.6 + transition + * Remove old transitional mapnik-plugins package + * Don't install demo/c++/Makefile as we aren't shipping pkg-config files + * Switch to new boost 1.38 packages + + -- Dominic Hargreaves Mon, 13 Apr 2009 17:38:36 +0100 + +mapnik (0.5.1-3ubuntu3) karmic; urgency=low + + * Finish of the python 2.6 transition (LP: #354205) + - debian/control + + Change bdeps from python2.5-dev to python-all-dev (>= 2.5) + + Change XS-Python-Version from 2.5 to >= 2.5 + - debian/rules: + + Various changes to enable python2.5 and python2.6 builds + + -- Christophe Sauthier Fri, 01 May 2009 17:45:42 +0200 + +mapnik (0.5.1-3ubuntu2) jaunty; urgency=low + + * Python 2.6 transition: + - debian/rules: replace site-packages with wildcarded *-packages. + * Use SCons from primary archive than internal copy. + + -- Luca Falavigna Wed, 01 Apr 2009 12:39:40 +0000 + +mapnik (0.5.1-3ubuntu1) jaunty; urgency=low + + * Merge from debian unstable (LP: #295573), remaining changes: + + debian/control: + - build-dep on libltdl7-dev instead of libltdl3-dev. + - change libltdl3-dev to libltdl7-dev in libmapnik-dev Depends field. + + Add quilt support. + + Add libtool2_2.diff patch, fix FTBFS (LP: #270686). + * New Ubuntu change: + + debian/control: + - add Homepage field + - remove libagg-dev from Build-Depends because it was added twice + + -- Iulian Udrea Wed, 05 Nov 2008 04:33:35 +0000 + +mapnik (0.5.1-3) unstable; urgency=low + + * Link against system agg library (closes: #493786) required for... + * Update Standards-Version + * Add missing #include to fix FTBFS on GNU/kFreeBSD (closes: #493499) + + -- Dominic Hargreaves Sat, 9 Aug 2008 18:13:25 +0100 + +mapnik (0.5.1-2ubuntu1) intrepid; urgency=low + + * debian/control: build-dep on libltdl7-dev instead of libltdl3-dev. + * debian/control: change libltdl3-dev to libltdl7-dev in libmapnik-dev Depends + field. + * Add quilt support. + * Add libtool2_2.diff patch, fix FTBFS (LP: #270686). + + -- Devid Antonio Filoni Wed, 17 Sep 2008 20:39:09 +0200 + +mapnik (0.5.1-2) unstable; urgency=low + + * Update mapnik-utils extended description to fix formatting problem + (closes: #480333) + + -- Dominic Hargreaves Fri, 20 Jun 2008 23:38:47 +0100 + +mapnik (0.5.1-1) unstable; urgency=low + + * New upstream release: re-enables regex support (closes: #471717) + * Configure gdal library name dynamically at build time and remove + versioned dependency on libgdal1-dev (closes: #473958) + + -- Dominic Hargreaves Thu, 3 Apr 2008 21:41:32 +0100 + +mapnik (0.5.0-3) unstable; urgency=low + + * Fix FTBFS with gcc 4.3: include missing headers (closes: #454898) + * Fix watch file to cope with new filename + * Explicitly link again python 2.5 boost library (closes: #468770) + + -- Dominic Hargreaves Tue, 25 Mar 2008 20:14:22 +0000 + +mapnik (0.5.0-2) unstable; urgency=low + + * Fix plugin path in python bindings (closes: #466144) + * Remove libboost-serialization-dev build depends again, as + #457654 has been fixed. + * python-all-dev build depends changed to python2.5-dev + + -- Dominic Hargreaves Sun, 24 Feb 2008 00:51:03 +0000 + +mapnik (0.5.0-1) unstable; urgency=low + + * New (final) upstream release + * Add libboost-serialization-dev build depends back, to work around + #457654 in libboost-dev. + + -- Dominic Hargreaves Mon, 11 Feb 2008 23:01:05 +0000 + +mapnik (0.5~svn638-1) experimental; urgency=low + + * New upstream release + - Remove build dependency on libboost-serialization-dev + - Add build dependency on libgdal1-dev + - Bump python build dependency + - Add build dependency on libxml2-dev + - Now shipping with upstream's soname + - Don't link main library against unnecessary libraries + - Add build dependency on libboost-iostreams-dev + - Missing includes fixed (closes: #454898) + * Correct watch file (thanks to Raphael Geissert; closes: #450108) + * Update Standard-Version (no changes) + * Update build-svn-tarball.sh + * Add mapnik-plugin-base to determine the path to plugins + * Add Suggests on postgis + + -- Dominic Hargreaves Wed, 6 Feb 2008 18:07:29 +0000 + +mapnik (0.4.0-2) unstable; urgency=low + + * Improve description for mapnik-utils (closes: #420286) + * Fix FTBFS due to Boost changes: tweak SConstruct and + build dependencies (closes: #425901) + * Tweak clean target to fix repeated builds + + -- Dominic Hargreaves Fri, 25 May 2007 00:15:23 +0100 + +mapnik (0.4.0-1) unstable; urgency=low + + * New upstream release + * Remove support for multiple python versions, as Python boost bindings + are version-specific. + * Include ogcserver script as an example for the python-mapnik package. + + -- Dominic Hargreaves Fri, 9 Mar 2007 17:14:28 +0000 + +mapnik (0.3.0+svn424-1) unstable; urgency=low + + * Initial release (Closes: #402792) + + -- Dominic Hargreaves Sun, 14 Jan 2007 15:53:35 +0000 + --- mapnik-0.6.0.orig/debian/python-mapnik.examples +++ mapnik-0.6.0/debian/python-mapnik.examples @@ -0,0 +1 @@ +utils/ogcserver/* --- mapnik-0.6.0.orig/debian/libmapnik0.6.install +++ mapnik-0.6.0/debian/libmapnik0.6.install @@ -0,0 +1,2 @@ +usr/lib/lib*.so.* +usr/lib/mapnik/*/input/* --- mapnik-0.6.0.orig/debian/control +++ mapnik-0.6.0/debian/control @@ -0,0 +1,91 @@ +Source: mapnik +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Dominic Hargreaves +Build-Depends: python, debhelper (>= 5.0.38), python-all-dev (>= 2.5.4-1~), python-central (>= 0.5.6), libboost-thread1.38-dev, libboost-filesystem1.38-dev, libboost-regex1.38-dev, libboost-python1.38-dev, libboost-system1.38-dev, libboost-iostreams1.38-dev, libboost-program-options1.38-dev, libpng12-dev, libjpeg62-dev, libtiff4-dev, zlib1g-dev, libfreetype6-dev, libpq-dev, libproj-dev, libltdl-dev, libfribidi-dev, libgdal1-dev, libxml2-dev, libagg-dev, libicu-dev, libcairo2-dev, libcairomm-1.0-dev, python-cairo-dev, libsqlite3-dev, libcurl4-gnutls-dev, libsigc++-2.0-dev, scons +Standards-Version: 3.8.1 +Section: libs +XS-Python-Version: >= 2.5 +Homepage: http://www.mapnik.org/ + +Package: libmapnik0.6 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ttf-dejavu +Suggests: postgis +Description: C++/Python toolkit for developing GIS applications (libraries) + Mapnik is an OpenSource C++/Python toolkit for developing GIS + (Geographic Information Systems) applications. At the core is a C++ + shared library providing algorithms/patterns for spatial data access and + visualization. + . + Essentially a collection of geographic objects (map, layer, datasource, + feature, geometry), the library doesn't rely on "windowing systems" and + is intended to work in multi-threaded environments + . + High-level Python bindings (boost.python) facilitate rapid application + development, targeting zope3, django, etc. + . + This package contains the shared library and input plugins. + +Package: libmapnik-dev +Section: libdevel +Architecture: all +Depends: libmapnik0.6 (>= ${source:Version}), libmapnik0.6 (<< ${source:Version}.1~), libc6-dev | libc-dev, libboost-thread1.38-dev, libboost-filesystem1.38-dev, libboost-regex1.38-dev, libboost-python1.38-dev, libboost-system1.38-dev, libboost-iostreams1.38-dev, libpng12-dev, libjpeg62-dev, libtiff4-dev, zlib1g-dev, libfreetype6-dev, libpq-dev, libproj-dev, libltdl-dev, libfribidi-dev, libgdal1-dev, libxml2-dev, libagg-dev, libicu-dev, libcairo2-dev, libcairomm-1.0-dev, python-cairo-dev, libsqlite3-dev, libcurl4-gnutls-dev, libsigc++-2.0-dev +Description: C++/Python toolkit for developing GIS applications (devel) + Mapnik is an OpenSource C++/Python toolkit for developing GIS + (Geographic Information Systems) applications. At the core is a C++ + shared library providing algorithms/patterns for spatial data access and + visualization. + . + Essentially a collection of geographic objects (map, layer, datasource, + feature, geometry), the library doesn't rely on "windowing systems" and + is intended to work in multi-threaded environments + . + High-level Python bindings (boost.python) facilitate rapid application + development, targeting zope3, django, etc. + . + This package contains the development headers, API documentation, and + build utilities. + +Package: mapnik-utils +Section: utils +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: C++/Python toolkit for developing GIS applications (utilities) + Mapnik is an OpenSource C++/Python toolkit for developing GIS + (Geographic Information Systems) applications. At the core is a C++ + shared library providing algorithms/patterns for spatial data access and + visualization. + . + Essentially a collection of geographic objects (map, layer, datasource, + feature, geometry), the library doesn't rely on "windowing systems" and + is intended to work in multi-threaded environments + . + High-level Python bindings (boost.python) facilitate rapid application + development, targeting zope3, django, etc. + . + This package contains miscellaneous utilities distributed with mapnik: + . + shapeindex: program to creates file system based index for ESRI shape-files + +Package: python-mapnik +Section: python +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends} +Provides: ${python:Provides} +XB-Python-Version: ${python:Versions} +Description: C++/Python toolkit for developing GIS applications (Python) + Mapnik is an OpenSource C++/Python toolkit for developing GIS + (Geographic Information Systems) applications. At the core is a C++ + shared library providing algorithms/patterns for spatial data access and + visualization. + . + Essentially a collection of geographic objects (map, layer, datasource, + feature, geometry), the library doesn't rely on "windowing systems" and + is intended to work in multi-threaded environments + . + High-level Python bindings (boost.python) facilitate rapid application + development, targeting zope3, django, etc. + . + This package contains the Python bindings. --- mapnik-0.6.0.orig/debian/mapnik-plugin-base.1 +++ mapnik-0.6.0/debian/mapnik-plugin-base.1 @@ -0,0 +1,35 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH MAPNIK-PLUGIN-BASE 1 "February 6, 2008" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +mapnik-plugin-base \- determine path to Mapnik plugins +.SH SYNOPSIS +.B mapnik-plugin-base +.SH DESCRIPTION +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBmapnik-plugin-base\fP outputs the directory containing Mapnik plugins +relevant to the version of Mapnik being targetted. +.SH OPTIONS +There are no options. +.SH AUTHOR +mapnik-plugin-path was written by Dominic Hargreaves. +.PP +This manual page was written by Dominic Hargreaves , +for the Debian project (but may be used by others). --- mapnik-0.6.0.orig/debian/compat +++ mapnik-0.6.0/debian/compat @@ -0,0 +1 @@ +5 --- mapnik-0.6.0.orig/debian/copyright +++ mapnik-0.6.0/debian/copyright @@ -0,0 +1,187 @@ +This package was debianized by Dominic Hargreaves on +Tue, 12 Dec 2006 20:32:12 +0000. + +It was downloaded from http://www.mapnik.org/ and +svn://svn.mapnik.org/trunk + +Upstream Author: Artem Pavlenko, Jean-Francois Doyon + +Copyright: 2006-2009 Artem Pavlenko, Jean-Francois Doyon + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + +The Debian packaging is (C) 2006-2009, Dominic Hargreaves and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + +The following included software is licensed separately: + +agg/ +---- + +Copyright (C) 2002-2005 Maxim Shemanarev (McSeem) + +Permission to copy, use, modify, sell and distribute this software +is granted provided this copyright notice appears in all copies. +This software is provided "as is" without express or implied +warranty, and with no claim as to its suitability for any purpose. + +scons/ +------ + +Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 The SCons Foundation + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +fonts/dejavu-ttf-2.28/ +------------------------------ + +Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is +a trademark of Bitstream, Inc. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of the fonts accompanying this license ("Fonts") and associated +documentation files (the "Font Software"), to reproduce and distribute the +Font Software, including without limitation the rights to use, copy, merge, +publish, distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to the +following conditions: + +The above copyright and trademark notices and this permission notice shall +be included in all copies of one or more of the Font Software typefaces. + +The Font Software may be modified, altered, or added to, and in particular +the designs of glyphs or characters in the Fonts may be modified and +additional glyphs or characters may be added to the Fonts, only if the fonts +are renamed to names not containing either the words "Bitstream" or the word +"Vera". + +This License becomes null and void to the extent applicable to Fonts or Font +Software that has been modified and is distributed under the "Bitstream +Vera" names. + +The Font Software may be sold as part of a larger software package but no +copy of one or more of the Font Software typefaces may be sold by itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, +TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME +FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING +ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF +THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE +FONT SOFTWARE. + +Except as contained in this notice, the names of Gnome, the Gnome +Foundation, and Bitstream Inc., shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this Font Software +without prior written authorization from the Gnome Foundation or Bitstream +Inc., respectively. For further information, contact: fonts at gnome dot +org. + +Arev Fonts Copyright +------------------------------ + +Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining +a copy of the fonts accompanying this license ("Fonts") and +associated documentation files (the "Font Software"), to reproduce +and distribute the modifications to the Bitstream Vera Font Software, +including without limitation the rights to use, copy, merge, publish, +distribute, and/or sell copies of the Font Software, and to permit +persons to whom the Font Software is furnished to do so, subject to +the following conditions: + +The above copyright and trademark notices and this permission notice +shall be included in all copies of one or more of the Font Software +typefaces. + +The Font Software may be modified, altered, or added to, and in +particular the designs of glyphs or characters in the Fonts may be +modified and additional glyphs or characters may be added to the +Fonts, only if the fonts are renamed to names not containing either +the words "Tavmjong Bah" or the word "Arev". + +This License becomes null and void to the extent applicable to Fonts +or Font Software that has been modified and is distributed under the +"Tavmjong Bah Arev" names. + +The Font Software may be sold as part of a larger software package but +no copy of one or more of the Font Software typefaces may be sold by +itself. + +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL +TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. + +Except as contained in this notice, the name of Tavmjong Bah shall not +be used in advertising or otherwise to promote the sale, use or other +dealings in this Font Software without prior written authorization +from Tavmjong Bah. For further information, contact: tavmjong @ free +. fr. + + +tinyxml/ +-------- + +Original code (2.0 and earlier )copyright (c) 2000-2006 Lee Thomason (www.grinninglizard.com) + +This software is provided 'as-is', without any express or implied +warranty. In no event will the authors be held liable for any +damages arising from the use of this software. + +Permission is granted to anyone to use this software for any +purpose, including commercial applications, and to alter it and +redistribute it freely, subject to the following restrictions: + +1. The origin of this software must not be misrepresented; you must +not claim that you wrote the original software. If you use this +software in a product, an acknowledgment in the product documentation +would be appreciated but is not required. + +2. Altered source versions must be plainly marked as such, and +must not be misrepresented as being the original software. + +3. This notice may not be removed or altered from any source +distribution. --- mapnik-0.6.0.orig/debian/shapeindex.1 +++ mapnik-0.6.0/debian/shapeindex.1 @@ -0,0 +1,60 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH SHAPEINDEX 1 "January 11, 2007" +.\" Please adjust this date whenever revising the manpage. +.\" +.\" Some roff macros, for reference: +.\" .nh disable hyphenation +.\" .hy enable hyphenation +.\" .ad l left justify +.\" .ad b justify to both left and right margins +.\" .nf disable filling +.\" .fi enable filling +.\" .br insert line break +.\" .sp insert n+1 empty lines +.\" for manpage-specific macros, see man(7) +.SH NAME +shapeindex \- program to creates file system based index for ESRI shapefiles +.SH SYNOPSIS +.B shapeindex +.RI [ options ] +.SH DESCRIPTION +This manual page documents briefly the +.B shapeindex +command. +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fBshapeindex\fP is a program that creates file system based index (*.index) +for ESRI shapefiles. These files are used for fast 'in box' queries on large +shapefiles. +.SH OPTIONS +This program follows the usual GNU command line syntax, with long +options starting with two dashes (`-'). +A summary of options is included below. +.TP +.B \-h, \-\-help +Show summary of options. +.TP +.B \-V, \-\-version +Show version of program. +.TP +.B \-v, \-\-verbose +Show verbose output. +.TP +.B \-d, \-\-depth [arg] +Specify maximum tree depth (default 8) +.TP +.B \-r, \-\-ratio [arg] +Specify split ratio (default 0.55) +.TP +.B \-\-shape_files [file1 file2..fileN] +Specify shape files to index +.SH AUTHOR +shapeindex was written by Artem Pavlenko. +.PP +This manual page was written by Dominic Hargreaves , +for the Debian project (but may be used by others). --- mapnik-0.6.0.orig/debian/libmapnik-dev.manpages +++ mapnik-0.6.0/debian/libmapnik-dev.manpages @@ -0,0 +1 @@ +debian/mapnik-plugin-base.1 --- mapnik-0.6.0.orig/debian/libmapnik-dev.docs +++ mapnik-0.6.0/debian/libmapnik-dev.docs @@ -0,0 +1 @@ +docs/api_docs --- mapnik-0.6.0.orig/debian/build-svn-tarball.sh +++ mapnik-0.6.0/debian/build-svn-tarball.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +set -e + +REPO="svn://svn.mapnik.org/trunk" +PKGNAME="mapnik" + +TMP=`mktemp -d -p .` +cd $TMP +REV=`svn info $REPO|grep ^Revision|cut -d\ -f2` +VER="0.6.0~svn$REV" +svn export -r $REV $REPO $PKGNAME-$VER +tar zcvf ${PKGNAME}_$VER.orig.tar.gz $PKGNAME-$VER --- mapnik-0.6.0.orig/debian/watch +++ mapnik-0.6.0/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=downloadurlmangle=s/prdownload/download/ \ +http://developer.berlios.de/project/showfiles.php?group_id=3133 \ +http://prdownload.berlios.de/mapnik/mapnik_src-(.*).tar.gz --- mapnik-0.6.0.orig/debian/mapnik-plugin-base +++ mapnik-0.6.0/debian/mapnik-plugin-base @@ -0,0 +1,5 @@ +#!/bin/sh + +SOVER=`readlink /usr/lib/libmapnik.so |sed -e 's/libmapnik.so.//'` + +echo /usr/lib/mapnik/$SOVER --- mapnik-0.6.0.orig/debian/libmapnik-dev.install +++ mapnik-0.6.0/debian/libmapnik-dev.install @@ -0,0 +1,3 @@ +usr/include/* +usr/lib/*.so +usr/bin/mapnik-plugin-base --- mapnik-0.6.0.orig/debian/NEWS +++ mapnik-0.6.0/debian/NEWS @@ -0,0 +1,14 @@ +mapnik (0.5~svn638-1) experimental; urgency=low + + * This Debian revision of mapnik moves the input plugins from their default + location in /usr/lib/mapnik/input to /usr/lib/mapnik/0.5/input, to allow + multiple library versions to coexist on one system (the ABI of the plugins + is tied to the core library version). The input plugins are therefore + shipped in the same package as the core library. This situation is subject + to review with upstream, and may change; but for now, you will need to + ensure that your data source registration uses the correct path for the + version of the library you are using. You can use the mapnik-plugin-path + utility included in the libmapnik-dev package to automatically determine + the patch at build time. + + -- Dominic Hargreaves Wed, 06 Feb 2008 17:52:17 +0000 --- mapnik-0.6.0.orig/debian/docs +++ mapnik-0.6.0/debian/docs @@ -0,0 +1 @@ +README --- mapnik-0.6.0.orig/demo/README +++ mapnik-0.6.0/demo/README @@ -0,0 +1,4 @@ +To use the files contained within, you need to copy the directory to +somewhere you can write to, then gunzip */*.gz. + +-- Dominic Hargreaves, for the Debian package. --- mapnik-0.6.0.orig/demo/c++/rundemo.cpp +++ mapnik-0.6.0/demo/c++/rundemo.cpp @@ -43,7 +43,7 @@ { if (argc != 2) { - std::cout << "usage: ./rundemo \nUsually /usr/local/lib/mapnik\n"; + std::cout << "usage: ./rundemo \n"; std::cout << "Warning: ./rundemo looks for data in ../data/,\nTherefore must be run from within the demo/c++ folder.\n"; return EXIT_SUCCESS; } @@ -51,11 +51,9 @@ using namespace mapnik; try { std::cout << " running demo ... \n"; - std::string mapnik_dir(argv[1]); - std::cout << " looking for 'shape.input' plugin in... " << mapnik_dir << "/input/" << "\n"; - datasource_cache::instance()->register_datasources(mapnik_dir + "/input/"); - std::cout << " looking for DejaVuSans font in... " << mapnik_dir << "/fonts/DejaVuSans.ttf" << "\n"; - freetype_engine::register_font(mapnik_dir + "/fonts/DejaVuSans.ttf"); + std::string mapnik_plugin_dir(argv[1]); + datasource_cache::instance()->register_datasources(mapnik_plugin_dir); + freetype_engine::register_font("/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf"); Map m(800,600); m.set_background(color_factory::from_string("white")); --- mapnik-0.6.0.orig/demo/c++/readme.txt +++ mapnik-0.6.0/demo/c++/readme.txt @@ -1,20 +1,17 @@ This directory contains a simple c++ program demonstrating the Mapnik C++ API. It mimics the python 'rundemo.py' example with a couple exceptions. -To build it re-configure SCons with DEMO=True then rebuild:: +To build it: - $ python scons/scons.py configure DEMO=True - $ python scons/scons.py +g++ -O3 -I/usr/include/freetype2 -I/usr/include/agg2 -lmapnik rundemo.cpp -o rundemo +(You will need to have libagg-dev installed for this to work). -The sample program will be compiled (but not installed). - - -To run:: +To run: $ cd demo/c++ - $ ./rundemo /usr/local/lib/mapnik + $ ./rundemo `mapnik-plugin-base` For more detailed comments have a look in demo/python/rundemo.py Have fun! -Artem. +Artem (and Dominic for the Debian package)