[Git][debian-gis-team/tirex][master] Set links with template file.
ǝɹʇʇɐʃǝ◖ xıʃǝɟ (@xamanu)
gitlab at salsa.debian.org
Sat Sep 18 15:38:45 BST 2021
ǝɹʇʇɐʃǝ◖ xıʃǝɟ pushed to branch master at Debian GIS Project / tirex
Commits:
a7a89c3c by Felix Delattre at 2021-09-18T14:38:07+00:00
Set links with template file.
- - - - -
4 changed files:
- debian/patches/0003-Add-debug-information-to-tirex-backend-manager.patch
- debian/rules
- debian/tirex.dirs
- + debian/tirex.links.in
Changes:
=====================================
debian/patches/0003-Add-debug-information-to-tirex-backend-manager.patch
=====================================
@@ -19,3 +19,4 @@ index 832358e..977a48e 100644
+CXXFLAGS = `mapnik-config --cflags` $(CFLAGS)
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`
+
=====================================
debian/rules
=====================================
@@ -5,6 +5,17 @@
# Enable hardening build flags
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+TEMPLATES=$(wildcard debian/*.in)
+MAPNIK_PLUGIN_BASE=$(shell echo `ls /usr/lib/mapnik/ -v | tail -n1`)
+
+versions:
+ @echo "Mapnik plugin base path: $(MAPNIK_PLUGIN_BASE)"
+
+templates:
+ for TEMPLATE in $(TEMPLATES) ; do \
+ sed -e 's/@MAPNIK_PLUGIN_BASE@/$(MAPNIK_PLUGIN_BASE)/g' $$TEMPLATE > `echo $$TEMPLATE | sed 's/.in$$//'` ; \
+ done
+
%:
dh $@ --with apache2
=====================================
debian/tirex.dirs
=====================================
@@ -1,3 +1,4 @@
+usr/share/tirex/mapnik
var/cache/tirex/tiles
var/cache/tirex/tiles/test
var/cache/tirex/stats
=====================================
debian/tirex.links.in
=====================================
@@ -0,0 +1 @@
+ at MAPNIK_PLUGIN_BASE@ /usr/share/tirex/mapnik/input
View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/commit/a7a89c3c41f384b2f9b952698635ca2116a6f415
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/commit/a7a89c3c41f384b2f9b952698635ca2116a6f415
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/20210918/9de57b8f/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list