Skip to content
Snippets Groups Projects
Commit 7b7d964f authored by Brad Barber's avatar Brad Barber
Browse files

Merge branch 'debian' into next from http://savannah.nongnu.org/files/?group=qhull

Add config/ and project/debian/.  Other changes added previously.

Directory debian/ has moved down two levels.  On Savannah, it
was at the same level as qhull.  Now it is at project/debian.
parents b22de165 d2a67880
No related branches found
No related tags found
No related merge requests found
#! /bin/sh -e
## QHpointer.dpatch by Rafael Laboissiere <rafael@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Access Qhull globals via a pointer to allocated memory
[ -f debian/patches/00patch-opts ] && . debian/patches/00patch-opts
patch_opts="${patch_opts:--f --no-backup-if-mismatch}"
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch)
patch $patch_opts -p1 < $0;;
-unpatch)
patch $patch_opts -p1 -R < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
exit 0
--- qhull-orig/src/io.c 2004-01-31 12:00:15.000000000 +0100
+++ qhull/src/io.c 2004-02-06 09:54:18.000000000 +0100
@@ -4017,11 +4017,8 @@
qh rbox_command[strlen(qh rbox_command)-1]= '\0';
if (!strcmp (qh rbox_command, "./rbox D4"))
fprintf (qh ferr, "\n\
-This is the qhull test case. If any errors or core dumps occur,\n\
-recompile qhull with 'make new'. If errors still occur, there is\n\
-an incompatibility. You should try a different compiler. You can also\n\
-change the choices in user.h. If you discover the source of the problem,\n\
-please send mail to qhull_bug@qhull.org.\n\
+This is the qhull test case. If any errors or core dumps occur,\n\
+fill a bug report against the libqhull<soversion> Debian package.\n\
\n\
Type 'qhull' for a short list of options.\n");
}
usr/bin
usr/share/man
#!/usr/bin/make -f
# Sample debian/rules that uses debhelper.
# GNU copyright 1997 to 1999 by Joey Hess.
# This is the debhelper compatibility version to use.
export DH_COMPAT=4
PACKAGE := qhull
soversion := 5
soname := libqhull$(soversion)
instdir := debian/$(soname)
destdir := $(shell pwd)/debian/tmp
debdoc := $(destdir)/usr/share/doc
debdoclib := $(destdir)/usr/share/doc/$(soname)
include /usr/share/dpatch/dpatch.make
config: config-stamp
config-stamp:
dh_testdir
./configure --prefix=/usr --mandir=/usr/share/man
touch config-stamp
build: build-stamp
build-stamp: patch config
dh_testdir
$(MAKE)
( cd debian ; \
for info in "qconvex:compute the convex hull" \
"qdelaunay:compute the Delaunay triangulation" \
"qhalf:halfspace intersection about a point" \
"qvoronoi:compute the Voronoi diagram" ; do \
comm=`echo $$info | cut -d: -f1` ; \
purp=`echo $$info | cut -d: -f2` ; \
eperl -d command=$$comm -d purpose="$$purp" -d soname=$(soname) \
manpage.in > $$comm.sgml ; \
docbook2man $$comm.sgml ; \
done )
touch build-stamp
clean: unpatch
dh_testdir
dh_testroot
-$(MAKE) distclean
( cd debian ; rm -rf *.sgml *.1 manpage.links manpage.refs )
rm -f install-stamp build-stamp config-stamp patch-stamp
dh_clean
install: install-stamp
install-stamp: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(MAKE) install DESTDIR=$(destdir)
rm -f $(debdoc)/qhull/COPYING.txt
mv $(debdoc)/qhull/Changes.txt $(debdoc)/qhull/changelog
mv $(debdoc)/qhull $(debdoclib)
for i in libqhull-dev qhull-bin ; do \
mkdir -p debian/$$i/usr/share/doc ; \
ln -s $(soname) debian/$$i/usr/share/doc/$$i ; \
done
chmod +x debian/install-src-html.sh
debian/install-src-html.sh $(debdoclib)/src
dh_movefiles --no-package=$(soname)
dh_movefiles --package=$(soname)
dh_installman --package=qhull-bin debian/*.1
touch install-stamp
# Build architecture-independent files here.
binary-indep:
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs -p$(soname) debian/copyright
dh_installchangelogs -p$(soname)
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install config \
patch unpatch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment