[mapbox-geometry] 02/02: Initial Debian packaging.

Bas Couwenberg sebastic at debian.org
Sat Jun 10 20:46:11 UTC 2017


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository mapbox-geometry.

commit efe5f3c15e0c5d2155850f3c97681db62672069e
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Jun 9 09:26:00 2017 +0200

    Initial Debian packaging.
---
 debian/changelog              |  5 +++++
 debian/compat                 |  1 +
 debian/control                | 25 +++++++++++++++++++++++++
 debian/copyright              | 43 +++++++++++++++++++++++++++++++++++++++++++
 debian/docs                   |  1 +
 debian/gbp.conf               | 16 ++++++++++++++++
 debian/install                |  1 +
 debian/patches/no-mason.patch | 17 +++++++++++++++++
 debian/patches/series         |  1 +
 debian/rules                  | 10 ++++++++++
 debian/source/format          |  1 +
 debian/upstream/metadata      |  6 ++++++
 debian/watch                  |  7 +++++++
 13 files changed, 134 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f856de1
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+mapbox-geometry (0.9.1-1) unstable; urgency=medium
+
+  * Initial release (Closes: #864570)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 09 Jun 2017 09:15:26 +0200
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/control b/debian/control
new file mode 100644
index 0000000..7687ad3
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,25 @@
+Source: mapbox-geometry
+Section: libdevel
+Priority: optional
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Bas Couwenberg <sebastic at debian.org>
+Build-Depends: debhelper (>= 9),
+               libmapbox-variant-dev
+Standards-Version: 3.9.8
+Vcs-Browser: https://anonscm.debian.org/cgit/pkg-grass/mapbox-geometry.git/
+Vcs-Git: https://anonscm.debian.org/git/pkg-grass/mapbox-geometry.git
+Homepage: https://github.com/mapbox/geometry.hpp
+
+Package: libmapbox-geometry-dev
+Architecture: all
+Depends: libmapbox-variant-dev,
+         ${misc:Depends}
+Description: Generic C++ interfaces for geometry types, collections, and features
+ geometry.hpp provides header-only, generic C++ interfaces for geometry
+ types, geometry collections, and features.
+ .
+ These types are designed to be easy to parse and serialize to GeoJSON.
+ .
+ They should also be a robust and high performance container for data
+ processing and conversion.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..80542db
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,43 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: geometry.hpp
+Upstream-Contact: Mapbox (https://github.com/mapbox/geometry.hpp/issues)
+Source: https://github.com/mapbox/geometry.hpp
+
+Files: *
+Copyright: 2016, Mapbox
+License: ISC
+
+Files: debian/*
+Copyright: 2016, Bas Couwenberg <sebastic at debian.org>
+License: ISC or GPL-3+
+
+License: ISC
+ Permission to use, copy, modify, and/or distribute this software for any
+ purpose with or without fee is hereby granted, provided that the above
+ copyright notice and this permission notice appear in all copies.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+License: GPL-3+
+ This program is 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 3 of the License, or
+ (at your option) any later version.
+ .
+ This program 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License
+ along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ .
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in `/usr/share/common-licenses/GPL-3'.
+
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..21d0417
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,16 @@
+[DEFAULT]
+
+# The default name for the upstream branch is "upstream".
+# Change it if the name is different (for instance, "master").
+upstream-branch = upstream
+
+# The default name for the Debian branch is "master".
+# Change it if the name is different (for instance, "debian/unstable").
+debian-branch = master
+
+# git-import-orig uses the following names for the upstream tags.
+# Change the value if you are not using git-import-orig
+upstream-tag = upstream/%(version)s
+
+# Always use pristine-tar.
+pristine-tar = True
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..ab093ac
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+include/ usr/
diff --git a/debian/patches/no-mason.patch b/debian/patches/no-mason.patch
new file mode 100644
index 0000000..f1b71f8
--- /dev/null
+++ b/debian/patches/no-mason.patch
@@ -0,0 +1,17 @@
+Description: Disable mason, dependencies are packaged.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/Makefile
++++ b/Makefile
+@@ -11,8 +11,8 @@ $(MASON):
+ mason_packages/headers/variant/$(VARIANT):
+ 	$(MASON) install variant $(VARIANT)
+ 
+-test: tests/* include/mapbox/geometry/* mason_packages/headers/variant/$(VARIANT) Makefile
+-	$(CXX) tests/*.cpp $(CXXFLAGS) `$(MASON) cflags variant $(VARIANT)` -o test
++test: tests/* include/mapbox/geometry/* Makefile
++	$(CXX) tests/*.cpp $(CXXFLAGS) -o test
+ 	./test
+ 
+ clean:
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1d18f43
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-mason.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c609c81
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+# DH_VERBOSE := 1
+
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+%:
+	dh $@ --parallel
+
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/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..2896f43
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,6 @@
+---
+Bug-Database: https://github.com/mapbox/geometry.hpp/issues
+Bug-Submit: https://github.com/mapbox/geometry.hpp/issues/new
+Name: geometry.hpp
+Repository: https://github.com/mapbox/geometry.hpp.git
+Repository-Browse: https://github.com/mapbox/geometry.hpp
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..b385151
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,7 @@
+version=3
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+filenamemangle=s/(?:.*?)?(?:rel|v|geometry.hpp)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/geometry.hpp-$1.$2/ \
+https://github.com/mapbox/geometry.hpp/releases \
+(?:.*?/)?(?:rel|v|geometry.hpp)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapbox-geometry.git



More information about the Pkg-grass-devel mailing list