Skip to content

Commit 161d792

Browse files
committed
Qhull 2011.1 2011/05/14 6.2.0.1383 (exe/dll files unchanged)
- PointCoordinates.cpp: Add #include <iterator> [R. Richter, S. Pasko] - Remove deprecated libqhull/qhull.h Use libqhull/libqhull.h instead. It avoids confusion with libqhullcpp/Qhull.h - Makefile: Add LIBDIR, INCDIR, and DESTDIR to install [L.H. de Mello] Separate MAN install from DOC install Create install directories Installs headers to include/libqhull, include/libqhullcpp, include/road - CMakeLists.txt: Add MAN_INSTALL_DIR for qhull.1 and rbox.1 man pages Add RoadTest.h to include/road for Qt users (road_HEADERS) - Renamed md5sum files to avoid two extensions - qh-get.htm: Add Readme links and 2009.1 note. - qh-optf.htm: Fix link - index.htm: Updated Google Scholar link - qhull-zip.sh: Improved error message.
1 parent 202c2e1 commit 161d792

34 files changed

Lines changed: 133 additions & 108 deletions

.gitignore

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,25 +17,20 @@ r?
1717
*.rej
1818

1919
# Build products
20-
bin/*
21-
lib/*
2220
tmp/*
23-
build/*
21+
project/Makefile*
22+
project/*/Makefile*
23+
project/*/object_script*
24+
project/*/Release/*
25+
project/*/Debug/*
26+
project/*/release/*
27+
project/*/debug/*
2428
*.a
2529
*.dll
2630
*.lib
2731
*.exe
2832
*.o
2933
*.md5sum
30-
.Makefile*
31-
src/road/RoadTest.h.cpp
32-
33-
# Out-of-date directories
34-
config/*
35-
project/*
36-
working/*
37-
working/*/*
38-
3934

4035
# Qt files
4136
*.pro.user
@@ -47,8 +42,6 @@ working/*/*
4742
*.suo
4843
*.user
4944
*.ilk
50-
!build/*.sln
51-
!build/*.vcproj
5245

5346
# CVS files
5447
CVS/*
@@ -57,3 +50,6 @@ CVS/*
5750
*/*/*/CVS/*
5851
*.cvsignore
5952

53+
# Other files
54+
working/
55+

Announce.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
Qhull 2011.1 2011/04/17
2+
Qhull 2011.1 2011/05/14
33

44
http://www.qhull.org
55
git@gitorious.org:qhull/qhull.git

CMakeLists.txt

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@
77
# cd build && cmake -G "MSYS Makefiles" .. && cmake ..
88
# make
99
#
10-
# $Id: //main/2011/qhull/CMakeLists.txt#9 $$Change: 1373 $
11-
# $DateTime: 2011/04/17 22:20:48 $$Author: bbarber $
10+
# For qhulltest, use Qt build (src/qhull-all.pro)
11+
#
12+
# $Id: //main/2011/qhull/CMakeLists.txt#11 $$Change: 1383 $
13+
# $DateTime: 2011/05/14 13:04:47 $$Author: bbarber $
1214

1315
project(qhull)
1416
cmake_minimum_required(VERSION 2.6)
1517

1618
# Define qhull_VERSION in CMakeLists.txt, Makefile, qhull-exports.def, and qhull-warn.pri
1719
string(REGEX REPLACE ".* ([0-9]+) .*"
18-
"6.2.0.\\1" qhull_VERSION "$Change: 1373 $")
20+
"6.2.0.\\1" qhull_VERSION "$Change: 1383 $")
1921
set(qhull_VERSION2 "2011.1 2011/04/17")
2022

2123
if(INCLUDE_INSTALL_DIR)
@@ -30,6 +32,10 @@ if(BIN_INSTALL_DIR)
3032
else()
3133
set(BIN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/bin)
3234
endif()
35+
if(MAN_INSTALL_DIR)
36+
else()
37+
set(MAN_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/man/man1)
38+
endif()
3339
if(DOC_INSTALL_DIR)
3440
else()
3541
if(WIN32)
@@ -38,7 +44,6 @@ else()
3844
set(DOC_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/share/doc/packages/qhull)
3945
endif()
4046
endif()
41-
4247
message(STATUS)
4348
message(STATUS "========== qhull Build Information ==========")
4449
message(STATUS "Build Version: ${qhull_VERSION}")
@@ -47,8 +52,9 @@ message(STATUS "Binary Directory (BIN_INSTALL_DIR): ${BIN_INSTALL_DIR}")
4752
message(STATUS "Library Directory (LIB_INSTALL_DIR): ${LIB_INSTALL_DIR}")
4853
message(STATUS "Include Directory (INCLUDE_INSTALL_DIR): ${INCLUDE_INSTALL_DIR}")
4954
message(STATUS "Documentation Directory (DOC_INSTALL_DIR): ${DOC_INSTALL_DIR}")
55+
message(STATUS "Man Pages Directory (MAN_INSTALL_DIR): ${MAN_INSTALL_DIR}")
5056
message(STATUS "Build Type (CMAKE_BUILD_TYPE): ${CMAKE_BUILD_TYPE}")
51-
message(STATUS "To override these options, add -D{OPTION_NAME}=... to the commandline")
57+
message(STATUS "To override these options, add -D{OPTION_NAME}=... to the cmake command")
5258
message(STATUS)
5359
message(STATUS "To build and install qhull, enter \"make\" and \"make install\"")
5460
message(STATUS)
@@ -127,6 +133,7 @@ set(
127133
road_HEADERS
128134
src/road/RoadError.h
129135
src/road/RoadLogEvent.h
136+
src/road/RoadTest.h
130137
)
131138

132139
set(
@@ -318,5 +325,6 @@ install(TARGETS ${qhull_TARGETS}
318325
install(FILES ${libqhull_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/libqhull)
319326
install(FILES ${libqhullcpp_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/libqhullcpp)
320327
install(FILES ${road_HEADERS} DESTINATION ${INCLUDE_INSTALL_DIR}/road)
321-
328+
install(FILES html/qhull.man DESTINATION ${MAN_INSTALL_DIR} RENAME qhull.1)
329+
install(FILES html/rbox.man DESTINATION ${MAN_INSTALL_DIR} RENAME rbox.1)
322330
install(DIRECTORY html/ DESTINATION ${DOC_INSTALL_DIR})

Makefile

Lines changed: 33 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Unix Makefile for qhull and rbox (default gcc/g++)
22
#
33
# see README.txt
4-
# Qt project file at src/qhull-all.pro
4+
# For qhulltest, use Qt project file at src/qhull-all.pro
55
#
66
# Results
77
# qhull Computes convex hulls and related structures (libqhullstatic)
@@ -30,6 +30,10 @@
3030
# make cleanall Remove generated files
3131
#
3232
# BINDIR directory where to copy executables
33+
# DESTDIR destination directory
34+
# DOCDIR directory where to copy html documentation
35+
# INCDIR directory where to copy headers
36+
# LIBDIR directory where to copy libraries
3337
# MANDIR directory where to copy manual pages
3438
# PRINTMAN command for printing manual pages
3539
# PRINTC command for printing C files
@@ -60,8 +64,12 @@
6064
# You may build the qhull programs without using a library
6165
# make qhullx
6266

63-
BINDIR = /usr/local/bin
64-
MANDIR = /usr/local/man/man1
67+
DESTDIR = /usr/local
68+
BINDIR = $(DESTDIR)/bin
69+
DOCDIR = $(DESTDIR)/share/doc/packages/qhull
70+
INCDIR = $(DESTDIR)/include
71+
LIBDIR = $(DESTDIR)/lib
72+
MANDIR = $(DESTDIR)/man/man1
6573

6674
# if you do not have enscript, try a2ps or just use lpr. The files are text.
6775
PRINTMAN = enscript -2rl
@@ -139,15 +147,27 @@ cleanall: clean
139147
doc:
140148
$(PRINTMAN) $(TXTFILES) $(DOCFILES)
141149

142-
install:
143-
cp bin/qconvex $(BINDIR)/qconvex
144-
cp bin/qdelaunay $(BINDIR)/qdelaunay
145-
cp bin/qhalf $(BINDIR)/qhalf
146-
cp bin/qhull $(BINDIR)/qhull
147-
cp bin/qvoronoi $(BINDIR)/qvoronoi
148-
cp bin/rbox $(BINDIR)/rbox
150+
install:
151+
mkdir -p $(BINDIR)
152+
mkdir -p $(DOCDIR)
153+
mkdir -p $(INCDIR)/libqhull
154+
mkdir -p $(INCDIR)/libqhullcpp
155+
mkdir -p $(INCDIR)/road
156+
mkdir -p $(LIBDIR)
157+
mkdir -p $(MANDIR)
158+
cp bin/qconvex $(BINDIR)
159+
cp bin/qdelaunay $(BINDIR)
160+
cp bin/qhalf $(BINDIR)
161+
cp bin/qhull $(BINDIR)
162+
cp bin/qvoronoi $(BINDIR)
163+
cp bin/rbox $(BINDIR)
149164
cp html/qhull.man $(MANDIR)/qhull.1
150165
cp html/rbox.man $(MANDIR)/rbox.1
166+
cp html/* $(DOCDIR)
167+
cp -P lib/* $(LIBDIR)
168+
cp src/libqhull/*.h $(INCDIR)/libqhull
169+
cp src/libqhullcpp/*.h $(INCDIR)/libqhullcpp
170+
cp src/road/*.h $(INCDIR)/road
151171

152172
new: cleanall all
153173

@@ -254,8 +274,9 @@ TESTFILES= $(TCPP)/qhulltest.cpp $(TCPP)/Coordinates_test.cpp $(TCPP)/Point_test
254274
TXTFILES= Announce.txt REGISTER.txt COPYING.txt README.txt src/Changes.txt
255275
DOCFILES= html/rbox.txt html/qhull.txt
256276
FILES= Makefile src/rbox/rbox.c src/user_eg/user_eg.c src/user_eg2/user_eg2.c eg/q_test eg/q_egtest eg/q_eg
257-
HTMFILES= html/qhull.man html/rbox.man $(L)/qh-code.htm $(L)/qh-optg.htm $(L)/qh-optt.htm \
258-
html/index.htm html/qh-quick.htm html/qh-impre.htm html/qh-eg.htm \
277+
MANFILES= html/qhull.man html/rbox.man
278+
# Source code is documented by src/libqhull/*.htm
279+
HTMFILES= html/index.htm html/qh-quick.htm html/qh-impre.htm html/qh-eg.htm \
259280
html/qh-optc.htm html/qh-opto.htm html/qh-optf.htm html/qh-optp.htm html/qh-optq.htm \
260281
html/qh-c.htm html/qh-faq.htm html/qhull.htm html/qconvex.htm html/qdelaun.htm \
261282
html/qh-geom.htm html/qh-globa.htm html/qh-io.htm html/qh-mem.htm html/qh-merge.htm \

eg/qhull-zip.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ log_step $LINENO "Clean distribution directories"
127127
#############################
128128

129129
if [[ -f qhull/src/Make-config.sh || -d qhull/src/debian ]]; then
130-
exit_err $LINENO "Remove debian build from src/"
130+
exit_err $LINENO "Before continuing, remove debian build from src/"
131131
fi
132132
p4 sync -f qhull/build/...
133133
exit_if_err $LINENO "Can not 'p4 sync -f qhull.sln *.vcproj'"

html/qh-get.htm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,24 @@ <h1><a
2929

3030
<p>Visit <a href="http://www.qhull.org/news">Qhull News</a>
3131
for news, bug reports, change history, and users.
32-
If you use Qhull 2003.1. please upgrade to 2011.1 or apply
32+
If you use Qhull 2003.1 or 2009.1, please upgrade to 2011.1 or apply
3333
<a href="http://www.qhull.org/download/poly.c-qh_gethash.patch">poly.c-qh_gethash.patch</a>.</p>
3434
</li>
3535
<li><a
3636
href="http://www.qhull.org/download/qhull-2011.1.zip">Download:
3737
Qhull 2011.1 for Windows</a> (2.1 Mbytes,
38+
<a href="http://www.qhull.org/README.txt">readme</a>,
3839
<a href="http://www.qhull.org/download/qhull-2011.1.md5sum">md5sum</a>,
39-
<a href="http://www.qhull.org/download/qhull-2011.1-zip.md5sum">contents</a>,
40-
<a href="http://www.qhull.org/README.txt">readme</a>)
40+
<a href="http://www.qhull.org/download/qhull-2011.1-zip.md5sum">contents</a>)
4141
<p>Type: console programs for
4242
Windows</p>
4343
<p>Includes executables, documentation, and sources files. It runs in a
4444
command window.</p>
4545
</li>
4646
<li><a href="http://www.qhull.org/download/qhull-2011.1-src.tgz">Download: Qhull 2011.1 for Unix</a> (670K,
47+
<a href="http://www.qhull.org/README.txt">readme</a>,
4748
<a href="http://www.qhull.org/download/qhull-2011.1.md5sum">md5sum</a>,
48-
<a href="http://www.qhull.org/download/qhull-2011.1-src-tgz.md5sum">contents</a>,
49-
<a href="http://www.qhull.org/README.txt">readme</a>)
49+
<a href="http://www.qhull.org/download/qhull-2011.1-src-tgz.md5sum">contents</a>)
5050
<p>Type: C/C++ source code for 32-bit and 64-bit architectures</p>
5151
<p>Includes documentation, source files, a gcc Makefile, CMakeLists.txt, DevStudio projects, and Qt projects.
5252
Includes preliminary C++ support.</p>

html/qh-optf.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ <h3><A href="#format">&#187;</a><a name="Fn">Fn - print neighboring
375375

376376
<p>For simplicial facets, each neighbor is opposite
377377
the corresponding vertex (option '<A href="#Fv">Fv</a>').
378-
Do not compare to option '<A href="qh_opto.htm#i">i</a>'. Option 'i'
378+
Do not compare to option '<A href="qh-opto.htm#i">i</a>'. Option 'i'
379379
orients facets by reversing the order of two vertices. For non-simplicial facets,
380380
the neighbors are unordered.
381381

index.htm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ <h1>Qhull</h1>
5353
<ul>
5454
<li><a href="http://www.qhull.org/news">News</a> and
5555
<a href="http://www.qhull.org/news/qhull-news.html#bugs">Bugs</a>
56-
about Qhull 2011.1 2011/04/17</li>
56+
about Qhull 2011.1 2011/05/14</li>
5757
<li><a href="http://www.qhull.org/download">Download</a> Qhull</li>
5858
<li><a
5959
href="http://www.geom.uiuc.edu/graphics/pix/Special_Topics/Computational_Geometry/welcome.html">Examples
@@ -65,7 +65,7 @@ <h1>Qhull</h1>
6565
www.qhull.org
6666
<p>
6767
<li><a href="http://www.qhull.org/news/qhull-news.html#users">How</a> is Qhull used?</li>
68-
<li><a href="http://scholar.google.com/scholar?cites=6731193060570243661&hl=en&as_sdt=40000000">Google Scholar</a>
68+
<li><a href="http://scholar.google.com/scholar?cites=13151392091060773178&as_sdt=40000005">Google Scholar</a>
6969
and <a href="http://citeseerx.ist.psu.edu/showciting?doi=10.1.1.117.405&sort=cite">CiteSeer</a>
7070
references to Qhull
7171
</p>

src/Changes.txt

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,24 @@ To do
2424
- Locate mirror site for Qhull
2525

2626
------------
27-
Qhull 2011.1 2010/04/17 6.2.0.1373
27+
Qhull 2011.1 2011/05/14 6.2.0.1383 (exe/dll files unchanged)
28+
- PointCoordinates.cpp: Add #include <iterator> [R. Richter, S. Pasko]
29+
- Remove deprecated libqhull/qhull.h
30+
Use libqhull/libqhull.h instead. It avoids confusion with libqhullcpp/Qhull.h
31+
- Makefile: Add LIBDIR, INCDIR, and DESTDIR to install [L.H. de Mello]
32+
Separate MAN install from DOC install
33+
Create install directories
34+
Installs headers to include/libqhull, include/libqhullcpp, include/road
35+
- CMakeLists.txt: Add MAN_INSTALL_DIR for qhull.1 and rbox.1 man pages
36+
Add RoadTest.h to include/road for Qt users (road_HEADERS)
37+
- Renamed md5sum files to avoid two extensions
38+
- qh-get.htm: Add Readme links and 2009.1 note.
39+
- qh-optf.htm: Fix link
40+
- index.htm: Updated Google Scholar link
41+
- qhull-zip.sh: Improved error message.
42+
43+
------------
44+
Qhull 2011.1 2011/04/17 6.2.0.1373
2845

2946
Changes to deliverables
3047
- qvoronoi: Deprecated 'Qt' and 'QJn'. Removed from documentation and prompts.

src/libqhull/qhull.h

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)