[mapserver] 01/03: Add debug package for libmapserver.

Bas Couwenberg sebastic at xs4all.nl
Sat Jul 5 15:06:40 UTC 2014


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

sebastic-guest pushed a commit to branch master
in repository mapserver.

commit 1c0418c94d22939aada9b91554d3c1e077b9d7f0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sat Jul 5 15:58:20 2014 +0200

    Add debug package for libmapserver.
---
 debian/changelog |  7 +++++++
 debian/control   | 14 ++++++++++++++
 debian/rules     |  4 ++++
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index a4153de..84a116f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+mapserver (6.4.1-5) UNRELEASED; urgency=medium
+
+  * Add debug package for libmapserver. Thanks to Frederic Junod for the patch.
+    (closes: #753586)
+
+ -- Bas Couwenberg <sebastic at xs4all.nl>  Sat, 05 Jul 2014 15:57:20 +0200
+
 mapserver (6.4.1-4) unstable; urgency=medium
 
   * Add patch to support building mapscript for PHP 5.6.
diff --git a/debian/control b/debian/control
index be5e2b1..f743702 100644
--- a/debian/control
+++ b/debian/control
@@ -70,6 +70,20 @@ Description: Shared library for MapServer
  functionality in MapScript is provided by the suggested mapscript
  library packages.
 
+Package: libmapserver1-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: ${misc:Depends},
+         libmapserver1 (= ${binary:Version})
+Description: Debugging symbols for libmapserver1
+ MapServer is a CGI-based framework for Internet map services which
+ supports Open Geospatial Consortium (OGC) standards. Scripting
+ functionality in MapScript is provided by the suggested mapscript
+ library packages.
+ .
+ This package contains the debugging symbols for libmapserver.
+
 Package: libmapserver1-dev
 Architecture: any
 Section: libdevel
diff --git a/debian/rules b/debian/rules
index 54c06a4..604b749 100755
--- a/debian/rules
+++ b/debian/rules
@@ -28,6 +28,7 @@ MANPAGES:=$(wildcard debian/man/*.*.xml)
 MS_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p')
 
 CMAKE_OPTS:= \
+		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
 		-DCMAKE_EXE_LINKER_FLAGS="$(LDFLAGS)" \
 		-DCMAKE_MODULE_LINKER_FLAGS="$(LDFLAGS)" \
 		-DCMAKE_SHARED_LINKER_FLAGS="$(LDFLAGS)" \
@@ -70,6 +71,9 @@ CMAKE_OPTS:= \
 	      --parallel \
 	      --buildsystem cmake
 
+override_dh_strip:
+	dh_strip --dbg-package=libmapserver1-dbg
+
 override_dh_auto_clean:
 	dh_clean
 

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



More information about the Pkg-grass-devel mailing list