From 30f791628692be54a7222ce46f0a2d0b163fa378 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Sun, 13 Apr 2014 17:06:44 +0100 Subject: Imported Debian patch 2.13.0-1 --- debian/README.Debian | 7 +++++++ debian/README.source | 10 ++++++++++ debian/changelog | 5 +++++ debian/compat | 1 + debian/config | 12 ++++++++++++ debian/control | 21 +++++++++++++++++++++ debian/copyright | 28 ++++++++++++++++++++++++++++ debian/docs | 3 +++ debian/install | 2 ++ debian/po/POTFILES.in | 1 + debian/po/templates.pot | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ debian/postinst | 18 ++++++++++++++++++ debian/rules | 19 +++++++++++++++++++ debian/source/format | 1 + debian/templates | 14 ++++++++++++++ debian/watch | 2 ++ 16 files changed, 192 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/README.source create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100755 debian/config create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100644 debian/install create mode 100644 debian/po/POTFILES.in create mode 100644 debian/po/templates.pot create mode 100755 debian/postinst create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/templates create mode 100644 debian/watch diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..9767d4a --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,7 @@ +openstreetmap-carto for Debian +------------------------------ + +This package is intended to be used by a tile renderer (e.g. mod_tile) with +Mapnik to render OpenStreetMap tiles. + + -- Christopher Baines Sun, 13 Apr 2014 17:06:44 +0100 diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..c8f1176 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,10 @@ +openstreetmap-carto for Debian +------------------------------ + + + + + + -- Christopher Baines Sun, 13 Apr 2014 17:06:44 +0100 + diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0ae7302 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +openstreetmap-carto (2.13.0-1) unstable; urgency=low + + * Initial release (Closes: #744842) + + -- Christopher Baines Sun, 13 Apr 2014 17:06:44 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/config b/debian/config new file mode 100755 index 0000000..a9f7b3d --- /dev/null +++ b/debian/config @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +# Source debconf library. +. /usr/share/debconf/confmodule + +db_input high openstreetmap-carto/fetch-data || true +db_go + +db_input high openstreetmap-carto/database-name || true +db_go diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..d7c7266 --- /dev/null +++ b/debian/control @@ -0,0 +1,21 @@ +Source: openstreetmap-carto +Section: graphics +Priority: optional +Maintainer: Debian OpenStreetMap Team +Uploaders: Christopher Baines +Build-Depends: debhelper (>= 9.0.0), node-carto, po-debconf +Standards-Version: 3.9.5 +Homepage: https://github.com/gravitystorm/openstreetmap-carto +#Vcs-Git: git://git.debian.org/collab-maint/openstreetmap-carto.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/openstreetmap-carto.git;a=summary + +Package: openstreetmap-carto +Architecture: all +Depends: ${misc:Depends}, ttf-dejavu, curl, unzip, gdal-bin, mapnik-utils +Recommends: fonts-sipa-arundina, fonts-sil-padauk, fonts-khmeros +Description: standard OpenStreetMap Mapnik stylesheet + This package provides the standard OpenStreetMap stylesheet for Mapnik, built + from the CartoCSS source. It also provides the necessary icons, and the script + to download the necessary shapefiles. + . + This package does not provide a tileserver, or perform tile rendering. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e2b40e1 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: openstreetmap-carto +Source: + +License: CC0 + OpenStreetMap Carto: A global map style for OpenStreetMap maps. + . + Created by Andy Allan and contributors. + Based on original cartography by Steve Chilton and others. + . + This software and associated documentation files (the "Software") is + released under the CC0 Public Domain Dedication, version 1.0, as + published by Creative Commons. To the extent possible under law, the + author(s) have dedicated all copyright and related and neighboring + rights to the Software to the public domain worldwide. The Software is + distributed WITHOUT ANY WARRANTY. + . + If you did not receive a copy of the CC0 Public Domain Dedication + along with the Software, see + + +Files: * +Copyright: 2012-2014 Andy Allan +License: CC0 + +Files: debian/* +Copyright: 2014 Christopher Baines +License: CC0 diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..f3b13a1 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +README.md +TODO.md +CARTOGRAPHY.md diff --git a/debian/install b/debian/install new file mode 100644 index 0000000..3c2f38c --- /dev/null +++ b/debian/install @@ -0,0 +1,2 @@ +get-shapefiles.sh /usr/share/openstreetmap-carto/ +symbols /usr/share/openstreetmap-carto diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..cef83a3 --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..8588239 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,48 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: openstreetmap-carto\n" +"Report-Msgid-Bugs-To: openstreetmap-carto@packages.debian.org\n" +"POT-Creation-Date: 2014-04-15 10:23+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "Fetch data files from the web?" +msgstr "" + +#. Type: boolean +#. Description +#: ../templates:1001 +msgid "" +"The openstreetmap-carto stylesheet uses several datafiles, this package " +"includes a script to fetch these from the web. This can be done manually " +"later by running the get-shapefiles.sh script in the /usr/share/" +"openstreetmap-carto directory." +msgstr "" + +#. Type: string +#. Description +#: ../templates:2001 +msgid "Name of the postgresql database:" +msgstr "" + +#. Type: string +#. Description +#: ../templates:2001 +msgid "" +"The stylesheet describes how to render OpenStreetMap data contained within a " +"postgresql database. The name of the database is by default debian-osm-carto." +msgstr "" diff --git a/debian/postinst b/debian/postinst new file mode 100755 index 0000000..5487b49 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +# Source debconf library. +. /usr/share/debconf/confmodule + +db_get openstreetmap-carto/fetch-data +if [ "$RET" = "true" ]; then + cd /usr/share/openstreetmap-carto/ && ./get-shapefiles.sh +fi + +db_get openstreetmap-carto/database-name +if [ "$RET" != "gis" ]; then + sed -i -e"s/\[gis\]/\[$RET\]/" /usr/share/openstreetmap-carto/style.xml +fi + +#DEBHELPER# diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6b90827 --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f +# -*- makefile -*- + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@ + +override_dh_auto_build: + carto project.mml > style.xml + +override_dh_auto_install: + mkdir -p debian/openstreetmap-carto/usr/share/openstreetmap-carto/ + mv style.xml debian/openstreetmap-carto/usr/share/openstreetmap-carto/ + +override_dh_auto_clean: + dh_auto_clean + debconf-updatepo diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/templates b/debian/templates new file mode 100644 index 0000000..83040fc --- /dev/null +++ b/debian/templates @@ -0,0 +1,14 @@ +Template: openstreetmap-carto/fetch-data +Type: boolean +_Description: Fetch data files from the web? + The openstreetmap-carto stylesheet uses several datafiles, this package + includes a script to fetch these from the web. This can be done manually later + by running the get-shapefiles.sh script in the /usr/share/openstreetmap-carto + directory. + +Template: openstreetmap-carto/database-name +Type: string +Default: gis +_Description: Name of the postgresql database: + The stylesheet describes how to render OpenStreetMap data contained within a + postgresql database. The name of the database is by default debian-osm-carto. diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..158b795 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://githubredir.debian.net/github/gravitystorm/openstreetmap-carto /github/gravitystorm/openstreetmap-carto/v(.*).tar.gz -- cgit v1.2.3