summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-12 19:25:07 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-19 19:39:37 +0100
commit1b8ddffa1ecb546b5b84078d7d18aa4b1e77acda (patch)
tree0e434f51bd671ce8f787cc6f7eaf5ed66495c59f /sci-physics
parentprofiles: Mask sci-physics/geant-python for removal (diff)
downloadgentoo-1b8ddffa1ecb546b5b84078d7d18aa4b1e77acda.tar.gz
gentoo-1b8ddffa1ecb546b5b84078d7d18aa4b1e77acda.tar.bz2
gentoo-1b8ddffa1ecb546b5b84078d7d18aa4b1e77acda.zip
sci-physics/geant: Drop old
Closes: https://bugs.gentoo.org/573118 Closes: https://bugs.gentoo.org/573778 Closes: https://bugs.gentoo.org/589622 Closes: https://bugs.gentoo.org/644358 Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/geant/Manifest8
-rw-r--r--sci-physics/geant/files/geant-4.10.0-TrackingNavigator.patch60
-rw-r--r--sci-physics/geant/files/geant-4.10.0-no-examples.patch22
-rw-r--r--sci-physics/geant/files/geant-4.10.02-std-isnan.patch17
-rw-r--r--sci-physics/geant/files/geant-4.10.2-no-examples.patch18
-rw-r--r--sci-physics/geant/files/geant-4.9.4-zlib.patch35
-rw-r--r--sci-physics/geant/geant-3.21.14-r4.ebuild67
-rw-r--r--sci-physics/geant/geant-4.10.00.ebuild88
-rw-r--r--sci-physics/geant/geant-4.10.00_p01.ebuild85
-rw-r--r--sci-physics/geant/geant-4.10.01.ebuild86
-rw-r--r--sci-physics/geant/geant-4.10.01_p02.ebuild87
-rw-r--r--sci-physics/geant/geant-4.10.02.ebuild87
-rw-r--r--sci-physics/geant/geant-4.9.6_p02-r1.ebuild85
13 files changed, 0 insertions, 745 deletions
diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest
index c2a7073accf..80ea674df07 100644
--- a/sci-physics/geant/Manifest
+++ b/sci-physics/geant/Manifest
@@ -1,9 +1 @@
-DIST geant321_3.21.14.dfsg-11.debian.tar.gz 52237 BLAKE2B 0266a91be654c7a40a24e1ad72a296bd33acdbf145c349909526194ccd5070392dd5a97073b075811dd362cdfcdfd40054d88e322693be3f5ab1fec66d356de3 SHA512 a3b6dea7b0df1ecb89bfb974339d3b5aed6815874f453040b37377ab9e9217d6970429d7a346c62f2b289bb8911aafa3569edc7499c13b7b2d3fac23e2a773c9
-DIST geant321_3.21.14.dfsg.orig.tar.gz 10922928 BLAKE2B 1a32a9857e3afffae48b0b81003b4a91c9505d18c780de247545a5b29cf9618399bd3b8df1ba1db5c2fda957d9513ed18d5a946d0440d7be68a02ade8a2eedf3 SHA512 733a77e529ecfe17c35d1e0bf44cf9062dbd9f2e3880e12cbfabf7372e6c60ea9690df010574094b44aef6fe306dfd85dfd4f42641b8f03efda3938a50313734
-DIST geant4.10.00.p01.tar.gz 29701289 BLAKE2B fa3a012d1e98ae643c2649b3eaee0f9ed4e38bd271ec7ee6106f938b8841b64e5fb576b34b873f9db8b53813bce3f550be349a0d01266a70194fa3acdd19711e SHA512 d7be39580a8dafa55b1a52b498e4a24312499a33d41954d8684385ce57c903430b2c56386728ad9a70d21af6634fbb8d6b55b2ef9c56b6c9272671e66bf9119d
-DIST geant4.10.00.tar.gz 30780131 BLAKE2B 22702e73f3e2f973e3251dc650f4cfd38c905edabc27f2d09d40bb9a518ea46fafc55be9f91b35eb4bcc7a35a442905347b652a1388055eebb856e998184d8f2 SHA512 c9288b26df8b858622e728158b687cd7bc257c49f26a21b93d1b9fa4619c22dfea2a7604689118ac493b407888690db42d1ec9c8048aa1f45bf8beeb6a657e87
-DIST geant4.10.01.p02.tar.gz 33708464 BLAKE2B d780783a61e70d7a9c04abda50ea60a14f8d1196655b474075b015d9ddec0cc2840ab3ac08084e637aa6231c8189a46ad698f045208419c89ef4ffbf359a4d89 SHA512 056ffca00b6e0496748aa1ca34a0a349eea607505b093f7148557a4e2a704cdb6949731f5313508eff311a3075b53841c4f332f057604c0826b76db0089fc082
-DIST geant4.10.01.tar.gz 43759041 BLAKE2B 21ca42e4f8e14670d6a45e2a7889b06f40037e4d47c47df0f90b8d2a30cb384857b6e9d6c5cf130016d27aafc75b9f027dee8300c76ef7a48b3fe8a354b1e8b1 SHA512 6b9f154f705e7ca4918dea3e2a9ccc0e6fa8806fd4466b4b947f9beec35968640dbe32d383c2a138f15e40b10085c717256cc1604f4d8407e7cb28e5772b52e6
-DIST geant4.10.02.tar.gz 32312192 BLAKE2B 882a07b9dc52c391ad43b09227b627240bf276692a06c0bad9b8e26b97c635b7cd447620b28c1ab39ceebe66b4b1f86e0b0ca5aea3312b7170b0e5bb55cb2835 SHA512 f10fd1205b986f0ad069727ac867f1cd13e2a9da088462e70ba1eb58dee84276c0e5a5f764eee44e3ca832ed0ac4591b29645cd3dcc6b0e57e5fb1bc0c0dc6ea
DIST geant4.10.03.tar.gz 33143770 BLAKE2B f84c4dc680c45bc5728485e3e38852de90ae0f89dfe4cf65677aa86f6d90b4cbe5d2ffec812b08d05c88f8abb73f006f3a5319bcfd48c20872299ccfd91c7e39 SHA512 61d67e57f1576ab10562f2309995897008b4be1aa60f7e471b4f5efc2d852788d5faf60e64ea7024a4af4035d98c04c0be23df8593a4ed3a510af6b476013c56
-DIST geant4.9.6.p02.tar.gz 25480383 BLAKE2B db0e1a8997d91a4e989bf3d038fd0898a2612fa79d6ad195ea3280b49e1290712926ac04de2501d2f75f99de54868f1214284db70de47bd3661345b9bb7503e1 SHA512 dab5f31568074869adecbbfb8855be0c0a2e92e5ba3119dbeb9cd414878721df3052198a05e5e3c19d0e2942a22602c6618dc0628b05134d3403a50c2bc2032c
diff --git a/sci-physics/geant/files/geant-4.10.0-TrackingNavigator.patch b/sci-physics/geant/files/geant-4.10.0-TrackingNavigator.patch
deleted file mode 100644
index e3cc8d6594a..00000000000
--- a/sci-physics/geant/files/geant-4.10.0-TrackingNavigator.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-accepted upstream. to be removed in the next minor release.
-
-https://bugs.gentoo.org/show_bug.cgi?id=496678
-http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1537
-
-diff -Naur geant4.10.00/source/geometry/navigation/include/G4TransportationManager.hh geant4.10.00-mod/source/geometry/navigation/include/G4TransportationManager.hh
---- geant4.10.00/source/geometry/navigation/include/G4TransportationManager.hh 2013-12-05 10:28:54.000000000 +0100
-+++ geant4.10.00-mod/source/geometry/navigation/include/G4TransportationManager.hh 2013-12-12 01:40:12.341428809 +0100
-@@ -68,7 +68,7 @@
- // Accessors for field handling
-
- inline G4Navigator* GetNavigatorForTracking() const;
-- inline void SetNavigatorForTracking( G4Navigator* newNavigator );
-+ void SetNavigatorForTracking( G4Navigator* newNavigator );
- // Accessors for the navigator for tracking
-
- inline void SetWorldForTracking(G4VPhysicalVolume* theWorld);
-diff -Naur geant4.10.00/source/geometry/navigation/include/G4TransportationManager.icc geant4.10.00-mod/source/geometry/navigation/include/G4TransportationManager.icc
---- geant4.10.00/source/geometry/navigation/include/G4TransportationManager.icc 2013-12-05 10:28:54.000000000 +0100
-+++ geant4.10.00-mod/source/geometry/navigation/include/G4TransportationManager.icc 2013-12-12 01:40:12.341428809 +0100
-@@ -59,6 +59,7 @@
- fNavigators[0]->SetWorldVolume(theWorld);
- }
-
-+/*
- // ----------------------------------------------------------------------------
- // SetNavigatorForTracking()
- //
-@@ -70,6 +71,7 @@
- {
- fNavigators[0] = newNavigator;
- }
-+*/
-
- // ----------------------------------------------------------------------------
- // GetPropagatorInField()
-diff -Naur geant4.10.00/source/geometry/navigation/src/G4TransportationManager.cc geant4.10.00-mod/source/geometry/navigation/src/G4TransportationManager.cc
---- geant4.10.00/source/geometry/navigation/src/G4TransportationManager.cc 2013-12-05 10:28:56.000000000 +0100
-+++ geant4.10.00-mod/source/geometry/navigation/src/G4TransportationManager.cc 2013-12-12 01:40:12.345428679 +0100
-@@ -124,6 +124,20 @@
- }
- }
-
-+
-+// ----------------------------------------------------------------------------
-+// SetNavigatorForTracking()
-+//
-+// Set the active navigator for tracking, always
-+// the first in the collection of registered navigators.
-+//
-+void G4TransportationManager::SetNavigatorForTracking(G4Navigator* newNavigator)
-+{
-+ fNavigators[0] = newNavigator;
-+ fActiveNavigators[0] = newNavigator;
-+ fPropagatorInField->SetNavigatorForPropagating(newNavigator);
-+}
-+
- // ----------------------------------------------------------------------------
- // ClearNavigators()
- //
diff --git a/sci-physics/geant/files/geant-4.10.0-no-examples.patch b/sci-physics/geant/files/geant-4.10.0-no-examples.patch
deleted file mode 100644
index 99aaca546f4..00000000000
--- a/sci-physics/geant/files/geant-4.10.0-no-examples.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-do not install examples automatically, we do this explictly with dodoc.
-
-Index: geant4.10.00/CMakeLists.txt
-===================================================================
---- geant4.10.00.orig/CMakeLists.txt
-+++ geant4.10.00/CMakeLists.txt
-@@ -136,15 +136,6 @@ if(GEANT4_BUILD_EXAMPLES)
- add_subdirectory(examples)
- endif()
-
--# - Install example code to datarootdir
--install(DIRECTORY examples
-- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/Geant4-${Geant4_VERSION}
-- COMPONENT Examples
-- PATTERN "CVS" EXCLUDE
-- PATTERN ".svn" EXCLUDE
-- )
--
--
- #-----------------------------------------------------------------------------
- # Provide packaging with CPack.
- include(Geant4CPackBase)
diff --git a/sci-physics/geant/files/geant-4.10.02-std-isnan.patch b/sci-physics/geant/files/geant-4.10.02-std-isnan.patch
deleted file mode 100644
index 6d26a6c2c0d..00000000000
--- a/sci-physics/geant/files/geant-4.10.02-std-isnan.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Fully qualify isnan:
-* /var/tmp/portage/sci-physics/geant-4.10.02/work/geant4.10.02/source/processes/hadronic/models/lend/src/nf_utilities.cc:61:22: error: ‘isnan’ was not declared in this scope
-* return( isnan( d ) );
-See also:
-https://bugs.gentoo.org/show_bug.cgi?id=581322
-
---- geant4.10.02/source/processes/hadronic/models/lend/src/nf_utilities.cc
-+++ geant4.10.02/source/processes/hadronic/models/lend/src/nf_utilities.cc
-@@ -58,7 +58,7 @@
- */
- int nfu_isNAN( double d ) {
-
-- return( isnan( d ) );
-+ return( std::isnan( d ) );
- }
- /*
- ************************************************************
diff --git a/sci-physics/geant/files/geant-4.10.2-no-examples.patch b/sci-physics/geant/files/geant-4.10.2-no-examples.patch
deleted file mode 100644
index 767547896c9..00000000000
--- a/sci-physics/geant/files/geant-4.10.2-no-examples.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -ur geant4.10.02.orig/CMakeLists.txt geant4.10.02/CMakeLists.txt
---- geant4.10.02.orig/CMakeLists.txt 2016-01-13 15:00:07.009259839 -0200
-+++ geant4.10.02/CMakeLists.txt 2016-01-13 15:01:00.369257669 -0200
-@@ -134,14 +134,6 @@
- add_subdirectory(examples)
- endif()
-
--# - Install example code to datarootdir
--install(DIRECTORY examples
-- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/Geant4-${Geant4_VERSION}
-- COMPONENT Examples
-- PATTERN "CVS" EXCLUDE
-- PATTERN ".svn" EXCLUDE
-- )
--
- #-----------------------------------------------------------------------
- # - CPack-aging
- include(Geant4CPackBase)
diff --git a/sci-physics/geant/files/geant-4.9.4-zlib.patch b/sci-physics/geant/files/geant-4.9.4-zlib.patch
deleted file mode 100644
index f0429695ce3..00000000000
--- a/sci-physics/geant/files/geant-4.9.4-zlib.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-force use of system zlib instead of bundled G4zlib
---- source/visualization/HepRep/sources.cmake.orig 2011-12-02 15:07:49.000000000 +0000
-+++ source/visualization/HepRep/sources.cmake 2011-12-18 06:21:22.000000000 +0000
-@@ -91,7 +91,7 @@
- G4specsolids
- G4tracking
- G4vis_management
-- G4zlib
-+ ${ZLIB_LIBRARIES}
- GLOBAL_DEPENDENCIES
- G4digits_hits
- G4geometry
-@@ -102,7 +102,7 @@
- G4modeling
- G4tracking
- G4vis_management
-- G4zlib
-+ ${ZLIB_LIBRARIES}
- LINK_LIBRARIES
- )
-
---- source/visualization/externals/gl2ps/sources.cmake.orig 2011-12-02 16:07:56.000000000 +0100
-+++ source/visualization/externals/gl2ps/sources.cmake 2012-03-09 14:09:26.965148002 +0100
-@@ -49,9 +49,9 @@
- G4OpenGL2PSAction.cc
- gl2ps.cc
- GRANULAR_DEPENDENCIES
-- G4zlib
-+ ${ZLIB_LIBRARIES}
- GLOBAL_DEPENDENCIES
-- G4zlib
-+ ${ZLIB_LIBRARIES}
- LINK_LIBRARIES
- ${OPENGL_LIBRARIES}
- )
diff --git a/sci-physics/geant/geant-3.21.14-r4.ebuild b/sci-physics/geant/geant-3.21.14-r4.ebuild
deleted file mode 100644
index ab132d31212..00000000000
--- a/sci-physics/geant/geant-3.21.14-r4.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils fortran-2
-
-DEB_PN=geant321
-DEB_PV=${PV}.dfsg
-DEB_PR=11
-DEB_P=${DEB_PN}_${DEB_PV}
-
-DESCRIPTION="CERN's detector description and simulation Tool"
-HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
-SRC_URI="
- mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}.orig.tar.gz
- mirror://debian/pool/main/${DEB_PN:0:1}/${DEB_PN}/${DEB_P}-${DEB_PR}.debian.tar.gz"
-
-SLOT="3"
-LICENSE="GPL-2 LGPL-2 BSD"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE=""
-
-RDEPEND="
- x11-libs/motif:0
- dev-lang/cfortran
- sci-physics/cernlib
- sci-physics/paw"
-DEPEND="${RDEPEND}
- virtual/latex-base
- x11-misc/imake
- x11-misc/makedepend"
-
-S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig"
-
-src_prepare() {
- mv ../debian . || die
- sed -i -e 's:/tmp/dp.*/cern:cern:g' debian/patches/* || die
- cp debian/add-ons/Makefile . || die
- export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck"
- sed -i \
- -e 's:/usr/local:${EROOT}usr:g' \
- Makefile || die "sed'ing the Makefile failed"
-
- einfo "Applying Debian patches"
- emake -j1 patch
-
- # since we depend on cfortran, do not use the one from cernlib
- rm -f src/include/cfortran/cfortran.h
-}
-
-src_compile() {
- # create local LaTeX cache directory
- VARTEXFONTS="${T}"/fonts
- emake -j1 cernlib-indep cernlib-arch
-}
-
-src_test_() {
- LD_LIBRARY_PATH="${S}"/shlib emake -j1 cernlib-test
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- cd debian
- dodoc changelog README.* deadpool.txt NEWS copyright
- newdoc add-ons/README README.add-ons
-}
diff --git a/sci-physics/geant/geant-4.10.00.ebuild b/sci-physics/geant/geant-4.10.00.ebuild
deleted file mode 100644
index f80eaa1049a..00000000000
--- a/sci-physics/geant/geant-4.10.00.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils eutils fortran-2 versionator multilib
-
-PV1=$(get_version_component_range 1 ${PV})
-PV2=$(get_version_component_range 2 ${PV})
-PV3=$(get_version_component_range 3 ${PV})
-SPV3=$(printf %1d ${PV3})
-MYP=${PN}$(replace_version_separator 3 .)
-
-DESCRIPTION="Toolkit for simulation of passage of particles through matter"
-HOMEPAGE="http://geant4.cern.ch/"
-SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
-
-LICENSE="geant4"
-SLOT="4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+data dawn doc examples gdml geant3 inventor motif opengl
- raytracerx qt4 static-libs vrml zlib"
-
-RDEPEND="
- dev-libs/expat
- >=sci-physics/clhep-2.1.3:2=
- dawn? ( media-gfx/dawn )
- gdml? ( dev-libs/xerces-c )
- motif? ( x11-libs/motif:0 )
- opengl? ( virtual/opengl )
- inventor? ( media-libs/SoXt )
- qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) )
- raytracerx? ( x11-libs/libX11 x11-libs/libXmu )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-PDEPEND="
- data? ( ~sci-physics/geant-data-${PV} )
- doc? ( ~app-doc/geant-docs-${PV1}.${PV2}.${SPV3} )"
-
-S="${WORKDIR}/${MYP}"
-
-PATCHES=( "${FILESDIR}"/${PN}-4.10.0-no-examples.patch
- "${FILESDIR}"/${PN}-4.10.0-TrackingNavigator.patch # 496678
- )
-
-src_configure() {
- local mycmakeargs=(
- -DGEANT4_USE_SYSTEM_CLHEP=ON
- -DCMAKE_INSTALL_LIBDIR="${EROOT}usr/$(get_libdir)"
- -DGEANT4_INSTALL_DATA=OFF
- $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN)
- $(cmake-utils_use gdml GEANT4_USE_GDML)
- $(cmake-utils_use geant3 GEANT4_USE_G3TOG4)
- $(cmake-utils_use motif GEANT4_USE_XM)
- $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11)
- $(cmake-utils_use inventor GEANT4_USE_INVENTOR)
- $(cmake-utils_use qt4 GEANT4_USE_QT)
- $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11)
- $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML)
- $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB)
- $(cmake-utils_use_build static-libs STATIC_LIBS)
- )
- if use inventor; then
- mycmakeargs+=(
- -DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)"
- -DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)"
- )
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- # adjust clhep linking flags for system clhep
- # binmake.gmk is only useful for legacy build systems
- sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
- cmake-utils_src_install
- insinto /usr/share/doc/${PF}
- local mypv="${PV1}.${PV2}.${SPV3}"
- doins ReleaseNotes/ReleaseNotes${mypv}.html
- [[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \
- dodoc ReleaseNotes/Patch${mypv}-*.txt
- use examples && doins -r examples
-}
-
-pkg_postinst() {
- elog "The following scripts are provided for backward compatibility:"
- elog "$(ls -1 ${EROOT%/}/usr/share/Geant4-${PV2}.${SPV3}.*/geant4make/*sh)"
-}
diff --git a/sci-physics/geant/geant-4.10.00_p01.ebuild b/sci-physics/geant/geant-4.10.00_p01.ebuild
deleted file mode 100644
index be593508de4..00000000000
--- a/sci-physics/geant/geant-4.10.00_p01.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils eutils fortran-2 versionator multilib
-
-PV1=$(get_version_component_range 1 ${PV})
-PV2=$(get_version_component_range 2 ${PV})
-PV3=$(get_version_component_range 3 ${PV})
-SPV3=$(printf %1d ${PV3})
-MYP=${PN}$(replace_version_separator 3 .)
-
-DESCRIPTION="Toolkit for simulation of passage of particles through matter"
-HOMEPAGE="http://geant4.cern.ch/"
-SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
-
-LICENSE="geant4"
-SLOT="4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+data dawn doc examples gdml geant3 inventor motif opengl
- raytracerx qt4 static-libs vrml zlib threads"
-
-RDEPEND="
- dev-libs/expat
- >=sci-physics/clhep-2.1.3:2=
- dawn? ( media-gfx/dawn )
- gdml? ( dev-libs/xerces-c )
- motif? ( x11-libs/motif:0 )
- opengl? ( virtual/opengl )
- inventor? ( media-libs/SoXt )
- qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) )
- raytracerx? ( x11-libs/libX11 x11-libs/libXmu )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-PDEPEND="
- data? ( >=sci-physics/geant-data-4.10 )
- doc? ( ~app-doc/geant-docs-${PV1}.${PV2}.${SPV3} )"
-
-S="${WORKDIR}/${MYP}"
-
-src_configure() {
- local mycmakeargs=(
- -DGEANT4_USE_SYSTEM_CLHEP=ON
- -DCMAKE_INSTALL_LIBDIR="${EROOT}usr/$(get_libdir)"
- -DGEANT4_INSTALL_DATA=OFF
- $(cmake-utils_use threads GEANT4_BUILD_MULTITHREADED)
- $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN)
- $(cmake-utils_use gdml GEANT4_USE_GDML)
- $(cmake-utils_use geant3 GEANT4_USE_G3TOG4)
- $(cmake-utils_use motif GEANT4_USE_XM)
- $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11)
- $(cmake-utils_use inventor GEANT4_USE_INVENTOR)
- $(cmake-utils_use qt4 GEANT4_USE_QT)
- $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11)
- $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML)
- $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB)
- $(cmake-utils_use_build static-libs STATIC_LIBS)
- )
- if use inventor; then
- mycmakeargs+=(
- -DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)"
- -DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)"
- )
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- # adjust clhep linking flags for system clhep
- # binmake.gmk is only useful for legacy build systems
- sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
- cmake-utils_src_install
- insinto /usr/share/doc/${PF}
- local mypv="${PV1}.${PV2}.${SPV3}"
- doins ReleaseNotes/ReleaseNotes${mypv}.html
- [[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \
- dodoc ReleaseNotes/Patch${mypv}-*.txt
- use examples && doins -r examples
-}
-
-pkg_postinst() {
- elog "The following scripts are provided for backward compatibility:"
- elog "$(ls -1 ${EROOT%/}/usr/share/Geant4-${PV2}.${SPV3}.*/geant4make/*sh)"
-}
diff --git a/sci-physics/geant/geant-4.10.01.ebuild b/sci-physics/geant/geant-4.10.01.ebuild
deleted file mode 100644
index 0c4ecd2f55c..00000000000
--- a/sci-physics/geant/geant-4.10.01.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils eutils fortran-2 versionator multilib
-
-PV1=$(get_version_component_range 1 ${PV})
-PV2=$(get_version_component_range 2 ${PV})
-PV3=$(get_version_component_range 3 ${PV})
-SPV3=$(printf %1d ${PV3})
-MYP=${PN}$(replace_version_separator 3 .)
-
-DESCRIPTION="Toolkit for simulation of passage of particles through matter"
-HOMEPAGE="http://geant4.cern.ch/"
-SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
-
-LICENSE="geant4"
-SLOT="4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+data dawn doc examples gdml geant3 inventor motif opengl
- raytracerx qt4 static-libs vrml zlib threads"
-
-RDEPEND="
- dev-libs/expat
- >=sci-physics/clhep-2.1.3:2=
- dawn? ( media-gfx/dawn )
- gdml? ( dev-libs/xerces-c )
- motif? ( x11-libs/motif:0 )
- opengl? ( virtual/opengl )
- inventor? ( media-libs/SoXt )
- qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) )
- raytracerx? ( x11-libs/libX11 x11-libs/libXmu )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND} prefix? ( app-shells/tcsh )"
-PDEPEND="
- data? ( ~sci-physics/geant-data-${PV} )
- doc? ( ~app-doc/geant-docs-${PV1}.${PV2}.${SPV3} )"
-
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
- use examples || epatch "${FILESDIR}"/${PN}-4.10.0-no-examples.patch
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGEANT4_USE_SYSTEM_CLHEP=ON
- -DGEANT4_INSTALL_DATA=OFF
- $(cmake-utils_use threads GEANT4_BUILD_MULTITHREADED)
- $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN)
- $(cmake-utils_use gdml GEANT4_USE_GDML)
- $(cmake-utils_use geant3 GEANT4_USE_G3TOG4)
- $(cmake-utils_use motif GEANT4_USE_XM)
- $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11)
- $(cmake-utils_use inventor GEANT4_USE_INVENTOR)
- $(cmake-utils_use qt4 GEANT4_USE_QT)
- $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11)
- $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML)
- $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB)
- $(cmake-utils_use_build static-libs STATIC_LIBS)
- )
- if use inventor; then
- mycmakeargs+=(
- -DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)"
- -DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)"
- )
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- # adjust clhep linking flags for system clhep
- # binmake.gmk is only useful for legacy build systems
- sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
- cmake-utils_src_install
- insinto /usr/share/doc/${PF}
- doins ReleaseNotes/ReleaseNotes${PV1}.${PV2}.${SPV3}.html
- [[ -f ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-1.txt ]] && \
- dodoc ReleaseNotes/Patch${mypv}-*.txt
-}
-
-pkg_postinst() {
- elog "The following scripts are provided for backward compatibility:"
- elog "$(ls -1 ${EROOT%/}/usr/share/Geant4-${PV2}.${SPV3}.*/geant4make/*sh)"
-}
diff --git a/sci-physics/geant/geant-4.10.01_p02.ebuild b/sci-physics/geant/geant-4.10.01_p02.ebuild
deleted file mode 100644
index 8ca4095cf7d..00000000000
--- a/sci-physics/geant/geant-4.10.01_p02.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils eutils versionator multilib
-
-PV1=$(get_version_component_range 1 ${PV})
-PV2=$(get_version_component_range 2 ${PV})
-PV3=$(get_version_component_range 3 ${PV})
-SPV3=$(printf %1d ${PV3})
-MYP=${PN}$(replace_version_separator 3 .)
-
-DESCRIPTION="Toolkit for simulation of passage of particles through matter"
-HOMEPAGE="http://geant4.cern.ch/"
-SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
-
-LICENSE="geant4"
-SLOT="4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+data dawn doc examples gdml geant3 inventor motif opengl
- raytracerx qt4 static-libs vrml zlib threads"
-
-RDEPEND="
- dev-libs/expat
- >=sci-physics/clhep-2.2:2=
- <sci-physics/clhep-2.3:2=
- dawn? ( media-gfx/dawn )
- gdml? ( dev-libs/xerces-c )
- motif? ( x11-libs/motif:0 )
- opengl? ( virtual/opengl )
- inventor? ( media-libs/SoXt )
- qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) )
- raytracerx? ( x11-libs/libX11 x11-libs/libXmu )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND} prefix? ( app-shells/tcsh )"
-PDEPEND="
- data? ( ~sci-physics/geant-data-${PV1}.${PV2}.${PV3} )
- doc? ( ~app-doc/geant-docs-${PV1}.${PV2}.${SPV3} )"
-
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
- use examples || epatch "${FILESDIR}"/${PN}-4.10.0-no-examples.patch
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGEANT4_USE_SYSTEM_CLHEP=ON
- -DGEANT4_INSTALL_DATA=OFF
- $(cmake-utils_use threads GEANT4_BUILD_MULTITHREADED)
- $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN)
- $(cmake-utils_use gdml GEANT4_USE_GDML)
- $(cmake-utils_use geant3 GEANT4_USE_G3TOG4)
- $(cmake-utils_use motif GEANT4_USE_XM)
- $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11)
- $(cmake-utils_use inventor GEANT4_USE_INVENTOR)
- $(cmake-utils_use qt4 GEANT4_USE_QT)
- $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11)
- $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML)
- $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB)
- $(cmake-utils_use_build static-libs STATIC_LIBS)
- )
- if use inventor; then
- mycmakeargs+=(
- -DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)"
- -DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)"
- )
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- # adjust clhep linking flags for system clhep
- # binmake.gmk is only useful for legacy build systems
- sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
- cmake-utils_src_install
- insinto /usr/share/doc/${PF}
- doins ReleaseNotes/ReleaseNotes${PV1}.${PV2}.${SPV3}.html
- [[ -f ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-1.txt ]] && \
- dodoc ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-*.txt
-}
-
-pkg_postinst() {
- elog "The following scripts are provided for backward compatibility:"
- elog "$(ls -1 ${EROOT%/}/usr/share/Geant4-${PV2}.${SPV3}.*/geant4make/*sh)"
-}
diff --git a/sci-physics/geant/geant-4.10.02.ebuild b/sci-physics/geant/geant-4.10.02.ebuild
deleted file mode 100644
index 540e9bbab35..00000000000
--- a/sci-physics/geant/geant-4.10.02.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils eutils versionator multilib
-
-PV1=$(get_version_component_range 1 ${PV})
-PV2=$(get_version_component_range 2 ${PV})
-PV3=$(get_version_component_range 3 ${PV})
-SPV3=$(printf %1d ${PV3})
-MYP=${PN}$(replace_version_separator 3 .)
-
-DESCRIPTION="Toolkit for simulation of passage of particles through matter"
-HOMEPAGE="http://geant4.cern.ch/"
-SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
-
-LICENSE="geant4"
-SLOT="4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+data dawn doc examples gdml geant3 inventor motif opengl
- raytracerx qt4 static-libs vrml zlib threads"
-
-RDEPEND="
- dev-libs/expat
- =sci-physics/clhep-2.3.1.0:2=
- dawn? ( media-gfx/dawn )
- gdml? ( dev-libs/xerces-c )
- motif? ( x11-libs/motif:0 )
- opengl? ( virtual/opengl )
- inventor? ( media-libs/SoXt )
- qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) )
- raytracerx? ( x11-libs/libX11 x11-libs/libXmu )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND} prefix? ( app-shells/tcsh )"
-PDEPEND="
- data? ( ~sci-physics/geant-data-${PV1}.${PV2}.${PV3} )
- doc? ( ~app-doc/geant-docs-${PV1}.${PV2}.${SPV3} )"
-
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
- epatch -p1 "${FILESDIR}/${P}-std-isnan.patch"
- use examples || epatch "${FILESDIR}"/${PN}-${PV1}.${PV2}.${SPV3}-no-examples.patch
-}
-
-src_configure() {
- local mycmakeargs=(
- -DGEANT4_USE_SYSTEM_CLHEP=ON
- -DGEANT4_INSTALL_DATA=OFF
- $(cmake-utils_use threads GEANT4_BUILD_MULTITHREADED)
- $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN)
- $(cmake-utils_use gdml GEANT4_USE_GDML)
- $(cmake-utils_use geant3 GEANT4_USE_G3TOG4)
- $(cmake-utils_use motif GEANT4_USE_XM)
- $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11)
- $(cmake-utils_use inventor GEANT4_USE_INVENTOR)
- $(cmake-utils_use qt4 GEANT4_USE_QT)
- $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11)
- $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML)
- $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB)
- $(cmake-utils_use_build static-libs STATIC_LIBS)
- )
- if use inventor; then
- mycmakeargs+=(
- -DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)"
- -DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)"
- )
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- # adjust clhep linking flags for system clhep
- # binmake.gmk is only useful for legacy build systems
- sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
- cmake-utils_src_install
- insinto /usr/share/doc/${PF}
- doins ReleaseNotes/ReleaseNotes${PV1}.${PV2}.${SPV3}.html
- [[ -f ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-1.txt ]] && \
- dodoc ReleaseNotes/Patch${PV1}.${PV2}.${SPV3}-*.txt
-}
-
-pkg_postinst() {
- elog "The following scripts are provided for backward compatibility:"
- elog "$(ls -1 ${EROOT%/}/usr/share/Geant4-${PV2}.${SPV3}.*/geant4make/*sh)"
-}
diff --git a/sci-physics/geant/geant-4.9.6_p02-r1.ebuild b/sci-physics/geant/geant-4.9.6_p02-r1.ebuild
deleted file mode 100644
index 97b4abbe397..00000000000
--- a/sci-physics/geant/geant-4.9.6_p02-r1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils eutils fortran-2 versionator multilib
-
-PV1=$(get_version_component_range 1 ${PV})
-PV2=$(get_version_component_range 2 ${PV})
-PV3=$(get_version_component_range 3 ${PV})
-MYP=${PN}$(replace_version_separator 3 .)
-
-DESCRIPTION="Toolkit for simulation of passage of particles through matter"
-HOMEPAGE="http://geant4.cern.ch/"
-SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
-
-LICENSE="geant4"
-SLOT="4"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+data dawn doc examples gdml geant3 inventor motif opengl
- raytracerx qt4 static-libs vrml zlib"
-
-RDEPEND="
- dev-libs/expat
- >=sci-physics/clhep-2.1.3
- dawn? ( media-gfx/dawn )
- gdml? ( dev-libs/xerces-c )
- motif? ( x11-libs/motif:0 )
- opengl? ( virtual/opengl )
- inventor? ( media-libs/SoXt )
- qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) )
- raytracerx? ( x11-libs/libX11 x11-libs/libXmu )
- zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}"
-PDEPEND="
- data? ( ~sci-physics/geant-data-${PV} )
- doc? ( ~app-doc/geant-docs-${PV1}.${PV2}.${PV3} )"
-
-S="${WORKDIR}/${MYP}"
-
-PATCHES=( "${FILESDIR}"/${PN}-4.9.4-zlib.patch )
-
-src_configure() {
- local mycmakeargs=(
- -DGEANT4_USE_SYSTEM_CLHEP=ON
- -DCMAKE_INSTALL_LIBDIR="${EROOT}usr/$(get_libdir)"
- -DGEANT4_INSTALL_DATA=OFF
- $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN)
- $(cmake-utils_use gdml GEANT4_USE_GDML)
- $(cmake-utils_use geant3 GEANT4_USE_G3TOG4)
- $(cmake-utils_use motif GEANT4_USE_XM)
- $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11)
- $(cmake-utils_use inventor GEANT4_USE_INVENTOR)
- $(cmake-utils_use qt4 GEANT4_USE_QT)
- $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11)
- $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML)
- $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB)
- $(cmake-utils_use_build static-libs STATIC_LIBS)
- )
- if use inventor; then
- mycmakeargs+=(
- -DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)"
- -DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)"
- )
- fi
- cmake-utils_src_configure
-}
-
-src_install() {
- # adjust clhep linking flags for system clhep
- # binmake.gmk is only useful for legacy build systems
- sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
- cmake-utils_src_install
- insinto /usr/share/doc/${PF}
- local mypv="${PV1}.${PV2}.${PV3}"
- doins ReleaseNotes/ReleaseNotes${mypv}.html
- [[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \
- dodoc ReleaseNotes/Patch${mypv}-*.txt
- use examples && doins -r examples
-}
-
-pkg_postinst() {
- elog "The following scripts are provided for backward compatibility:"
- elog "$(ls -1 ${EROOT%/}/usr/share/Geant4-${PV2}.${PV3}.*/geant4make/*sh)"
-}