Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/brlcad: metadata.xml ChangeLog brlcad-7.16.6.ebuild
Date: Thu, 25 Feb 2010 06:15:14
Message-Id: E1NkX0C-0003Ol-Ed@stork.gentoo.org
1 bicatali 10/02/25 06:15:12
2
3 Added: metadata.xml ChangeLog brlcad-7.16.6.ebuild
4 Log:
5 Version bump and moved to the main tree
6 (Portage version: 2.2_rc63/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sci-misc/brlcad/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/brlcad/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/brlcad/metadata.xml?rev=1.1&content-type=text/plain
13
14 Index: metadata.xml
15 ===================================================================
16 <?xml version="1.0" encoding="UTF-8"?>
17 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
18 <pkgmetadata>
19 <herd>sci</herd>
20 <longdescription lang="en">
21 BRL-CAD is a Combinatorial/Constructive Solid Geometry (CSG)
22 solid modeling system that includes an interactive geometry editor,
23 ray-tracing support for rendering and geometric analysis,
24 network-distributed framebuffer support, image and signal-processing
25 tools, and an embedded scripting language.
26
27 The package is a collection of over 400 tools and utilities. Included
28 is support for various geometric data format conversions, image and
29 signal processing capabilities, ray-tracing based lighting models,
30 network distributed ray-tracing, parallel ray-tracing, animation
31 capabilities, data compression, image handling, and interactive 3-D
32 geometric editing, and also an implementation of Weiler's n-Manifold
33 Geometry (NMG) data structures for surface-based solid models and
34 photon mapping.
35 </longdescription>
36 </pkgmetadata>
37
38
39
40
41 1.1 sci-misc/brlcad/ChangeLog
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/brlcad/ChangeLog?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/brlcad/ChangeLog?rev=1.1&content-type=text/plain
45
46 Index: ChangeLog
47 ===================================================================
48 # ChangeLog for sci-misc/brlcad
49 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-misc/brlcad/ChangeLog,v 1.1 2010/02/25 06:15:11 bicatali Exp $
51
52 *brlcad-7.16.6 (25 Feb 2010)
53
54 25 Feb 2010; Sébastien Fabbro <bicatali@g.o>
55 +brlcad-7.16.6.ebuild, +files/brlcad-7.16.6-as-needed.patch,
56 +files/brlcad-7.16.6-stl-headers.patch, +metadata.xml:
57 Version bump and moved to the main tree
58
59 04 Feb 2010; Sébastien Fabbro <bicatali@g.o> brlcad-7.16.4.ebuild:
60 Changed man directory to avoid conflicts
61
62 *brlcad-7.16.4 (02 Feb 2010)
63
64 02 Feb 2010; Sébastien Fabbro <bicatali@g.o>
65 -brlcad-7.10.4.ebuild, +brlcad-7.16.4.ebuild,
66 +files/brlcad-7.16.4-as-needed.patch,
67 -files/brlcad-tcltk-man_install.patch:
68 Version bump. Rewrote from scratch
69
70 24 Aug 2008; Tim Cera <timcera@×××××××××.net> brlcad-7.10.4.ebuild:
71 * The BDL (BSD Documentation License) was for content on their wiki. Removed
72 from software licenses. * Changed the copyright year to 2008.
73
74 19 Dec 2007; Sébastien Fabbro <bicatali@g.o>
75 -files/brlcad-7.6.6-gentoo.diff, +files/brlcad-tcltk-man_install.patch,
76 -files/tcl.m4, -brlcad-7.6.6.ebuild, +brlcad-7.10.4.ebuild:
77 Version bump
78
79 26 January 2006; Lucas Chiesa <lucas.chiesa@×××××.com> brlcad-7.6.6.ebuild:
80 Added brlcad-7.6.6-gentoo.diff which replaces the entire test for
81 tcl/tk/itcl/iwidgets in configure.ac. It needs some more work.
82
83 *brlcad-7.6.6 (19 January 2006)
84
85 19 January 2006; Marcus D. Hanwell <cryos@g.o>
86 +brlcad-7.6.6.ebuild:
87 Initial import into the science overlay, bug 77197.
88
89
90
91 1.1 sci-misc/brlcad/brlcad-7.16.6.ebuild
92
93 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/brlcad/brlcad-7.16.6.ebuild?rev=1.1&view=markup
94 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/brlcad/brlcad-7.16.6.ebuild?rev=1.1&content-type=text/plain
95
96 Index: brlcad-7.16.6.ebuild
97 ===================================================================
98 # Copyright 1999-2010 Gentoo Foundation
99 # Distributed under the terms of the GNU General Public License v2
100 # $Header: /var/cvsroot/gentoo-x86/sci-misc/brlcad/brlcad-7.16.6.ebuild,v 1.1 2010/02/25 06:15:11 bicatali Exp $
101
102 EAPI=2
103 inherit eutils java-pkg-opt-2
104
105 DESCRIPTION="Constructive solid geometry modeling system"
106 HOMEPAGE="http://brlcad.org/"
107 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
108
109 LICENSE="LGPL-2 BSD"
110 SLOT="0"
111 KEYWORDS="~amd64 ~x86"
112 IUSE="debug doc examples java opengl smp X"
113
114 RDEPEND="media-libs/libpng
115 sys-libs/zlib
116 >=sci-libs/tnt-3
117 sci-libs/jama
118 dev-tcltk/itcl
119 dev-tcltk/itk
120 dev-tcltk/iwidgets
121 dev-tcltk/tkimg
122 sys-libs/libtermcap-compat
123 media-libs/urt
124 java? ( >=virtual/jre-1.5 )
125 X? ( x11-libs/libXt x11-libs/libXi )"
126
127 DEPEND="${RDEPEND}
128 sys-devel/bison
129 sys-devel/flex
130 java? ( >=virtual/jdk-1.5 )
131 doc? ( dev-libs/libxslt )"
132
133 BRLCAD_DIR="/usr/${PN}"
134
135 src_prepare() {
136 #patch a simple Makefile.in since the Makefile.am would need
137 #a full and slow autoreconf of many directories
138 epatch "${FILESDIR}"/${P}-as-needed.patch
139 epatch "${FILESDIR}"/${P}-stl-headers.patch
140 }
141
142 src_configure() {
143 local myitcl="/usr/$(get_libdir)/itcl3.4"
144 local myitk="/usr/$(get_libdir)/itk3.4"
145 econf \
146 --prefix="${BRLCAD_DIR}" \
147 --datadir="/usr/share/${PN}" \
148 --mandir="${BRLCAR_DIR}/man" \
149 --disable-almost-everything \
150 --disable-regex-build \
151 --disable-png-build \
152 --disable-zlib-build \
153 --disable-urt-build \
154 --disable-tcl-build \
155 --disable-tk-build \
156 --disable-itcl-build \
157 --disable-tkimg-build \
158 --disable-jove-build \
159 --disable-tnt-install \
160 --disable-iwidgets-install \
161 --enable-opennurbs-build \
162 --with-ldflags="-L${myitcl} -L${myitk}" \
163 $(use_enable debug) \
164 $(use_enable debug optimization) \
165 $(use_enable debug runtime-debug) \
166 $(use_enable debug strict-build) \
167 $(use_enable debug verbose) \
168 $(use_enable debug warnings) \
169 $(use_enable debug progress) \
170 $(use_enable doc documentation) \
171 $(use_enable examples models-install) \
172 $(use_enable smp parallel) \
173 $(use_with java jdk $(java-config -O)) \
174 $(use_with opengl ogl) \
175 $(use_with X x) \
176 $(use_with X x11) \
177 LD_LIBRARY_PATH="${myitcl}:${myitk}:${LD_LIBRARY_PATH}"
178 }
179
180 src_install() {
181 emake DESTDIR="${D}" install || die "emake install failed"
182 echo "PATH=${BRLCAD_DIR}/bin" > 99brlcad
183 echo "MANPATH=${BRLCAD_DIR}/man" >> 99brlcad
184 doenvd 99brlcad || die
185 }