summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-02-25 06:15:12 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-02-25 06:15:12 +0000
commit8f25b2b1a2678cda880daf057fc2094af83a91e3 (patch)
treec6940c3f93a1650f377609f9617ccf4a6e28c6b4 /sci-misc
parentVersion bump, bug #306609, thank Justin Lecher for report. (diff)
downloadhistorical-8f25b2b1a2678cda880daf057fc2094af83a91e3.tar.gz
historical-8f25b2b1a2678cda880daf057fc2094af83a91e3.tar.bz2
historical-8f25b2b1a2678cda880daf057fc2094af83a91e3.zip
Version bump and moved to the main tree
Package-Manager: portage-2.2_rc63/cvs/Linux x86_64
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/brlcad/ChangeLog40
-rw-r--r--sci-misc/brlcad/Manifest16
-rw-r--r--sci-misc/brlcad/brlcad-7.16.6.ebuild88
-rw-r--r--sci-misc/brlcad/files/brlcad-7.16.6-as-needed.patch25
-rw-r--r--sci-misc/brlcad/files/brlcad-7.16.6-stl-headers.patch10
-rw-r--r--sci-misc/brlcad/metadata.xml22
6 files changed, 201 insertions, 0 deletions
diff --git a/sci-misc/brlcad/ChangeLog b/sci-misc/brlcad/ChangeLog
new file mode 100644
index 000000000000..096cb39a2264
--- /dev/null
+++ b/sci-misc/brlcad/ChangeLog
@@ -0,0 +1,40 @@
+# ChangeLog for sci-misc/brlcad
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/brlcad/ChangeLog,v 1.1 2010/02/25 06:15:11 bicatali Exp $
+
+*brlcad-7.16.6 (25 Feb 2010)
+
+ 25 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ +brlcad-7.16.6.ebuild, +files/brlcad-7.16.6-as-needed.patch,
+ +files/brlcad-7.16.6-stl-headers.patch, +metadata.xml:
+ Version bump and moved to the main tree
+
+ 04 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org> brlcad-7.16.4.ebuild:
+ Changed man directory to avoid conflicts
+
+*brlcad-7.16.4 (02 Feb 2010)
+
+ 02 Feb 2010; Sébastien Fabbro <bicatali@gentoo.org>
+ -brlcad-7.10.4.ebuild, +brlcad-7.16.4.ebuild,
+ +files/brlcad-7.16.4-as-needed.patch,
+ -files/brlcad-tcltk-man_install.patch:
+ Version bump. Rewrote from scratch
+
+ 24 Aug 2008; Tim Cera <timcera@earthlink.net> brlcad-7.10.4.ebuild:
+ * The BDL (BSD Documentation License) was for content on their wiki. Removed
+ from software licenses. * Changed the copyright year to 2008.
+
+ 19 Dec 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ -files/brlcad-7.6.6-gentoo.diff, +files/brlcad-tcltk-man_install.patch,
+ -files/tcl.m4, -brlcad-7.6.6.ebuild, +brlcad-7.10.4.ebuild:
+ Version bump
+
+ 26 January 2006; Lucas Chiesa <lucas.chiesa@gmail.com> brlcad-7.6.6.ebuild:
+ Added brlcad-7.6.6-gentoo.diff which replaces the entire test for
+ tcl/tk/itcl/iwidgets in configure.ac. It needs some more work.
+
+*brlcad-7.6.6 (19 January 2006)
+
+ 19 January 2006; Marcus D. Hanwell <cryos@gentoo.org>
+ +brlcad-7.6.6.ebuild:
+ Initial import into the science overlay, bug 77197.
diff --git a/sci-misc/brlcad/Manifest b/sci-misc/brlcad/Manifest
new file mode 100644
index 000000000000..20c753e8e109
--- /dev/null
+++ b/sci-misc/brlcad/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX brlcad-7.16.6-as-needed.patch 523 RMD160 6517dca7843970851e09b9e3194e2bdef617859a SHA1 feeff9d7a85dc8279e2b7b26f0faef8da607c079 SHA256 ab12e2495092f72caff79c949b50b3a5a1b0375ed0093a1bece01176ae32b219
+AUX brlcad-7.16.6-stl-headers.patch 333 RMD160 5153582f424147c48cbad22578bb51a2c6108bb2 SHA1 8e6b418c4ec3eed61e42f55560fc98abd1ce9a47 SHA256 3a04fbf6188502a7f4e84243e9a5879a15943a352f36ea7e6d23a1fe6e93f9ad
+DIST brlcad-7.16.6.tar.gz 51570642 RMD160 d4d460de8f035e355c8213b7bb37145f19181e99 SHA1 b04cb61edcc18ad6d2239e00725e5a3efad92b3c SHA256 5329f1e13e952c6bbc9b2c665e38be7c764674eb82d16c70ee8074063a8eaecd
+EBUILD brlcad-7.16.6.ebuild 2401 RMD160 7a93170d74ab828b1949263b7b7e5d972ba5e587 SHA1 c2cd1e38f263af0ef7074a30e339bd05585f285b SHA256 d0e7cadbe3f665ad3d42f42274d5d162ae7c37721fc3e4caf30d4e5a5ffbc378
+MISC ChangeLog 1627 RMD160 cf23e302d076fcc214c650ad5a47a1944219befb SHA1 169a02a76708bf0eb9ba4fd769dacf45aebf945e SHA256 7c1063428de9614a384a88a0d3c9a444d9ad4197fd23c975bf0830e4d2aead43
+MISC metadata.xml 993 RMD160 2d5c3e246d2a1ce29f86d2de3e7e1ee1edfc6439 SHA1 a1388baccc66f393c78915d72f2a96a4bcb92156 SHA256 b3dd606feb759dba2840423c656bb78dfd324dd2e95f1def30a8340c090b8c19
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuGFXgACgkQ1ycZbhPLE2BYqQCfUw6fAqAyxcUh0DC9FvCL/GtT
+YHYAoJ1oni6wb1YcVmXU1rKMKrdiRhy9
+=5TSg
+-----END PGP SIGNATURE-----
diff --git a/sci-misc/brlcad/brlcad-7.16.6.ebuild b/sci-misc/brlcad/brlcad-7.16.6.ebuild
new file mode 100644
index 000000000000..6c0aa13da315
--- /dev/null
+++ b/sci-misc/brlcad/brlcad-7.16.6.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/brlcad/brlcad-7.16.6.ebuild,v 1.1 2010/02/25 06:15:11 bicatali Exp $
+
+EAPI=2
+inherit eutils java-pkg-opt-2
+
+DESCRIPTION="Constructive solid geometry modeling system"
+HOMEPAGE="http://brlcad.org/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-2 BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc examples java opengl smp X"
+
+RDEPEND="media-libs/libpng
+ sys-libs/zlib
+ >=sci-libs/tnt-3
+ sci-libs/jama
+ dev-tcltk/itcl
+ dev-tcltk/itk
+ dev-tcltk/iwidgets
+ dev-tcltk/tkimg
+ sys-libs/libtermcap-compat
+ media-libs/urt
+ java? ( >=virtual/jre-1.5 )
+ X? ( x11-libs/libXt x11-libs/libXi )"
+
+DEPEND="${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ java? ( >=virtual/jdk-1.5 )
+ doc? ( dev-libs/libxslt )"
+
+BRLCAD_DIR="/usr/${PN}"
+
+src_prepare() {
+ #patch a simple Makefile.in since the Makefile.am would need
+ #a full and slow autoreconf of many directories
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ epatch "${FILESDIR}"/${P}-stl-headers.patch
+}
+
+src_configure() {
+ local myitcl="/usr/$(get_libdir)/itcl3.4"
+ local myitk="/usr/$(get_libdir)/itk3.4"
+ econf \
+ --prefix="${BRLCAD_DIR}" \
+ --datadir="/usr/share/${PN}" \
+ --mandir="${BRLCAR_DIR}/man" \
+ --disable-almost-everything \
+ --disable-regex-build \
+ --disable-png-build \
+ --disable-zlib-build \
+ --disable-urt-build \
+ --disable-tcl-build \
+ --disable-tk-build \
+ --disable-itcl-build \
+ --disable-tkimg-build \
+ --disable-jove-build \
+ --disable-tnt-install \
+ --disable-iwidgets-install \
+ --enable-opennurbs-build \
+ --with-ldflags="-L${myitcl} -L${myitk}" \
+ $(use_enable debug) \
+ $(use_enable debug optimization) \
+ $(use_enable debug runtime-debug) \
+ $(use_enable debug strict-build) \
+ $(use_enable debug verbose) \
+ $(use_enable debug warnings) \
+ $(use_enable debug progress) \
+ $(use_enable doc documentation) \
+ $(use_enable examples models-install) \
+ $(use_enable smp parallel) \
+ $(use_with java jdk $(java-config -O)) \
+ $(use_with opengl ogl) \
+ $(use_with X x) \
+ $(use_with X x11) \
+ LD_LIBRARY_PATH="${myitcl}:${myitk}:${LD_LIBRARY_PATH}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ echo "PATH=${BRLCAD_DIR}/bin" > 99brlcad
+ echo "MANPATH=${BRLCAD_DIR}/man" >> 99brlcad
+ doenvd 99brlcad || die
+}
diff --git a/sci-misc/brlcad/files/brlcad-7.16.6-as-needed.patch b/sci-misc/brlcad/files/brlcad-7.16.6-as-needed.patch
new file mode 100644
index 000000000000..ae83acddd43b
--- /dev/null
+++ b/sci-misc/brlcad/files/brlcad-7.16.6-as-needed.patch
@@ -0,0 +1,25 @@
+--- src/conv/step/Makefile.in.orig 2010-02-02 19:37:34.000000000 +0000
++++ src/conv/step/Makefile.in 2010-02-02 19:38:15.000000000 +0000
+@@ -894,6 +894,11 @@
+ VolumeSiUnit.h \
+ VolumeUnit.h
+
++libstep2g_nil_la_LIBADD = \
++ ${BU} \
++ ${WDB} \
++ ${RT} \
++ ${STEP_LIBS}
+
+ # FIXME: these declarations are required for proper distchecking if
+ # the files do not exist before configure is run.
+@@ -903,10 +908,6 @@
+
+ step_g_SOURCES =
+ step_g_LDADD = \
+- ${BU} \
+- ${WDB} \
+- ${RT} \
+- ${STEP_LIBS} \
+ libstep2g_nil.la
+
+
diff --git a/sci-misc/brlcad/files/brlcad-7.16.6-stl-headers.patch b/sci-misc/brlcad/files/brlcad-7.16.6-stl-headers.patch
new file mode 100644
index 000000000000..5f45c78b3fe2
--- /dev/null
+++ b/sci-misc/brlcad/files/brlcad-7.16.6-stl-headers.patch
@@ -0,0 +1,10 @@
+--- src/other/openNURBS/opennurbs_system.h.orig 2010-02-25 06:10:58.000000000 +0000
++++ src/other/openNURBS/opennurbs_system.h 2010-02-25 06:12:17.000000000 +0000
+@@ -244,6 +244,7 @@
+ #define ON_CPLUSPLUS
+ #endif
+
++#include <cstddef>
+ #include <new> // for declaration of placement versions of new used in onClassArray<>.
+
+ #endif
diff --git a/sci-misc/brlcad/metadata.xml b/sci-misc/brlcad/metadata.xml
new file mode 100644
index 000000000000..ce48108a6e6c
--- /dev/null
+++ b/sci-misc/brlcad/metadata.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+BRL-CAD is a Combinatorial/Constructive Solid Geometry (CSG)
+solid modeling system that includes an interactive geometry editor,
+ray-tracing support for rendering and geometric analysis,
+network-distributed framebuffer support, image and signal-processing
+tools, and an embedded scripting language.
+
+The package is a collection of over 400 tools and utilities. Included
+is support for various geometric data format conversions, image and
+signal processing capabilities, ray-tracing based lighting models,
+network distributed ray-tracing, parallel ray-tracing, animation
+capabilities, data compression, image handling, and interactive 3-D
+geometric editing, and also an implementation of Weiler's n-Manifold
+Geometry (NMG) data structures for surface-based solid models and
+photon mapping.
+</longdescription>
+</pkgmetadata>
+