[Git][debian-gis-team/tirex][master] 2 commits: Started debianization.

Felix Delattre gitlab at salsa.debian.org
Thu Aug 27 00:49:52 BST 2020



Felix Delattre pushed to branch master at Debian GIS Project / tirex


Commits:
57edf132 by Felix Delattre at 2020-08-26T23:43:52+00:00
Started debianization.

- - - - -
1cd28183 by Felix Delattre at 2020-08-26T23:44:59+00:00
Adjusted license in copyright information.

- - - - -


10 changed files:

- debian/changelog
- debian/compat
- debian/control
- debian/copyright
- + debian/gbp.conf
- + debian/get-orig-source
- debian/rules
- + debian/source/format
- + debian/upstream/metadata
- + debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,7 +1,15 @@
+tirex (0.6.3-1) UNRELEASED; urgency=medium
+  
+  * targeted packaging to debian archive
+
+ -- Felix Delattre <debian at xama.nu>  Mon, 17 Aug 2020 00:00:00 +0000
+
 tirex (0.6.3) bionic; urgency=medium
   
   * modify TMS backend to take template URL parameter
 
+ -- Frederik Ramm <frederik.ramm at geofabrik.de>  Mon, 29 Jun 2020 12:00:00 +0200
+
 tirex (0.6.2) bionic; urgency=medium
   
   * add TMS backend


=====================================
debian/compat
=====================================
@@ -1 +1 @@
-7
+10


=====================================
debian/control
=====================================
@@ -1,74 +1,77 @@
 Source: tirex
 Section: web
-Priority: extra
-Maintainer: Frederik Ramm <frederik.ramm at geofabrik.de>
-Build-Depends: debhelper (>= 7), libboost-program-options-dev, libmapnik-dev
+Priority: optional
+Maintainer: Debian GIS Project <pkg-grass-devel at lists.alioth.debian.org>
+Uploaders: Felix Delattre <debian at xama.nu>
+Build-Depends: debhelper (>= 10~),
+               libboost-program-options-dev,
+               libmapnik-dev,
+Standards-Version: 4.5.0
 Homepage: http://wiki.openstreetmap.org/wiki/Tirex
-Standards-Version: 3.8.0
+Vcs-Browser: https://salsa.debian.org/debian-gis-team/libapache2-mod-tile
+Vcs-Git: https://salsa.debian.org/debian-gis-team/tirex.git
 
-Package: tirex-core
+Package: tirex
+Section: web
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, libjson-perl, libipc-sharelite-perl, libgd-gd2-perl, adduser
-Provides: tirex-master
-Suggests: libapache-mod-tile, tirex-backend-mapnik
-Description: Core of the Tirex tile rendering system
- The Tirex suite of programs manages map tile rendering and caching.
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         libjson-perl,
+         libipc-sharelite-perl,
+         libgd-gd2-perl,
+         adduser,
+         libapache2-mod-tile,
+         tirex-backend-mapnik | tirex-backend-wms | tirex-backend-tms,
+Suggests: tirex-backend-mapnik,
+Description: Tirex raster tile rendering system
+ The Tirex suite of programs manages map raster tile rendering and caching.
  This package contains the master daemon, rendering manager, test backend,
  and assorted utility programs.
+ .
+ This package contains the core piece of tirex.
 
-Package: tirex-munin-plugin
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, tirex-core, munin-node
-Description: Munin plugin for the Tirex tile rendering system
- The Tirex suite of programs manages map tile rendering and caching.
- This package contains plugins that help to graph Tirex activity with Munin.
-
-Package: tirex-nagios-plugin
+Package: tirex-backend-mapnik
+Section: web
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, tirex-core
-Suggests: nagios3 | nagios-nrpe-server
-Description: Nagios plugins for the Tirex tile rendering system
- The Tirex suite of programs manages map tile rendering and caching.
- This package contains plugins that help to monitor Tirex activity with Nagios.
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         tirex,
+Description: Mapnik backend for the Tirex raster tile rendering system
+ The Tirex suite of programs manages taster map tile rendering and caching.
+ This is the Mapnik backend for creating maps with the Mapnik renderer.
+ .
+ This package contains the backend connection with a Mapnik server
 
 Package: tirex-backend-wms
+Section: web
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, tirex-core, libwww-perl
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         tirex,
+         libwww-perl,
 Description: WMS backend for the Tirex tile rendering system
  The Tirex suite of programs manages map tile rendering and caching.
  This is the WMS backend for fetching maps from a WMS server.
 
-Package: tirex-backend-mapserver
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, tirex-core, libwww-perl, libmapscript-perl, ttf-dejavu-core
-Description: Mapserver backend for the Tirex tile rendering system
- The Tirex suite of programs manages map tile rendering and caching.
- This is the Mapserver backend for rendering maps with Mapserver.
-
-Package: tirex-backend-mapnik
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, tirex-core
-Description: Mapnik backend for the Tirex tile rendering system
- The Tirex suite of programs manages map tile rendering and caching.
- This is the Mapnik backend for creating maps with the Mapnik renderer.
-
-Package: tirex-backend-openseamap
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, tirex-core, default-jre-headless | java8-runtime-headless
-Description: OpenSeaMap backend for the Tirex tile rendering system
- The Tirex suite of programs manages map tile rendering and caching.
- This is the OpenSeaMap backend for creating maps with the OpenSeaMap renderer.
-
 Package: tirex-backend-tms
+Section: web
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, tirex-core, libwww-perl, libnet-https-nb-perl, libhttp-async-perl
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         tirex,
+         libwww-perl,
+         libnet-https-nb-perl,
+         libhttp-async-perl,
 Description: WMS backend for the Tirex tile rendering system
  The Tirex suite of programs manages map tile rendering and caching.
  This is the WMS backend for fetching maps from a WMS server.
 
 Package: tirex-syncd
+Section: web
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, tirex-core
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         tirex,
 Description: Tirex sync daemon
  The Tirex suite of programs manages map tile rendering and caching.
  This is the sync daemon which listens for messages of tiles fully rendered,
@@ -77,9 +80,13 @@ Description: Tirex sync daemon
  rendering queues.
 
 Package: tirex-example-map
+Section: web
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, tirex-backend-mapnik
-Description: Tirex example map data
+Depends: ${shlibs:Depends},
+         ${misc:Depends},
+         tirex,
+         tirex-backend-mapnik.
+Description: Tirex example map data and configuration
  The Tirex suite of programs manages map tile rendering and caching.
  This package includes example map data and an example config for the Mapnik
  renderer.


=====================================
debian/copyright
=====================================
@@ -1,24 +1,32 @@
-Tirex Rendering System
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0
+Source: https://github.com/openstreetmap/tirex
+Upstream-Name: Tirex
+Upstream-Contact: Frederik Ramm <frederik.ramm at geofabrik.de>
 
-Copyright (C) 2010  Frederik Ramm <frederik.ramm at geofabrik.de> and
-                    Jochen Topf <jochen.topf at geofabrik.de>
+Files: *
+Copyright: (c) 2010..2020 Frederik Ramm <frederik.ramm at geofabrik.de>
+                          Jochen Topf <jochen.topf at geofabrik.de>
+License: GPL-2+
 
-Initially developed by Geofabrik GmbH, Karlsruhe, Germany, with 
-support from Enaikoon GmbH, Berlin, Germany.
- 
-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 2
-of the License, or (at your option) any later version.
+Files: debian/*
+Copyright: 2010..2020 Frederik Ramm <frederik.ramm at geofabrik.de>
+                      Felix Delattre <felix at delattre.de>
+License: GPL-2+
 
-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, write to the Free Software
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
-
-On Debian systems, the license text can usually be found in
-/usr/share/common-licenses.
+License: GPL-2+
+ This package 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 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 General Public License for more details.
+ .
+ You should have received a copy of the GNU 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 General Public License
+ version 2 or later can be found in `/usr/share/common-licenses/GPL-2'.


=====================================
debian/gbp.conf
=====================================
@@ -0,0 +1,19 @@
+[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
+
+[buildpackage]
+pbuilder-options = --source-only-changes


=====================================
debian/get-orig-source
=====================================
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+REMOTE=upstream
+BRANCH=${REMOTE}/master
+
+if [ $(git remote show ${REMOTE} | wc -l) -eq 0 ]; then
+	git remote add ${REMOTE} https://github.com/openstreetmap/tirex.git
+fi
+
+git fetch ${REMOTE} --no-tags
+
+PACKAGE=$(dpkg-parsechangelog | grep ^Source: | awk '{print $2}')
+
+COMMIT=$(git log -n1 --format=format:%h ${BRANCH})
+DATE=$(date +%Y%m%d --date="@$(git log -n1 --format=format:%ct ${BRANCH})")
+
+VERSION="0.6.3"
+
+git archive --format=tar.gz --prefix=${PACKAGE}-${VERSION}/ -o ../${PACKAGE}_${VERSION}.orig.tar.gz ${BRANCH}


=====================================
debian/rules
=====================================
@@ -1,78 +1,15 @@
 #!/usr/bin/make -f
 
-configure: configure-stamp
-configure-stamp: 
-	dh_testdir
-	
-	# commands to configure the package.
-	touch configure-stamp
+# DH_VERBOSE := 1
 
-build: build-stamp
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 
-build-stamp: configure-stamp  
-	dh_testdir
+%:
+	dh $@
 
-	# commands to compile the package.
-	$(MAKE)
-	touch $@
+override_dh_auto_test:
+	dh_auto_test || echo "Ignoring test failures"
 
-clean: 
-	dh_testdir
-	dh_testroot
-	rm -f build-stamp configure-stamp
-
-	# commands to clean up after the build process.
-	$(MAKE) clean
-	dh_clean 
-
-install: build
-	dh_testdir
-	dh_testroot
-	dh_prep
-	dh_installdirs
-
-	# commands to install the package into debian/tmp
-	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install-all
-
-# 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
-#   the following line handles all packages *except* tirex-core
-	dh_install --no-package tirex-core --sourcedir=$(CURDIR)/debian/tmp
-#   the following line handles *only* the tirex-core package, it excludes some perl libraries that should not end up in this package
-	dh_install --no-package tirex-backend-wms --no-package tirex-backend-mapserver --no-package tirex-backend-openseamap --no-package tirex-backend-mapnik --no-package tirex-munin-plugin --no-package tirex-nagios-plugin --no-package tirex-syncd --no-package --tirex-example-map --exclude Munin --exclude Tirex::Backend::WMS --exclude Tirex::Backend::Mapserver --exclude Tirex::Backend::OpenSeaMap --exclude Tirex::Backend::TMS --exclude Backend/WMS --exclude Backend/Mapserver --exclude Backend/OpenSeaMap --exclude Backend/TMS --sourcedir=$(CURDIR)/debian/tmp
-#	dh_installmenu
-#	dh_installdebconf	
-#	dh_installlogrotate
-#	dh_installemacsen
-#	dh_installpam
-#	dh_installmime
-#	dh_python
-	dh_installinit --name=tirex-master
-	dh_installinit --name=tirex-backend-manager
-	dh_installinit
-#	dh_installcron
-#	dh_installinfo
-	dh_installman
-	dh_link
-	dh_strip
-	dh_compress
-	dh_fixperms
-#	dh_perl
-#	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
+get-orig-source:
+	. debian/get-orig-source


=====================================
debian/source/format
=====================================
@@ -0,0 +1 @@
+3.0 (quilt)


=====================================
debian/upstream/metadata
=====================================
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/openstreetmap/tirex/issues
+Bug-Submit: https://github.com/openstreetmap/tirex/issues/new
+Repository: https://github.com/openstreetmap/tirex.git
+Repository-Browse: https://github.com/openstreetmap/tirex


=====================================
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/;s/RC/rc/;s/\-/\./g,\
+filenamemangle=s/(?:.*?)?(?:rel|v|tirex)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/tirex-$1.$2/ \
+https://github.com/openstreetmap/tirex/releases \
+(?:.*?/archive/)?(?:rel|v|tirex)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))



View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/compare/bc7f6888f7c95d68be09ccfe9c704efc8c3308fe...1cd28183e8eb967d56d0ba0f09a59f020f3f5db1

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/compare/bc7f6888f7c95d68be09ccfe9c704efc8c3308fe...1cd28183e8eb967d56d0ba0f09a59f020f3f5db1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20200826/baaa55ca/attachment-0001.html>


More information about the Pkg-grass-devel mailing list