[osmcoastline] 01/01: Use upstream man pages instead of special Debian man pages.
Jochen Topf
joto-guest at moszumanska.debian.org
Wed Apr 1 07:59:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
joto-guest pushed a commit to branch master
in repository osmcoastline.
commit da09e2524fbf1a150ef15b2120efaccdde4f945b
Author: Jochen Topf <jochen at topf.org>
Date: Wed Apr 1 09:59:11 2015 +0200
Use upstream man pages instead of special Debian man pages.
---
debian/control | 8 +-
debian/man/osmcoastline.1.xml | 173 -----------------------------------
debian/man/osmcoastline_filter.1.xml | 81 ----------------
debian/man/osmcoastline_ways.1.xml | 30 ------
debian/osmcoastline.manpages | 1 -
debian/rules | 11 ---
6 files changed, 3 insertions(+), 301 deletions(-)
diff --git a/debian/control b/debian/control
index 8fed029..8f99ba3 100644
--- a/debian/control
+++ b/debian/control
@@ -12,11 +12,9 @@ Build-Depends: debhelper (>= 9),
libosmium2-dev,
libosmpbf-dev,
libspatialite-dev,
- zlib1g-dev,
- docbook2x,
- docbook-xsl,
- docbook-xml,
- xsltproc
+ pandoc,
+ sqlite3,
+ zlib1g-dev
Standards-Version: 3.9.6
Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/osmcoastline.git/
Vcs-Git: git://anonscm.debian.org/pkg-grass/osmcoastline.git
diff --git a/debian/man/osmcoastline.1.xml b/debian/man/osmcoastline.1.xml
deleted file mode 100644
index f4f6ec4..0000000
--- a/debian/man/osmcoastline.1.xml
+++ /dev/null
@@ -1,173 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
-<refentry id='osmcoastline'>
-
- <refmeta>
- <refentrytitle>osmcoastline</refentrytitle>
- <manvolnum>1</manvolnum>
- </refmeta>
-
- <refnamediv>
- <refname>osmcoastline</refname>
- <refpurpose>extract coastline from OSM data</refpurpose>
- </refnamediv>
-
- <refsynopsisdiv id='synopsis'>
- <cmdsynopsis>
- <command>osmcoastline</command>
- <arg choice='opt'><replaceable>options</replaceable></arg>
- <arg choice='plain'><replaceable>osmfile</replaceable></arg>
- </cmdsynopsis>
- </refsynopsisdiv>
-
- <refsect1 id='description'>
- <title>DESCRIPTION</title>
- <para>
- <command>osmcoastline</command> extracts the coastline from an OSM
- planet file and assembles all the pieces into polygons for use in map
- renderers etc.
- </para>
- </refsect1>
-
- <refsect1 id='options'>
- <title>OPTIONS</title>
-
- <variablelist>
-
- <varlistentry>
- <term><option>-h</option></term>
- <term><option>--help</option></term>
- <listitem>
- <para>
- Display usage information
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-c</option> <replaceable>DIST</replaceable></term>
- <term><option>--close-distance</option>=<replaceable>DIST</replaceable></term>
- <listitem>
- <para>
- Distance between nodes under which open rings are closed
- (0 - disable closing of rings)
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-b</option> <replaceable>OVERLAP</replaceable></term>
- <term><option>--bbox-overlap</option>=<replaceable>OVERLAP</replaceable></term>
- <listitem>
- <para>
- Set overlap when splitting polygons
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-i</option></term>
- <term><option>--no-index</option></term>
- <listitem>
- <para>
- Do not create spatial indexes in output db
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-d</option></term>
- <term><option>--debug</option></term>
- <listitem>
- <para>
- Enable debugging output
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-f</option></term>
- <term><option>--overwrite</option></term>
- <listitem>
- <para>
- Overwrite output file if it already exists
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-l</option></term>
- <term><option>--output-lines</option></term>
- <listitem>
- <para>
- Output coastlines as lines to database file
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-m</option> <replaceable>NUM</replaceable></term>
- <term><option>--max-points</option>=<replaceable>NUM</replaceable></term>
- <listitem>
- <para>
- Split lines/polygons with more than this many points
- (0 - disable splitting)
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-o</option> <replaceable>FILE</replaceable></term>
- <term><option>--output-database</option>=<replaceable>FILE</replaceable></term>
- <listitem>
- <para>
- Spatialite database file for output
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-p</option> <replaceable>land|water|both|none</replaceable></term>
- <term><option>--output-polygons</option>=<replaceable>land|water|both|none</replaceable></term>
- <listitem>
- <para>
- Which polygons to write out (default: land)
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-r</option></term>
- <term><option>--output-rings</option></term>
- <listitem>
- <para>
- Output rings to database file
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-s</option> <replaceable>EPSGCODE</replaceable></term>
- <term><option>--srs</option>=<replaceable>EPSGCODE</replaceable></term>
- <listitem>
- <para>
- Set SRS (4326 for WGS84 (default) or 3857)
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-v</option></term>
- <term><option>--verbose</option></term>
- <listitem>
- <para>
- Verbose output
- </para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- </refsect1>
-
-</refentry>
diff --git a/debian/man/osmcoastline_filter.1.xml b/debian/man/osmcoastline_filter.1.xml
deleted file mode 100644
index 825fe4a..0000000
--- a/debian/man/osmcoastline_filter.1.xml
+++ /dev/null
@@ -1,81 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
-<refentry id='osmcoastline_filter'>
-
- <refmeta>
- <refentrytitle>osmcoastline_filter</refentrytitle>
- <manvolnum>1</manvolnum>
- </refmeta>
-
- <refnamediv>
- <refname>osmcoastline_filter</refname>
- <refpurpose>extract coastline from OSM data</refpurpose>
- </refnamediv>
-
- <refsynopsisdiv id='synopsis'>
- <cmdsynopsis>
- <command>osmcoastline_filter</command>
- <arg choice='opt'><replaceable>options</replaceable></arg>
- <arg choice='plain'><replaceable>osmfile</replaceable></arg>
- </cmdsynopsis>
- </refsynopsisdiv>
-
- <refsect1 id='description'>
- <title>DESCRIPTION</title>
- <para>
- <command>osmcoastline_filter</command> can be used to filter from an OSM
- planet file all nodes and ways needed for building the coastlines and
- writing them out in OSM format.
- This file will be a lot smaller (less than 1%) than the original planet
- file, but it contains everything needed to assemble the coastline
- polygons.
- </para>
- <para>
- If you are playing around or want to run <command>osmcoastline</command>
- several times with different parameters, run
- <command>osmcoastline_filter</command> once first and use its output as
- the input for osmcoastline.
- </para>
- <para>
- Run it as follows:
- <screen>
-<command>osmcoastline_filter</command> <option>-o</option> <replaceable>OUTFILE.osm.pbf</replaceable> <replaceable>INFILE.osm.pbf</replaceable>
- </screen>
- </para>
- <para>
- <command>osmcoastline_filter</command> can read PBF and XML files, but
- write only PBF files.
- PBF files are much smaller and faster to read and write.
- </para>
- </refsect1>
-
- <refsect1 id='options'>
- <title>OPTIONS</title>
-
- <variablelist>
-
- <varlistentry>
- <term><option>-h</option></term>
- <term><option>--help</option></term>
- <listitem>
- <para>
- Display usage information
- </para>
- </listitem>
- </varlistentry>
-
- <varlistentry>
- <term><option>-o</option> <replaceable>OSMFILE</replaceable></term>
- <term><option>--output</option>=<replaceable>OSMFILE</replaceable></term>
- <listitem>
- <para>
- Where to write output (default: none)
- </para>
- </listitem>
- </varlistentry>
-
- </variablelist>
-
- </refsect1>
-
-</refentry>
diff --git a/debian/man/osmcoastline_ways.1.xml b/debian/man/osmcoastline_ways.1.xml
deleted file mode 100644
index 01508c8..0000000
--- a/debian/man/osmcoastline_ways.1.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
-<refentry id='osmcoastline_ways'>
-
- <refmeta>
- <refentrytitle>osmcoastline_ways</refentrytitle>
- <manvolnum>1</manvolnum>
- </refmeta>
-
- <refnamediv>
- <refname>osmcoastline_ways</refname>
- <refpurpose>extract coastline ways from OSM data</refpurpose>
- </refnamediv>
-
- <refsynopsisdiv id='synopsis'>
- <cmdsynopsis>
- <command>osmcoastline_ways</command>
- <arg choice='plain'><replaceable>osmfile</replaceable></arg>
- </cmdsynopsis>
- </refsynopsisdiv>
-
- <refsect1 id='description'>
- <title>DESCRIPTION</title>
- <para>
- <command>osmcoastline_ways</command> can be used to extract coastline
- ways from OSM data.
- </para>
- </refsect1>
-
-</refentry>
diff --git a/debian/osmcoastline.manpages b/debian/osmcoastline.manpages
deleted file mode 100644
index 13cdaf4..0000000
--- a/debian/osmcoastline.manpages
+++ /dev/null
@@ -1 +0,0 @@
-debian/man/*.1
diff --git a/debian/rules b/debian/rules
index f15d6da..5aaef7e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,8 +2,6 @@
# DH_VERBOSE := 1
-MANPAGES := $(wildcard debian/man/*.*.xml)
-
%:
dh $@ --buildsystem cmake \
--parallel
@@ -11,15 +9,6 @@ MANPAGES := $(wildcard debian/man/*.*.xml)
override_dh_auto_configure:
dh_auto_configure -- -DCMAKE_VERBOSE_MAKEFILE=1
-override_dh_auto_build:
- # Create man page from DocBook XML
- for x in $(MANPAGES) ; do \
- docbook2x-man $$x ; \
- mv `basename $$x | sed 's/.xml$$//'` `dirname $$x` ; \
- done
-
- dh_auto_build
-
override_dh_auto_test:
(cd obj-* && ./runtest.sh || echo "Ignoring expected test failure")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmcoastline.git
More information about the Pkg-grass-devel
mailing list