[sfcgal] 02/02: * re-add building of tests, but ignore failure * enable hardening to get rid of lintian warning

Sven Geggus giggls-guest at moszumanska.debian.org
Sun Jun 14 23:23:26 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 462f791aff23391e433eec540a7786e7f918fa20
Author: Sven Geggus <sven-deb at geggus.net>
Date:   Sun Jun 14 23:44:44 2015 +0200

    * re-add building of tests, but ignore failure
    * enable hardening to get rid of lintian warning
---
 debian/control | 2 +-
 debian/rules   | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 419cf46..0c9dbfd 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, astyle
 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 ce06450..633b105 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@ DH_VERBOSE = 1
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 DPKG_EXPORT_BUILDFLAGS = 1
+DEB_BUILD_HARDENING = 1
 include /usr/share/dpkg/default.mk
 
 # main packaging script based on dh7 syntax
@@ -12,7 +13,7 @@ include /usr/share/dpkg/default.mk
 	dh $@ --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)
+	dh_auto_configure -- -DSFCGAL_BUILD_VIEWER=ON -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DSFCGAL_BUILD_TESTS=ON -DCMAKE_INSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH)
 
 # in addition to the upstream stuff we also want to
 # install the two manpages written for the debian package
@@ -23,5 +24,7 @@ override_dh_install:
 	dh_install --list-missing
 	
 
+# As of version 1.1.0 style test does currently work on Debian
+# GNU/Linux for unknown reasons
 override_dh_auto_test:
-	true
+	dh_auto_test || echo "Ignoring test failures"	

-- 
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