[sfcgal] 01/01: use pkgkde-symbolshelper to handle C++ symbols

Sven Geggus giggls-guest at moszumanska.debian.org
Wed Jul 29 12:15:09 UTC 2015


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

giggls-guest pushed a commit to branch master
in repository sfcgal.

commit 5824f00cb50b32858571c417d9c03f631544f97a
Author: Sven Geggus <sven-git at geggus.net>
Date:   Wed Jul 29 12:50:17 2015 +0200

    use pkgkde-symbolshelper to handle C++ symbols
---
 debian/changelog | 6 ++++++
 debian/control   | 2 +-
 debian/rules     | 6 +++++-
 3 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 1998153..bfa24fd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+sfcgal (1.1.0-2) unstable; urgency=medium
+
+  * use pkgkde-symbolshelper to handle C++ symbols
+
+ -- Sven Geggus <sven-deb at geggus.net>  Wed, 29 Jul 2015 14:12:20 +0200
+
 sfcgal (1.1.0-1) unstable; urgency=medium
 
   * Initial release (closes: #788560)
diff --git a/debian/control b/debian/control
index 419cf46..bd0c758 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Sven Geggus <sven-debian at geggus.net>
 Build-Depends: debhelper (>= 9), cmake,
     libcgal-dev, libboost-all-dev, libmpfr-dev, libgmp-dev,
     libopenscenegraph-dev, libopenthreads-dev, libpq-dev,
-    libqt4-dev, libqt4-opengl-dev
+    libqt4-dev, libqt4-opengl-dev, pkg-kde-tools
 Standards-Version: 3.9.6
 Homepage: http://www.sfcgal.org/
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-grass/sfcgal.git/
diff --git a/debian/rules b/debian/rules
index e6bbc2f..5e90f35 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,7 @@
 
 DH_VERBOSE = 1
 
+UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
@@ -12,7 +13,7 @@ include /usr/share/dpkg/default.mk
 
 # main packaging script based on dh7 syntax
 %:
-	dh $@ --parallel
+	dh $@ --with pkgkde_symbolshelper --parallel
 
 override_dh_auto_configure:
 	dh_auto_configure -- -DSFCGAL_BUILD_VIEWER=ON -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH)
@@ -30,3 +31,6 @@ override_dh_install:
 # to use them here
 override_dh_auto_test:
 	true
+
+override_dh_makeshlibs:
+	dh_makeshlibs -- -c0 -v$(UPSTREAM_VERSION)

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



More information about the Pkg-grass-devel mailing list