summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-06-18 21:08:38 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-06-18 21:08:38 +0000
commiteaa8c9f250c63af1bb9df7dc5d4528293ef1cefb (patch)
tree93c7f4bf15de03c99b120eb48de429747a46c12e /sci-misc
parentfix Unsafe.pl error with recent openmpi (diff)
downloadhistorical-eaa8c9f250c63af1bb9df7dc5d4528293ef1cefb.tar.gz
historical-eaa8c9f250c63af1bb9df7dc5d4528293ef1cefb.tar.bz2
historical-eaa8c9f250c63af1bb9df7dc5d4528293ef1cefb.zip
Now X is forced (does not build without), itcl/itk paths removed from ebuild. Switched to EAPI3
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/brlcad/ChangeLog8
-rw-r--r--sci-misc/brlcad/Manifest14
-rw-r--r--sci-misc/brlcad/brlcad-7.16.6-r1.ebuild99
-rw-r--r--sci-misc/brlcad/brlcad-7.16.8.ebuild39
-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
6 files changed, 32 insertions, 163 deletions
diff --git a/sci-misc/brlcad/ChangeLog b/sci-misc/brlcad/ChangeLog
index 014ca86f3104..f44fd4046fa5 100644
--- a/sci-misc/brlcad/ChangeLog
+++ b/sci-misc/brlcad/ChangeLog
@@ -1,6 +1,12 @@
# 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.6 2010/05/26 20:29:15 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/brlcad/ChangeLog,v 1.7 2010/06/18 21:08:37 bicatali Exp $
+
+ 18 Jun 2010; SĂ©bastien Fabbro <bicatali@gentoo.org>
+ -brlcad-7.16.6-r1.ebuild, -files/brlcad-7.16.6-as-needed.patch,
+ -files/brlcad-7.16.6-stl-headers.patch, brlcad-7.16.8.ebuild:
+ Now X is forced (does not build without), itcl/itk paths removed from
+ ebuild. Switched to EAPI3.
*brlcad-7.16.8 (26 May 2010)
diff --git a/sci-misc/brlcad/Manifest b/sci-misc/brlcad/Manifest
index 69316656b7b1..db5b06008cb1 100644
--- a/sci-misc/brlcad/Manifest
+++ b/sci-misc/brlcad/Manifest
@@ -1,18 +1,14 @@
-----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
DIST brlcad-7.16.8.tar.gz 50696484 RMD160 08924ba07f95d959a24e5921cecb48214ae0566f SHA1 003effd929f619a5496453aaafb5a03880649ee6 SHA256 f5e65aee61cbafb187ab1967cd2050cb80f04c7594012700118d1a96999ee9e5
-EBUILD brlcad-7.16.6-r1.ebuild 2852 RMD160 7060ee26faf0922f05675df49b8ff6dd066bcb82 SHA1 5ade3247b65b6e6d4190f1bd72ce3888e547bf7a SHA256 93a49e4f509d79cdd015989693cb7544043b401c9153f0c43606a0d6e6ec0580
-EBUILD brlcad-7.16.8.ebuild 2629 RMD160 3d535b12b2f24c4d505b2f4c166c47f7752f2fd3 SHA1 36825127fb5a63fc93e71b1154338da50c65ca93 SHA256 cea2209ffe366614d0e297da0b2360bae1cfea2dba665f776da7cb4750c57840
-MISC ChangeLog 2430 RMD160 03d456c51f18f320ef0ca637e46acdfaf79fdbd4 SHA1 009db80f7e1df27efeb44dbc081474c984e9634d SHA256 696f7784ae551d01b08319edf37876b255b4d9bbe1c65eba06eecdb63fd9d28c
+EBUILD brlcad-7.16.8.ebuild 2565 RMD160 687a353ace3212514a7679894c57ebc9638376be SHA1 1552fac84583a42e105c3c2c3764984e2b21d991 SHA256 a59fbeecf6b29134e25610ef9ad02afe61635daddc24163749953faa63bdc3a3
+MISC ChangeLog 2717 RMD160 1733e80892e2791a3cd226f97ad3191e22e20eaa SHA1 e29c16284c518e79f276136b437ca6cf5905add8 SHA256 44d338a52d4eed9f9b57d310e0eb18ae1f4fe1e18a4073db529c25128c9233fa
MISC metadata.xml 1134 RMD160 97574ea4a585a042247f2a7dda9371beb8158f24 SHA1 be8ee76ded1a045f3ab4df019452df55065fce2c SHA256 05f016d00b5b6011a13e0d1e0454f8017bd0f177f7d05d3836620e92487027ac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkv9jaMACgkQ1ycZbhPLE2AP0QCgl9Mx6vnXcM6W/PL5EfA6iv6c
-G1AAmwd5h0CdrAHZI7msmqLVefzAmiO7
-=7mDw
+iEYEARECAAYFAkwb4F8ACgkQ1ycZbhPLE2A82QCfSU9f3HeK1uc8+m4jRbZiVttE
+HvcAn0zggqmCaCd1U8kfK5O8ilT/8YqJ
+=L8Iw
-----END PGP SIGNATURE-----
diff --git a/sci-misc/brlcad/brlcad-7.16.6-r1.ebuild b/sci-misc/brlcad/brlcad-7.16.6-r1.ebuild
deleted file mode 100644
index c5ed96e735a8..000000000000
--- a/sci-misc/brlcad/brlcad-7.16.6-r1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# 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-r1.ebuild,v 1.2 2010/03/09 03:31:52 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="benchmarks +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() {
- myitcl="/usr/$(get_libdir)/itcl3.4" myitk="/usr/$(get_libdir)/itk3.4"
- export LD_LIBRARY_PATH="${myitcl}:${myitk}:${LD_LIBRARY_PATH}"
- econf \
- --disable-strict-build \
- --prefix="${BRLCAD_DIR}" \
- --datadir="/usr/share/${PN}" \
- --mandir="${BRLCAD_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 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)
-}
-
-src_test() {
- emake check || die "emake check failed"
- if use benchmarks; then
- emake benchmark || die "emake benchmark failed"
- fi
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- rm -f "${D}"usr/share/brlcad/${README,NEWS,AUTHORS,HACKING,INSTALL,COPYING}
- dodoc AUTHORS NEWS README HACKING TODO BUGS ChangeLog
- echo "PATH=${BRLCAD_DIR}/bin" > 99brlcad
- echo "MANPATH=${BRLCAD_DIR}/man" >> 99brlcad
- echo "LDPATH=${myitcl}:${myitk}" >> 99brlcad
- doenvd 99brlcad || die
- newicon misc/macosx/Resources/ReadMe.rtfd/brlcad_logo_tiny.png brlcad.png
- make_desktop_entry mged "BRL-CAD" brlcad "Graphics;Engineering"
-}
diff --git a/sci-misc/brlcad/brlcad-7.16.8.ebuild b/sci-misc/brlcad/brlcad-7.16.8.ebuild
index eac799497d5d..4a3f5bcdab9c 100644
--- a/sci-misc/brlcad/brlcad-7.16.8.ebuild
+++ b/sci-misc/brlcad/brlcad-7.16.8.ebuild
@@ -1,8 +1,8 @@
# 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.8.ebuild,v 1.1 2010/05/26 20:29:15 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/brlcad/brlcad-7.16.8.ebuild,v 1.2 2010/06/18 21:08:37 bicatali Exp $
-EAPI=2
+EAPI=3
inherit eutils java-pkg-opt-2
DESCRIPTION="Constructive solid geometry modeling system"
@@ -12,20 +12,21 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="LGPL-2 BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="benchmarks debug doc examples java opengl smp X"
+IUSE="benchmarks debug doc examples java opengl smp"
RDEPEND="media-libs/libpng
sys-libs/zlib
>=sci-libs/tnt-3
sci-libs/jama
- dev-tcltk/itcl
- dev-tcltk/itk
+ =dev-tcltk/itcl-3.4*
+ =dev-tcltk/itk-3.4*
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 )"
+ x11-libs/libXt
+ x11-libs/libXi
+ java? ( >=virtual/jre-1.5 )"
DEPEND="${RDEPEND}
sys-devel/bison
@@ -33,15 +34,16 @@ DEPEND="${RDEPEND}
java? ( >=virtual/jdk-1.5 )
doc? ( dev-libs/libxslt )"
-BRLCAD_DIR="/usr/${PN}"
+BRLCAD_DIR="${EPREFIX}/usr/${PN}"
src_configure() {
- myitcl="/usr/$(get_libdir)/itcl3.4" myitk="/usr/$(get_libdir)/itk3.4"
- export LD_LIBRARY_PATH="${myitcl}:${myitk}:${LD_LIBRARY_PATH}"
+ local myconf="--without-jdk"
+ use java && myconf="--with-jdk=$(java-config -O)"
+
econf \
--disable-strict-build \
--prefix="${BRLCAD_DIR}" \
- --datadir="/usr/share/${PN}" \
+ --datadir="${BRLCAD_DIR}/share" \
--mandir="${BRLCAD_DIR}/man" \
--disable-almost-everything \
--disable-regex-build \
@@ -56,7 +58,9 @@ src_configure() {
--disable-tnt-install \
--disable-iwidgets-install \
--enable-opennurbs-build \
- --with-ldflags="-L${myitcl} -L${myitk}" \
+ --with-ldflags="-L${EPREFIX}/usr/$(get_libdir)/itcl3.4 -L${EPREFIX}/usr/$(get_libdir)/itk3.4" \
+ --with-x \
+ --with-x11 \
$(use_enable debug) \
$(use_enable debug optimization) \
$(use_enable debug runtime-debug) \
@@ -66,10 +70,8 @@ src_configure() {
$(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)
+ ${myconf}
}
src_test() {
@@ -81,11 +83,10 @@ src_test() {
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
- rm -f "${D}"usr/share/brlcad/${README,NEWS,AUTHORS,HACKING,INSTALL,COPYING}
+ rm -f "${D}"usr/share/brlcad/{README,NEWS,AUTHORS,HACKING,INSTALL,COPYING}
dodoc AUTHORS NEWS README HACKING TODO BUGS ChangeLog
- echo "PATH=${BRLCAD_DIR}/bin" > 99brlcad
- echo "MANPATH=${BRLCAD_DIR}/man" >> 99brlcad
- echo "LDPATH=${myitcl}:${myitk}" >> 99brlcad
+ echo "PATH=\"${BRLCAD_DIR}/bin\"" > 99brlcad
+ echo "MANPATH=\"${BRLCAD_DIR}/man\"" >> 99brlcad
doenvd 99brlcad || die
newicon misc/macosx/Resources/ReadMe.rtfd/brlcad_logo_tiny.png brlcad.png
make_desktop_entry mged "BRL-CAD" brlcad "Graphics;Engineering"
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
deleted file mode 100644
index ae83acddd43b..000000000000
--- a/sci-misc/brlcad/files/brlcad-7.16.6-as-needed.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- 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
deleted file mode 100644
index 5f45c78b3fe2..000000000000
--- a/sci-misc/brlcad/files/brlcad-7.16.6-stl-headers.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- 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