aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/README.Debian7
-rw-r--r--debian/README.source10
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rwxr-xr-xdebian/config12
-rw-r--r--debian/control21
-rw-r--r--debian/copyright28
-rw-r--r--debian/docs3
-rw-r--r--debian/install2
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/templates.pot48
-rwxr-xr-xdebian/postinst18
-rwxr-xr-xdebian/rules19
-rw-r--r--debian/source/format1
-rw-r--r--debian/templates14
-rw-r--r--debian/watch2
16 files changed, 192 insertions, 0 deletions
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 <mail@cbaines.net> 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
+------------------------------
+
+<this file describes information about the source package, see Debian policy
+manual section 4.14. You WILL either need to modify or delete this file>
+
+
+
+ -- Christopher Baines <chris@localhost> 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 <mail@cbaines.net> 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 <pkg-osm-maint@lists.alioth.debian.org>
+Uploaders: Christopher Baines <mail@cbaines.net>
+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: <https://github.com/gravitystorm/openstreetmap-carto>
+
+License: CC0
+ OpenStreetMap Carto: A global map style for OpenStreetMap maps.
+ .
+ Created by Andy Allan <andy@gravitystorm.co.uk> 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
+ <http://creativecommons.org/publicdomain/zero/1.0/>
+
+Files: *
+Copyright: 2012-2014 Andy Allan <andy@gravitystorm.co.uk>
+License: CC0
+
+Files: debian/*
+Copyright: 2014 Christopher Baines <mail@cbaines.net>
+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 <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\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