# ChangeLog for media-libs/qhull
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.18 2006/04/27 23:13:41 marienz Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/ChangeLog,v 1.19 2007/01/22 19:24:29 antarus Exp $
+
+*qhull-2003.1 (22 Jan 2007)
+
+ 22 Jan 2007; Alec Warner <antarus@gentoo.org>
+ +files/qhull-2003.1-makefile.patch, +qhull-2003.1.ebuild:
+ bumpity bump for bug 108223
27 Apr 2006; Marien Zwart <marienz@gentoo.org> files/digest-qhull-3.1-r1,
Manifest:
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX qhull-3.1-makefile.patch 2103 RMD160 d8eb93bac2ddc4ce503b0fc591e5e51a22ce8e18 SHA1 3033821aa16c8782050d88f778c408d67128371a SHA256 5cb9e0ea39b03c36c6935360a4fc5b104cfa7ecb57874a403373d038bdac3491 size 2103
+AUX qhull-2003.1-makefile.patch 2106 RMD160 10b273b778b749a3284ba160e4db04bbfab8388f SHA1 8e62d6b01193455713fff425ee74821ef106a132 SHA256 910dd43414b0cdb63a4e72b3435c8783adfe757d7872171dac84120021beda75
+MD5 3a878f9c9a7b7e20e43490f312b69fac files/qhull-2003.1-makefile.patch 2106
+RMD160 10b273b778b749a3284ba160e4db04bbfab8388f files/qhull-2003.1-makefile.patch 2106
+SHA256 910dd43414b0cdb63a4e72b3435c8783adfe757d7872171dac84120021beda75 files/qhull-2003.1-makefile.patch 2106
+AUX qhull-3.1-makefile.patch 2103 RMD160 d8eb93bac2ddc4ce503b0fc591e5e51a22ce8e18 SHA1 3033821aa16c8782050d88f778c408d67128371a SHA256 5cb9e0ea39b03c36c6935360a4fc5b104cfa7ecb57874a403373d038bdac3491
MD5 5d10b9f5f4e55bd2fb7679c1baf9d107 files/qhull-3.1-makefile.patch 2103
RMD160 d8eb93bac2ddc4ce503b0fc591e5e51a22ce8e18 files/qhull-3.1-makefile.patch 2103
SHA256 5cb9e0ea39b03c36c6935360a4fc5b104cfa7ecb57874a403373d038bdac3491 files/qhull-3.1-makefile.patch 2103
-DIST qhull3.1.tgz 442679 RMD160 11cad251d238725589fa0ec454caf714a98e3840 SHA256 c4bf2035b2bdc86094b244fbe5a9ae0df9fdc2af4d96a4d0ba93a7060af2b30e size 442679
-EBUILD qhull-3.1-r1.ebuild 1185 RMD160 3cead369a820c646ac8da230305575abe5d6c895 SHA1 9ddc10ada4ffdf935f43476037ff17f991f5999d SHA256 0865139baeebc476c91d599cf37538e307cefa5ecb7fc2fb907b3fc79b4bb83e size 1185
+DIST qhull-2003.1.tar.gz 724313 RMD160 6c82ad27601f9aa12498e3bc08f06c7b777a5f4d SHA1 2e783b5e45cecc053b1dc08c682b871dfbb59dd2 SHA256 68725c96603a426da748d38d0f83e7a9dd6a0bfc483525debe04001846475b0b
+DIST qhull3.1.tgz 442679 RMD160 11cad251d238725589fa0ec454caf714a98e3840 SHA256 c4bf2035b2bdc86094b244fbe5a9ae0df9fdc2af4d96a4d0ba93a7060af2b30e
+EBUILD qhull-2003.1.ebuild 1144 RMD160 1e0eddb3915c7380555346ecf5e5831872900f17 SHA1 7424122e84d8841442c0ab1c11bfc46d77e7c95f SHA256 194422c513d39c00facd4caaa21b6eb4fc418a7df2a27d07b001df47d938b63b
+MD5 456bf55578d7942a6d3222d7c36aa5c1 qhull-2003.1.ebuild 1144
+RMD160 1e0eddb3915c7380555346ecf5e5831872900f17 qhull-2003.1.ebuild 1144
+SHA256 194422c513d39c00facd4caaa21b6eb4fc418a7df2a27d07b001df47d938b63b qhull-2003.1.ebuild 1144
+EBUILD qhull-3.1-r1.ebuild 1185 RMD160 3cead369a820c646ac8da230305575abe5d6c895 SHA1 9ddc10ada4ffdf935f43476037ff17f991f5999d SHA256 0865139baeebc476c91d599cf37538e307cefa5ecb7fc2fb907b3fc79b4bb83e
MD5 009a6c7d780fd80ca7820ab7e0deb0a9 qhull-3.1-r1.ebuild 1185
RMD160 3cead369a820c646ac8da230305575abe5d6c895 qhull-3.1-r1.ebuild 1185
SHA256 0865139baeebc476c91d599cf37538e307cefa5ecb7fc2fb907b3fc79b4bb83e qhull-3.1-r1.ebuild 1185
-MISC ChangeLog 2671 RMD160 8e51e5df2a67a2a77ab1603fe5f191b8757a4ad7 SHA1 196c8f673378954e1a9118c0b9e7cf9a5337f493 SHA256 62900da314e4854e376a169c5cd97ada0f4538b04a4904afed5ad95f6f137743 size 2671
-MD5 132980beac3819c126cea7458accd9ff ChangeLog 2671
-RMD160 8e51e5df2a67a2a77ab1603fe5f191b8757a4ad7 ChangeLog 2671
-SHA256 62900da314e4854e376a169c5cd97ada0f4538b04a4904afed5ad95f6f137743 ChangeLog 2671
-MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a size 231
+MISC ChangeLog 2839 RMD160 a12bb66a75b347f3d10f78568b7fa9785c0a9d58 SHA1 7e2ab7a97198b7b28f735cc0003ffc22c6fc36af SHA256 7d1829e592ac56e2161b61161f0b20f935f51e091536f4ae088e9a1f1725cab7
+MD5 88ae52e33793671311eacb39fd876cd1 ChangeLog 2839
+RMD160 a12bb66a75b347f3d10f78568b7fa9785c0a9d58 ChangeLog 2839
+SHA256 7d1829e592ac56e2161b61161f0b20f935f51e091536f4ae088e9a1f1725cab7 ChangeLog 2839
+MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a
MD5 ed8349e980407e49b724e04ee5a9a2ed metadata.xml 231
RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c metadata.xml 231
SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a metadata.xml 231
+MD5 984ff1194d05f08ca99c4a49e4b94492 files/digest-qhull-2003.1 238
+RMD160 f2f6ebf33345e973678827ffed72efe1ee624384 files/digest-qhull-2003.1 238
+SHA256 5efbe38626a17be0e1d75d52b1b553d591dbe931824f9158e609cbc2a93b80ea files/digest-qhull-2003.1 238
MD5 3b615020779a8c03edde231657a2bbf8 files/digest-qhull-3.1-r1 217
RMD160 c015264923bdf5d7f3b78790ad6076261e0d0ff3 files/digest-qhull-3.1-r1 217
SHA256 63eee2956c5d2191d271b31c454565e6d1a67b8d5bbfb724c65b5503e1040860 files/digest-qhull-3.1-r1 217
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.3 (GNU/Linux)
-
-iD8DBQFEUVArW78445TWHXcRAlnMAKCV1nZaBcLn/cIMWxt7l42fAvAeRQCfXVYN
-VdGsBGp7fhDZOdr4g3R5740=
-=k+GV
------END PGP SIGNATURE-----
--- /dev/null
+MD5 48228e26422bff85ef1f45df5b6e3314 qhull-2003.1.tar.gz 724313
+RMD160 6c82ad27601f9aa12498e3bc08f06c7b777a5f4d qhull-2003.1.tar.gz 724313
+SHA256 68725c96603a426da748d38d0f83e7a9dd6a0bfc483525debe04001846475b0b qhull-2003.1.tar.gz 724313
--- /dev/null
+--- Makefile 2001-02-12 03:26:08.000000000 +0100
++++ /root/Makefile 2005-02-22 22:00:15.077553880 +0100
+@@ -78,7 +78,7 @@
+ qh-poly.htm qh-qhull.htm qh-set.htm qh-stat.htm qh-user.htm \
+ qdelau_f.htm qhalf.htm qvoronoi.htm qvoron_f.htm rbox.htm
+
+-all: rbox qconvex qdelaunay qhalf qvoronoi qhull
++all: rbox qconvex qdelaunay qhalf qvoronoi qhull libqhull.so
+
+ unix.o: qhull.h user.h mem.h
+ qconvex.o: qhull.h user.h mem.h
+@@ -100,6 +100,8 @@
+
+ .c.o:
+ $(CC) -c $(CCOPTS1) $<
++ mkdir -p .libs
++ $(CC) -c $(CCOPTS1) -fPIC $< -o .libs/$@
+
+ clean:
+ rm -f *.o ../core qconvex qdelaunay qhalf qvoronoi qhull
+@@ -142,23 +144,23 @@
+
+ # don't use ../qconvex. Does not work on Red Hat Linux
+ qconvex: qconvex.o libqhull.a
+- $(CC) -o qconvex $(CCOPTS2) qconvex.o -L. -lqhull -lm
++ $(CC) -o qconvex $(CCOPTS2) qconvex.o -L. libqhull.a -lm
+ cp qconvex ..
+
+ qdelaunay: qdelaun.o libqhull.a
+- $(CC) -o qdelaunay $(CCOPTS2) qdelaun.o -L. -lqhull -lm
++ $(CC) -o qdelaunay $(CCOPTS2) qdelaun.o -L. libqhull.a -lm
+ cp qdelaunay ..
+
+ qhalf: qhalf.o libqhull.a
+- $(CC) -o qhalf $(CCOPTS2) qhalf.o -L. -lqhull -lm
++ $(CC) -o qhalf $(CCOPTS2) qhalf.o -L. libqhull.a -lm
+ cp qhalf ..
+
+ qvoronoi: qvoronoi.o libqhull.a
+- $(CC) -o qvoronoi $(CCOPTS2) qvoronoi.o -L. -lqhull -lm
++ $(CC) -o qvoronoi $(CCOPTS2) qvoronoi.o -L. libqhull.a -lm
+ cp qvoronoi ..
+
+ qhull: unix.o libqhull.a
+- $(CC) -o qhull $(CCOPTS2) unix.o -L. -lqhull -lm
++ $(CC) -o qhull $(CCOPTS2) unix.o -L. libqhull.a -lm
+ cp qhull ..
+ -chmod +x ../eg/q_test ../eg/q_eg ../eg/q_egtest
+ -cd ..; ./rbox D4 | ./qhull
+@@ -179,11 +181,13 @@
+ cp rbox ..
+
+ user_eg: user_eg.o libqhull.a
+- $(CC) -o user_eg $(CCOPTS2) user_eg.o -L. -lqhull -lm
++ $(CC) -o user_eg $(CCOPTS2) user_eg.o -L. libqhull.a -lm
+ cp user_eg ..
+
+ user_eg2: user_eg2.o libqhull.a
+- $(CC) -o user_eg2 $(CCOPTS2) user_eg2.o -L. -lqhull -lm
++ $(CC) -o user_eg2 $(CCOPTS2) user_eg2.o -L. libqhull.a -lm
+ cp user_eg2 ..
+
+ # end of Makefile
++libqhull.so: $(OBJS)
++ ${CXX} -shared -Xlinker -soname -Xlinker $@ -o libqhull.so $(addprefix .libs/,$(OBJS))
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/qhull/qhull-2003.1.ebuild,v 1.1 2007/01/22 19:24:29 antarus Exp $
+
+inherit eutils
+
+MY_P="${PN}${PV}"
+DESCRIPTION="Geometry library"
+HOMEPAGE="http://www.qhull.org"
+SRC_URI="${HOMEPAGE}/download/${P}.tar.gz"
+
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="~x86 ~sparc ~ppc ~amd64"
+IUSE=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}/src
+ mv Makefile.txt Makefile
+ # Replaced sed/echo hacks by a clean patch. Fix build error on -fPIC archs
+ # BUG #82646
+ # Danny van Dyk <kugelfang@gentoo.org> 2005/02/22
+ epatch ${FILESDIR}/${P}-makefile.patch
+}
+
+src_compile() {
+ cd src
+ emake CCOPTS1="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ cd src
+
+ dolib libqhull.a || die "dolib failed"
+ dolib.so libqhull.so || die "dolib.so failed"
+ dobin qconvex qdelaunay qhalf qhull qvoronoi rbox || die "dobin failed"
+
+ insinto /usr/include/qhull
+ doins *.h
+
+ cd ${S}
+ dodoc Announce.txt COPYING.txt File_id.diz README.txt REGISTER.txt
+ cd html
+ dohtml *
+ dodoc *.txt
+ for m in *man
+ do
+ newman ${m} ${m/.man/.1}
+ done
+}