[zoo-project] 01/03: Add MapServer modifications to OTB zcfg files.

Bas Couwenberg sebastic at debian.org
Mon Jun 27 23:57:24 UTC 2016


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

sebastic pushed a commit to branch master
in repository zoo-project.

commit 07f89ea0f0986aae81b6455995000a169b4ba02d
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Jun 27 17:41:29 2016 +0200

    Add MapServer modifications to OTB zcfg files.
---
 debian/rules | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index f264d9f..9e1b566 100755
--- a/debian/rules
+++ b/debian/rules
@@ -63,7 +63,17 @@ override_dh_auto_build:
 	dh_auto_build --sourcedirectory=thirds/otb2zcfg \
 	              --builddirectory=thirds/otb2zcfg/build
 
-	(mkdir -p thirds/otb2zcfg/build/zcfgs && cd thirds/otb2zcfg/build/zcfgs && ITK_AUTOLOAD_PATH=/usr/lib/otb/applications/ ../otb2zcfg || echo "Ignoring otb2zcfg failure")
+	( \
+	  mkdir thirds/otb2zcfg/build/zcfgs; \
+	  cd thirds/otb2zcfg/build/zcfgs; \
+	  ITK_AUTOLOAD_PATH=/usr/lib/otb/applications/ ../otb2zcfg || echo "Ignoring otb2zcfg failure"; \
+	  for i in BandMath Despeckle KMeansClassification; do \
+	      sed -i "s:mimeType = image/png:mimeType = image/png\nuseMapserver = true\nmsClassify = true:g" $$i.zcfg; \
+	  done; \
+	  for i in Smoothing; do \
+	      sed -i "s:mimeType = image/png:mimeType = image/png\nuseMapserver = true:" $$i.zcfg; \
+	  done \
+	)
 
 override_dh_auto_install:
 	dh_auto_install --sourcedirectory=zoo-project/zoo-kernel \

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



More information about the Pkg-grass-devel mailing list