From 468bba7ae404b7433eb4ec0365fec920880b7235 Mon Sep 17 00:00:00 2001 From: Thomas Kahle Date: Wed, 27 Oct 2010 20:13:56 +0200 Subject: sci-misc/salome-* bumped to 5.1.4 ebuild by Michael Riss in bug 330303 --- sci-misc/salome-component/ChangeLog | 6 + sci-misc/salome-component/Manifest | 14 +-- .../salome-component/salome-component-5.1.4.ebuild | 106 +++++++++++++++++ sci-misc/salome-geom/ChangeLog | 5 + sci-misc/salome-geom/Manifest | 14 +-- sci-misc/salome-geom/salome-geom-5.1.4.ebuild | 112 ++++++++++++++++++ sci-misc/salome-gui/ChangeLog | 6 + sci-misc/salome-gui/Manifest | 15 +-- .../files/salome-gui-5.1.4-qt4-path.patch | 11 ++ sci-misc/salome-gui/salome-gui-5.1.4.ebuild | 117 +++++++++++++++++++ sci-misc/salome-kernel/ChangeLog | 7 ++ sci-misc/salome-kernel/Manifest | 16 +-- .../files/salome-kernel-5.1.4-openmpi.patch | 21 ++++ .../files/salome-kernel-5.1.4-python-2.6.patch | 13 +++ sci-misc/salome-kernel/salome-kernel-5.1.4.ebuild | 118 +++++++++++++++++++ sci-misc/salome-med/ChangeLog | 8 ++ sci-misc/salome-med/Manifest | 18 ++- .../files/salome-med-5.1.4-check_metis.patch | 48 ++++++++ .../files/salome-med-5.1.4-check_scotch.patch | 74 ++++++++++++ .../salome-med/files/salome-med-5.1.4-gcc.patch | 11 ++ .../salome-med/files/salome-med-5.1.4-scotch.patch | 11 ++ sci-misc/salome-med/salome-med-5.1.4.ebuild | 127 +++++++++++++++++++++ sci-misc/salome-meta/ChangeLog | 5 + sci-misc/salome-meta/Manifest | 3 +- sci-misc/salome-meta/salome-meta-5.1.4.ebuild | 31 +++++ sci-misc/salome-pycalculator/ChangeLog | 6 + sci-misc/salome-pycalculator/Manifest | 14 +-- .../salome-pycalculator-5.1.4.ebuild | 83 ++++++++++++++ sci-misc/salome-smesh/ChangeLog | 5 + sci-misc/salome-smesh/Manifest | 14 +-- sci-misc/salome-smesh/salome-smesh-5.1.4.ebuild | 110 ++++++++++++++++++ sci-misc/salome-visu/ChangeLog | 5 + sci-misc/salome-visu/Manifest | 14 +-- sci-misc/salome-visu/salome-visu-5.1.4.ebuild | 105 +++++++++++++++++ sci-misc/salome-yacs/ChangeLog | 6 + sci-misc/salome-yacs/Manifest | 15 +-- .../files/salome-yacs-5.1.4-ac_python_devel.patch | 12 ++ sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild | 103 +++++++++++++++++ 38 files changed, 1309 insertions(+), 100 deletions(-) create mode 100644 sci-misc/salome-component/salome-component-5.1.4.ebuild create mode 100644 sci-misc/salome-geom/salome-geom-5.1.4.ebuild create mode 100644 sci-misc/salome-gui/files/salome-gui-5.1.4-qt4-path.patch create mode 100644 sci-misc/salome-gui/salome-gui-5.1.4.ebuild create mode 100644 sci-misc/salome-kernel/files/salome-kernel-5.1.4-openmpi.patch create mode 100644 sci-misc/salome-kernel/files/salome-kernel-5.1.4-python-2.6.patch create mode 100644 sci-misc/salome-kernel/salome-kernel-5.1.4.ebuild create mode 100644 sci-misc/salome-med/files/salome-med-5.1.4-check_metis.patch create mode 100644 sci-misc/salome-med/files/salome-med-5.1.4-check_scotch.patch create mode 100644 sci-misc/salome-med/files/salome-med-5.1.4-gcc.patch create mode 100644 sci-misc/salome-med/files/salome-med-5.1.4-scotch.patch create mode 100644 sci-misc/salome-med/salome-med-5.1.4.ebuild create mode 100644 sci-misc/salome-meta/salome-meta-5.1.4.ebuild create mode 100644 sci-misc/salome-pycalculator/salome-pycalculator-5.1.4.ebuild create mode 100644 sci-misc/salome-smesh/salome-smesh-5.1.4.ebuild create mode 100644 sci-misc/salome-visu/salome-visu-5.1.4.ebuild create mode 100644 sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch create mode 100644 sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild (limited to 'sci-misc') diff --git a/sci-misc/salome-component/ChangeLog b/sci-misc/salome-component/ChangeLog index 7874875db..d8bfe1899 100644 --- a/sci-misc/salome-component/ChangeLog +++ b/sci-misc/salome-component/ChangeLog @@ -1,6 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*salome-component-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle + +salome-component-5.1.4.ebuild: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + 29 Jun 2010; Justin Lecher salome-component-5.1.3.ebuild: Python ABI fixes diff --git a/sci-misc/salome-component/Manifest b/sci-misc/salome-component/Manifest index e8b694b10..a12d74fac 100644 --- a/sci-misc/salome-component/Manifest +++ b/sci-misc/salome-component/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX salome-component-5.1.3-mpi.patch 718 RMD160 4cfed4cf318686774a49fb037c31dc1ff24be94c SHA1 bd2d3ce92ccb57a81033f8639e8624874b529614 SHA256 9b9b85eaf19409927055fa31899aedd765ea1da05bfe5e8d58a8c8fde792345a DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b +DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae EBUILD salome-component-5.1.3.ebuild 3015 RMD160 7c2f9f52b6e6186b4bd319f53d8508a5ec860b4d SHA1 3dc67a5a4dd4824d209ddad4af1657bddda46f7e SHA256 ab4b072a319c02929ed63324d2fe4129453a550815cbe25c12ba13f19be01ca1 -MISC ChangeLog 1678 RMD160 bb1ab204919036ddb58f0417384ac993cbd7e782 SHA1 d08ed3b2462d4cbd71593906dccaed6102d38f02 SHA256 04ef47f9cc950ac0a424dd5347cb128362097211c95d28c1a90bcee260a3fd63 +EBUILD salome-component-5.1.4.ebuild 3047 RMD160 cdbf8c8b03d7d0d0dd75d75ac9dd9eb02f92c6fe SHA1 433c95a4d5e17b884c6a5d7c6a44e1bf0870862e SHA256 5998c87e5fe4fc1a5bf7479daf91f455917a925bfdf725b9a0d3dfee2c56964c +MISC ChangeLog 1853 RMD160 d65faae708fdf5c5e4637320a7a5230471fea43f SHA1 fd76af9fa468947f93bf0dd210c4a18392e0ae28 SHA256 a4d6bbdf0ed62d73657cf9417c4ceb038d5feead89687c4cc52355669d34607c MISC metadata.xml 157 RMD160 ed43b99e7bf8bbf62cf4e46152138ab42d3a88c5 SHA1 2182a6de0b10959aad51af2990f1a6c69e34dd97 SHA256 750cb9e46ac2b77e1adf73de43c186a8c2d2234a9c6a89d9358d0969dc5cf8ac ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwqWKcACgkQgAnW8HDreRZ1HgCgrAIzNhXTnPC17fT4hDYg4oGh -ARwAnjB6OsF96hk0BtFNNiUviwDpElxb -=0sm4 ------END PGP SIGNATURE----- diff --git a/sci-misc/salome-component/salome-component-5.1.4.ebuild b/sci-misc/salome-component/salome-component-5.1.4.ebuild new file mode 100644 index 000000000..76ebfc099 --- /dev/null +++ b/sci-misc/salome-component/salome-component-5.1.4.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +PYTHON_DEPEND="2:2.4" + +inherit eutils flag-o-matic python + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. COMPONENT Component" +HOMEPAGE="http://www.salome-platform.org" +SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc mpi" + +RDEPEND="mpi? ( || ( sys-cluster/openmpi[cxx] + sys-cluster/mpich2[cxx] ) ) + debug? ( dev-util/cppunit ) + >=sci-misc/salome-kernel-${PV} + >=sci-misc/salome-gui-${PV} + >=sci-misc/salome-med-${PV} + >=x11-libs/qt-core-4.4.3 + >=x11-libs/qt-gui-4.4.3 + >=x11-libs/qt-opengl-4.4.3 + >=x11-libs/qwt-5.2 + >=dev-python/PyQt4-4.4.3 + >=sci-libs/opencascade-6.3" +DEPEND="${RDEPEND} + >=app-doc/doxygen-1.5.6 + media-gfx/graphviz + >=dev-python/docutils-0.4 + >=dev-python/sip-4.7.7 + dev-lang/swig + dev-libs/libxml2" + +MODULE_NAME="COMPONENT" +S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" +INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" +COMPONENT_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" + +pkg_setup() { + [[ $(python_get_version) > 2.4 ]] && \ + ewarn "Python 2.4 is highly recommended for Salome..." + python_set_active_version 2 + append-ldflags $(no-as-needed) +} + +src_prepare() { + rm -r -f autom4te.cache + ./build_configure +} + +src_configure() { + local myconf="" + +# --without-mpi does not disable mpi support, just omit it to disable + if use mpi; then + append-ldflags -lmpi -lmpi_cxx + if has_version ">=sys-cluster/openmpi-1.2.9"; then + myconf="${myconf} --with-mpi --with-openmpi" + elif has_version ">=sys-cluster/mpich2-1.0.8"; then + myconf="${myconf} --with-mpi --with-mpich" + append-flags -DMPICH_IGNORE_CXX_SEEK + fi + fi + + econf --prefix=${INSTALL_DIR} \ + --datadir=${INSTALL_DIR}/share/salome \ + --docdir=${INSTALL_DIR}/doc/salome \ + --infodir=${INSTALL_DIR}/share/info \ + --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ + --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + ${myconf} \ + $(use_enable debug ) \ + $(use_enable !debug production ) \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install \ + || die "emake install failed" + + use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib + + echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} + echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} + echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} + echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} + doenvd 90${P} + rm adm_local/Makefile + insinto "${INSTALL_DIR}" + doins -r adm_local + + use doc && dodoc INSTALL +} + +pkg_postinst() { + elog "Run \`env-update && source /etc/profile\`" + elog "now to set up the correct paths." + elog "" +} diff --git a/sci-misc/salome-geom/ChangeLog b/sci-misc/salome-geom/ChangeLog index e1db6d22e..5bea0fa1c 100644 --- a/sci-misc/salome-geom/ChangeLog +++ b/sci-misc/salome-geom/ChangeLog @@ -1,6 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*salome-geom-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle +salome-geom-5.1.4.ebuild: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + 29 Jun 2010; Justin Lecher salome-geom-5.1.3.ebuild: Python ABI fixes diff --git a/sci-misc/salome-geom/Manifest b/sci-misc/salome-geom/Manifest index b301d38a3..429be0057 100644 --- a/sci-misc/salome-geom/Manifest +++ b/sci-misc/salome-geom/Manifest @@ -1,15 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX salome-geom-5.1.3-qt4-path.patch 468 RMD160 6c964af8ff04e5677b15f8ead0750bb33ea1ea3d SHA1 05db7015702089319933e0e78b276c60fd1f2d07 SHA256 7c880879bb040dcbb11d34123ab5283e31ed998abff6e0f11b7c75377e52495e DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b +DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae EBUILD salome-geom-5.1.3.ebuild 3169 RMD160 c8f14aae49879e16ebd9893ec2d7903414089da5 SHA1 2dd977c991723efaa0eeda9302bbf0bda5430b49 SHA256 f817ba85628d6e836769ecf6a27437eaee237b6b34c76335ba0e383c95e19ae2 -MISC ChangeLog 1335 RMD160 b79f5add268d2d0783f57079d618db9e3e236717 SHA1 7b47a5128fa20b452c467cf61d685477499b6ba6 SHA256 45e2e3f05fe208881242285571152e71004db27990ff8b8ad92ebae3f1399d54 +EBUILD salome-geom-5.1.4.ebuild 3270 RMD160 67ff13da864df8e983dd2ccdc5a3b4ecec9a6443 SHA1 ee8546b5182bcc2f544c7761e0e6f92d1fbc5359 SHA256 e54f59e0a6cc1408b38c76ac7fc0829f9595eb13927f46848db6820205b38050 +MISC ChangeLog 1498 RMD160 547f9c910bba5705750d7e2caaf3ada928ed0a96 SHA1 977afb95d744c67f344a856cac9cdb02eac7f74e SHA256 8851edc0c05a4dc9ce13148263c5ab7a092c7e393c35ae8fd96ae4a220813418 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwqWbQACgkQgAnW8HDreRa8TgCdHJGo6O8Msyvc31We6jTOZZYZ -YgYAoMeijbB83GfYzdXmYZ+HzDAfsG0+ -=ERdL ------END PGP SIGNATURE----- diff --git a/sci-misc/salome-geom/salome-geom-5.1.4.ebuild b/sci-misc/salome-geom/salome-geom-5.1.4.ebuild new file mode 100644 index 000000000..fae74a972 --- /dev/null +++ b/sci-misc/salome-geom/salome-geom-5.1.4.ebuild @@ -0,0 +1,112 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +PYTHON_DEPEND="2:2.4" + +inherit eutils flag-o-matic python + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. GEOM component" +HOMEPAGE="http://www.salome-platform.org" +SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc mpi opengl" + +RDEPEND="opengl? ( virtual/opengl ) + mpi? ( || ( sys-cluster/openmpi[cxx] + sys-cluster/mpich2[cxx] ) ) + debug? ( dev-util/cppunit ) + >=sci-misc/salome-kernel-${PV} + >=sci-misc/salome-gui-${PV} + >=dev-python/omniorbpy-3.4 + >=net-misc/omniORB-4.1.4 + >=x11-libs/qt-core-4.5.2 + >=x11-libs/qt-gui-4.5.2 + >=x11-libs/qt-opengl-4.5.2 + >=sci-libs/opencascade-6.3 + >=dev-libs/boost-1.40.0 + >=sci-libs/vtk-5.0[python] + >=sci-libs/hdf5-1.6.4" + +DEPEND="${RDEPEND} + >=app-doc/doxygen-1.5.6 + media-gfx/graphviz + >=dev-python/docutils-0.4 + dev-lang/swig" + +MODULE_NAME="GEOM" +S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" +INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" +GEOM_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" + +pkg_setup() { + [[ $(python_get_version) > 2.4 ]] && \ + ewarn "Python 2.4 is highly recommended for Salome..." + python_set_active_version 2 + append-ldflags $(no-as-needed) +} + +src_prepare() { + #epatch "${FILESDIR}"/${P}-qt4-path.patch + + rm -r -f autom4te.cache + ./clean_configure + ./build_configure +} + +src_configure() { + local vtk_suffix="" + + has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" + has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" + has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" + has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" + + econf --prefix=${INSTALL_DIR} \ + --datadir=${INSTALL_DIR}/share/salome \ + --docdir=${INSTALL_DIR}/doc/salome \ + --infodir=${INSTALL_DIR}/share/info \ + --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ + --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-vtk=${VTKHOME} \ + --with-vtk-version=${vtk_suffix} \ + --with-qt='/usr' \ + $(use_enable debug ) \ + $(use_enable debug debug ) \ + $(use_enable !debug production ) \ + $(use_with opengl opengl /usr) \ + || die "econf failed" +} + +src_compile() { + MAKEOPTS="-j1" emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib + + echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} + echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} + echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} + echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} + doenvd 90${P} + rm adm_local/Makefile adm_local/unix/Makefile adm_local/cmake_files/Makefile + insinto "${INSTALL_DIR}" + doins -r adm_local + + use doc && dodoc INSTALL +} + +pkg_postinst() { + elog "Run \`env-update && source /etc/profile\`" + elog "now to set up the correct paths." + elog "" +} diff --git a/sci-misc/salome-gui/ChangeLog b/sci-misc/salome-gui/ChangeLog index 5180a58dc..eb44277d1 100644 --- a/sci-misc/salome-gui/ChangeLog +++ b/sci-misc/salome-gui/ChangeLog @@ -1,6 +1,12 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*salome-gui-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle +salome-gui-5.1.4.ebuild, + +files/salome-gui-5.1.4-qt4-path.patch: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + 29 Jun 2010; Justin Lecher salome-gui-5.1.3.ebuild: Python ABI fixes diff --git a/sci-misc/salome-gui/Manifest b/sci-misc/salome-gui/Manifest index 7f64f2b2b..6ed97205a 100644 --- a/sci-misc/salome-gui/Manifest +++ b/sci-misc/salome-gui/Manifest @@ -1,15 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX salome-gui-5.1.3-qt4-path.patch 466 RMD160 eccedc638d748a4cfa0e394ebe04cc748bacbc5e SHA1 539a3105d97c38a4d30fd8e8620af63fe4278568 SHA256 051e0e2c75328e4a9b301d33ba77944befbc2603c656c096a05db8cb64f70fc0 +AUX salome-gui-5.1.4-qt4-path.patch 466 RMD160 f7ecdcead70f66a3e2d7e1e9ace6d12cbc79db67 SHA1 54d07e63908894c8353dbd7d70ef9990e1036b5d SHA256 4a02e9e4ad99a028df2a56d02bb97cf488ef19ab182c2064bd4e2bc7523700f8 DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b +DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae EBUILD salome-gui-5.1.3.ebuild 3293 RMD160 acc52e299dd3c795c976b5e4494b1a95851b5a5f SHA1 5aeb7a9884d1c6236e21dff4fa592d2f149a9def SHA256 e0afe20dda77e3c585844f402845f4c4eb91c2c4bff88a5ef857e4306d725fa1 -MISC ChangeLog 2385 RMD160 6507b7aa1a8364168f2f3a557fe3fd837a9595ed SHA1 9cc049a78168be5db47498b338eae62dca2ce5f6 SHA256 85efae3afb547156c504df0c1ff28fee577f0186aac47d1e316755c11837e4b0 +EBUILD salome-gui-5.1.4.ebuild 3380 RMD160 b58a84be346d259b64cf937b787bd269ff531edf SHA1 69e84d04ef72c4d09c3aa115b07c99f731917cf4 SHA256 80a0d411174af702e0824197b250aecabdca1a11d631157dec05caed2b5ccd43 +MISC ChangeLog 2588 RMD160 5b01f59e14b75f281b54d8c3e92f5ac260c2b1c6 SHA1 91378f406117e6fcd420befba13a7cc6592263eb SHA256 660bca45a6496fa25456e515a630fca037df0e3f691bb93e61887b4f0bf8a064 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwqWewACgkQgAnW8HDreRbuNgCeO2f9ZqFYDJJmcBcxIAk6viy3 -pCIAoMOIj9v/CWWWOYVh8sK+6rMuyXMU -=lrSs ------END PGP SIGNATURE----- diff --git a/sci-misc/salome-gui/files/salome-gui-5.1.4-qt4-path.patch b/sci-misc/salome-gui/files/salome-gui-5.1.4-qt4-path.patch new file mode 100644 index 000000000..e29bd76df --- /dev/null +++ b/sci-misc/salome-gui/files/salome-gui-5.1.4-qt4-path.patch @@ -0,0 +1,11 @@ +--- src5.1.4.orig/GUI_SRC_5.1.4/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:00:58.281572535 +0100 ++++ src5.1.4/GUI_SRC_5.1.4/adm_local/unix/config_files/check_qt.m4 2010-03-06 21:03:34.110325466 +0100 +@@ -333,7 +333,7 @@ + + LIBS_old=$LIBS + if test "x$QTDIR" = "x/usr" ; then +- QT_LIB_DIR="" ++ QT_LIB_DIR="-L/usr/lib${LIB_LOCATION_SUFFIX}/qt4" + elif test -d ${QTDIR}/lib; then + QT_LIB_DIR="-L$QTDIR/lib" + elif test -d ${QTDIR}/lib64; then diff --git a/sci-misc/salome-gui/salome-gui-5.1.4.ebuild b/sci-misc/salome-gui/salome-gui-5.1.4.ebuild new file mode 100644 index 000000000..d34b36744 --- /dev/null +++ b/sci-misc/salome-gui/salome-gui-5.1.4.ebuild @@ -0,0 +1,117 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +PYTHON_DEPEND="2:2.4" + +inherit eutils flag-o-matic python + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. GUI component" +HOMEPAGE="http://www.salome-platform.org" +SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc opengl" + +RDEPEND="opengl? ( virtual/opengl ) + debug? ( dev-util/cppunit ) + >=sci-misc/salome-kernel-${PV} + >=net-misc/omniORB-4.1.4 + >=dev-python/omniorbpy-3.4 + >=sci-libs/hdf5-1.6.4 + >=dev-libs/boost-1.40.0 + >=x11-libs/qt-core-4.5.2 + >=x11-libs/qt-gui-4.5.2 + >=x11-libs/qt-opengl-4.5.2 + >=x11-libs/qwt-5.2 + >=dev-python/PyQt4-4.5.4 + >=sci-libs/vtk-5.0[python,mpi] + >=sci-libs/opencascade-6.3 + app-text/dgs" + +DEPEND="${RDEPEND} + >=app-doc/doxygen-1.5.6 + media-gfx/graphviz + >=dev-python/sip-4.8.2 + dev-lang/swig + dev-libs/libxml2" + +MODULE_NAME="GUI" +S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" +INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" +GUI_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" + +pkg_setup() { + [[ $(python_get_version) > 2.4 ]] && \ + ewarn "Python 2.4 is highly recommended for Salome..." + python_set_active_version 2 + append-ldflags $(no-as-needed) +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-qt4-path.patch + + rm -r -f autom4te.cache + ./clean_configure + ./build_configure +} + +src_configure() { + local vtk_suffix="" + + has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" + has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" + has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" + has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" + + econf --prefix=${INSTALL_DIR} \ + --datadir=${INSTALL_DIR}/share/salome \ + --docdir=${INSTALL_DIR}/doc/salome \ + --infodir=${INSTALL_DIR}/share/info \ + --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ + --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-qt=/usr \ + --with-qwt=/usr \ + --with-qwt_inc=/usr/include/qwt5 \ + --with-vtk=${VTKHOME} \ + --with-vtk-version=${vtk_suffix} \ + ${myconf} \ + $(use_enable debug ) \ + $(use_enable !debug production ) \ + $(use_with debug cppunit /usr ) \ + $(use_with opengl opengl /usr) \ + || die "econf failed" +} + +src_compile() { + MAKEOPTS="-j1" emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib + + echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} + echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} + echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} + echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} + doenvd 90${P} + rm adm_local/Makefile adm_local/unix/Makefile adm_local/cmake_files/Makefile \ + adm_local/unix/config_files/Makefile + + insinto "${INSTALL_DIR}" + doins -r adm_local + use doc && dodoc AUTHORS INSTALL NEWS README +} + +pkg_postinst() { + elog "Run \`env-update && source /etc/profile\`" + elog "now to set up the correct paths." + elog "" +} diff --git a/sci-misc/salome-kernel/ChangeLog b/sci-misc/salome-kernel/ChangeLog index 1332a03c5..8688d4c00 100644 --- a/sci-misc/salome-kernel/ChangeLog +++ b/sci-misc/salome-kernel/ChangeLog @@ -2,6 +2,13 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*salome-kernel-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle +salome-kernel-5.1.4.ebuild, + +files/salome-kernel-5.1.4-openmpi.patch, + +files/salome-kernel-5.1.4-python-2.6.patch: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + 29 Jun 2010; Justin Lecher salome-kernel-5.1.3.ebuild: Python ABI fixes diff --git a/sci-misc/salome-kernel/Manifest b/sci-misc/salome-kernel/Manifest index 2a44d66d8..c272da01f 100644 --- a/sci-misc/salome-kernel/Manifest +++ b/sci-misc/salome-kernel/Manifest @@ -1,18 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX salome-kernel-5.1.3-lib_location.patch 532 RMD160 852dd572d00008217256fe980a55d761d7192cea SHA1 fee095613301325cef6bf66b9f6a0f5da4c5ae06 SHA256 5f4e16f9c9c5f11233cd69b0723017543f46c1697c18f22ea650a104feba7998 AUX salome-kernel-5.1.3-openmpi.patch 771 RMD160 28c2b4f26c450e23117726cabe299836f88e3192 SHA1 a114862c6320ce0828145a171f5fc55437d486b3 SHA256 720a235568eacde244ca68e18b9eae64b54bba65ece15247ff7363252d38d81d AUX salome-kernel-5.1.3-python-2.6.patch 765 RMD160 3ed18d32155d35bdee4ff7bb27b706cb854d602b SHA1 8bdd812c3a1333a2467f0340db573d895f17deb8 SHA256 2d88ded3a1e2bf04e2874803cf7ee8f125032af2996afb9992e3743509ae39bd +AUX salome-kernel-5.1.4-openmpi.patch 771 RMD160 3b3fdd5550fb3d2b24b5c31ba9e820c7d0788075 SHA1 999f22e6c16ef17528a77e7c07e370180f502fc2 SHA256 cb24d46ad8866594c97aae49898a926dfcbd05b41f0236bbf139a6667e660bf9 +AUX salome-kernel-5.1.4-python-2.6.patch 765 RMD160 59828627ed69184e039d1c9d90b9e2a988bb01fd SHA1 335af09c980f53b70b7f88753de164a47e633379 SHA256 7d17ce8599f222de12d04d430fffe7da75ab31fd3361c19435f4b58126ce7d79 AUX salome-kernel.png 1934 RMD160 700c6d3a96df0576582af4c2d77f1588cf385ab6 SHA1 4aca0bb3b2331ec4253fdc299777012501841508 SHA256 df2ee182545ccaf1081bd3687b984ccd0b4d0166698cd7a403f138055bcb8ec2 DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b +DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae EBUILD salome-kernel-5.1.3.ebuild 3641 RMD160 650c46f36e898b748bd174de5dc96c4dde40ae20 SHA1 3f8ce38d9d0c4ad47fb3f42b2c00a2d9621a6da1 SHA256 94e65c7e40162e879cd32b23fbe4633895ee4d86f4c2be5226ed024312cd375e -MISC ChangeLog 3289 RMD160 ae912e1bab7b1a5f7035fedc320f3c63612abde7 SHA1 5c1076dd75b7724087cc2c9442f08fbc712f1b50 SHA256 0826c4e7c76f9fedee9c7f3d26a7bbebfd57568be4a31ea0669cd9e0ad38727f +EBUILD salome-kernel-5.1.4.ebuild 3641 RMD160 650c46f36e898b748bd174de5dc96c4dde40ae20 SHA1 3f8ce38d9d0c4ad47fb3f42b2c00a2d9621a6da1 SHA256 94e65c7e40162e879cd32b23fbe4633895ee4d86f4c2be5226ed024312cd375e +MISC ChangeLog 3547 RMD160 09483a05087fdb7c8770716758fb1dcc6618dcd4 SHA1 72e7961b0bbdb6003c9a28b41b6e6f0bade992e5 SHA256 d78b78bcea7cd5c84f02a7b01264884d9bb4b2306dba29c692f30b21beb4e750 MISC metadata.xml 247 RMD160 e1c681233bddd30ebb6140396aa6b8531cad2654 SHA1 aaf4d3d22ca073fc6b2858d3775ef9458f98c283 SHA256 0da057781b1ed4721163e092cab86b9ee862a15d6bc20c8c6877000daca4c394 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwqWgYACgkQgAnW8HDreRY0GQCfa1gl3V3+ttrTyN9tGUC6qwRj -y/0AnjcxwckUL+JFAdi6uDUcfkdhk0qz -=nu1f ------END PGP SIGNATURE----- diff --git a/sci-misc/salome-kernel/files/salome-kernel-5.1.4-openmpi.patch b/sci-misc/salome-kernel/files/salome-kernel-5.1.4-openmpi.patch new file mode 100644 index 000000000..daa51bbbf --- /dev/null +++ b/sci-misc/salome-kernel/files/salome-kernel-5.1.4-openmpi.patch @@ -0,0 +1,21 @@ +--- src5.1.4.orig/KERNEL_SRC_5.1.4/salome_adm/unix/config_files/check_mpi.m4 2008-12-10 10:14:34.000000000 +0100 ++++ src5.1.4/KERNEL_SRC_5.1.4/salome_adm/unix/config_files/check_mpi.m4 2009-09-29 10:14:56.821299268 +0200 +@@ -76,7 +76,7 @@ + + if test "$WITHMPI" = "yes";then + mpi_ok=yes +- MPI_LIBS="$MPI_LIBS -lmpi -lmpio -lmpiCC" ++ MPI_LIBS="$MPI_LIBS -lmpi -lmpi_cxx" + else + mpi_ok=no + fi +--- src5.1.4.orig/KERNEL_SRC_5.1.4/src/Communication/SALOME_Comm_i.hxx 2008-12-10 10:14:33.000000000 +0100 ++++ src5.1.4/KERNEL_SRC_5.1.4/src/Communication/SALOME_Comm_i.hxx 2009-09-29 11:10:13.227293648 +0200 +@@ -25,6 +25,7 @@ + #include + + #ifdef HAVE_MPI2 ++#define OMPI_IGNORE_CXX_SEEK 1 + #include "mpi.h" + #endif + #include diff --git a/sci-misc/salome-kernel/files/salome-kernel-5.1.4-python-2.6.patch b/sci-misc/salome-kernel/files/salome-kernel-5.1.4-python-2.6.patch new file mode 100644 index 000000000..2395d95bc --- /dev/null +++ b/sci-misc/salome-kernel/files/salome-kernel-5.1.4-python-2.6.patch @@ -0,0 +1,13 @@ +Only in src5.1.4/KERNEL_SRC_5.1.4/src/KERNEL_PY: .import_hook.py.swp +diff -ur src5.1.4.orig/KERNEL_SRC_5.1.4/src/KERNEL_PY/import_hook.py src5.1.4/KERNEL_SRC_5.1.4/src/KERNEL_PY/import_hook.py +--- src5.1.4.orig/KERNEL_SRC_5.1.4/src/KERNEL_PY/import_hook.py 2010-03-07 17:35:38.450323100 +0100 ++++ src5.1.4/KERNEL_SRC_5.1.4/src/KERNEL_PY/import_hook.py 2010-03-07 17:37:18.940255407 +0100 +@@ -150,7 +150,7 @@ + l.append((subname,submod)) + return l + +-def import_hook(name, globals=None, locals=None, fromlist=None, *args): ++def import_hook(name, globals=None, locals=None, fromlist=None, level=-1, *args): + """ Import replacement for sharing modules among multiple interpreters + Mostly update sys.modules before doing real import + """ diff --git a/sci-misc/salome-kernel/salome-kernel-5.1.4.ebuild b/sci-misc/salome-kernel/salome-kernel-5.1.4.ebuild new file mode 100644 index 000000000..98fbac271 --- /dev/null +++ b/sci-misc/salome-kernel/salome-kernel-5.1.4.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +PYTHON_DEPEND="2:2.4" + +inherit eutils python + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. KERNEL Component" +HOMEPAGE="http://www.salome-platform.org" +SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc mpi numpy" + +RDEPEND="mpi? ( || ( sys-cluster/openmpi[cxx] + sys-cluster/mpich2[cxx] ) ) + debug? ( dev-util/cppunit ) + numpy? ( dev-python/numpy ) + >=dev-python/omniorbpy-3.4 + >=net-misc/omniORB-4.1.4 + >=dev-libs/boost-1.40.0 + sci-libs/hdf5" + +DEPEND="${RDEPEND} + >=app-doc/doxygen-1.5.6 + media-gfx/graphviz + dev-python/docutils + dev-lang/swig + dev-libs/libxml2 + >=dev-python/docutils-0.4" + +MODULE_NAME="KERNEL" +S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" +INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" +KERNEL_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" + +pkg_setup() { + [[ $(python_get_version) > 2.4 ]] && \ + ewarn "Python 2.4 is highly recommended for Salome..." + + #Warn about mpi use flag for hdf5 + has_version "sci-libs/hdf5[mpi]" && + ewarn "mpi use flag enabled for sci-libs/hdf5, this may cause the build to fail for salome-kernel" + python_set_active_version 2 +} + +src_prepare() { + use amd64 && epatch "${FILESDIR}"/${P}-lib_location.patch + [[ $(python_get_version) == 2.6 ]] && \ + epatch "${FILESDIR}"/${P}-python-2.6.patch + + has_version "sys-cluster/openmpi" && \ + epatch "${FILESDIR}"/${P}-openmpi.patch + + ./clean_configure + ./build_configure +} + +src_configure() { + local myconf="" + +# --without-mpi does not disable mpi support, just omit it to disable + if use mpi; then + if has_version ">=sys-cluster/openmpi-1.2.9"; then + myconf="${myconf} --with-mpi --with-openmpi" + elif has_version ">=sys-cluster/mpich2-1.0.8"; then + myconf="${myconf} --with-mpi --with-mpich" + fi + fi + + econf --prefix=${INSTALL_DIR} \ + --docdir=${INSTALL_DIR}/share/doc/salome \ + --infodir=${INSTALL_DIR}/share/info \ + --datadir=${INSTALL_DIR}/share/salome \ + --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --enable-corba-gen \ + ${myconf} \ + $(use_enable mpi parallel_extension ) \ + $(use_enable debug ) \ + $(use_enable !debug production ) \ + $(use_with debug cppunit /usr ) \ + || die "econf failed" +} + +src_install() { + MAKEOPTS="-j1" emake DESTDIR="${D}" install || die "emake install failed" + + use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib + + echo "KERNEL_ROOT_DIR=${INSTALL_DIR}" > ./90${P} + echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} + echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} + echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} + doenvd 90${P} + use doc && dodoc AUTHORS ChangeLog INSTALL NEWS README README.FIRST.txt + + # Install icon and .desktop for menu entry + doicon "${FILESDIR}"/${PN}.png + make_desktop_entry runSalome Salome ${PN} "Science;Engineering" +} + +pkg_postinst() { + elog "Run \`env-update && source /etc/profile\`" + elog "now to set up the correct paths." + elog "" + + ewarn "note a small change to /etc/hosts may be required" + ewarn "salome doesn't seem to recognise localhost within the hosts file" + ewarn "a line such as" + ewarn "127.0.0.1 name.domain name" + ewarn "may be required within /etc/hosts" + ewarn "" +} diff --git a/sci-misc/salome-med/ChangeLog b/sci-misc/salome-med/ChangeLog index fde581e7e..58ed3ee44 100644 --- a/sci-misc/salome-med/ChangeLog +++ b/sci-misc/salome-med/ChangeLog @@ -2,6 +2,14 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*salome-med-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle +salome-med-5.1.4.ebuild, + +files/salome-med-5.1.4-check_metis.patch, + +files/salome-med-5.1.4-check_scotch.patch, + +files/salome-med-5.1.4-gcc.patch, +files/salome-med-5.1.4-scotch.patch: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + 29 Jun 2010; Justin Lecher salome-med-5.1.3.ebuild: Python ABI fixes diff --git a/sci-misc/salome-med/Manifest b/sci-misc/salome-med/Manifest index f41a2ca54..19b205070 100644 --- a/sci-misc/salome-med/Manifest +++ b/sci-misc/salome-med/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX salome-med-5.1.3-check_metis.patch 1573 RMD160 fdcc8a1fcba4d16f4c3a8e8636820c49876476b7 SHA1 28b0021cabc939a7f45df84e36953ea4cf1622f5 SHA256 471f36d3ecb15c5ebf6e4664237958c6f6b01f84d9fb4a184c5d5cf988721aac AUX salome-med-5.1.3-check_scotch.patch 2538 RMD160 b501d483cdf6accd0f562676179d1be9ecfa038a SHA1 0ad2ef4901f02396c812b26e6e0264c3ae3321d4 SHA256 6802967adc584ba37317c85a8a100cef4734ce12515732b271e9057d788d14ff AUX salome-med-5.1.3-gcc.patch 1641 RMD160 09962970219edb007984413cd1a010044ec19cef SHA1 233f51828285c4b9fe0dc5a473fa76f7dc8fb2aa SHA256 a6c70ba8dc12f6c2a11565c9551801dc8d3eee63435f2c6977bd2e4d5e545241 @@ -8,14 +5,13 @@ AUX salome-med-5.1.3-med_int.patch 15420 RMD160 46314924e3f8fbf1347f736f47a92727 AUX salome-med-5.1.3-mpi.patch 780 RMD160 cc39b630de3f2576fea941b01aa1543b25547dee SHA1 c6afde49f3315e41ad034083290d449a57d3b82b SHA256 8ffd65e56b57ffa3351cc5451562ded665bd3ccba2ccd53865868b763c2bc616 AUX salome-med-5.1.3-qt4-path.patch 466 RMD160 1be9c383e3db380bc1d9a91792d89fa65071685f SHA1 4c4bcde03173ee5f911a925bd7190215761bdab3 SHA256 94b4730b80bfd6abd71d203309467cb4a0fc027d8dbc634633b1f0f4f8e3a08d AUX salome-med-5.1.3-scotch.patch 411 RMD160 9ecd63a9cd71e6f6a4767c30baa135b6f3e3dadc SHA1 44eb2455570716883643b9c08160924a40c9ef0c SHA256 717c995a718f52ef889c4f204457d22614d85696bb0cca3df96756906791464a +AUX salome-med-5.1.4-check_metis.patch 1573 RMD160 6161d11c4f2bfc9c0c56bb4eb21dd362a2b48091 SHA1 c135ba372ab0b776b3ed78618486947a5ff2f007 SHA256 9e2c46b3e4e855621495a09f311150d62c9d7429db578c3bebd0c0ffe0388e63 +AUX salome-med-5.1.4-check_scotch.patch 2538 RMD160 1fe609bb4be7c5b3dff640f1a270bf896ac093bd SHA1 d3b87bd90c0cd0153959bdfd25277913d02c3362 SHA256 77d8add6d3584140d9607716a1786acf1f22be187710c55e5b66fc2a14329146 +AUX salome-med-5.1.4-gcc.patch 420 RMD160 e6d00d77e70a3906f43dab76f97025c287adc29c SHA1 13d5772327ef961ae4937af415f613b84810dba3 SHA256 cc1a5b0599e149c1448c1993fdfdcb2af1ad8c2b1921e0ac6b8b018c349a9d47 +AUX salome-med-5.1.4-scotch.patch 411 RMD160 1a096ab3ba71c5e7c0f2e654022255af8f30f4dc SHA1 9fc334b2a4d5b75a7457e56157f5b2a1537d8adb SHA256 79d3e87c52bebc2a6a7fb06fcd4fed4fe366aa8403615d3e60c9790068734fb4 DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b +DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae EBUILD salome-med-5.1.3.ebuild 3824 RMD160 4b1fa2beb4c1afa047428393997acc9e264a404d SHA1 fdf46ab845d952d5444e374cb5095c7351c94107 SHA256 cadec99cf8b5c8609575c2be8c8c19f5bf8bbac2fee4f9497047281334cc2167 -MISC ChangeLog 2644 RMD160 a5a9b7ea508c23f180a0ee473e6cc7e31bf5d526 SHA1 1592628adef96612d203768455ca305df34e89f0 SHA256 1cbe8cb1b646646853b313d3bd965e2dc601cee43b24024b8b3fb4a280d1080c +EBUILD salome-med-5.1.4.ebuild 3869 RMD160 dfbe03227b3bde72ec08dad18356a79d2184085b SHA1 a9ebb07623d8b8ce9d2a5322516a440184ee803e SHA256 1f414c79119f015d1a91d2fa53a8b4b0ba243f447e05e3a4d0954cdc5b89dee2 +MISC ChangeLog 2971 RMD160 fedfd026bfdfb3bc8c76657e35a13925727c3777 SHA1 d10d91a3b13481dccf0acbd76e1f92bd7daf849e SHA256 8b86b200e26c0b74c1378c7ac7520bf8e0db0e9fbf693b54d33d1ecd1d8d92c3 MISC metadata.xml 274 RMD160 81f0dbbb32fd2de80832c9872616b0a48b2d4c04 SHA1 72f2c4ce931ef27e7f913218049757f318f0415d SHA256 49d1680ffc0598f56db8198488dc66263eef05571d59bb3875e0a8858f54f5e4 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwqWh0ACgkQgAnW8HDreRZLUACeKVEAtxSG/JpvAfkdTs+vtH30 -yf8AoIXIVLV0K2SgRsXFOyI/gPqZqbzi -=/n4m ------END PGP SIGNATURE----- diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-check_metis.patch b/sci-misc/salome-med/files/salome-med-5.1.4-check_metis.patch new file mode 100644 index 000000000..a572ad6ae --- /dev/null +++ b/sci-misc/salome-med/files/salome-med-5.1.4-check_metis.patch @@ -0,0 +1,48 @@ +--- src5.1.4/MED_SRC_5.1.4/adm_local/unix/config_files/check_metis.m4.orig 2009-09-27 22:35:51.014701709 +0200 ++++ src5.1.4/MED_SRC_5.1.4/adm_local/unix/config_files/check_metis.m4 2009-09-27 22:41:46.471297649 +0200 +@@ -28,6 +28,10 @@ + + METIS_CPPFLAGS="" + METIS_LIBSUFFIX="" ++case "$build_cpu" in ++x86_64*) METIS_LIBSUFFIX="64" ;; ++*) METIS_LIBSUFFIX="" ;; ++esac + METIS_LIBS="" + ENABLE_METIS="no" + +@@ -43,8 +47,8 @@ + LIBS_old=$LIBS + + if test "x${METISDIR}" != "x" ; then +- METIS_CPPFLAGS="-DENABLE_METIS -I${METISDIR}/Lib" +- METIS_LIBS="-L${METISDIR} -lmetis" ++ METIS_CPPFLAGS="-DENABLE_METIS -I${METISDIR}/include/metis" ++ METIS_LIBS="-L${METISDIR}/lib${METIS_LIBSUFFIX} -lmetis" + fi + + metis_ok=no +@@ -57,7 +61,7 @@ + + metis_include_dir_ok=yes + if test "x${METISDIR}" != "x" ; then +- AC_CHECK_FILE(${METISDIR}/Lib/metis.h, ++ AC_CHECK_FILE(${METISDIR}/include/metis/metis.h, + metis_include_dir_ok=yes, + metis_include_dir_ok=no) + fi +@@ -81,12 +85,12 @@ + AC_CHECKING(for METIS binaries) + metis_lib_dir_ok=yes + if test "x${METISDIR}" != "x" ; then +- AC_CHECK_FILE(${METISDIR}/libmetis.a, ++ AC_CHECK_FILE(${METISDIR}/lib${METIS_LIBSUFFIX}/libmetis.a, + metis_lib_dir_ok=yes, + metis_lib_dir_ok=no) + if test "x${metis_lib_dir_ok}" = "xno" ; then + METIS_LIBSUFFIX="" +- AC_CHECK_FILE(${METISDIR}/libmetis.a, ++ AC_CHECK_FILE(${METISDIR}/lib${METIS_LIBSUFFIX}/libmetis.a, + metis_lib_dir_ok=yes, + metis_lib_dir_ok=no) + fi diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-check_scotch.patch b/sci-misc/salome-med/files/salome-med-5.1.4-check_scotch.patch new file mode 100644 index 000000000..bcf050914 --- /dev/null +++ b/sci-misc/salome-med/files/salome-med-5.1.4-check_scotch.patch @@ -0,0 +1,74 @@ +--- src5.1.4/MED_SRC_5.1.4/adm_local/unix/config_files/check_scotch.m4.orig 2009-09-27 23:07:31.245061430 +0200 ++++ src5.1.4/MED_SRC_5.1.4/adm_local/unix/config_files/check_scotch.m4 2009-09-27 23:11:02.080868671 +0200 +@@ -28,6 +28,10 @@ + + SCOTCH_CPPFLAGS="" + SCOTCH_LIBSUFFIX="" ++case "$build_cpu" in ++x86_64*) SCOTCH_LIBSUFFIX="64" ;; ++*) SCOTCH_LIBSUFFIX="" ;; ++esac + SCOTCH_LIBS="" + ENABLE_SCOTCH="no" + +@@ -43,8 +47,8 @@ + LIBS_old=$LIBS + + if test "x${SCOTCHDIR}" != "x" ; then +- SCOTCH_CPPFLAGS="-DENABLE_SCOTCH -I${SCOTCHDIR}" +- SCOTCH_LIBS="-L${SCOTCHDIR}/bin -lscotch -lscotcherr" ++ SCOTCH_CPPFLAGS="-DENABLE_SCOTCH -I${SCOTCHDIR}/include/scotch" ++ SCOTCH_LIBS="-L${SCOTCHDIR}/lib${SCOTCH_LIBSUFFIX} -lscotch -lscotcherr" + fi + + scotch_ok=no +@@ -57,14 +61,14 @@ + + scotch_include_dir_ok=yes + if test "x${SCOTCHDIR}" != "x" ; then +- AC_CHECK_FILE(${SCOTCHDIR}/bin/scotch.h, ++ AC_CHECK_FILE(${SCOTCHDIR}/include/scotch/scotch.h, + scotch_include_dir_ok=yes, + scotch_include_dir_ok=no) + fi + + if test "x${scotch_include_dir_ok}" = "xyes" ; then + AC_TRY_COMPILE([#include +- #include ], ++ #include ], + [SCOTCH_Graph* graph; + SCOTCH_graphInit(graph)], + scotch_headers_ok=yes, +@@ -83,12 +87,12 @@ + AC_CHECKING(for SCOTCH binaries) + scotch_lib_dir_ok=yes + if test "x${SCOTCHDIR}" != "x" ; then +- AC_CHECK_FILE(${SCOTCHDIR}/bin/libscotch.a, ++ AC_CHECK_FILE(${SCOTCHDIR}/lib${SCOTCH_LIBSUFFIX}/libscotch.a, + scotch_lib_dir_ok=yes, + scotch_lib_dir_ok=no) + if test "x${scotch_lib_dir_ok}" = "xno" ; then + SCOTCH_LIBSUFFIX="" +- AC_CHECK_FILE(${SCOTCHDIR}/bin/libscotch.a, ++ AC_CHECK_FILE(${SCOTCHDIR}/lib${SCOTCH_LIBSUFFIX}/libscotch.a, + scotch_lib_dir_ok=yes, + scotch_lib_dir_ok=no) + fi +@@ -96,7 +100,7 @@ + if test "x${scotch_lib_dir_ok}" = "xyes" ; then + LIBS="${LIBS_old} ${SCOTCH_LIBS}" + AC_TRY_LINK([#include +- #include ], ++ #include ], + [SCOTCH_Graph* graph; + SCOTCH_graphInit(graph)], + scotch_binaries_ok=yes, +@@ -105,7 +109,7 @@ + SCOTCH_LIBSUFFIX="" + LIBS="${LIBS_old} ${SCOTCH_LIBS} " + AC_TRY_LINK([#include +- #include ], ++ #include ], + [SCOTCH_Graph* graph; + SCOTCH_graphInit(graph)], + scotch_binaries_ok=yes, diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-gcc.patch b/sci-misc/salome-med/files/salome-med-5.1.4-gcc.patch new file mode 100644 index 000000000..102cb913d --- /dev/null +++ b/sci-misc/salome-med/files/salome-med-5.1.4-gcc.patch @@ -0,0 +1,11 @@ +--- ./src5.1.4.orig/MED_SRC_5.1.4/src/INTERPOLATION/create_mesh_interpolation.c 2010-03-13 13:14:50.721209673 +0100 ++++ ./src5.1.4/MED_SRC_5.1.4/src/INTERPOLATION/create_mesh_interpolation.c 2010-03-13 13:15:35.420479255 +0100 +@@ -21,7 +21,7 @@ + // + #include + #include +- ++#include + + /*****************************************************************************************************/ + diff --git a/sci-misc/salome-med/files/salome-med-5.1.4-scotch.patch b/sci-misc/salome-med/files/salome-med-5.1.4-scotch.patch new file mode 100644 index 000000000..4045559d0 --- /dev/null +++ b/sci-misc/salome-med/files/salome-med-5.1.4-scotch.patch @@ -0,0 +1,11 @@ +--- src5.1.4.orig/MED_SRC_5.1.4/src/MEDSPLITTER/MEDSPLITTER_SCOTCHGraph.cxx 2008-12-10 10:14:43.000000000 +0100 ++++ src5.1.4/MED_SRC_5.1.4/src/MEDSPLITTER/MEDSPLITTER_SCOTCHGraph.cxx 2009-09-27 23:26:59.010112791 +0200 +@@ -19,7 +19,7 @@ + #include + extern "C" { + #define restrict +-#include "bin/scotch.h" ++#include "scotch.h" + } + #include "MEDSPLITTER_Graph.hxx" + #include "MEDSPLITTER_SCOTCHGraph.hxx" diff --git a/sci-misc/salome-med/salome-med-5.1.4.ebuild b/sci-misc/salome-med/salome-med-5.1.4.ebuild new file mode 100644 index 000000000..c90ef8ea0 --- /dev/null +++ b/sci-misc/salome-med/salome-med-5.1.4.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +PYTHON_DEPEND="2:2.4" + +inherit eutils flag-o-matic python + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. MED Component" +HOMEPAGE="http://www.salome-platform.org" +SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc mpi metis opengl scotch" + +RDEPEND="opengl? ( virtual/opengl ) + mpi? ( || ( sys-cluster/openmpi[cxx] + sys-cluster/mpich2[cxx] ) ) + debug? ( dev-util/cppunit ) + metis? ( >=sci-libs/metis-4.0 ) + scotch? ( >=sci-libs/scotch-4.0 ) + >=sci-misc/salome-kernel-${PV} + >=sci-misc/salome-gui-${PV} + >=x11-libs/qt-core-4.5.2 + >=x11-libs/qt-gui-4.5.2 + >=x11-libs/qt-opengl-4.5.2 + >=dev-libs/boost-1.40.0 + >=sci-libs/opencascade-6.3 + >=sci-libs/med-2.3.5 + >=sci-libs/vtk-5.0[python]" + +DEPEND="${RDEPEND} + dev-lang/swig + dev-libs/libxml2" + +MODULE_NAME="MED" +S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" +INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" +MED_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" + +pkg_setup() { + [[ $(python_get_version) > 2.4 ]] && \ + ewarn "Python 2.4 is highly recommended for Salome..." + python_set_active_version 2 + append-ldflags $(no-as-needed) +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gcc.patch + use mpi && epatch "${FILESDIR}"/${P}-mpi.patch + use metis && epatch "${FILESDIR}"/${P}-check_metis.patch + if use scotch; then + epatch "${FILESDIR}"/${P}-check_scotch.patch + epatch "${FILESDIR}"/${P}-scotch.patch + fi + use amd64 && epatch "${FILESDIR}"/${P}-med_int.patch + + rm -r -f autom4te.cache + ./clean_configure + ./build_configure +} + +src_configure() { + local myconf="" + local vtk_suffix="" + + has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" + has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" + has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" + has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" + +# --without-mpi does not disable mpi support, just omit it to disable + if use mpi; then + if has_version ">=sys-cluster/openmpi-1.2.9"; then + myconf="${myconf} --with-mpi --with-openmpi" + elif has_version ">=sys-cluster/mpich2-1.0.8"; then + myconf="${myconf} --with-mpi --with-mpich" + fi + fi + + use amd64 && append-flags -DHAVE_F77INT64 + + econf --prefix=${INSTALL_DIR} \ + --datadir=${INSTALL_DIR}/share/salome \ + --docdir=${INSTALL_DIR}/doc/salome \ + --infodir=${INSTALL_DIR}/share/info \ + --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ + --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-qt=/usr \ + --with-vtk=${VTKHOME} \ + --with-vtk-version=${vtk_suffix} \ + ${myconf} \ + $(use_enable debug ) \ + $(use_enable !debug production ) \ + $(use_with debug cppunit_inc /usr/include/cppunit) \ + $(use_with opengl opengl /usr) \ + $(use_with metis metis /usr) \ + $(use_with scotch scotch /usr) \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib + + echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} + echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} + echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} + echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} + doenvd 90${P} + rm adm_local/Makefile + insinto "${INSTALL_DIR}" + doins -r adm_local + + use doc && dodoc INSTALL README +} + +pkg_postinst() { + elog "Run \`env-update && source /etc/profile\`" + elog "now to set up the correct paths." + elog "" +} diff --git a/sci-misc/salome-meta/ChangeLog b/sci-misc/salome-meta/ChangeLog index 227fbed76..5180983c5 100644 --- a/sci-misc/salome-meta/ChangeLog +++ b/sci-misc/salome-meta/ChangeLog @@ -6,6 +6,11 @@ A major thank to Francois Dorin , Jon Hood , Dewald Pietersen , and Richard Westwell for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! See bug #155974 for more info +*salome-meta-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle +salome-meta-5.1.4.ebuild: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + *salome-meta-5.1.3 (14 Mar 2010) 14 Mar 2010; Etienne Lorriaux diff --git a/sci-misc/salome-meta/Manifest b/sci-misc/salome-meta/Manifest index 51e0e21cb..8cce3b621 100644 --- a/sci-misc/salome-meta/Manifest +++ b/sci-misc/salome-meta/Manifest @@ -1,3 +1,4 @@ EBUILD salome-meta-5.1.3.ebuild 919 RMD160 3c171a5b4a1f0c042cb9b017a430256ac7217fb2 SHA1 2e19f2c88c75a7fa87644a15740b1de0ec35ed3c SHA256 d833520e7ca3bf01ede826fae274921ed90671850d338fb4b3bfa24664fd91b7 -MISC ChangeLog 887 RMD160 d1a33b9f86db2a225a3c8da7583cbdee72e29945 SHA1 ca9c7994b2d708e7e6a2d3eeab43b3f7ac9b7b12 SHA256 e07e5bb57b7189471de5a80bd60c5038c34f7dc0e23d00e653d0fb2236e82458 +EBUILD salome-meta-5.1.4.ebuild 919 RMD160 fb77b5b0b8e1b02faf06e443c1676711890bba4c SHA1 1543f759e93b0795686368a374bf85dfa39ffae6 SHA256 6ef1561980b09fd8b074643ac4fc73800d50cdfc699914cae28070189056651e +MISC ChangeLog 1050 RMD160 da709dfcbae1cffb0c38c9410a303c923420686d SHA1 d1a8b62ab46210e18a0ff5daa4adc60dd1ce3b8c SHA256 0f405112a7ef7af827788b3d9e8ae17e770c46361ebb1451c57cd4d403ac9d93 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 diff --git a/sci-misc/salome-meta/salome-meta-5.1.4.ebuild b/sci-misc/salome-meta/salome-meta-5.1.4.ebuild new file mode 100644 index 000000000..6791fc450 --- /dev/null +++ b/sci-misc/salome-meta/salome-meta-5.1.4.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation" +HOMEPAGE="http://www.salome-platform.org" + +LICENSE="GPL-2" +SLOT="0" +IUSE="debug mpi" +KEYWORDS="~amd64 ~x86" + +RDEPEND="=sci-misc/salome-kernel-5.1.4*[debug?,mpi?] + =sci-misc/salome-gui-5.1.4*[debug?] + =sci-misc/salome-med-5.1.4*[debug?,mpi?] + =sci-misc/salome-geom-5.1.4*[debug?] + =sci-misc/salome-smesh-5.1.4*[debug?] + =sci-misc/salome-visu-5.1.4*[debug?] + =sci-misc/salome-component-5.1.4*[debug?,mpi?] + =sci-misc/salome-yacs-5.1.4*[debug?] + =sci-misc/salome-pycalculator-5.1.4*[debug?]" + +DEPEND="${RDEPEND}" + +pkg_postinst() { + einfo "Salome ebuild needs further development. Please inform any problems or improvements in http://bugs.gentoo.org/show_bug.cgi?id=155974" +} diff --git a/sci-misc/salome-pycalculator/ChangeLog b/sci-misc/salome-pycalculator/ChangeLog index 9a782a706..b2b0cd9fc 100644 --- a/sci-misc/salome-pycalculator/ChangeLog +++ b/sci-misc/salome-pycalculator/ChangeLog @@ -6,6 +6,12 @@ A major thank to Francois Dorin , Jon Hood , Dewald Pietersen , and Richard Westwell for their respective contributions and feedback. Without you guys, the Salome ebuilds would not exist today. Thanks! See bug #155974 for more info +*salome-pycalculator-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle + +salome-pycalculator-5.1.4.ebuild: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + 29 Jun 2010; Justin Lecher salome-pycalculator-5.1.3.ebuild: Python ABI fixes diff --git a/sci-misc/salome-pycalculator/Manifest b/sci-misc/salome-pycalculator/Manifest index 64c466066..fe964641e 100644 --- a/sci-misc/salome-pycalculator/Manifest +++ b/sci-misc/salome-pycalculator/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b +DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae EBUILD salome-pycalculator-5.1.3.ebuild 2449 RMD160 40db7d2646e1ed672d159230e4695acc507520e8 SHA1 741c37343b3f23cf67c8921a16f661f0bd39456e SHA256 10743a34f66496001e249abf110ae182bd47d9936209a74e97307fb94ba7489e -MISC ChangeLog 1401 RMD160 dfbcb90f922d525eb4015cb24c2b6ab37fd40f1e SHA1 fe500c90eead88c1fae2497f3816e72bd0fcc92b SHA256 9f57aaf53a2a4ebde06934448eb2e3acf89a2250e29bcb647c16e49698092a8a +EBUILD salome-pycalculator-5.1.4.ebuild 2449 RMD160 40db7d2646e1ed672d159230e4695acc507520e8 SHA1 741c37343b3f23cf67c8921a16f661f0bd39456e SHA256 10743a34f66496001e249abf110ae182bd47d9936209a74e97307fb94ba7489e +MISC ChangeLog 1582 RMD160 0c2703401bd71001a8ec16f8d90c5d27d93b00d7 SHA1 732ca7ecca7675f0a1dca70ba51fb496f6b11ed7 SHA256 e55d506c925fe2efd2338731ce75c92452799b3b6c033e0707296b5d01b476ec MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwqWk0ACgkQgAnW8HDreRa4gwCdG0vCpieZkAd6AgjLbqkgj2EY -VvMAoMwymhLsaufdRzA75d5kf0YLw390 -=lIRJ ------END PGP SIGNATURE----- diff --git a/sci-misc/salome-pycalculator/salome-pycalculator-5.1.4.ebuild b/sci-misc/salome-pycalculator/salome-pycalculator-5.1.4.ebuild new file mode 100644 index 000000000..e3ec244ea --- /dev/null +++ b/sci-misc/salome-pycalculator/salome-pycalculator-5.1.4.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +PYTHON_DEPEND="2:2.4" + +inherit eutils python + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. PYCALCULATOR Component" +HOMEPAGE="http://www.salome-platform.org" +SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc" + +RDEPEND="debug? ( dev-util/cppunit ) + >=sci-misc/salome-kernel-${PV} + >=sci-misc/salome-med-${PV} + >=sci-misc/salome-component-${PV} + >=dev-python/omniorbpy-3.4 + >=net-misc/omniORB-4.1.4 + >=sci-libs/med-2.3.5" + +DEPEND="${RDEPEND} + >=app-doc/doxygen-1.5.6 + media-gfx/graphviz + >=dev-python/docutils-0.4" + +MODULE_NAME="PYCALCULATOR" +S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" +INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" +PYCALCULATOR_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" + +pkg_setup() { + [[ $(python_get_version) > 2.4 ]] && \ + ewarn "Python 2.4 is highly recommended for Salome..." + python_set_active_version 2 +} + +src_prepare() { + rm -r -f autom4te.cache + ./build_configure +} + +src_configure() { + econf --prefix=${INSTALL_DIR} \ + --datadir=${INSTALL_DIR}/share/salome \ + --docdir=${INSTALL_DIR}/doc/salome \ + --infodir=${INSTALL_DIR}/share/info \ + --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ + --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + $(use_enable debug ) \ + $(use_enable !debug production ) \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib + + echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} + echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P}a + echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} + echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} + doenvd 90${P} + rm adm_local/Makefile adm_local/unix/config_files/Makefile \ + adm_local/unix/Makefile + insinto "${INSTALL_DIR}" + doins -r adm_local + + use doc && dodoc INSTALL +} + +pkg_postinst() { + elog "Run \`env-update && source /etc/profile\`" + elog "now to set up the correct paths." + elog "" +} diff --git a/sci-misc/salome-smesh/ChangeLog b/sci-misc/salome-smesh/ChangeLog index b42007da3..ddd0faf2e 100644 --- a/sci-misc/salome-smesh/ChangeLog +++ b/sci-misc/salome-smesh/ChangeLog @@ -1,6 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*salome-smesh-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle +salome-smesh-5.1.4.ebuild: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + 29 Jun 2010; Justin Lecher salome-smesh-5.1.3.ebuild: Python ABI fixes diff --git a/sci-misc/salome-smesh/Manifest b/sci-misc/salome-smesh/Manifest index 21eb38ede..af847abde 100644 --- a/sci-misc/salome-smesh/Manifest +++ b/sci-misc/salome-smesh/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b +DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae EBUILD salome-smesh-5.1.3.ebuild 3144 RMD160 39b03ea5cfff4c124768315ffa4309463d666905 SHA1 f5782f5029d59e01973852870871b66b31cfc36b SHA256 9702e6a7f6e36d0f8d388e021e162bd1a0db57688623a91318f140f56a340697 -MISC ChangeLog 2062 RMD160 da6529ad9ded3ecceff7722963199bf3de7affc2 SHA1 e457a15e4a99784ffc645794adcd49275691647b SHA256 ceec1a01eb264273e191c24fe9e5470a3be7e8d308ff06c7957d0d7f6471f9a9 +EBUILD salome-smesh-5.1.4.ebuild 3231 RMD160 64304b915c0a4b80904874c6d33e684274321c1f SHA1 3f49296be73ef3a0a7e6c2e34ac2bea5a6b0eb3b SHA256 3f181f615e875d22f0b9db1b19b0d4ef322d9a485dc7110753ba7f3041cd04dc +MISC ChangeLog 2227 RMD160 b8fbfb761f6c1a38e2c89868ecf5abcbb0d6a9c5 SHA1 dd6a42c49f2f6ddbc2b04c00e4d59c1538b08c85 SHA256 0d0e3c6dca9bdc8a575289b0a38f007a08365ec2268823d4d1cf77e039c33330 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwqWmQACgkQgAnW8HDreRa4gwCcDQsdOaRwtb5kq35z79obW+ry -hBEAoKZL+6PPfP8NTxs7NuuOIkPIW9X2 -=XDJs ------END PGP SIGNATURE----- diff --git a/sci-misc/salome-smesh/salome-smesh-5.1.4.ebuild b/sci-misc/salome-smesh/salome-smesh-5.1.4.ebuild new file mode 100644 index 000000000..bf814fde9 --- /dev/null +++ b/sci-misc/salome-smesh/salome-smesh-5.1.4.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +PYTHON_DEPEND="2:2.4" + +inherit eutils flag-o-matic python + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. SMESH Component" +HOMEPAGE="http://www.salome-platform.org" +SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc mpi opengl" + +RDEPEND="opengl? ( virtual/opengl ) + mpi? ( || ( sys-cluster/openmpi[cxx] + sys-cluster/mpich2[cxx] ) ) + debug? ( dev-util/cppunit ) + >=sci-misc/salome-kernel-${PV} + >=sci-misc/salome-med-${PV} + >=sci-misc/salome-geom-${PV} + >=dev-python/omniorbpy-3.4 + >=net-misc/omniORB-4.1.4 + >=x11-libs/qt-core-4.5.2 + >=x11-libs/qt-gui-4.5.2 + >=x11-libs/qt-opengl-4.5.2 + >=x11-libs/qwt-5.2 + >=dev-libs/boost-1.40.0 + >=sci-libs/opencascade-6.3 + >=sci-libs/hdf5-1.6.4 + >=sci-libs/med-2.3.5 + >=sci-libs/vtk-5.0[python]" + +DEPEND="${RDEPEND} + dev-lang/swig + >=app-doc/doxygen-1.5.6 + media-gfx/graphviz + >=dev-python/docutils-0.4" + +MODULE_NAME="SMESH" +S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" +INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" +SMESH_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" + +pkg_setup() { + [[ $(python_get_version) > 2.4 ]] && \ + ewarn "Python 2.4 is highly recommended for Salome..." + python_set_active_version 2 + append-ldflags $(no-as-needed) +} + +src_prepare() { + rm -r -f autom4te.cache + ./build_configure +} + +src_configure() { + local vtk_suffix="" + + has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" + has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" + has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" + has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" + + use amd64 && append-flags -DHAVE_F77INT64 + + # Configuration + econf --prefix=${INSTALL_DIR} \ + --datadir=${INSTALL_DIR}/share/salome \ + --docdir=${INSTALL_DIR}/doc/salome \ + --infodir=${INSTALL_DIR}/share/info \ + --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ + --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-vtk=${VTKHOME} \ + --with-vtk-version=${vtk_suffix} \ + --with-qt='/usr' \ + --with-qwt_inc='/usr/include/qwt5' \ + $(use_enable debug ) \ + $(use_enable !debug production ) \ + $(use_with opengl opengl /usr) \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib + + echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} + echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} + echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} + echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} + doenvd 90${P} + rm adm_local/Makefile + insinto "${INSTALL_DIR}" + doins -r adm_local + + use doc && dodoc INSTALL +} + +pkg_postinst() { + elog "Run \`env-update && source /etc/profile\`" + elog "now to set up the correct paths." + elog "" +} diff --git a/sci-misc/salome-visu/ChangeLog b/sci-misc/salome-visu/ChangeLog index dc59784fb..110c8866c 100644 --- a/sci-misc/salome-visu/ChangeLog +++ b/sci-misc/salome-visu/ChangeLog @@ -1,6 +1,11 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*salome-visu-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle +salome-visu-5.1.4.ebuild: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + 29 Jun 2010; Justin Lecher salome-visu-5.1.3.ebuild: Python ABI fixes diff --git a/sci-misc/salome-visu/Manifest b/sci-misc/salome-visu/Manifest index 03e4994d7..5600a07f6 100644 --- a/sci-misc/salome-visu/Manifest +++ b/sci-misc/salome-visu/Manifest @@ -1,14 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b +DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae EBUILD salome-visu-5.1.3.ebuild 2993 RMD160 030451f984ac1149ebdb451b345cf9d73c5df220 SHA1 e3a7a848ccd891bc9482e5a83e7103bb5bec3033 SHA256 5c67842f1e3f686a79d0ef1612a31dec25123883d66400e48fd971840880f9af -MISC ChangeLog 1649 RMD160 ffa7d2fe1997d62f875724c6961040bac1d0806a SHA1 df331f14ab88579a30b7efd47db0b4265f922742 SHA256 f462d1abf08de61686c6fddd654be5cfd1f870ef566a40b7b4b1b86ff7ff4ad0 +EBUILD salome-visu-5.1.4.ebuild 3080 RMD160 b7f9e7b69abda4d256855bea5532496d869e9c59 SHA1 c7524e530db575249c9925c304cbc2bfe99b4d8b SHA256 cae77f362921a395f6bc6dd503bcf1829401a568377e04219a311624cd1c215b +MISC ChangeLog 1812 RMD160 59334577644d8a3db960d12c0bf3fbaf75a949ac SHA1 3c379396400be7bcbc7e0fdd81c8c2eb804dc254 SHA256 a78f378cf6f6a5630f9033fdc8d1767b11226091867e4f7074ad575c61e9a4a9 MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwqWtMACgkQgAnW8HDreRblrACfYYtdnsKZnwRkR9LLk9mnT1ks -Ux0AoIwckoTjXntHYlcu7b0r0+DX3p4T -=8+C9 ------END PGP SIGNATURE----- diff --git a/sci-misc/salome-visu/salome-visu-5.1.4.ebuild b/sci-misc/salome-visu/salome-visu-5.1.4.ebuild new file mode 100644 index 000000000..a849e7119 --- /dev/null +++ b/sci-misc/salome-visu/salome-visu-5.1.4.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +PYTHON_DEPEND="2:2.4" + +inherit eutils flag-o-matic python + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical Simulation. VISU Component" +HOMEPAGE="http://www.salome-platform.org" +SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc opengl" + +RDEPEND="opengl? ( virtual/opengl ) + >=dev-python/omniorbpy-3.4 + >=net-misc/omniORB-4.1.4 + >=sci-misc/salome-kernel-${PV} + >=sci-misc/salome-gui-${PV} + >=sci-misc/salome-component-${PV} + >=x11-libs/qt-core-4.5.2 + >=x11-libs/qt-gui-4.5.2 + >=x11-libs/qt-opengl-4.5.2 + >=dev-libs/boost-1.40.0 + >=sci-libs/opencascade-6.3 + >=sci-libs/hdf5-1.6.4 + >=sci-libs/med-2.3.5 + >=sci-libs/vtk-5.0[python]" + +DEPEND="${RDEPEND} + dev-lang/swig + >=app-doc/doxygen-1.5.6 + media-gfx/graphviz + >=dev-python/docutils-0.4" + +MODULE_NAME="VISU" +S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" +INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" +VISU_ROOT_DIR="/opt/salome-${PV}/${MODULE_NAME}" + +pkg_setup() { + [[ $(python_get_version) > 2.4 ]] && \ + ewarn "Python 2.4 is highly recommended for Salome..." + python_set_active_version 2 + append-ldflags $(no-as-needed) +} + +src_prepare() { + rm -r -f autom4te.cache + ./build_configure +} + +src_configure() { + local vtk_suffix="" + + has_version ">=sci-libs/vtk-5.0" && vtk_suffix="-5.0" + has_version ">=sci-libs/vtk-5.2" && vtk_suffix="-5.2" + has_version ">=sci-libs/vtk-5.4" && vtk_suffix="-5.4" + has_version ">=sci-libs/vtk-5.6" && vtk_suffix="-5.6" + + use amd64 && append-flags -DHAVE_F77INT64 + + econf --prefix=${INSTALL_DIR} \ + --datadir=${INSTALL_DIR}/share/salome \ + --docdir=${INSTALL_DIR}/doc/salome \ + --infodir=${INSTALL_DIR}/share/info \ + --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ + --with-python-site=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-python-site-exec=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome \ + --with-vtk=${VTKHOME} \ + --with-vtk-version=${vtk_suffix} \ + --with-qt="/usr" \ + --with-qwt_inc="/usr/include/qwt5" \ + $(use_enable debug ) \ + $(use_enable !debug production ) \ + $(use_with opengl opengl /usr) \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib + + echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} + echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} + echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} + echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} + doenvd 90${P} + rm adm_local/Makefile + insinto "${INSTALL_DIR}" + doins -r adm_local + + use doc && dodoc INSTALL +} + +pkg_postinst() { + elog "Run \`env-update && source /etc/profile\`" + elog "now to set up the correct paths." + elog "" +} diff --git a/sci-misc/salome-yacs/ChangeLog b/sci-misc/salome-yacs/ChangeLog index c0180a5ad..e6ba78cec 100644 --- a/sci-misc/salome-yacs/ChangeLog +++ b/sci-misc/salome-yacs/ChangeLog @@ -2,6 +2,12 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*salome-yacs-5.1.4 (27 Oct 2010) + + 27 Oct 2010; Thomas Kahle +salome-yacs-5.1.4.ebuild, + +files/salome-yacs-5.1.4-ac_python_devel.patch: + Bump to 5.1.4, ebuild by Michael Riss in bug 330303 + 29 Jun 2010; Justin Lecher salome-yacs-5.1.3.ebuild: Python ABI fixes diff --git a/sci-misc/salome-yacs/Manifest b/sci-misc/salome-yacs/Manifest index 8043890f4..fda7d4605 100644 --- a/sci-misc/salome-yacs/Manifest +++ b/sci-misc/salome-yacs/Manifest @@ -1,17 +1,10 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX salome-yacs-5.1.3-ac_python_devel.patch 1284 RMD160 e595a81ae436cdb03d86acad61a0ab8087712836 SHA1 c8eb83c06ed7c185645aaa256fe6324ab75bf5d7 SHA256 26b49bb12a41174851f4179b9cba4341c7b5d52bda446c0b17eed527cbb2a52b AUX salome-yacs-5.1.3-lib_location.patch 663 RMD160 6e02098839ad76c09adb995bd71567b7dbe9a770 SHA1 54a16203762e03ad1d96bd4f67cc33c7d66dfd71 SHA256 a21deface225771ce0210506e190b82d69a486e41a417743d82794988188d5d4 AUX salome-yacs-5.1.3-libdir.patch 988 RMD160 db03b310f8ab1a45586fc3a0d597147e359258fe SHA1 0073bba897ff0b59f5d768504432788fc7b5ab59 SHA256 080e5d8b945f275927db499d199b7bd7f3c5fcce28a4878b9f840e26dc745bba +AUX salome-yacs-5.1.4-ac_python_devel.patch 1122 RMD160 2f2ac878640aa587e709f23c2af98c04a2554a37 SHA1 da8202f19002795765bbff9bf4df8c5f12ec4f54 SHA256 a94f6beef2ae894fa74ef9ce07209860ff242360760aa5d049e56160d087a97d DIST src5.1.3.tar.gz 106470135 RMD160 f46ac847ab57c76df524ddf358b887662fc862cf SHA1 643c775f90277314983747e002918ee5b826db90 SHA256 78ce2acc9cfa474e030723674f4420c420fd2de926b1939455c3716f1fd48a2b +DIST src5.1.4.tar.gz 120063320 RMD160 c309cebcc4808071d72b5a335185002d69d1420f SHA1 a8b922424af634bda35269e6049a1262e27fc260 SHA256 dd59384ad4fbbbe49c72e946eed9e0f6144a01c799efab62033113a3db46eeae EBUILD salome-yacs-5.1.3.ebuild 2765 RMD160 9f1f1949c189915f77b23379822fd2ccb22ec6d3 SHA1 62e71401f9f4a692374d277f4c3cc9ee5a57a694 SHA256 9444dd08b619964938f57adc1b22b9f32c405bcc12da6a7eaea8b67026cb965c -MISC ChangeLog 654 RMD160 78b2861d4b2075fe367a41efe353f37b5f2389ee SHA1 8094a70d6ae6c2d9c0430ab4ccc49327a1c8ddf4 SHA256 5c738e84b2b0fa77bc4878f07d8852d9e227586361c5b4d3a8f3e57f2b670e06 +EBUILD salome-yacs-5.1.4.ebuild 2765 RMD160 9f1f1949c189915f77b23379822fd2ccb22ec6d3 SHA1 62e71401f9f4a692374d277f4c3cc9ee5a57a694 SHA256 9444dd08b619964938f57adc1b22b9f32c405bcc12da6a7eaea8b67026cb965c +MISC ChangeLog 867 RMD160 f7c39acb16f5bae1758cd03004df27346c8f21c5 SHA1 ee9f2e3c1fb5c856f8b43162600f67728d7316b1 SHA256 25405070d0822b9b7520e1b79c0891d2139646ab9b11af931ddbc81d5b19a7fa MISC metadata.xml 157 RMD160 ed43b99e7bf8bbf62cf4e46152138ab42d3a88c5 SHA1 2182a6de0b10959aad51af2990f1a6c69e34dd97 SHA256 750cb9e46ac2b77e1adf73de43c186a8c2d2234a9c6a89d9358d0969dc5cf8ac ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.15 (GNU/Linux) - -iEYEARECAAYFAkwqWu0ACgkQgAnW8HDreRYBdQCgyvPykaKPh/9jAFMNmDOPC0Q0 -n8EAn09HQJ94OOs5HwqC37CR/eep+Nbx -=UOU+ ------END PGP SIGNATURE----- diff --git a/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch b/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch new file mode 100644 index 000000000..d6ed54d5a --- /dev/null +++ b/sci-misc/salome-yacs/files/salome-yacs-5.1.4-ac_python_devel.patch @@ -0,0 +1,12 @@ +diff -ur src5.1.4.orig/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 src5.1.3/YACS_SRC_5.1.3/adm/unix/config_files/ac_python_devel.m4 +--- src5.1.4.orig/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:51:25.810829226 +0100 ++++ src5.1.4/YACS_SRC_5.1.4/adm/unix/config_files/ac_python_devel.m4 2010-03-08 20:53:41.330413913 +0100 +@@ -48,7 +48,7 @@ + # Check for Python library path + AC_MSG_CHECKING([for Python library path]) + python_path=`echo $PYTHON | sed "s,/bin.*$,,"` +- for i in "$python_path/lib/python$PYTHON_VERSION/config/" "$python_path/lib/python$PYTHON_VERSION/" "$python_path/lib/python/config/" "$python_path/lib/python/" "$python_path/" ; do ++ for i in "$python_path/lib$LIB_LOCATION_SUFFIX" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python$PYTHON_VERSION/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/config/" "$python_path/lib$LIB_LOCATION_SUFFIX/python/" "$python_path/" ; do + python_path=`find $i -type f -name libpython$PYTHON_VERSION.* -print | sed "1q"` + if test -n "$python_path" ; then + break diff --git a/sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild b/sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild new file mode 100644 index 000000000..46578267f --- /dev/null +++ b/sci-misc/salome-yacs/salome-yacs-5.1.4.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 +PYTHON_DEPEND="2:2.4" + +inherit eutils python + +DESCRIPTION="SALOME : The Open Source Integration Platform for Numerical +Simulation. YACS component" +HOMEPAGE="http://www.salome-platform.org" +SRC_URI="http://files.opencascade.com/Salome/Salome${PV}/src${PV}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="debug doc opengl" + +RDEPEND="opengl? ( virtual/opengl ) + debug? ( dev-util/cppunit ) + >=sci-misc/salome-kernel-${PV} + >=sci-misc/salome-gui-${PV} + >=dev-python/omniorbpy-3.4 + >=sci-libs/hdf5-1.6.4 + >=dev-libs/boost-1.40.0 + >=x11-libs/qt-core-4.5.2 + >=x11-libs/qt-gui-4.5.2 + >=x11-libs/qt-opengl-4.5.2 + >=dev-python/PyQt4-4.5.4 + >=x11-libs/qscintilla-2.4 + >=net-misc/omniORB-4.1.3 + dev-libs/expat" + +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx ) + >=app-doc/doxygen-1.5.6 + media-gfx/graphviz + >=dev-python/docutils-0.4 + dev-lang/swig + dev-libs/libxml2 + >=dev-python/celementtree-1.0.5 + >=dev-python/elementtree-1.2.6" + +MODULE_NAME="YACS" +S="${WORKDIR}/src${PV}/${MODULE_NAME}_SRC_${PV}" +INSTALL_DIR="/opt/salome-${PV}/${MODULE_NAME}" + +pkg_setup() { + [[ $(python_get_version) > 2.4 ]] && \ + ewarn "Python 2.4 is highly recommended for Salome..." + python_set_active_version 2 +} + +src_prepare() { + epatch "${FILESDIR}"/"${P}"-ac_python_devel.patch + if use amd64; then + epatch "${FILESDIR}"/"${P}"-lib_location.patch + epatch "${FILESDIR}"/"${P}"-libdir.patch + fi + + rm -r -f autom4te.cache + ./clean_configure + ./build_configure +} + +src_configure() { + econf --prefix=${INSTALL_DIR} \ + --datadir=${INSTALL_DIR}/share/salome \ + --docdir=${INSTALL_DIR}/doc/salome \ + --libdir=${INSTALL_DIR}/$(get_libdir)/salome \ + --infodir=${INSTALL_DIR}/share/info \ + --with-qt4=/usr \ + --with-qt4-libraries=/usr/$(get_libdir)/qt4 \ + --with-qsci4-includes=/usr/include/Qsci \ + $(use_enable debug ) \ + $(use_enable !debug production ) \ + $(use_with debug cppunit /usr ) \ + || die "econf failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + use amd64 && dosym ${INSTALL_DIR}/lib64 ${INSTALL_DIR}/lib + + echo "${MODULE_NAME}_ROOT_DIR=${INSTALL_DIR}" > ./90${P} + echo "LDPATH=${INSTALL_DIR}/$(get_libdir)/salome" >> ./90${P} + echo "PATH=${INSTALL_DIR}/bin/salome" >> ./90${P} + echo "PYTHONPATH=${INSTALL_DIR}/$(get_libdir)/python$(python_get_version)/site-packages/salome" >> ./90${P} + doenvd 90${P} + rm adm/Makefile + insinto "${INSTALL_DIR}" + doins -r adm + + use doc && dodoc AUTHORS INSTALL NEWS README +} + +pkg_postinst() { + elog "Run \`env-update && source /etc/profile\`" + elog "now to set up the correct paths." + elog "" +} -- cgit v1.2.3