diff options
author | Marcus D. Hanwell <cryos@gentoo.org> | 2006-01-29 20:05:41 +0000 |
---|---|---|
committer | Marcus D. Hanwell <cryos@gentoo.org> | 2006-01-29 20:05:41 +0000 |
commit | cbe074ea5c5fcf57c8de29a02ea7b7f9d9bd9d4e (patch) | |
tree | 230728df33352327b4a40615c6426b2a02838f46 /sci-visualization | |
parent | Moved media-gfx/labplot to sci-visualization/labplot (diff) | |
download | gentoo-2-cbe074ea5c5fcf57c8de29a02ea7b7f9d9bd9d4e.tar.gz gentoo-2-cbe074ea5c5fcf57c8de29a02ea7b7f9d9bd9d4e.tar.bz2 gentoo-2-cbe074ea5c5fcf57c8de29a02ea7b7f9d9bd9d4e.zip |
Moved from media-gfx/opendx to sci-visualization/opendx.
Diffstat (limited to 'sci-visualization')
-rw-r--r-- | sci-visualization/opendx/ChangeLog | 71 | ||||
-rw-r--r-- | sci-visualization/opendx/Manifest | 16 | ||||
-rw-r--r-- | sci-visualization/opendx/files/digest-opendx-4.3.2 | 1 | ||||
-rw-r--r-- | sci-visualization/opendx/files/digest-opendx-4.3.2-r1 | 1 | ||||
-rw-r--r-- | sci-visualization/opendx/metadata.xml | 5 | ||||
-rw-r--r-- | sci-visualization/opendx/opendx-4.3.2-r1.ebuild | 112 | ||||
-rw-r--r-- | sci-visualization/opendx/opendx-4.3.2.ebuild | 111 |
7 files changed, 317 insertions, 0 deletions
diff --git a/sci-visualization/opendx/ChangeLog b/sci-visualization/opendx/ChangeLog new file mode 100644 index 000000000000..63c9f726fcd6 --- /dev/null +++ b/sci-visualization/opendx/ChangeLog @@ -0,0 +1,71 @@ +# ChangeLog for media-gfx/opendx +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/ChangeLog,v 1.1 2006/01/29 20:05:41 cryos Exp $ + + 29 Jan 2006; Marcus D. Hanwell <cryos@gentoo.org> +metadata.xml, + +opendx-4.3.2.ebuild, +opendx-4.3.2-r1.ebuild: + Moved from media-gfx/opendx to sci-visualization/opendx. + + 26 Jan 2006; Karol Wojtaszek <sekretarz@gentoo.org> + opendx-4.3.2-r1.ebuild: + Stable on amd64, bug #118683 + + 14 Dec 2005; Donnie Berkholz <spyderous@gentoo.org>; + opendx-4.3.2-r1.ebuild: + Add modular X dependencies. + + 28 Aug 2005; Simon Stelling <blubb@gentoo.org> ChangeLog: + added ~amd64 keyword + + 20 Aug 2005; Michael Hanselmann <hansmi@gentoo.org> + opendx-4.3.2-r1.ebuild: + Stable on ppc (bug #101923). + + 25 Jul 2005; Donnie Berkholz <spyderous@gentoo.org>; + opendx-4.3.2-r1.ebuild: + Stable on x86. + + 25 Jul 2005; Donnie Berkholz <spyderous@gentoo.org>; + opendx-4.3.2-r1.ebuild: + Update to use linux-info.eclass and to check for SMP properly. + + 24 May 2005; Donnie Berkholz <spyderous@gentoo.org>; + opendx-4.3.2-r1.ebuild: + (#82672) Filter -finline-functions and -O3. + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> : + Dependency update: dev-libs/szip -> sci-libs/szip. + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> : + Dependency update: dev-libs/szip -> sci-libs/szip. + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> opendx-4.3.2-r1.ebuild: + Dependency update: dev-libs/szip -> sci-libs/szip. + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> opendx-4.3.2.ebuild: + Dependency update: dev-libs/szip -> sci-libs/szip. + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> opendx-4.3.2-r1.ebuild: + Dependency update: dev-libs/hdf -> sci-libs/hdf. + + 28 Dec 2004; Olivier Fisette <ribosome@gentoo.org> opendx-4.3.2.ebuild: + Dependency update: dev-libs/hdf -> sci-libs/hdf. + +*opendx-4.3.2-r1 (24 May 2004) + + 24 May 2004; Patrick Kursawe <phosphan@gentoo.org> opendx-4.3.2-r1.ebuild: + Making szip dependency optional + + 16 Mar 2004; Patrick Kursawe <phosphan@gentoo.org> opendx-4.3.2.ebuild: + Fixing bug #44727 by adding szip as dependency. + + 15 Mar 2004; David Holm <dholm@gentoo.org> opendx-4.3.2.ebuild: + Added to ~ppc. + +*opendx-4.3.2 (14 Mar 2004) + + 14 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; metadata.xml, + opendx-4.3.2.ebuild: + Initial commit to close #22217. Ebuild by myself and Patrick Kursawe + <phosphan@gentoo.org>. + diff --git a/sci-visualization/opendx/Manifest b/sci-visualization/opendx/Manifest new file mode 100644 index 000000000000..8909a51af292 --- /dev/null +++ b/sci-visualization/opendx/Manifest @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 b6761b07e5078a82862bec528ffe3825 ChangeLog 2306 +MD5 e8b3b97f7766dc0b83d6dfd1cd0b753e files/digest-opendx-4.3.2 61 +MD5 e8b3b97f7766dc0b83d6dfd1cd0b753e files/digest-opendx-4.3.2-r1 61 +MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 bff897c867661f689e1137079a90517f opendx-4.3.2-r1.ebuild 2878 +MD5 592a24a74375c717430f42e1b0105280 opendx-4.3.2.ebuild 2894 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFD2U/iub4+zaPCR/oRAtdUAJ0XDbAoqxxx71lV/8iihg+m09qw1gCfUf2x +am5YR0jndC93AMkY1Ef/6BU= +=XICj +-----END PGP SIGNATURE----- diff --git a/sci-visualization/opendx/files/digest-opendx-4.3.2 b/sci-visualization/opendx/files/digest-opendx-4.3.2 new file mode 100644 index 000000000000..189444d56482 --- /dev/null +++ b/sci-visualization/opendx/files/digest-opendx-4.3.2 @@ -0,0 +1 @@ +MD5 201afdd86a5ddcfda0dc60fc7b6d3fea dx-4.3.2.tar.gz 9904514 diff --git a/sci-visualization/opendx/files/digest-opendx-4.3.2-r1 b/sci-visualization/opendx/files/digest-opendx-4.3.2-r1 new file mode 100644 index 000000000000..189444d56482 --- /dev/null +++ b/sci-visualization/opendx/files/digest-opendx-4.3.2-r1 @@ -0,0 +1 @@ +MD5 201afdd86a5ddcfda0dc60fc7b6d3fea dx-4.3.2.tar.gz 9904514 diff --git a/sci-visualization/opendx/metadata.xml b/sci-visualization/opendx/metadata.xml new file mode 100644 index 000000000000..b229aec85b8f --- /dev/null +++ b/sci-visualization/opendx/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +</pkgmetadata> diff --git a/sci-visualization/opendx/opendx-4.3.2-r1.ebuild b/sci-visualization/opendx/opendx-4.3.2-r1.ebuild new file mode 100644 index 000000000000..7410df7cd2d1 --- /dev/null +++ b/sci-visualization/opendx/opendx-4.3.2-r1.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/opendx-4.3.2-r1.ebuild,v 1.1 2006/01/29 20:05:41 cryos Exp $ + +# Set SMP="no" to force disable of SMP compilation. +# Set SMP="yes" to force enable of SMP compilation. +# Otherwise it will be autodetected from /usr/src/linux. + +inherit eutils flag-o-matic linux-info + +DESCRIPTION="A 3D data visualization tool" +HOMEPAGE="http://www.opendx.org/" +SRC_URI="http://opendx.npaci.edu/source/${P/open}.tar.gz" + +# There are a few jar files that can be added to enhance JX. +# These are java40.jar from the Netscape libraries +# (we've provided them in the OpenDX.org lib area) nscosmop211.jar +# from the Cosmo Player libs. +# http://opendx.npaci.edu/libs/ +#SRC_URI="${SRC_URI} +# http://opendx.npaci.edu/libs/netscape-java40.tar.gz +# http://opendx.npaci.edu/libs/cosmoplayer-jar.tar.gz" + +LICENSE="IPL-1" +SLOT="0" +# Should work on x86, ppc, alpha at least +KEYWORDS="amd64 ppc x86" + +IUSE="hdf cdf netcdf tiff imagemagick szip" # java doc" + +DEPEND="|| ( ( x11-libs/libXmu + x11-libs/libXi + x11-libs/libXp + x11-libs/libXpm + ) + virtual/x11 + ) + x11-libs/openmotif + szip? ( sci-libs/szip ) + hdf? ( sci-libs/hdf ) + cdf? ( sci-libs/cdf ) + netcdf? ( sci-libs/netcdf ) + tiff? ( media-libs/tiff ) + imagemagick? ( >=media-gfx/imagemagick-5.3.4 )" +# waiting on bug #36349 for media-libs/jasper in imagemagick +# java support gives some trouble - deprecated api and other unresolved symbols +# java? ( virtual/jdk +# dev-java/java-config )" + +S="${WORKDIR}/${P/open}" + +smp() { + has "$1" "${SMP}" +} + +smp_check() { + linux_chkconfig_present SMP +} + +src_compile() { + local myconf="--with-x \ + --host=${CHOST}" + + # Check for SMP + # This needs to be done for /usr/src/linux, NOT the running kernel + # Allow override using smp(). + if smp no + then + myconf="${myconf} --disable-smp-linux" + einfo "Disabling SMP capabilities" + elif smp yes || smp_check + then + myconf="${myconf} --enable-smp-linux" + einfo "Enabling SMP capabilities" + else + myconf="${myconf} --disable-smp-linux" + einfo "Disabling SMP capabilities" + fi + + # with gcc 3.3.2 I had an infinite loop on src/exec/libdx/zclipQ.c + append-flags -fno-strength-reduce + + # (#82672) + filter-flags -finline-functions + replace-flags -O3 -O2 + + local GENTOOARCH="${ARCH}" + # opendx uses this variable + unset ARCH + + local morelibs="" + use szip && morelibs="-lsz" + # use java && myconf="${myconf} JNIPATH=$(java-config -O)/include:$(java-config -O)/include/linux" + econf LIBS="${morelibs}" \ + `use_with cdf` \ + `use_with netcdf` \ + `use_with hdf` \ + `use_with tiff` \ + `use_with imagemagick magick` \ + ${myconf} || die + + # `use_with java javadx` + # This is broken + # `use_enable doc installhtml` + + make || die + ARCH="${GENTOOARCH}" +} + +src_install() { + make DESTDIR=${D} install || die +} diff --git a/sci-visualization/opendx/opendx-4.3.2.ebuild b/sci-visualization/opendx/opendx-4.3.2.ebuild new file mode 100644 index 000000000000..de5503ae1ab0 --- /dev/null +++ b/sci-visualization/opendx/opendx-4.3.2.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/opendx/opendx-4.3.2.ebuild,v 1.1 2006/01/29 20:05:41 cryos Exp $ + +# Set SMP="no" to force disable of SMP compilation. +# Set SMP="yes" to force enable of SMP compilation. +# Otherwise it will be autodetected from /usr/src/linux. + +inherit eutils flag-o-matic + +DESCRIPTION="A 3D data visualization tool" +HOMEPAGE="http://www.opendx.org/" +SRC_URI="http://opendx.npaci.edu/source/${P/open}.tar.gz" + +# There are a few jar files that can be added to enhance JX. +# These are java40.jar from the Netscape libraries +# (we've provided them in the OpenDX.org lib area) nscosmop211.jar +# from the Cosmo Player libs. +# http://opendx.npaci.edu/libs/ +#SRC_URI="${SRC_URI} +# http://opendx.npaci.edu/libs/netscape-java40.tar.gz +# http://opendx.npaci.edu/libs/cosmoplayer-jar.tar.gz" + +LICENSE="IPL-1" +SLOT="0" +# Should work on x86, ppc, alpha at least +KEYWORDS="~x86 ~ppc" + +IUSE="hdf cdf netcdf tiff imagemagick" # java doc" + +DEPEND="virtual/x11 + x11-libs/openmotif + sci-libs/szip + hdf? ( sci-libs/hdf ) + cdf? ( sci-libs/cdf ) + netcdf? ( sci-libs/netcdf ) + tiff? ( media-libs/tiff ) + imagemagick? ( >=media-gfx/imagemagick-5.3.4 )" +# waiting on bug #36349 for media-libs/jasper in imagemagick +# java support gives some trouble - deprecated api and other unresolved symbols +# java? ( virtual/jdk +# dev-java/java-config )" + +S="${WORKDIR}/${P/open}" + +smp() { + has "$1" "${SMP}" +} + +smp_check() { + if [ -e /usr/src/linux/.config ] + then + if [ "`grep SMP /usr/src/linux/.config | cut -d= -f2`" = "y" ] + then + return 0 + else + return 1 + fi + else + die "SMP check failed. Make sure /usr/src/linux/.config exists." + fi +} + +src_compile() { + local myconf="--with-x \ + --host=${CHOST}" + + # Check for SMP + # This needs to be done for /usr/src/linux, NOT the running kernel + # Allow override using smp(). + if smp no + then + myconf="${myconf} --disable-smp-linux" + einfo "Disabling SMP capabilities" + elif smp yes || smp_check + then + myconf="${myconf} --enable-smp-linux" + einfo "Enabling SMP capabilities" + else + myconf="${myconf} --disable-smp-linux" + einfo "Disabling SMP capabilities" + fi + + # with gcc 3.3.2 I had an infinite loop on src/exec/libdx/zclipQ.c + append-flags -fno-strength-reduce + + # szlib is used by hdf package, have to link with it here aswell + + local GENTOOARCH="${ARCH}" + # opendx uses this variable + unset ARCH + # use java && myconf="${myconf} JNIPATH=$(java-config -O)/include:$(java-config -O)/include/linux" + econf LIBS="-lsz" \ + `use_with cdf` \ + `use_with netcdf` \ + `use_with hdf` \ + `use_with tiff` \ + `use_with imagemagick magick` \ + ${myconf} || die + + # `use_with java javadx` + # This is broken + # `use_enable doc installhtml` + + make || die + ARCH="${GENTOOARCH}" +} + +src_install() { + make DESTDIR=${D} install || die +} |