[geographiclib] 17/19: Add debug package for libgeographic.

Bas Couwenberg sebastic at xs4all.nl
Sun Dec 28 19:47:29 UTC 2014


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

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

commit 3b09de5a6990369e7bf7ca3b3f5648fddb4906a5
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 28 20:04:02 2014 +0100

    Add debug package for libgeographic.
---
 debian/changelog |  1 +
 debian/control   | 14 ++++++++++++++
 debian/rules     |  5 +++++
 3 files changed, 20 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index edd0897..fed2322 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,7 @@ geographiclib (1.40-1) UNRELEASED; urgency=medium
     the tools look for data under /usr/share/GeographicLib/
     but no data is installed by the package.
   * Also remove MATLAB files, not installed.
+  * Add debug package for libgeographic.
 
  -- Bas Couwenberg <sebastic at xs4all.nl>  Sun, 28 Dec 2014 16:26:34 +0100
 
diff --git a/debian/control b/debian/control
index 2dea593..7382881 100644
--- a/debian/control
+++ b/debian/control
@@ -67,6 +67,20 @@ Description: C++ library to solve some geodesic problems -- library
  This package contains the GeographicLib shared library used at run-time 
  by applications.
 
+Package: libgeographic14-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends: libgeographic14 (= ${binary:Version}),
+         ${misc:Depends}
+Description: C++ library to solve some geodesic problems -- debugging symbols
+ GeographicLib is a small set of C++ classes for converting between
+ geographic, UTM, UPS, MGRS, geocentric, and local cartesian coordinates,
+ for geoid calculations, and for computing geodesic. It is a suitable
+ replacement for the core functionality provided by NGA Geotrans.
+ .
+ This package contains debugging symbols for the GeographicLib shared library.
+
 Package: libgeographic-dev
 Architecture: any
 Section: libdevel
diff --git a/debian/rules b/debian/rules
index 5b5e634..4a5ba06 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@ export PYBUILD_SYSTEM=pybuild
 
 UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/~.*//')
 
+DBG_PACKAGE=$(shell grep "^Package: libgeographic[0-9]*-dbg$$" debian/control | awk '{print $$2}')
+
 %:
 	dh $@ --with autoreconf,python2,pkgkde_symbolshelper
 
@@ -34,3 +36,6 @@ override_dh_installchangelogs:
 override_dh_makeshlibs:
 	dh_makeshlibs -- -v$(UPSTREAM_VERSION) -c0
 
+override_dh_strip:
+	dh_strip --dbg-package=$(DBG_PACKAGE)
+

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



More information about the Pkg-grass-devel mailing list