-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This ports some of the minor changes from the the debian package¹ to this repo. The biggest change to adopt Debian's approach of just one package (tirex) rather than several packages (tirex-core, tirex-backend-mapnik, etc). ¹ https://salsa.debian.org/debian-gis-team/tirex
- Loading branch information
1 parent
98894ba
commit b231232
Showing
11 changed files
with
74 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
include: | ||
- https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/recipes/debian.yml | ||
|
||
variables: | ||
SALSA_CI_AUTOPKGTEST_ARGS: '--no-auto-control' | ||
SALSA_CI_DISABLE_BUILD_PACKAGE_I386: 1 | ||
SALSA_CI_ENABLE_BUILD_PACKAGE_TWICE: 1 | ||
|
||
blhc: | ||
allow_failure: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,17 +3,19 @@ Maintainer: Debian GIS Project <[email protected]> | |
Uploaders: Felix Delattre <[email protected]> | ||
Section: science | ||
Priority: optional | ||
Build-Depends: debhelper-compat (= 12), | ||
Build-Depends: architecture-is-64-bit, | ||
debhelper-compat (= 13), | ||
dh-apache2, | ||
dh-sequence-apache2, | ||
libboost-program-options-dev, | ||
libboost-filesystem-dev, | ||
libipc-sharelite-perl, | ||
libjson-perl, | ||
libmapnik-dev | ||
Standards-Version: 4.6.0 | ||
libmapnik-dev (>= 4.0.0) | ||
Standards-Version: 4.6.2 | ||
Vcs-Browser: https://salsa.debian.org/debian-gis-team/tirex | ||
Vcs-Git: https://salsa.debian.org/debian-gis-team/tirex.git | ||
Homepage: https://wiki.openstreetmap.org/wiki/Tirex | ||
Rules-Requires-Root: no | ||
|
||
Package: tirex | ||
Section: utils | ||
|
@@ -44,56 +46,3 @@ Description: Tirex example map data and configuration | |
with Mapnik and Apache2 webserver. | ||
After installation the map can be visisted in a web | ||
browser by going to http://localhost/tirex-example-map. | ||
|
||
Package: tirex-munin-plugin | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, tirex, 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 | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, tirex | ||
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. | ||
|
||
Package: tirex-backend-wms | ||
Architecture: any | ||
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, 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 | ||
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, 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-syncd | ||
Architecture: any | ||
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, | ||
and then copies the metatile to another server. The sync daemon is intended | ||
to be used in setups where you have multiple tile servers with their own | ||
rendering queues. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,8 @@ License: public-domain | |
This file is explicitly placed in the public domain. | ||
|
||
Files: debian/* | ||
Copyright: 2010-2020, Frederik Ramm <[email protected]> | ||
2020-2021, Felix Delattre <[email protected]> | ||
Copyright: 2010-2022, Frederik Ramm <[email protected]> | ||
2020-2022, Felix Delattre <[email protected]> | ||
License: GPL-2+ | ||
|
||
License: GPL-2+ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Description: Use pkg-config for Mapnik 4.0.0. | ||
Author: Bas Couwenberg <[email protected]> | ||
Forwarded: https://github.com/openstreetmap/tirex/issues/60 | ||
|
||
--- a/backend-mapnik/Makefile | ||
+++ b/backend-mapnik/Makefile | ||
@@ -1,8 +1,7 @@ | ||
INSTALLOPTS=-g root -o root | ||
-CFLAGS += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 | ||
-CXXFLAGS = `mapnik-config --cflags` $(CFLAGS) | ||
+CXXFLAGS += `pkg-config --cflags libmapnik` -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 | ||
CXXFLAGS += -Wall -Wextra -pedantic -Wredundant-decls -Wdisabled-optimization -Wctor-dtor-privacy -Wnon-virtual-dtor -Woverloaded-virtual -Wsign-promo -Wold-style-cast | ||
-LDFLAGS= `mapnik-config --libs --ldflags --dep-libs` | ||
+LDFLAGS += `pkg-config --libs libmapnik` -lboost_filesystem | ||
|
||
backend-mapnik: renderd.o metatilehandler.o networklistener.o networkmessage.o networkrequest.o networkresponse.o debuggable.o requesthandler.o | ||
$(CXX) -o $@ $^ $(LDFLAGS) | ||
--- a/backend-mapnik/metatilehandler.cc | ||
+++ b/backend-mapnik/metatilehandler.cc | ||
@@ -25,7 +25,7 @@ | ||
#include <mapnik/agg_renderer.hpp> | ||
#include <mapnik/image_util.hpp> | ||
#include <mapnik/load_map.hpp> | ||
-#include <mapnik/box2d.hpp> | ||
+#include <mapnik/geometry/box2d.hpp> | ||
|
||
#if MAPNIK_VERSION >= 300000 | ||
# include <mapnik/datasource.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Description: Fix FTBFS Rules-Requires-Root: no. | ||
Author: Bas Couwenberg <[email protected]> | ||
Forwarded: not-needed | ||
|
||
--- a/Makefile | ||
+++ b/Makefile | ||
@@ -1,4 +1,4 @@ | ||
-INSTALLOPTS=-g root -o root | ||
+INSTALLOPTS= | ||
build: Makefile.perl | ||
cd backend-mapnik; $(MAKE) $(MFLAGS) | ||
$(MAKE) -f Makefile.perl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rules-requires-root.patch | ||
mapnik-4.0.patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# This package only provides systemd unit files: | ||
package-supports-alternative-init-but-no-init.d-script | ||
# False positive, lat/lon | ||
typo-in-manual-page lon long * | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,4 +30,3 @@ if [ "$1" = "remove" ]; then | |
fi | ||
|
||
#DEBHELPER# | ||
|