[Pkg-scicomp-devel] qhull/trunk/debian

Rafael Laboissiere rafael at debian.org
Fri Dec 14 09:52:38 UTC 2007


SVN commit 1945 by rafael:

+ Include the -fno-strict-aliasing option into CFLAGS, otherwise the
  qhull library does not work correctly.  This has to do with some
  change in the toolchain (gcc 4.1.* series).
+ Call the test suite after building the qhull-bin package
+ Removed bashism in the install/libqhull-dev rule

 M  +6 -0      qhull/trunk/debian/changelog  
 M  +6 -2      qhull/trunk/debian/rules  


--- qhull/trunk/debian/changelog #1944:1945
@@ -7,6 +7,12 @@
     + Use the now official Vcs-* fields instead of the obsolete XS-Vcs-*
     + Dropped the Homepage pseudo-header for the extended descriptions
     + Bumped Standards-Version to 3.7.3
+  * debian/rules:
+    + Include the -fno-strict-aliasing option into CFLAGS, otherwise the
+      qhull library does not work correctly.  This has to do with some
+      change in the toolchain (gcc 4.1.* series).
+    + Call the test suite after building the qhull-bin package
+    + Removed bashism in the install/libqhull-dev rule
 
  -- Rafael Laboissiere <rafael at debian.org>  Fri, 14 Dec 2007 10:48:45 +0100
 
--- qhull/trunk/debian/rules #1944:1945
@@ -12,8 +12,10 @@
 
 DEB_DH_INSTALL_SOURCEDIR = debian/tmp
 DEB_COMPRESS_EXCLUDE = .c .h .txt
+CFLAGS := $(CFLAGS) -fno-strict-aliasing
 
 build/qhull-bin::
+	# Build man pages
 	@( cd debian ;							\
 	  for info in "qconvex:compute the convex hull"			\
 	              "qdelaunay:compute the Delaunay triangulation"	\
@@ -27,6 +29,8 @@
 	      docbook2x-man $$comm.xml ;				\
 	      echo " done" ;						\
 	  done )
+	# Run tests
+	PATH=./src/:$$PATH /bin/sh eg/q_test
 
 clean::
 	rm -f debian/*.xml debian/*.1
@@ -35,9 +39,9 @@
 	# Install all the needed documentation files
 	cp *.txt html/*.txt $(htmldir)
 	mkdir $(htmldir)/src
-	cp src/*.{c,h,htm,txt} $(htmldir)/src
+	cp src/*.c src/*.h src/*.htm src/*.txt $(htmldir)/src
 	sed -i 's:href="../:href=":g' $(htmldir)/*.htm
-	# Isntall Lintian override file
+	# Install Lintian override file
 	mkdir -p $(deblin)
 	install --mode=644 $(debdir)/libqhull-dev.lintian \
 		$(deblin)/libqhull-dev



More information about the Pkg-scicomp-devel mailing list