diff options
author | Benda Xu <heroxbd@gentoo.org> | 2023-08-16 22:36:41 +0800 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2023-08-16 22:38:14 +0800 |
commit | b50067c9497495bae7f2d408a4f9056778e2deb4 (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /sci-physics | |
parent | Revert "repo_name: rename to rap." (diff) | |
download | heroxbd-b50067c9497495bae7f2d408a4f9056778e2deb4.tar.gz heroxbd-b50067c9497495bae7f2d408a4f9056778e2deb4.tar.bz2 heroxbd-b50067c9497495bae7f2d408a4f9056778e2deb4.zip |
clear up outdated repository after 7 years.
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'sci-physics')
35 files changed, 0 insertions, 2390 deletions
diff --git a/sci-physics/geant-python/ChangeLog b/sci-physics/geant-python/ChangeLog deleted file mode 100644 index ed1d191..0000000 --- a/sci-physics/geant-python/ChangeLog +++ /dev/null @@ -1,22 +0,0 @@ -# ChangeLog for sci-physics/geant-python -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/ChangeLog,v 1.5 2012/05/21 04:54:59 heroxbd Exp $ - - 21 May 2012; Benda Xu <heroxbd@gentoo.org> - +files/geant-python-4.9.5-vis-fix.patch, geant-python-4.9.5.ebuild: - fix VisManager c++ signature mismatch, upstream http://bugzilla- - geant4.kek.jp/show_bug.cgi?id=1318 - - 20 May 2012; Benda Xu <heroxbd@gentoo.org> +geant-python-4.9.5.ebuild - geant-python-4.9.5_p01.ebuild: - add version 4.9.5 for 4.9.5_p01 cannot function correctly, upstream bug - http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1317; add example USE flag. - -*geant-python-4.9.5_p01 (20 May 2012) - - 20 May 2012; Benda Xu <heroxbd@gentoo.org> - +files/geant-python-4.9.5-build.patch, - +files/geant-python-4.9.5-visverbose.patch, +geant-python-4.9.5_p01.ebuild, - +metadata.xml: - initial commit - diff --git a/sci-physics/geant-python/Manifest b/sci-physics/geant-python/Manifest deleted file mode 100644 index 5defda6..0000000 --- a/sci-physics/geant-python/Manifest +++ /dev/null @@ -1,16 +0,0 @@ -AUX geant-python-4.9.3-RunMan.patch 6895 RMD160 0e149dff2a85e1a2049203754baa89385cb248c4 SHA1 eca6838549a7a1630fe54898053e772adcd260f1 SHA256 4b1921ad2d29ba2cfaf277dfdc5cc2ffa685dbe2d8815a6a2a3754857de6c47e -AUX geant-python-4.9.3-VisAtt.patch 428 RMD160 3c5e556ffec340f09f2aa27b628f8b27e1fe5aee SHA1 6b4181dfce81f0ce11eb53e35126fedd298cd170 SHA256 1df0a75eecca6cf53a2ce283466127ee179d36e4622e1a426d3ace0ecfed5fd3 -AUX geant-python-4.9.3-build.patch 1144 RMD160 6b5de444a07769760b712579af222d810f21284d SHA1 fec1df65703157a7ba844ffd759e917a5e1d3f87 SHA256 b38ba49d6b85fa2bf0759710260b14fefb8e82aeb69491d038ae3b17da6cb781 -AUX geant-python-4.9.5-TrkMan.patch 578 RMD160 4e84ce2f7ce681d33b729eae4696cef88fc8f62c SHA1 489ca24d9de220215089e677602959f56255ff33 SHA256 8cd3213412da8388fb875fc0c3527a180c6977e1c2cdeaa9ca8a187a4da31ff4 -AUX geant-python-4.9.5-build.patch 1026 RMD160 2bf191ddf06e7ca29ae2f2bc4d40d533ad400979 SHA1 8c365c334a9958c52ad08a2daa9e6923bec1afa9 SHA256 ef3f725aa4165374c7b3d090af3e017e14850f409def6f8e466dcb198d7a7c7e -AUX geant-python-4.9.5-vis-fix.patch 1458 RMD160 4801f01c440b937ad51535cc9134ee143bf3b7a9 SHA1 e92ede558d390925b1ce2c8a2b02e264af8203db SHA256 4201223199e03199fd6d139e76224d365dded6013534d5655f1ada3c67159038 -AUX geant-python-4.9.5-visverbose.patch 557 RMD160 752266b165007dc61dfe3e6e21804dca63c59754 SHA1 e2691a1bd095741de558e61771b9b8992c77a2fb SHA256 0955cd39ce1f8e842e2804370359a4e367b14f4791a40fd653918c32884bed8a -DIST geant4.9.3.p02.tar.gz 20009687 RMD160 3fc3ce68965666670a2cf6e7dbe93c00b305fc30 SHA1 1728ea641ecb7ff50d2f44366add3a7569967839 SHA256 9fed501a6b0fed9050655633998acb942f7be430711e08f234dd748c23037a90 -DIST geant4.9.5.p01.tar.gz 28466803 SHA256 451f8c4a29bb0dc4b923d59d77535a657f0f8a30dc6c8ef639c8b1ebdb26a10e -DIST geant4.9.5.tar.gz 28458437 SHA256 b6b31752319805052fb765f89ca38a23fb299a0a5bf900daeacd1950d6c9a597 -EBUILD geant-python-4.9.3.ebuild 1823 RMD160 66d18e7c8a00d1896b7864b4a60405fb57015dcb SHA1 cec46b0705248b805c4c8ca77f56b21ff9381fee SHA256 6d437a0f44463353963b9347336bb20d832e11387152b9b6103a7f2a4c7ca890 -EBUILD geant-python-4.9.3_p02.ebuild 1820 RMD160 0ffc1c4d8bb259e010b5ac0c7c7b2e3791facc24 SHA1 5c044390d30abf7ea3534311578e71315934eff1 SHA256 b2f260c9727319e9183928e1d86548fedd8f0e4a47ef0723289727e16d06b621 -EBUILD geant-python-4.9.5.ebuild 1727 RMD160 a669074010e915033b144bbd77f34cd36fb3b6e9 SHA1 c06ead6a91266a2c4c9bf6bb453011cff85ffec7 SHA256 783e96853439e8c288458e61190b3c2d42e58e2b189f4b9635ec39b31723602e -EBUILD geant-python-4.9.5_p01.ebuild 2551 RMD160 9b2bc43172a66a8771e5a408ed5f7caa0d3e4a00 SHA1 dd4a008749652cc94eaa0802dc10880aceb31742 SHA256 ed802828d7ded1628c7f269d694089a36846ed7db4e924164428e96f5457df73 -MISC ChangeLog 936 RMD160 328cfe5496e2baa14e8b923095f2cd75b08ee9eb SHA1 f7b7e41cbee543fd8c0018f509d988510bcbf697 SHA256 706b342ebe984b01d30690ab87d6a111369b1bbddc928a1ab0eb455bd4766a28 -MISC metadata.xml 240 RMD160 efd4ab46b75a4f49cf759c1af44f74b7d952dfc2 SHA1 7180d1a98e53900396070713396ca66eebb913c4 SHA256 f3269ca94d60315f7e3ebf8aa24ed69d2d2c53473707c76586834f76e8ce27e3 diff --git a/sci-physics/geant-python/files/geant-python-4.9.3-RunMan.patch b/sci-physics/geant-python/files/geant-python-4.9.3-RunMan.patch deleted file mode 100644 index 6bfb875..0000000 --- a/sci-physics/geant-python/files/geant-python-4.9.3-RunMan.patch +++ /dev/null @@ -1,157 +0,0 @@ -backported from geant-4.9.5 for DumpRegion function footprint chnage ---- source/run/pyG4RunManager.cc 2006-06-30 00:35:12.000000000 +0900 -+++ source/run/pyG4RunManager.cc.new 2012-07-14 22:00:38.000000000 +0900 -@@ -23,14 +23,15 @@ - // * acceptance of all terms of the Geant4 Software license. * - // ******************************************************************** - // --// $Id: pyG4RunManager.cc,v 1.4 2006/06/29 15:35:12 gunter Exp $ --// $Name: geant4-09-03-patch-02 $ -+// $Id: pyG4RunManager.cc,v 1.6 2010-12-02 08:23:05 kmura Exp $ -+// $Name: not supported by cvs2svn $ - // ==================================================================== - // pyG4RunManager.cc - // - // 2005 Q - // ==================================================================== - #include <boost/python.hpp> -+#include "G4Version.hh" - #include "G4RunManager.hh" - #include "G4VUserDetectorConstruction.hh" - #include "G4VUserPhysicsList.hh" -@@ -72,13 +73,17 @@ void (G4RunManager::*f6_SetUserAction)(G - = &G4RunManager::SetUserAction; - - // DumpRegion -+#if G4VERSION_NUMBER >= 932 -+void (G4RunManager::*f1_DumpRegion)(const G4String&) const -+ = &G4RunManager::DumpRegion; -+#else - void (G4RunManager::*f1_DumpRegion)(G4String) const -- = &G4RunManager::DumpRegion; -+ = &G4RunManager::DumpRegion; -+#endif - void (G4RunManager::*f2_DumpRegion)(G4Region*) const - = &G4RunManager::DumpRegion; - --BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_DumpRegion, -- DumpRegion, 0, 1); -+BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_DumpRegion, DumpRegion, 0, 1); - - // BeamOn() - BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_BeamOn, BeamOn, 1, 3); -@@ -87,8 +92,8 @@ BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f - BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_AbortRun, AbortRun, 0, 1); - - // DefineWorldVolume() --BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_DefineWorldVolume, -- DefineWorldVolume, 1, 2); -+BOOST_PYTHON_MEMBER_FUNCTION_OVERLOADS(f_DefineWorldVolume, -+ DefineWorldVolume, 1, 2); - - }; - -@@ -102,18 +107,18 @@ void export_G4RunManager() - class_<G4RunManager>("G4RunManager", "run manager class") - // --- - .def("GetRunManager", &G4RunManager::GetRunManager, -- "Get an instance of G4RunManager", -- return_value_policy<reference_existing_object>()) -+ "Get an instance of G4RunManager", -+ return_value_policy<reference_existing_object>()) - .staticmethod("GetRunManager") - // --- - .def("SetVerboseLevel", &G4RunManager::SetVerboseLevel) - .def("GetVerboseLevel", &G4RunManager::GetVerboseLevel) - // --- - .def("Initialize", &G4RunManager::Initialize) -- .def("BeamOn", &G4RunManager::BeamOn, -- f_BeamOn((arg("n_event"), arg("macroFile")=0, -- arg("n_select")=-1), -- "Starts event loop.")) -+ .def("BeamOn", &G4RunManager::BeamOn, -+ f_BeamOn((arg("n_event"), arg("macroFile")=0, -+ arg("n_select")=-1), -+ "Starts event loop.")) - // --- - .def("SetUserInitialization", f1_SetUserInitialization) - .def("SetUserInitialization", f2_SetUserInitialization) -@@ -125,50 +130,58 @@ void export_G4RunManager() - .def("SetUserAction", f6_SetUserAction) - // --- - .def("GetUserDetectorConstruction", -- &G4RunManager::GetUserDetectorConstruction, -- return_internal_reference<>()) -+ &G4RunManager::GetUserDetectorConstruction, -+ return_internal_reference<>()) - .def("GetUserPhysicsList", -- &G4RunManager::GetUserPhysicsList, -- return_internal_reference<>()) -+ &G4RunManager::GetUserPhysicsList, -+ return_internal_reference<>()) - .def("GetUserPrimaryGeneratorAction", -- &G4RunManager::GetUserPrimaryGeneratorAction, -- return_internal_reference<>()) -+ &G4RunManager::GetUserPrimaryGeneratorAction, -+ return_internal_reference<>()) - .def("GetUserRunAction", &G4RunManager::GetUserRunAction, -- return_internal_reference<>()) -+ return_internal_reference<>()) - .def("GetUserEventAction", &G4RunManager::GetUserEventAction, -- return_internal_reference<>()) -+ return_internal_reference<>()) - .def("GetUserStackingAction", &G4RunManager::GetUserStackingAction, -- return_internal_reference<>()) -+ return_internal_reference<>()) - .def("GetUserTrackingAction", &G4RunManager::GetUserTrackingAction, -- return_internal_reference<>()) -+ return_internal_reference<>()) - .def("GetUserSteppingAction", &G4RunManager::GetUserSteppingAction, -- return_internal_reference<>()) -+ return_internal_reference<>()) - // --- - .def("AbortRun", &G4RunManager::AbortRun, -- f_AbortRun((arg("soft_abort")=false), -- "Abort run (event loop).")) -- .def("AbortEvent", &G4RunManager::AbortEvent) -- .def("GetVersionString", &G4RunManager::GetVersionString) -+ f_AbortRun((arg("soft_abort")=false), -+ "Abort run (event loop).")) -+ .def("AbortEvent", &G4RunManager::AbortEvent) - .def("DefineWorldVolume", &G4RunManager::DefineWorldVolume, -- f_DefineWorldVolume()) -+ f_DefineWorldVolume()) - .def("DumpRegion", f1_DumpRegion) - .def("DumpRegion", f2_DumpRegion, f_DumpRegion()) - .def("rndmSaveThisRun", &G4RunManager::rndmSaveThisRun) - .def("rndmSaveThisEvent", &G4RunManager::rndmSaveThisEvent) - .def("RestoreRandomNumberStatus", -- &G4RunManager::RestoreRandomNumberStatus) -+ &G4RunManager::RestoreRandomNumberStatus) - .def("SetRandomNumberStore", &G4RunManager::SetRandomNumberStore) - .def("GetRandomNumberStore", &G4RunManager::GetRandomNumberStore) - .def("SetRandomNumberStoreDir", &G4RunManager::SetRandomNumberStoreDir) -- .def("GetRandomNumberStoreDir", &G4RunManager::GetRandomNumberStoreDir) - .def("GeometryHasBeenModified", &G4RunManager::GeometryHasBeenModified) - .def("PhysicsHasBeenModified", &G4RunManager::PhysicsHasBeenModified) - .def("GetGeometryToBeOptimized",&G4RunManager::GetGeometryToBeOptimized) - .def("GetCurrentRun", &G4RunManager::GetCurrentRun, -- return_value_policy<reference_existing_object>()) -+ return_value_policy<reference_existing_object>()) - .def("GetCurrentEvent", &G4RunManager::GetCurrentEvent, -- return_value_policy<reference_existing_object>()) -+ return_value_policy<reference_existing_object>()) - .def("SetRunIDCounter", &G4RunManager::SetRunIDCounter) -+ -+#if G4VERSION_NUMBER >= 932 -+ .def("GetVersionString", &G4RunManager::GetVersionString, -+ return_value_policy<reference_existing_object>()) -+ .def("GetRandomNumberStoreDir", &G4RunManager::GetRandomNumberStoreDir, -+ return_internal_reference<>()) -+#else -+ .def("GetVersionString", &G4RunManager::GetVersionString) -+ .def("GetRandomNumberStoreDir", &G4RunManager::GetRandomNumberStoreDir) -+#endif - ; - - // reduced functionality... diff --git a/sci-physics/geant-python/files/geant-python-4.9.3-VisAtt.patch b/sci-physics/geant-python/files/geant-python-4.9.3-VisAtt.patch deleted file mode 100644 index 364e965..0000000 --- a/sci-physics/geant-python/files/geant-python-4.9.3-VisAtt.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- source/graphics_reps/pyG4VisAttributes.cc 2009-12-19 02:23:08.000000000 +0900 -+++ source/graphics_reps/pyG4VisAttributes.cc.new 2012-07-12 12:04:50.000000000 +0900 -@@ -31,6 +31,7 @@ - // 2005 Q - // ==================================================================== - #include <boost/python.hpp> -+#include "G4AttDef.hh" - #include "G4VisAttributes.hh" - - using namespace boost::python; diff --git a/sci-physics/geant-python/files/geant-python-4.9.3-build.patch b/sci-physics/geant-python/files/geant-python-4.9.3-build.patch deleted file mode 100644 index aa927ec..0000000 --- a/sci-physics/geant-python/files/geant-python-4.9.3-build.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- configure.old 2009-11-20 12:36:51.000000000 +0900 -+++ configure 2012-07-14 10:18:19.000000000 +0900 -@@ -3,12 +3,6 @@ - # ====================================================================== - # A configure script for Geant4Py - # ====================================================================== --export LANG=C -- --IFS=' -- ' --PATH=/bin:/usr/bin --export PATH - - # ====================================================================== - # testing the echo features -@@ -323,15 +317,18 @@ echo "lib${clhep_lib}.${shlib}" - - # --- - echo $ac_n "Checking for Python include dir (pyconfig.h) ... $ac_c" --# check version --set python python2.6 python2.5 python2.4 python2.3 python2.2 --for aincdir in $* --do -- if [ -d /usr/include/"$aincdir" ]; then -- python_incdir=/usr/include/$aincdir -- break -- fi --done -+ -+if [ ! -d "$python_incdir" ]; then -+ # check version -+ set python python2.6 python2.5 python2.4 python2.3 python2.2 -+ for aincdir in $* -+ do -+ if [ -d /usr/include/"$aincdir" ]; then -+ python_incdir=/usr/include/$aincdir -+ break -+ fi -+ done -+fi - - if [ ! -f "$python_incdir"/pyconfig.h ]; then - echo "no" diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-TrkMan.patch b/sci-physics/geant-python/files/geant-python-4.9.5-TrkMan.patch deleted file mode 100644 index df03d21..0000000 --- a/sci-physics/geant-python/files/geant-python-4.9.5-TrkMan.patch +++ /dev/null @@ -1,12 +0,0 @@ -expose secondaries for debugging of scintillation. Not yet reported upstream. ---- source/tracking/pyG4TrackingManager.cc.old 2011-12-03 00:12:32.000000000 +0900 -+++ source/tracking/pyG4TrackingManager.cc 2012-07-12 14:19:30.000000000 +0900 -@@ -51,6 +51,8 @@ void export_G4TrackingManager() - .def("GetVerboseLevel", &G4TrackingManager::GetVerboseLevel) - .def("SetUserTrackInformation", - &G4TrackingManager::SetUserTrackInformation) -+ .def("GimmeSecondaries", &G4TrackingManager::GimmeSecondaries, -+ return_value_policy<return_by_value>()) - ; - } - diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-build.patch b/sci-physics/geant-python/files/geant-python-4.9.5-build.patch deleted file mode 100644 index 94f5dd2..0000000 --- a/sci-physics/geant-python/files/geant-python-4.9.5-build.patch +++ /dev/null @@ -1,39 +0,0 @@ -make configure respect --with-python-incdir -reported upstream at http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1316 -diff --git a/configure b/configure -index 2d755b1..3db111f 100755 ---- a/configure -+++ b/configure -@@ -330,18 +330,21 @@ echo "lib${clhep_lib}.${shlib}" - # --- - echo $ac_n "Checking for Python include dir (pyconfig.h) ... $ac_c" - # check version --if [ $with_python3 = 0 ]; then -- set python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 --else -- set python3.1 python3.0 -+if [ ! -d "$python_incdir" ] -+then -+ if [ $with_python3 = 0 ]; then -+ set python python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 -+ else -+ set python3.1 python3.0 -+ fi -+ for aincdir in $* -+ do -+ if [ -d /usr/include/"$aincdir" ]; then -+ python_incdir=/usr/include/$aincdir -+ break -+ fi -+ done - fi --for aincdir in $* --do -- if [ -d /usr/include/"$aincdir" ]; then -- python_incdir=/usr/include/$aincdir -- break -- fi --done - - if [ ! -f "$python_incdir"/pyconfig.h ]; then - echo "no" diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-vis-fix.patch b/sci-physics/geant-python/files/geant-python-4.9.5-vis-fix.patch deleted file mode 100644 index 1826764..0000000 --- a/sci-physics/geant-python/files/geant-python-4.9.5-vis-fix.patch +++ /dev/null @@ -1,31 +0,0 @@ -fix the C++ signature, upstream http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1318 -diff --git a/source/visualization/pyG4VisManager.cc b/source/visualization/pyG4VisManager.cc -index 33bb0d4..bbd9e0a 100644 ---- a/source/visualization/pyG4VisManager.cc -+++ b/source/visualization/pyG4VisManager.cc -@@ -39,7 +39,7 @@ using namespace boost::python; - // ==================================================================== - // wrappers - // ==================================================================== --class PyG4VisManager : public G4VisManager { -+struct PyG4VisManager : G4VisManager, wrapper<G4VisManager> { - public: - PyG4VisManager() { SetVerboseLevel(quiet); } - ~PyG4VisManager() { } -@@ -62,7 +62,7 @@ void (PyG4VisManager::*f1_SetVerboseLevel)(G4int) - = &PyG4VisManager::SetVerboseLevel; - void (PyG4VisManager::*f2_SetVerboseLevel)(const G4String&) - = &PyG4VisManager::SetVerboseLevel; -- void (PyG4VisManager::*f3_SetVerboseLevel)(G4VisManager::Verbosity) -+void (PyG4VisManager::*f3_SetVerboseLevel)(G4VisManager::Verbosity) - = &PyG4VisManager::SetVerboseLevel; - - } -@@ -87,6 +87,7 @@ void export_G4VisManager() - .def("SetVerboseLevel", f2_SetVerboseLevel) - .def("SetVerboseLevel", f3_SetVerboseLevel) - .def("GetVerbosity", &PyG4VisManager::GetVerbosity) -+ .staticmethod("GetVerbosity") - .def("Initialize", &PyG4VisManager::Initialize) - .def("RegisterGraphicsSystem", &PyG4VisManager::RegisterGraphicsSystem) - ; diff --git a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch b/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch deleted file mode 100644 index 0508f28..0000000 --- a/sci-physics/geant-python/files/geant-python-4.9.5-visverbose.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/source/visualization/pyG4VisManager.cc b/source/visualization/pyG4VisManager.cc -index 33bb0d4..00f86a5 100644 ---- a/source/visualization/pyG4VisManager.cc -+++ b/source/visualization/pyG4VisManager.cc -@@ -41,7 +41,7 @@ using namespace boost::python; - // ==================================================================== - class PyG4VisManager : public G4VisManager { - public: -- PyG4VisManager() { SetVerboseLevel(quiet); } -+ PyG4VisManager() { SetVerboseLevel(all); } - ~PyG4VisManager() { } - - virtual void RegisterGraphicsSystems() { } diff --git a/sci-physics/geant-python/geant-python-4.9.3.ebuild b/sci-physics/geant-python/geant-python-4.9.3.ebuild deleted file mode 100644 index ab68958..0000000 --- a/sci-physics/geant-python/geant-python-4.9.3.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/geant-python-4.9.5.ebuild,v 1.2 2012/05/21 04:49:12 heroxbd Exp $ - -EAPI=4 - -inherit python versionator - -MYP="geant$(replace_version_separator 3 .)" - -DESCRIPTION="this ebuild is only for geant4.9.3 on teena" -HOMEPAGE="http://geant4.cern.ch/" -# SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -LICENSE="geant4" -SLOT="0" -IUSE="examples" - -RDEPEND="=sci-physics/geant-${PV}* \ - dev-libs/boost[python]" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}/environments/g4py" - -src_unpack() { - mkdir -p "${S}" - cp -a ${G4INSTALL}/environments/g4py/* "${S}"/ -} - -src_prepare() { - # DISTDIR and python path patch - epatch "${FILESDIR}"/${P}-build.patch - - # fix the visManager wrapper - epatch "${FILESDIR}"/${PN}-4.9.5-vis-fix.patch - epatch "${FILESDIR}"/${P}-VisAtt.patch -} - -src_configure() { - case ${CHOST} in - x86_64-pc-linux-gnu) - ARG=linux64 - ;; - i?86-pc-linux-gnu) - ARG=linux - ;; - *) - die "platform unknown" - ;; - esac - - ./configure ${ARG} \ - --prefix="${EPREFIX}/usr" \ - --libdir="${ED}/$(python_get_sitedir)" \ - --with-g4-incdir="${G4INSTALL}/include/Geant4" \ - --with-g4-libdir="${G4INSTALL}/lib/Linux-g++" \ - --with-clhep-incdir="${EPREFIX}/usr/include" \ - --with-clhep-libdir="${EPREFIX}/usr/lib" \ - --with-python-incdir="${EPREFIX}$(python_get_includedir)" \ - --with-python-libdir="${EPREFIX}$(python_get_libdir)" \ - --with-boost-incdir="${EPREFIX}/usr/include" \ - --with-boost-libdir="${EPREFIX}/usr/lib" \ - || die "configure failed" -} - -src_install() { - emake DESTDIR="${ED}" install - insinto /usr/share/doc/${PF} - dodoc 00README History AUTHORS - use examples && doins -r examples -} diff --git a/sci-physics/geant-python/geant-python-4.9.3_p02.ebuild b/sci-physics/geant-python/geant-python-4.9.3_p02.ebuild deleted file mode 100644 index e3db0eb..0000000 --- a/sci-physics/geant-python/geant-python-4.9.3_p02.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/geant-python-4.9.5.ebuild,v 1.2 2012/05/21 04:49:12 heroxbd Exp $ - -EAPI=4 - -inherit python versionator - -MYP="geant$(replace_version_separator 3 .)" - -DESCRIPTION="Python binding for geant" -HOMEPAGE="http://geant4.cern.ch/" -SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -LICENSE="geant4" -SLOT="0" -IUSE="examples" - -RDEPEND="=sci-physics/geant-${PV}* \ - dev-libs/boost[python]" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}/environments/g4py" - -src_prepare() { - # DISTDIR and python path patch - epatch "${FILESDIR}"/${PN}-4.9.3-build.patch - - # fix the visManager wrapper - epatch "${FILESDIR}"/${PN}-4.9.5-vis-fix.patch - - epatch "${FILESDIR}"/${PN}-4.9.5-TrkMan.patch - epatch "${FILESDIR}"/${PN}-4.9.3-VisAtt.patch - epatch "${FILESDIR}"/${PN}-4.9.3-RunMan.patch -} - -src_configure() { - case ${CHOST} in - x86_64-pc-linux-gnu) - ARG=linux64 - ;; - i?86-pc-linux-gnu) - ARG=linux - ;; - *) - die "platform unknown" - ;; - esac - - ./configure ${ARG} \ - --prefix="${EPREFIX}/usr" \ - --libdir="${ED}/$(python_get_sitedir)" \ - --with-g4-incdir="${EPREFIX}/usr/include/geant" \ - --with-g4-libdir="${EPREFIX}/usr/lib" \ - --with-clhep-incdir="${EPREFIX}/usr/include" \ - --with-clhep-libdir="${EPREFIX}/usr/lib" \ - --with-python-incdir="${EPREFIX}$(python_get_includedir)" \ - --with-python-libdir="${EPREFIX}$(python_get_libdir)" \ - --with-boost-incdir="${EPREFIX}/usr/include" \ - --with-boost-libdir="${EPREFIX}/usr/lib" \ - || die "configure failed" -} - -src_install() { - emake DESTDIR="${ED}" install - insinto /usr/share/doc/${PF} - dodoc 00README History AUTHORS - use examples && doins -r examples -} diff --git a/sci-physics/geant-python/geant-python-4.9.5.ebuild b/sci-physics/geant-python/geant-python-4.9.5.ebuild deleted file mode 100644 index 7580ffc..0000000 --- a/sci-physics/geant-python/geant-python-4.9.5.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/geant-python-4.9.5.ebuild,v 1.2 2012/05/21 04:49:12 heroxbd Exp $ - -EAPI=4 - -inherit python versionator - -MYP="geant$(replace_version_separator 3 .)" - -DESCRIPTION="Python binding for geant" -HOMEPAGE="http://geant4.cern.ch/" -SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -LICENSE="geant4" -SLOT="0" -IUSE="examples" - -RDEPEND="=sci-physics/geant-${PV}* \ - dev-libs/boost[python]" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}/environments/g4py" - -src_prepare() { - # DISTDIR and python path patch - epatch "${FILESDIR}"/${PN}-4.9.5-build.patch - - # fix the visManager wrapper - epatch "${FILESDIR}"/${PN}-4.9.5-vis-fix.patch - - epatch "${FILESDIR}"/${PN}-4.9.5-TrkMan.patch -} - -src_configure() { - case ${CHOST} in - x86_64-pc-linux-gnu) - ARG=linux64 - ;; - i?86-pc-linux-gnu) - ARG=linux - ;; - *) - die "platform unknown" - ;; - esac - - ./configure ${ARG} \ - --prefix="${EPREFIX}/usr" \ - --libdir="${ED}/$(python_get_sitedir)" \ - --with-g4-incdir="${EPREFIX}/usr/include/Geant4" \ - --with-g4-libdir="${EPREFIX}/usr/lib" \ - --with-clhep-incdir="${EPREFIX}/usr/include" \ - --with-clhep-libdir="${EPREFIX}/usr/lib" \ - --with-python-incdir="${EPREFIX}$(python_get_includedir)" \ - --with-python-libdir="${EPREFIX}$(python_get_libdir)" \ - --with-boost-incdir="${EPREFIX}/usr/include" \ - --with-boost-libdir="${EPREFIX}/usr/lib" \ - || die "configure failed" -} - -src_install() { - emake DESTDIR="${ED}" install - insinto /usr/share/doc/${PF} - dodoc 00README History AUTHORS - use examples && doins -r examples -} diff --git a/sci-physics/geant-python/geant-python-4.9.5_p01.ebuild b/sci-physics/geant-python/geant-python-4.9.5_p01.ebuild deleted file mode 100644 index 61b8f1c..0000000 --- a/sci-physics/geant-python/geant-python-4.9.5_p01.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant-python/geant-python-4.9.5_p01.ebuild,v 1.2 2012/05/20 16:48:17 heroxbd Exp $ - -EAPI=4 - -inherit python versionator - -MYP="geant$(replace_version_separator 3 .)" - -DESCRIPTION="Python binding for geant" -HOMEPAGE="http://geant4.cern.ch/" -SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - -LICENSE="geant4" -SLOT="0" -IUSE="examples" - -RDEPEND="=sci-physics/geant-${PV}* \ - dev-libs/boost[python]" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}/environments/g4py" - -src_prepare() { - # DISTDIR and python path patch - epatch "${FILESDIR}"/${PN}-4.9.5-build.patch - - # set to the highest verbose for visManager - epatch "${FILESDIR}"/${PN}-4.9.5-visverbose.patch - - # let Geant4 module installed into python sitedir instead of default - sed -i "/G4PY_LIBDIR :=/cG4PY_LIBDIR := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ - config/install.gmk || die "sed failed on config/install.gmk" - for mfile in source/python{3,}/GNUmakefile - do - sed -i "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/Geant4" \ - "${mfile}" || die "sed failed on ${mfile}" - done - - # let g4py module installed into python sitedir instead of default - sed -i "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ - config/site-install.gmk || die "sed failed on config/site-install.gmk" - for mfile in {processes/emcalculator,utils/MCScore}/{python3/,}GNUmakefile python/GNUmakefile - do - sed -i "/install_dir :=/cinstall_dir := $\(DESTDIR\)$(python_get_sitedir)/g4py" \ - "site-modules/${mfile}" || die "sed failed on site-modules/${mfile}" - done -} - -src_configure() { - case ${CHOST} in - x86_64-pc-linux-gnu) - ARG=linux64 - ;; - i?86-pc-linux-gnu) - ARG=linux - ;; - *) - die "platform unknown" - ;; - esac - - ./configure ${ARG} \ - --prefix="${EPREFIX}/usr" \ - --with-g4-incdir="${EPREFIX}/usr/include/Geant4" \ - --with-g4-libdir="${EPREFIX}/usr/lib" \ - --with-clhep-incdir="${EPREFIX}/usr/include" \ - --with-clhep-libdir="${EPREFIX}/usr/lib" \ - --with-python-incdir="${EPREFIX}$(python_get_includedir)" \ - --with-python-libdir="${EPREFIX}$(python_get_libdir)" \ - --with-boost-incdir="${EPREFIX}/usr/include" \ - --with-boost-libdir="${EPREFIX}/usr/lib" \ - || die "configure failed" -} - -src_install() { - emake DESTDIR="${ED}" install - insinto /usr/share/doc/${PF} - dodoc 00README History AUTHORS - use examples && doins -r examples -} diff --git a/sci-physics/geant-python/metadata.xml b/sci-physics/geant-python/metadata.xml deleted file mode 100644 index c7e8266..0000000 --- a/sci-physics/geant-python/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>sci-physics</herd> - <longdescription lang="en"> -Python binding to Geant 4. -</longdescription> -</pkgmetadata> diff --git a/sci-physics/geant/ChangeLog b/sci-physics/geant/ChangeLog deleted file mode 100644 index 7ebdd24..0000000 --- a/sci-physics/geant/ChangeLog +++ /dev/null @@ -1,323 +0,0 @@ -# ChangeLog for sci-physics/geant -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.64 2012/06/16 13:08:36 ago Exp $ - - 16 Jun 2012; Agostino Sarubbo <ago@gentoo.org> geant-4.9.4_p03.ebuild: - Stable for amd64, wrt bug #420295 - - 20 May 2012; Benda Xu <heroxbd@gentoo.org> geant-4.9.5-r1.ebuild, - geant-4.9.5_p01.ebuild: - I have massed up the keywords and Changelog with blind rsync with my overlay. - This is just a fix. - - 20 May 2012; Benda Xu <heroxbd@gentoo.org> +geant-4.9.5-r1.ebuild, - +files/geant-4.9.5_p01-scripts-only-dataenv.patch, - files/geant-4.9.5-scripts-only-dataenv.patch: - add back geant-4.9.5-r1.ebuild because geant-python cannot function correctly - with 4.9.5_p01, upstream http://bugzilla-geant4.kek.jp/show_bug.cgi?id=1317 - -*geant-4.9.5_p01 (19 May 2012) - - 19 May 2012; Benda Xu <heroxbd@gentoo.org> +geant-4.9.5_p01.ebuild, - -geant-4.9.5-r1.ebuild, files/geant-4.9.4-zlib.patch, - files/geant-4.9.5-scripts-only-dataenv.patch: - version bump to 4.9.5_p01 - - 19 May 2012; Benda Xu <heroxbd@gentoo.org> geant-4.9.5-r1.ebuild: - delete the wrong sed phrase. - - 18 May 2012; Benda Xu <heroxbd@gentoo.org> - +files/geant-4.9.5-scripts-only-dataenv.patch, geant-4.9.5-r1.ebuild: - keyword amd64-linux and x86-linux; handle data dir via envd; fix clhep linking - - 16 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> -geant-4.9.5.ebuild, - geant-4.9.5-r1.ebuild: - Fix for openinventor to use SGI OpenInventor in portage instead of SoXt, bug - #408187 - -*geant-4.9.5-r1 (13 Mar 2012) - - 13 Mar 2012; Sébastien Fabbro <bicatali@gentoo.org> - files/geant-4.9.4-zlib.patch, +geant-4.9.5-r1.ebuild: - Fixed more zlib issues. The geant3 flag is now only for unit conversion (if - geant3 is needed, geant:3 has to be installed from user). The data is now - fetched (building needs network) to ease maintenance and set up the proper - env variables in the geant4*sh scripts. Removed a use dawn duplicate. Thanks - Marek Szuba for his suggestions (bug #407517 and bug #359673). Added a - message for backward compatibility (bug #360285) - -*geant-4.9.5 (18 Dec 2011) -*geant-4.9.4_p03 (18 Dec 2011) - - 18 Dec 2011; Sébastien Fabbro <bicatali@gentoo.org> - -geant-4.9.3_p02-r1.ebuild, -geant-4.9.4_p01.ebuild, +geant-4.9.4_p03.ebuild, - +files/geant-4.9.4-trajectory.patch, files/geant-4.9.4-zlib.patch, - +geant-4.9.5.ebuild: - Version bumps. Re-introduced some older flags and fixed linking of - zlib. Added patch for source trajectory example (bug #365171), thanks Matthias Nagl. - - 02 Aug 2011; Matt Turner <mattst88@gentoo.org> geant-4.9.2_p02.ebuild, - geant-4.9.3_p02-r1.ebuild: - Renamed x11-libs/Xaw3d to x11-libs/libXaw3d. - -*geant-3.21.14-r3 (21 Jul 2011) - - 21 Jul 2011; Sébastien Fabbro <bicatali@gentoo.org> - +geant-3.21.14-r3.ebuild: - New debian patch set. Switch to EAPI4 - - 28 Jun 2011; Justin Lecher <jlec@gentoo.org> geant-3.21.14-r2.ebuild, - geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4_p01.ebuild, - metadata.xml: - Fix sed on *FLAGS from : to |, EAPI bump - - 21 Jun 2011; Justin Lecher <jlec@gentoo.org> geant-3.21.14-r2.ebuild, - geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4_p01.ebuild: - Add dependency on virtual/fortran - - 21 Jun 2011; Justin Lecher <jlec@gentoo.org> geant-3.21.14-r2.ebuild, - geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4_p01.ebuild: - Added fortran-2.eclass support - - 07 Jun 2011; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r2.ebuild, - geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4_p01.ebuild: - Drop HPPA keywording. - - 22 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> geant-4.9.4_p01.ebuild: - Proper CMake optional use bug #359437 thanks Rafal Lalik - -*geant-4.9.4_p01 (18 Mar 2011) - - 18 Mar 2011; Sébastien Fabbro <bicatali@gentoo.org> -geant-4.9.4.ebuild, - +geant-4.9.4_p01.ebuild: - Version bump. Unm Unmasking. - - 13 Feb 2011; Raúl Porcel <armin76@gentoo.org> geant-3.21.14-r2.ebuild, - geant-4.9.2_p02.ebuild, geant-4.9.3_p02-r1.ebuild, geant-4.9.4.ebuild: - Drop sparc keywords - - 07 Feb 2011; Sébastien Fabbro <bicatali@gentoo.org> geant-4.9.4.ebuild: - Fixed a forgotten flag, thanks Rafal Lalik bug #353740 - -*geant-4.9.4 (22 Jan 2011) - - 22 Jan 2011; Sébastien Fabbro <bicatali@gentoo.org> - geant-4.9.3_p02-r1.ebuild, files/geant-4.9.3-zlib.patch, +geant-4.9.4.ebuild, - +files/geant-4.9.4-datadir.patch, +files/geant-4.9.4-libdir.patch, - +files/geant-4.9.4-no-benchmarks.patch, +files/geant-4.9.4-no-examples.patch, - +files/geant-4.9.4-zlib.patch, metadata.xml: - Version bump, switched to cmake. Fixed Qt drivers bug #263450, bug #347279. - Removed G4WORKDIR bug #345855. - -*geant-4.9.3_p02-r1 (07 Nov 2010) - - 07 Nov 2010; Kacper Kowalik <xarthisius@gentoo.org> - -geant-4.9.3_p01.ebuild, -geant-4.9.3_p02.ebuild, - +geant-4.9.3_p02-r1.ebuild, +files/geant-4.9.3-respect_flags.patch: - Fix building with --as-needed wrt bug 344119, respect CXX. Drop old. - - 10 Oct 2010; Ulrich Mueller <ulm@gentoo.org> geant-3.21.14-r2.ebuild, - geant-4.9.2_p02.ebuild, geant-4.9.3_p01.ebuild, geant-4.9.3_p02.ebuild: - Fix openmotif dependency. - -*geant-4.9.3_p02 (29 Sep 2010) - - 29 Sep 2010; Sébastien Fabbro <bicatali@gentoo.org> - +geant-4.9.3_p02.ebuild: - Version bump - - 12 Aug 2010; Sébastien Fabbro <bicatali@gentoo.org> - geant-4.9.2_p02.ebuild, -geant-4.9.3.ebuild, geant-4.9.3_p01.ebuild: - Change clhep dependency, clhep-2.1 api incompatible - -*geant-4.9.3_p01 (27 Apr 2010) - - 27 Apr 2010; Sébastien Fabbro <bicatali@gentoo.org> - +geant-4.9.3_p01.ebuild: - Version bump. Switched static flag to static-libs - -*geant-4.9.3 (08 Jan 2010) - - 08 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> - -geant-4.9.2-r2.ebuild, +geant-4.9.3.ebuild, - +files/geant-4.9.3-zlib.patch: - Version bump, thanks Ben Bannier - - 26 Dec 2009; Raúl Porcel <armin76@gentoo.org> geant-4.9.2_p02.ebuild: - sparc stable wrt #294442 - - 10 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org> - geant-4.9.2_p02.ebuild: - Propagate compiler correctly, bug #296043 - - 07 Dec 2009; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r2.ebuild, - geant-4.9.2_p02.ebuild: - Stable for HPPA (bug #294442). - - 04 Dec 2009; Sébastien Fabbro <bicatali@gentoo.org> - geant-3.21.14-r2.ebuild: - Re-changing to old style patching at least until patch-2.6 is not buggy - and masked - - 26 Nov 2009; Markus Meier <maekke@gentoo.org> geant-4.9.2_p02.ebuild: - amd64 stable, bug #294442 - - 26 Nov 2009; Sébastien Fabbro <bicatali@gentoo.org> - geant-3.21.14-r2.ebuild: - Fixing patch application with more recent versions - - 26 Nov 2009; Christian Faulhammer <fauli@gentoo.org> - geant-4.9.2_p02.ebuild: - stable x86, bug 294442 - - 06 Oct 2009; Dominik Kapusta <ayoy@gentoo.org> geant-4.9.2-r2.ebuild, - geant-4.9.2_p02.ebuild: - Removed alternative dependency on Qt metapackage - -*geant-4.9.2_p02 (23 Sep 2009) - - 23 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> - -geant-4.9.1_p03.ebuild, -geant-4.9.2_p01.ebuild, +geant-4.9.2_p02.ebuild, - metadata.xml: - Version bump. Added aida USE flag, fixed Qt and GDML build options, - hopefully fixing examples compiling (bug #260102), thanks Matej and - Giovanni Fattori for their input - - 05 May 2009; Christian Faulhammer <fauli@gentoo.org> - geant-3.21.14-r2.ebuild, geant-4.9.2-r2.ebuild: - stable x86, bug 245875 - - 17 Apr 2009; Sébastien Fabbro <bicatali@gentoo.org> geant-3.21.14-r2: - Fixed some latex font generation and made ebuild consistent with other - cernlib ebuilds - - 23 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org> - geant-4.9.2-r2.ebuild: - Added building of opengl qt4 driver, thanks merkel@kph.uni-mainz.de (bug - #263450) for noticing - - 22 Mar 2009; Jeremy Olexa <darkside@gentoo.org> geant-4.9.2-r2.ebuild: - amd64 stable, bug 245875 - - 22 Mar 2009; Jeremy Olexa <darkside@gentoo.org> geant-3.21.14-r2.ebuild: - amd64 stable, bug 245875 - -*geant-4.9.2_p01 (18 Mar 2009) - - 18 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org> - geant-3.21.14-r2.ebuild, +geant-4.9.2_p01.ebuild: - Version bump (bug fixes only) - - 05 Mar 2009; Ferris McCormick <fmccor@gentoo.org> geant-4.9.2-r2.ebuild: - Sparc stable, although early. See Bug #245875 --- needed for gcc-4.3 (Bug - #245160). - - 05 Mar 2009; Sébastien Fabbro <bicatali@gentoo.org> - geant-4.9.2-r2.ebuild: - Fixed linking qt4 libraries, added G4WORKDIR to make it work on paludis - and a bit of ebuild cleaning - - 03 Mar 2009; Ferris McCormick <fmccor@gentoo.org> geant-3.21.14-r2.ebuild: - Sparc stable, part of Bug #245875. - -*geant-4.9.2-r2 (27 Feb 2009) - - 27 Feb 2009; Sébastien Fabbro <bicatali@gentoo.org> -geant-4.9.2.ebuild, - -geant-4.9.2-r1.ebuild, +geant-4.9.2-r2.ebuild: - Adding fixes from Benjamin Bannier to include linking when building - examples, and a syntax error caught by Matej Batic, see bug #260102 - -*geant-4.9.2-r1 (19 Jan 2009) - - 19 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> - +files/geant-4.9.2-zlib.patch, +geant-4.9.2-r1.ebuild: - Added a patch to avoid linking to G4zlib, closing bug #255017, thanks to - Benjamin Bannier for the hint - -*geant-4.9.2 (10 Jan 2009) - - 10 Jan 2009; Sébastien Fabbro <bicatali@gentoo.org> +geant-4.9.2.ebuild: - Version bump. Switched to EAPI=2, added qt4 support, updated data files, - updated minimum dependencies, and now propagate LDFLAGS. Closing bug #253769. - - 24 Nov 2008; Sébastien Fabbro <bicatali@gentoo.org> - -geant-4.9.1_p02.ebuild, geant-4.9.1_p03.ebuild: - Removed bundled zlib, closing bug #248423 - -*geant-4.9.1_p03 (23 Sep 2008) - - 23 Sep 2008; Sébastien Fabbro <bicatali@gentoo.org> - +geant-4.9.1_p03.ebuild: - Version bump. Closing bug #238132. - - 06 Aug 2008; Ulrich Mueller <ulm@gentoo.org> metadata.xml: - Add USE flag description to metadata wrt GLEP 56. - - 17 Jul 2008; Sébastien Fabbro <bicatali@gentoo.org> - geant-4.9.1_p02.ebuild: - Fixed the make global step to not remove previous built granula libaries, - see bug #231314, thanks Benjamin Bannier. - - 15 Jul 2008; Ferris McCormick <fmccor@gentoo.org> geant-4.9.1_p02.ebuild: - Add ~sparc for testing and for sci-physics/root --- Bug #230716 which see - for comments. - - 15 Jul 2008; Ferris McCormick <fmccor@gentoo.org> geant-3.21.14-r2.ebuild: - Add ~sparc for testing, dependency required for Bug #230716. - - 15 Jul 2008; Jeroen Roovers <jer@gentoo.org> geant-4.9.1_p02.ebuild: - Marked ~hppa (bug #230716). - - 14 Jul 2008; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r2.ebuild: - Marked ~hppa (bug #230716). - - 10 Jul 2008; Sébastien Fabbro <bicatali@gentoo.org> - geant-4.9.1_p02.ebuild: - Fix some global libraries issues, see bug #231314, thanks Benjamin Bannier - for his patch. - - 06 Jul 2008; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r1.ebuild: - Fix duplicate KEYWORDS definition. - - 06 Jul 2008; Jeroen Roovers <jer@gentoo.org> geant-3.21.14-r2.ebuild: - Fix duplicate KEYWORDS definition. - - 29 Jun 2008; Torsten Veller <tove@gentoo.org> geant-3.21.14-r1.ebuild, - geant-3.21.14-r2.ebuild: - Add missing die: || "..." -> || die "..." - - 27 Jun 2008; Ulrich Mueller <ulm@gentoo.org> geant-3.21.14-r1.ebuild, - geant-3.21.14-r2.ebuild, geant-4.9.1_p02.ebuild: - Change dependency from virtual/motif to x11-libs/openmotif, bug 224749. - -*geant-4.9.1_p02 (06 Jun 2008) -*geant-3.21.14-r2 (06 Jun 2008) - - 06 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml, - -geant-3.21.14.ebuild, +geant-3.21.14-r2.ebuild, +geant-4.9.1_p02.ebuild: - Added major version bump for geant-4, slotted. Thanks much to Benjamin - Bennier for his work (bug #212221). Now geant-3 is also slotted, and got a - revision bump - -*geant-4.9.1_p02 (06 Jun 2008) -*geant-3.21.14-r2 (06 Jun 2008) - - 06 Jun 2008; Sébastien Fabbro <bicatali@gentoo.org> metadata.xml, - -geant-3.21.14.ebuild, +geant-3.21.14-r2.ebuild, +geant-4.9.1_p02.ebuild: - Added major version bump for geant-4, slotted. Thanks much to Benjamin - Bennier for his work (bug #212221). Now geant-3 is also slotted, and got a - revision bump - -*geant-3.21.14-r1 (11 Mar 2008) - - 11 Mar 2008; Sébastien Fabbro <bicatali@gentoo.org> - +geant-3.21.14-r1.ebuild: - New series of patches from Debian, more compatible with gfortran and better - tests. Much ebuild cleaning. - -*geant-3.21.14 (24 Aug 2007) - - 24 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml, - +geant-3.21.14.ebuild: - Initial import. - diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest deleted file mode 100644 index 7e17621..0000000 --- a/sci-physics/geant/Manifest +++ /dev/null @@ -1,41 +0,0 @@ -AUX geant-4.9.2-zlib.patch 239 RMD160 790953077b7fc59d1ce7c3ed98cdb3dcc3134705 SHA1 7a0552dab08873665b8668a21a8c52841c8e5ae2 SHA256 f5ceee577afeb719718cd23887f9c1eba322077dce1f3d89bc075bacd63e5573 -AUX geant-4.9.3-respect_flags.patch 3731 RMD160 b7ab40cbda0557639605bc9d8285a48af893f3c7 SHA1 88c4cdede3a86d1c41e589ece95a7fc6d74969dc SHA256 7b877a11325a9eb8bc208473622f03189a47b42d01e6fc53836f2aa70b282739 -AUX geant-4.9.3-zlib.patch 613 RMD160 192c6ac17d47eee4c9f116ceb96850e12390455a SHA1 070e01d43cb953e5bfbbefdbdbb5433ea583c54e SHA256 9b83cd998fa08c4312f0a56c1e72f7611217b1bde4b8553fd5e6735592b6cfc1 -AUX geant-4.9.4-datadir.patch 2203 RMD160 251419f9780cda5a7eb527201da9568af34da0f1 SHA1 761b40db8d3ad73fbf4f3004f902db64c668f576 SHA256 3c97d883732299ecb008d6c114d92556a937b93966ec21fb612809b03d0a95f8 -AUX geant-4.9.4-libdir.patch 1328 RMD160 518d42f5e9263828c3f90fdbde3d1d352d4b21a8 SHA1 8bd752545466909bee69adc89850f0529ed1a4ef SHA256 36f43915868ea87f2b80c9ea360b24726389a8839ef06323e58a08fdf5833338 -AUX geant-4.9.4-no-benchmarks.patch 370 RMD160 759b19161b950963a04cb6bd7b7dadb918c7fd08 SHA1 8c1bec8775809e5e4655269ee136f294204151c6 SHA256 5ff40079b5669335b1701831fba3922b525d2fdd594704750111d7eaea45b693 -AUX geant-4.9.4-no-examples.patch 486 RMD160 7ef349c41d31041af9b5edfd3e82c5fbcfbbae6a SHA1 314a826f5671edbc237e7a960d8c944af3463560 SHA256 4ae8e7bc5790b5cb207d440bd3c05e81196528517af2f32c0e3483ed41d12d99 -AUX geant-4.9.4-trajectory.patch 390 RMD160 4e654e0ff42c2c1b1c2320e2deb6f8ff0f3d45e6 SHA1 2adba855b88f7461d4dc14dfa4e958c97e90c682 SHA256 6e4c0b2a44960411132130d379f6c9a7f867a656e4851ac9b1fd584685ae204c -AUX geant-4.9.4-zlib.patch 1014 RMD160 bbafd66c1014a84cc8a7445a26f2314e4abb359f SHA1 f1c2ec1e8fa514f4dd2d22ec88d6217a24dc03b4 SHA256 fa7d09b2a481b9183f6f1518e2490458b616c41a90824e6d6a37ca08bddc06b5 -AUX geant-4.9.5-scripts-only-dataenv.patch 2046 RMD160 0ca3d69afc2fdf07ad0dfb0ed256434ba8b5ebde SHA1 1777776d7b7435a27aec9c97cc9f2da69c6f7802 SHA256 1b878d401e117337d0d6c6b65fea33716eb482d3ddc243fa19c705474274f12a -AUX geant-4.9.5_p01-scripts-only-dataenv.patch 2047 RMD160 6811e289da2f3b874f93ea9db7627f8baae995fb SHA1 f24fcb10cca91d866630fdc50172c046844af79a SHA256 db809c4866129cb9c9f2eabdf3e0decf25a3f97b8a4742a6de5b76ff3ce452f6 -DIST G4ABLA.3.0.tar.gz 54909 RMD160 5a032ee8e90d00f39b67114fe257ec47001f347b SHA1 5f38676f1650a508e49d35f9405ac96984388135 SHA256 ff0b77be6b36204eeeba71099f6b7530edd80b79eb015994535bc4334bc821eb -DIST G4EMLOW.6.19.tar.gz 14396144 RMD160 ba67b3f1ee215966adc99661a1db4a5bf09c5511 SHA1 f63e41a43a3d0c793a04dbb6cce0bdcfeedf6889 SHA256 8876defe74e4c1e9d6b58b2365a9b468ac8d996fb63fa1c6ba6240e0b185845f -DIST G4EMLOW.6.2.tar.gz 8389172 SHA256 1affbc66d8809db0c8e450ca83a0da744e7f5b8e912ec52e93b1f24b47cbd781 -DIST G4EMLOW.6.9.tar.gz 11203887 RMD160 8306a6af7ec41ec16790df2130b4f9b437bb7d9e SHA1 d4d026f96990d4ed15a6b550b1990ba335248965 SHA256 4b84114b62a6085f5955094437f5ca8383f758ecb3e23fbfa433012b8e10b962 -DIST G4NDL.3.13.tar.gz 57034762 RMD160 243b206170d996c7b562a86e388ff4d5f8d11764 SHA1 4acc412a2f29a7a8f84ac50aeb7331c8ed2889ae SHA256 e994b873032b3d1c0bcc2679275c43354d3e1cd5091da76c8fcd4826536f17a3 -DIST G4NDL.3.14.tar.gz 58794491 RMD160 8393b5e0301526ec747da133b6972c70b8c44210 SHA1 dc8b7a5fa0fcd06a85071c1b09730de6d04362d3 SHA256 08ff1d4fb0953f2502d88f76fb9db1d4314c975564731f11c9372d0ea992cafa -DIST G4NEUTRONXS.1.0.tar.gz 1186619 SHA256 577d28b7faa41caacb001a30384028cd5e3b7018755ab94a427ce0a7feeab365 -DIST G4PII.1.2.tar.gz 3387814 RMD160 6f7553941ce2130c7f463a2ec7613c801792ccfb SHA1 65e72c1507370c0cdbc2505bb02083e04fd5667c SHA256 80e680d7343ed051bcfffd910c682cfd66980cecd1c0bc435f06c6c740a6f99d -DIST G4PhotonEvaporation.2.1.tar.gz 7504003 SHA256 08ab657a060518c9b7aab03b17628cbb31585ee9512e0f2033f2fb0d7d9b2bc7 -DIST G4RadioactiveDecay.3.2.tar.gz 761070 RMD160 1f797977c0c66722f4b032ac546c26eaa8a9f14a SHA1 45e706e46a33e08b1706f069d15e8c2145f3410e SHA256 31dc70aa59cb86ef0dbaf96c639e0541b7569d4fc98f92064ecdc8bc4b9c839b -DIST G4RadioactiveDecay.3.3.tar.gz 732628 SHA256 7f421d6808422f9186a8a96fc1889a54af03c80a37b9f9d1d51ab359ea0264d1 -DIST PhotonEvaporation.2.0.tar.gz 7506068 RMD160 24d46b08b2ffeca5b3be186baffb650b99accc97 SHA1 df3b4994c7248da7a226c186be747c4b823d34fa SHA256 5aac0ce683ca23274a7736c8e8911d8cf32d2bf33aab33a9a23126664762d61d -DIST RealSurface.1.0.tar.gz 1257863 RMD160 030513fe340e0cccbfe0b9ae9acb3ba6b5291ebb SHA1 9b4bd95c647dc702458eeaf89ebf62c5885e2ece SHA256 3e2d2506600d2780ed903f1f2681962e208039329347c58ba1916740679020b1 -DIST geant321_3.21.14.dfsg-8.diff.gz 41909 RMD160 4edbe5d3dd93a78198fa2d2d83770c8b85eee4de SHA1 39f48c4263f543b74eee6095c11f5ade9798f253 SHA256 785277dab1e1d3e17d60c85f3826bc67bbd6de7e6a6d40ff7af901371c4d2ce1 -DIST geant321_3.21.14.dfsg-9.diff.gz 47589 RMD160 78561bba0c79a13d34f64c4594cf73019b3f8a0a SHA1 1622441f91e850e1918e6e686d2ae44b0348f243 SHA256 419bc2315e2692fe84b353d445cbae7af995d84a6a0290b7f9051ee041243d20 -DIST geant321_3.21.14.dfsg.orig.tar.gz 10922928 SHA256 186fe98a08ad1de39f68698a09a46e7c2f14c37b22f8f990257b0bd66215c5b4 -DIST geant4.9.2.p02.tar.gz 18822956 SHA256 4d19bb76bf956004481bc433bf4735780ccc6354d3dc53321d532fd283243078 -DIST geant4.9.3.p02.tar.gz 20009687 RMD160 3fc3ce68965666670a2cf6e7dbe93c00b305fc30 SHA1 1728ea641ecb7ff50d2f44366add3a7569967839 SHA256 9fed501a6b0fed9050655633998acb942f7be430711e08f234dd748c23037a90 -DIST geant4.9.4.p03.tar.gz 25241424 RMD160 af3a64517bac181366c3a680d3723fbe7edd3ebb SHA1 4d1f46471446c210a85edae8d4759803e55bea28 SHA256 5090ca5b506238f16ba2ae2176221a18b6fde06f91180850a109fae1006910c0 -DIST geant4.9.5.p01.tar.gz 28466803 SHA256 451f8c4a29bb0dc4b923d59d77535a657f0f8a30dc6c8ef639c8b1ebdb26a10e -DIST geant4.9.5.tar.gz 28458437 SHA256 b6b31752319805052fb765f89ca38a23fb299a0a5bf900daeacd1950d6c9a597 -EBUILD geant-3.21.14-r2.ebuild 1885 RMD160 2022b046c7f52a4687948387cd7a084e2b0d19e1 SHA1 ea5a80bb06da07183946a96db02e2d0158b24312 SHA256 6d410dc45b374c86bd34c3ca3eaa740fc5eb91dcb91df86497b6c906e4577d93 -EBUILD geant-3.21.14-r3.ebuild 1719 RMD160 7158c53cb2f0e1098fd5f6d5249029fffe35cf3a SHA1 10f67d4d0c17aab06ce4f50fa3f2393a792c426b SHA256 5bb8f71e86a5f5562f0aab9f86f14937e863dffd2b9e1bb502fd5ba9a120f1b9 -EBUILD geant-4.9.2_p02.ebuild 8145 RMD160 3d1a138202fe2e3151ad684c18cec0e7a4dccbfc SHA1 d813033ebcae3ef491aae7a9a794ef63a8813d8d SHA256 02920927f1eb081a9753f7ac9c8a282d036955750796bbbd6b007fa55f6c1e26 -EBUILD geant-4.9.3_p02.ebuild 8119 RMD160 818e90c10d2d403da1e42149d135e9393864c2da SHA1 1bef82b52713da6b85add2cd98ef9d18a4725b06 SHA256 e057b0bd6aa46df7b5299ffd2511c4f13bde4efc0761f90e8006f17b4395c886 -EBUILD geant-4.9.4_p03.ebuild 2392 RMD160 7bd5153614325bbf54c04a985da2e0562f7fa78a SHA1 9457c7f0a07fa76f33d3e2699aee703e3f4cc521 SHA256 2787a6dc246f3b047cd8d12c0287da3a51e7a5b153cf4f64f7984683fb7ca4c3 -EBUILD geant-4.9.5-r1.ebuild 3051 RMD160 1fb92013250a9f81b79c06fcc3bcdf7d2c3ed164 SHA1 ceaf06daf6e40d971712096ea62de7808a4f5d7f SHA256 d6f7e35a8b1e21333d1103918e5b2ce0c2b05cc48bd821c2104428694dcf2f08 -EBUILD geant-4.9.5_p01.ebuild 3045 RMD160 c3effd68c1be99dcf26e4183358e2e851b72e239 SHA1 424b1174dc4dc985caab7f864c9235754fac6e37 SHA256 0eb89ba5632b5025a27db108a66f2aa86fbc55577cf64ed33f1401f13a12a2d6 -MISC ChangeLog 12364 RMD160 4b3e24b5bfc1f654458644d1f64acf5ddebd5468 SHA1 bfd3c28e6ca815571dff31eae0cde2674860dfc6 SHA256 95a9bbeedebd53e60b294350d1cb41acfe8bf6cca5742f16089780a91aec146e -MISC metadata.xml 1569 RMD160 b4e64715d0d29b17b7fc46da45f4ebbff41fc380 SHA1 b30f9de8adea84a688b1343115afa304d5b0de4f SHA256 532c396760c97bbf207439e4f189679bbe02fda61d33446beeebc5f855b36f63 diff --git a/sci-physics/geant/files/geant-4.9.2-zlib.patch b/sci-physics/geant/files/geant-4.9.2-zlib.patch deleted file mode 100644 index 7b33733..0000000 --- a/sci-physics/geant/files/geant-4.9.2-zlib.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- config/binmake.gmk.orig 2009-01-19 16:37:42.177379773 +0000 -+++ config/binmake.gmk 2009-01-19 16:38:04.671541248 +0000 -@@ -258,7 +258,7 @@ - endif - endif - --ifdef G4LIB_USE_ZLIB -+ifdef G4LIB_BUILD_ZLIB - LDLIBS2 += -lG4zlib - endif - diff --git a/sci-physics/geant/files/geant-4.9.3-respect_flags.patch b/sci-physics/geant/files/geant-4.9.3-respect_flags.patch deleted file mode 100644 index 52a7caf..0000000 --- a/sci-physics/geant/files/geant-4.9.3-respect_flags.patch +++ /dev/null @@ -1,125 +0,0 @@ -Respect CXX, compiler flags -Fix build with --as-needed - -http://bugs.gentoo.org/show_bug.cgi?id=344119 - ---- config/sys/Linux-g++.gmk -+++ config/sys/Linux-g++.gmk -@@ -2,9 +2,7 @@ - # ------ GNU/LINUX ------ gcc 3.2 and higher - # - ifeq ($(G4SYSTEM),Linux-g++) -- CXX := g++ -- CXXFLAGS := -W -Wall -ansi -pedantic -Wno-non-virtual-dtor -Wno-long-long -- CXXFLAGS += -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -pipe -+ CXXFLAGS += -ansi - # - # Uncomment the following options to activate Pentium4 chip specific - # floating-point operations on the SSE unit. It will allow for more stable -@@ -14,27 +12,16 @@ - # platforms. Will only run on Pentium4-based architectures ! - # - # CXXFLAGS += -march=pentium4 -mfpmath=sse -- ifdef G4OPTIMISE -- CXXFLAGS += -O2 -- FCFLAGS := -O2 -- CCFLAGS := -O2 -- else -- ifdef G4DEBUG -+ ifdef G4DEBUG - CXXFLAGS += -g -- FCFLAGS := -g -- CCFLAGS := -g -- endif -+ FCFLAGS += -g -+ CCFLAGS += -g - endif - ifdef G4PROFILE - CXXFLAGS += -pg - FCFLAGS += -pg - CCFLAGS += -pg - endif -- ifdef G4OPTDEBUG -- CXXFLAGS += -O2 -g -- FCFLAGS += -O2 -g -- CCFLAGS += -O2 -g -- endif - ifdef G4LIB_BUILD_SHARED - CXXFLAGS += -fPIC - FCFLAGS += -fPIC -@@ -42,7 +29,6 @@ - endif - G4RUNPATHOPTION := -Wl,-rpath - CC := gcc -- FC := gfortran - FCFLAGS += -fno-automatic -fno-backslash -fno-second-underscore - FCLIBS := -lg2c -lnsl - ECHO := /bin/echo -e -@@ -108,7 +94,7 @@ - endif - ifndef QTLIBPATH - QTLIBPATH := $(QTHOME)/lib -- QT_SEARCH_LIB := $(shell ls $(QTLIBPATH)/qt$(QT_VERSION)/libq* 2>/dev/null | wc -l ) -+ QT_SEARCH_LIB := $(shell ls $(QTLIBPATH)/qt$(QT_VERSION)/lib[q,Q]t* 2>/dev/null | wc -l ) - ifneq ($(QT_SEARCH_LIB),0) - QTLIBPATH := $(QTHOME)/lib/qt$(QT_VERSION) - endif -@@ -140,13 +126,13 @@ - define build-granular-shared-lib - @libdir=`(cd $(@D);/bin/pwd)`; \ - cd $(G4TMPDIR); \ -- $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) *.o -+ $(CXX) $(LDFLAGS) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) *.o $(INTYLIBS); - endef - define build-global-shared-lib - @libdir=`(cd $(@D);/bin/pwd)`; \ - cd $(G4TMP)/$(G4SYSTEM); \ -- $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) \ -- $(foreach dir,$(SUBLIBS),$(dir)/*.o); -+ $(CXX) $(LDFLAGS) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) \ -+ $(foreach dir,$(SUBLIBS),$(dir)/*.o) $(INTYLIBS); - endef - - endif ---- config/sys/Linux-icc.gmk -+++ config/sys/Linux-icc.gmk -@@ -3,17 +3,11 @@ - # - ifeq ($(G4SYSTEM),Linux-icc) - CXX := icc -- CXXFLAGS := -ansi -fp-model precise -no-gcc -w1 -- ifdef G4OPTIMISE -- CXXFLAGS += -O2 -- FCFLAGS := -O2 -- CCFLAGS := -O2 -- else -- ifdef G4DEBUG -- CXXFLAGS += -g -- FCFLAGS := -g -- CCFLAGS := -g -- endif -+ CXXFLAGS += -ansi -+ ifdef G4DEBUG -+ CXXFLAGS += -g -+ FCFLAGS += -g -+ CCFLAGS += -g - endif - ifdef G4PROFILE - CXXFLAGS += -qp -@@ -61,13 +55,13 @@ - define build-granular-shared-lib - @libdir=`(cd $(@D);/bin/pwd)`; \ - cd $(G4TMPDIR); \ -- $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) *.o -+ $(CXX) $(LDFLAGS) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) *.o $(INTYLIBS); - endef - define build-global-shared-lib - @libdir=`(cd $(@D);/bin/pwd)`; \ - cd $(G4TMP)/$(G4SYSTEM); \ -- $(CXX) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) $(INTYLIBS) \ -- $(foreach dir,$(SUBLIBS),$(dir)/*.o); -+ $(CXX) $(LDFLAGS) -Wl,-soname,$(@F) -shared -o $$libdir/$(@F) \ -+ $(foreach dir,$(SUBLIBS),$(dir)/*.o) $(INTYLIBS); - endef - - endif diff --git a/sci-physics/geant/files/geant-4.9.3-zlib.patch b/sci-physics/geant/files/geant-4.9.3-zlib.patch deleted file mode 100644 index f047abd..0000000 --- a/sci-physics/geant/files/geant-4.9.3-zlib.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- config/binmake.gmk.orig -+++ config/binmake.gmk -@@ -234,7 +234,7 @@ ifdef GLOBALLIBS - -lG4intercoms \ - -lG4global - -- ifdef G4LIB_USE_ZLIB -+ ifdef G4LIB_BUILD_ZLIB - LDLIBS2 += -lG4zlib - endif - - ---- config/architecture.gmk.orig 2011-01-16 00:22:05.976079082 +0000 -+++ config/architecture.gmk 2011-01-16 00:23:18.346082379 +0000 -@@ -214,8 +214,10 @@ - else - LDFLAGS += -L$(CLHEP_LIB_DIR) - LOADLIBS := -l$(CLHEP_LIB) -lm -- ifndef G4LIB_USE_ZLIB -- LOADLIBS += -lz -+ ifdef G4LIB_USE_ZLIB -+ ifndef G4LIB_BUILD_ZLIB -+ LOADLIBS += -lz -+ endif - endif - endif - diff --git a/sci-physics/geant/files/geant-4.9.4-datadir.patch b/sci-physics/geant/files/geant-4.9.4-datadir.patch deleted file mode 100644 index c691d90..0000000 --- a/sci-physics/geant/files/geant-4.9.4-datadir.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake.orig 2011-01-22 00:49:11.096082056 +0000 -+++ cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake 2011-01-22 00:53:04.746078920 +0000 -@@ -74,9 +74,9 @@ - # Construct backward compatible variables - # - set(G4SYSTEM "${GEANT4_SYSTEM}-${GEANT4_COMPILER}") --set(G4INSTALL ${GEANT4_DATADIR}/geant4-${geant4_VERSION}) -+set(G4INSTALL ${GEANT4_DATADIR}/geant4) - set(G4INCLUDE ${GEANT4_INCLUDEDIR}/geant4) --set(G4LIB ${GEANT4_LIBDIR}/geant4-${geant4_VERSION}) -+set(G4LIB ${GEANT4_LIBDIR}/geant4) - - message(STATUS "Geant4 backwards compatible variable G4SYSTEM : ${G4SYSTEM}") - message(STATUS "Geant4 backwards compatible variable G4INSTALL: ${G4INSTALL}") -@@ -125,7 +125,7 @@ - # Install targets - # toolchain - install(DIRECTORY config -- DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION} -+ DESTINATION ${GEANT4_DATAROOTDIR}/geant4 - FILES_MATCHING PATTERN "*.gmk" - PATTERN "CVS" EXCLUDE - PATTERN "scripts/" EXCLUDE) -@@ -134,16 +134,16 @@ - install(FILES - ${CMAKE_BINARY_DIR}/outputs/runtime/geant4-${geant4_VERSION}.sh - ${CMAKE_BINARY_DIR}/outputs/runtime/geant4-${geant4_VERSION}.csh -- DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION}/config -+ DESTINATION ${GEANT4_DATAROOTDIR}/geant4/config - PERMISSIONS - OWNER_READ OWNER_WRITE OWNER_EXECUTE - GROUP_READ GROUP_EXECUTE - WORLD_READ WORLD_EXECUTE) - - # compatibility softlink to library directory -- install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E make_directory \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4-${geant4_VERSION})") -+ install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E make_directory \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4)") - -- install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink .. ${GEANT4_SYSTEM}-${GEANT4_COMPILER} WORKING_DIRECTORY \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4-${geant4_VERSION})") -+ install(CODE "execute_process(COMMAND \${CMAKE_COMMAND} -E create_symlink .. ${GEANT4_SYSTEM}-${GEANT4_COMPILER} WORKING_DIRECTORY \$ENV{DESTDIR}${GEANT4_LIBDIR}/geant4)") - - endif() - diff --git a/sci-physics/geant/files/geant-4.9.4-libdir.patch b/sci-physics/geant/files/geant-4.9.4-libdir.patch deleted file mode 100644 index 8934f73..0000000 --- a/sci-physics/geant/files/geant-4.9.4-libdir.patch +++ /dev/null @@ -1,35 +0,0 @@ ---- CMakeLists.txt.orig 2011-01-17 06:25:14.536078940 +0000 -+++ CMakeLists.txt 2011-01-21 23:50:53.406082074 +0000 -@@ -195,7 +195,7 @@ - set(GEANT4_PREFIX ${CMAKE_INSTALL_PREFIX}) - set(GEANT4_EXEC_PREFIX ${GEANT4_PREFIX}) - set(GEANT4_BINDIR ${GEANT4_EXEC_PREFIX}/bin) --set(GEANT4_LIBDIR ${GEANT4_PREFIX}/lib) -+set(GEANT4_LIBDIR ${GEANT4_PREFIX}/lib${LIB_SUFFIX}) - set(GEANT4_DATAROOTDIR ${GEANT4_PREFIX}/share) - set(GEANT4_DATADIR ${GEANT4_DATAROOTDIR}) - set(GEANT4_INCLUDEDIR ${GEANT4_PREFIX}/include) ---- cmake/Modules/Geant4MacroLibraryTargets.cmake.orig 2011-01-21 23:36:09.356079013 +0000 -+++ cmake/Modules/Geant4MacroLibraryTargets.cmake 2011-01-21 23:49:49.826082339 +0000 -@@ -35,8 +35,8 @@ - # NEEDS WORK TO REMOVE HARDCODED LIB/BIN DIR - install(TARGETS ${G4LIBTARGET_NAME} - RUNTIME DESTINATION bin -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib) -+ LIBRARY DESTINATION lib${LIB_SUFFIX} -+ ARCHIVE DESTINATION lib${LIB_SUFFIX}) - endif() - - # -@@ -59,8 +59,8 @@ - - install(TARGETS ${G4LIBTARGET_NAME}-static - RUNTIME DESTINATION bin -- LIBRARY DESTINATION lib -- ARCHIVE DESTINATION lib) -+ LIBRARY DESTINATION lib${LIB_SUFFIX} -+ ARCHIVE DESTINATION lib${LIB_SUFFIX}) - endif() - ENDMACRO() - diff --git a/sci-physics/geant/files/geant-4.9.4-no-benchmarks.patch b/sci-physics/geant/files/geant-4.9.4-no-benchmarks.patch deleted file mode 100644 index 8c9d477..0000000 --- a/sci-physics/geant/files/geant-4.9.4-no-benchmarks.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- source/geometry/CMakeLists.txt.orig 2011-01-17 05:09:38.046080303 +0000 -+++ source/geometry/CMakeLists.txt 2011-01-17 05:09:59.636215548 +0000 -@@ -12,7 +12,6 @@ - # - #------------------------------------------------------------------------------ - --add_subdirectory(benchmarks) - add_subdirectory(biasing) - add_subdirectory(divisions) - add_subdirectory(magneticfield) diff --git a/sci-physics/geant/files/geant-4.9.4-no-examples.patch b/sci-physics/geant/files/geant-4.9.4-no-examples.patch deleted file mode 100644 index 6db7b3f..0000000 --- a/sci-physics/geant/files/geant-4.9.4-no-examples.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- CMakeLists.txt.orig 2011-01-22 01:47:07.000000000 +0000 -+++ CMakeLists.txt 2011-01-22 02:00:58.676084146 +0000 -@@ -209,9 +209,9 @@ - # Install any extra files needed such as documentation and legacy Makefiles - # - # User example code --install(DIRECTORY examples -- DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION} -- PATTERN "CVS" EXCLUDE) -+#install(DIRECTORY examples -+# DESTINATION ${GEANT4_DATAROOTDIR}/geant4-${geant4_VERSION} -+# PATTERN "CVS" EXCLUDE) - - - # diff --git a/sci-physics/geant/files/geant-4.9.4-trajectory.patch b/sci-physics/geant/files/geant-4.9.4-trajectory.patch deleted file mode 100644 index df45ae2..0000000 --- a/sci-physics/geant/files/geant-4.9.4-trajectory.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- CMakeLists.txt.orig 2011-04-28 01:19:54.232041312 +0200 -+++ CMakeLists.txt 2011-04-28 01:15:11.434101391 +0200 -@@ -43,6 +43,8 @@ - set(${PROJECT_NAME}_VERSION_MINOR "4") - set(${PROJECT_NAME}_VERSION_PATCH "1") - -+add_definitions(-DG4_STORE_TRAJECTORY) -+ - #------------------------------------------------------------------------------ - # Set up path to internal set of CMake modules. - # 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 f042969..0000000 --- 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/files/geant-4.9.5-scripts-only-dataenv.patch b/sci-physics/geant/files/geant-4.9.5-scripts-only-dataenv.patch deleted file mode 100644 index db10e26..0000000 --- a/sci-physics/geant/files/geant-4.9.5-scripts-only-dataenv.patch +++ /dev/null @@ -1,56 +0,0 @@ -tweak Geant4ToolchainBackwardCompatibility.cmake to get the envvars we want. bug 409853 -diff --git a/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake b/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake -index 41a88c4..e93b923 100644 ---- a/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake -+++ b/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake -@@ -678,15 +678,4 @@ foreach(_shell bourne;cshell) - @ONLY - ) - -- # Install it to the required location -- install(FILES -- ${PROJECT_BINARY_DIR}/InstallTreeFiles/${_scriptfullname} -- DESTINATION ${CMAKE_INSTALL_BINDIR} -- PERMISSIONS -- OWNER_READ OWNER_WRITE OWNER_EXECUTE -- GROUP_READ GROUP_EXECUTE -- WORLD_READ WORLD_EXECUTE -- COMPONENT Runtime -- ) - endforeach() -- -diff --git a/cmake/Templates/geant4-env-skeleton.in b/cmake/Templates/geant4-env-skeleton.in -index ea8f104..db68b9c 100644 ---- a/cmake/Templates/geant4-env-skeleton.in -+++ b/cmake/Templates/geant4-env-skeleton.in -@@ -1,30 +1,3 @@ --#!@GEANT4_TC_SHELL_PROGRAM -- --#---------------------------------------------------------------------------- --# @GEANT4_TC_SHELL_FAMILY@ environment setup script for Geant4 @Geant4_VERSION@ --# --# This script will configure your environment so that any Geant4 supplied --# tools, libraries and data are available in your PATH, library paths etc. --# Data libraries will only be setup if they were installed as part of the --# Geant4 installation. --# --# Source this script to perform the setup. --# --# This script is autogenerated by CMake DO NOT EDIT --# -- --#---------------------------------------------------------------------------- --# Locate directory of self --# --@GEANT4_ENV_SELFLOCATE_COMMAND@ -- -- --#---------------------------------------------------------------------------- --# Setup binary and library paths... --# --@GEANT4_ENV_BINPATH_SETUP@ --@GEANT4_ENV_LIBPATH_SETUP@ -- - #---------------------------------------------------------------------------- - # Resource file paths - # Data Library Paths are only set if they were installed by CMake diff --git a/sci-physics/geant/files/geant-4.9.5_p01-scripts-only-dataenv.patch b/sci-physics/geant/files/geant-4.9.5_p01-scripts-only-dataenv.patch deleted file mode 100644 index 0eb839d..0000000 --- a/sci-physics/geant/files/geant-4.9.5_p01-scripts-only-dataenv.patch +++ /dev/null @@ -1,56 +0,0 @@ -tweak Geant4ToolchainBackwardCompatibility.cmake to get the envvars we want. bug 409853 -diff --git a/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake b/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake -index 41a88c4..e93b923 100644 ---- a/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake -+++ b/cmake/Modules/Geant4ToolchainBackwardCompatibility.cmake -@@ -678,15 +678,4 @@ foreach(_shell bourne;cshell) - @ONLY - ) - -- # Install it to the required location -- install(FILES -- ${PROJECT_BINARY_DIR}/InstallTreeFiles/${_scriptfullname} -- DESTINATION ${CMAKE_INSTALL_BINDIR} -- PERMISSIONS -- OWNER_READ OWNER_WRITE OWNER_EXECUTE -- GROUP_READ GROUP_EXECUTE -- WORLD_READ WORLD_EXECUTE -- COMPONENT Runtime -- ) - endforeach() -- -diff --git a/cmake/Templates/geant4-env-skeleton.in b/cmake/Templates/geant4-env-skeleton.in -index ea8f104..db68b9c 100644 ---- a/cmake/Templates/geant4-env-skeleton.in -+++ b/cmake/Templates/geant4-env-skeleton.in -@@ -1,30 +1,3 @@ --#!@GEANT4_TC_SHELL_PROGRAM@ -- --#---------------------------------------------------------------------------- --# @GEANT4_TC_SHELL_FAMILY@ environment setup script for Geant4 @Geant4_VERSION@ --# --# This script will configure your environment so that any Geant4 supplied --# tools, libraries and data are available in your PATH, library paths etc. --# Data libraries will only be setup if they were installed as part of the --# Geant4 installation. --# --# Source this script to perform the setup. --# --# This script is autogenerated by CMake DO NOT EDIT --# -- --#---------------------------------------------------------------------------- --# Locate directory of self --# --@GEANT4_ENV_SELFLOCATE_COMMAND@ -- -- --#---------------------------------------------------------------------------- --# Setup binary and library paths... --# --@GEANT4_ENV_BINPATH_SETUP@ --@GEANT4_ENV_LIBPATH_SETUP@ -- - #---------------------------------------------------------------------------- - # Resource file paths - # Data Library Paths are only set if they were installed by CMake diff --git a/sci-physics/geant/geant-3.21.14-r2.ebuild b/sci-physics/geant/geant-3.21.14-r2.ebuild deleted file mode 100644 index eeca20d..0000000 --- a/sci-physics/geant/geant-3.21.14-r2.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-3.21.14-r2.ebuild,v 1.20 2011/06/28 13:34:44 jlec Exp $ - -EAPI=2 - -inherit eutils fortran-2 - -DEB_PN=geant321 -DEB_PV=${PV}.dfsg -DEB_PR=8 -DEB_P=${DEB_PN}_${DEB_PV} - -DESCRIPTION="CERN's detector description and simulation Tool" -HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/geant/index.html" -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}.diff.gz" - -SLOT="3" -LICENSE="GPL-2 LGPL-2 BSD" -KEYWORDS="amd64 x86" -IUSE="" - -RDEPEND=" - dev-lang/cfortran - sci-physics/cernlib - sci-physics/paw - virtual/fortran - x11-libs/openmotif:0" -DEPEND="${RDEPEND} - virtual/latex-base - x11-misc/imake - x11-misc/makedepend" - -S="${WORKDIR}/${DEB_PN}-${DEB_PV}.orig" - -src_prepare() { - cd "${WORKDIR}" - sed -i -e 's:/tmp/dp.*/cern:cern:g' ${DEB_P}-${DEB_PR}.diff || die - epatch ${DEB_P}-${DEB_PR}.diff - cd "${S}" - cp debian/add-ons/Makefile . - export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck" - sed \ - -e 's:/usr/local:/usr:g' \ - -i Makefile || die "sed'ing the Makefile failed" - - einfo "Applying Debian patches" - emake -j1 patch || die "debian patch failed" - - # 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 || die "emake failed" -} - -src_test_() { - LD_LIBRARY_PATH="${S}"/shlib \ - emake -j1 cernlib-test || die "emake test failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - cd "${S}"/debian - dodoc changelog README.* deadpool.txt NEWS copyright || die "dodoc failed" - newdoc add-ons/README README.add-ons || die "newdoc failed" -} diff --git a/sci-physics/geant/geant-3.21.14-r3.ebuild b/sci-physics/geant/geant-3.21.14-r3.ebuild deleted file mode 100644 index 9441f5b..0000000 --- a/sci-physics/geant/geant-3.21.14-r3.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-3.21.14-r3.ebuild,v 1.1 2011/07/21 16:50:54 bicatali Exp $ - -EAPI=4 -inherit eutils fortran-2 - -DEB_PN=geant321 -DEB_PV=${PV}.dfsg -DEB_PR=9 -DEB_P=${DEB_PN}_${DEB_PV} - -DESCRIPTION="CERN's detector description and simulation Tool" -HOMEPAGE="http://wwwasd.web.cern.ch/wwwasd/geant/" - -LICENSE="GPL-2 LGPL-2 BSD" -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}.diff.gz" - -KEYWORDS="~amd64 ~x86" -SLOT="3" -IUSE="" - -RDEPEND=">=x11-libs/openmotif-2.3:0 - virtual/fortran - 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() { - cd "${WORKDIR}" - sed -i -e 's:/tmp/dp.*/cern:cern:g' ${DEB_P}-${DEB_PR}.diff || die - epatch ${DEB_P}-${DEB_PR}.diff - cd "${S}" - cp debian/add-ons/Makefile . - export DEB_BUILD_OPTIONS="$(tc-getFC) nostrip nocheck" - sed -i \ - -e 's:/usr/local:/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.9.2_p02.ebuild b/sci-physics/geant/geant-4.9.2_p02.ebuild deleted file mode 100644 index f99b090..0000000 --- a/sci-physics/geant/geant-4.9.2_p02.ebuild +++ /dev/null @@ -1,264 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.2_p02.ebuild,v 1.16 2011/08/02 05:50:11 mattst88 Exp $ - -EAPI=2 - -inherit eutils fortran-2 toolchain-funcs versionator - -PV1=$(get_version_component_range 1 ${PV}) -PV2=$(get_version_component_range 2 ${PV}) -PV3=$(get_version_component_range 3 ${PV}) -MY_P=${PN}$(replace_version_separator 3 .) - -DESCRIPTION="Toolkit for simulation of passage of particles through matter" -HOMEPAGE="http://geant4.cern.ch/" -SRC_COM="http://geant4.web.cern.ch/geant4/support/source" -SRC_URI="${SRC_COM}/${MY_P}.tar.gz" -GEANT4_DATA=" - G4NDL.3.13 - G4EMLOW.6.2 - G4RadioactiveDecay.3.2 - PhotonEvaporation.2.0 - G4ABLA.3.0" -for d in ${GEANT4_DATA}; do - SRC_URI="${SRC_URI} data? ( ${SRC_COM}/${d}.tar.gz )" -done - -LICENSE="geant4" -SLOT="4" -KEYWORDS="amd64 x86" -IUSE="aida athena +data dawn debug examples gdml geant3 global minimal +motif - +opengl openinventor qt4 +raytracerx static +vrml zlib" - -RDEPEND=" - virtual/fortran - <sci-physics/clhep-2.1 - motif? ( x11-libs/openmotif:0 ) - athena? ( x11-libs/libXaw ) - qt4? ( x11-libs/qt-gui:4 ) - openinventor? ( >=media-libs/openinventor-2.1.5.10-r3 ) - raytracerx? ( - x11-libs/libX11 - x11-libs/libXmu ) - opengl? ( - virtual/opengl - athena? ( x11-libs/libXaw3d ) - qt4? ( x11-libs/qt-opengl:4 ) ) - gdml? ( dev-libs/xerces-c ) - geant3? ( sci-physics/geant:3 ) - dawn? ( media-gfx/dawn ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - fortran-2_pkg_setup - eval unset ${!G4*} -} - -src_prepare() { - # fix bad zlib dependency - epatch "${FILESDIR}"/${PN}-4.9.2-zlib.patch - - # propagate user's flags and compiler settings - sed -i -e 's/-o/$(LDFLAGS) -o/g' source/GNUmakefile || die - sed -i \ - -e '/CXX.*:=.*g++/d' \ - -e '/FC.*:=.*gfortran/d' \ - -e 's/\(CXXFLAGS.*:=\).*/\1 -ansi/' \ - -e '/CXXFLAGS.*+=.*pipe/d' \ - -e "/CXXFLAGS.*=.*-O2/s|=.*|= ${CXXFLAGS}|" \ - -e "/FCFLAGS.*=.*-O2/s|=.*|= ${FCFLAGS}|" \ - -e "/CCFLAGS.*=.*-O2/s|=.*|= ${CFLAGS}|" \ - -e "s|-Wl,-soname|${LDFLAGS} -Wl,-soname|g" \ - -e "s/libq\*/lib\[q,Q\]t*/g" \ - config/sys/Linux*gmk || die "flag substitution failed" - sed -i \ - -e 's:g++:$(CXX):g' \ - config/*.gmk || die "sed for forced g++ failed" - - # fix forced lib directory - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4LIB):g' \ - config/binmake.gmk || die "sed binmake.gmk failed" - sed -i \ - -e '/$(G4LIB)\/$(G4SYSTEM)/d' \ - config/architecture.gmk || die "sed architecture.gmk failed" - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ - config/common.gmk || die "sed common.gmk failed" - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ - config/moc.gmk || die "sed moc.gmk failed" - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ - -e 's:$(G4BIN)/$(G4SYSTEM):$(G4TMP):g' \ - -e 's:$(G4TMP)/$(G4SYSTEM):$(G4TMP):g' \ - source/GNUmakefile || die "sed GNUmakefile failed" - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ - config/globlib.gmk || die "sed globlib.gmk failed" - - # work around a non defined fortran compiler - use geant3 && export FC=$(tc-getFC) - # don't worry about the g++ name of the file, we remove all specific - export G4SYSTEM=Linux-g++ -} - -src_configure() { - export GEANT4_DIR="/usr/share/${PN}${PV1}" - # where to put compiled libraries; - # we set env var G4LIB in src_install() - # to avoid confusing make - export GEANT4_LIBDIR=/usr/$(get_libdir)/${PN}${PV1} - export G4INSTALL="${S}" - export G4WORKDIR="${S}" - export G4INCLUDE="${D}/usr/include/${PN}" - export CLHEP_BASE_DIR=/usr - - # parse USE; just set flags of drivers to build, G4*_USE_* vars are set - # later automatically for G4*_BUILD_*_DRIVER - use minimal && export G4UI_NONE=y \ - && export G4VIS_NONE=y - - use motif && export G4UI_BUILD_XM_SESSION=y - use athena && export G4UI_BUILD_XAW_SESSION=y - if use qt4; then - export G4UI_BUILD_QT_SESSION=y - export QTLIBS="-L/usr/$(get_libdir)/qt4 -lQtCore -lQtGui" - export QTFLAGS="-I/usr/include/qt4 -I/usr/include/qt4/Qt" - use opengl && \ - export GLQTLIBS="${QTLIBS} -lQtOpenGL" - #export QTFLAGS="${QTFLAGS} -I/usr/include/qt4/QtOpenGL" - fi - use dawn && export G4VIS_BUILD_DAWN_DRIVER=y - use raytracerx && export G4VIS_BUILD_RAYTRACERX_DRIVER=y - use openinventor && export G4VIS_BUILD_OI_DRIVER=y - use opengl && export G4VIS_BUILD_OPENGLX_DRIVER=y - use opengl && use motif && export G4VIS_BUILD_OPENGLXM_DRIVER=y - use gdml && export G4LIB_BUILD_GDML=y - use geant3 && export G4LIB_BUILD_G3TOG4=y - use zlib && export G4LIB_USE_ZLIB=y - use vrml && export G4VIS_BUILD_VRML_DRIVER=y \ - && export G4VIS_BUILD_VRMLFILE_DRIVER=y - use aida && export G4ANALYSIS_USE=y - use data && export G4DATA="${GEANT4_DIR}/data" - use debug && export G4DEBUG=y || export G4OPTIMIZE=y - - # switch to see compiling flags - export CPPVERBOSE=y - - # if shared libs are built, the script will also build static libs - # with pic flags - # avoid that by building it twice and removing temporary objects - export G4LIB_BUILD_SHARED=y -} - -src_compile() { - cd "${S}/source/" - einfo "Building shared library" - emake || die "Building shared geant failed" - - if use global; then - export G4LIB_USE_GRANULAR=y - einfo "Building granular libraries" - emake global || die "Building global libraries failed" - emake || die "Rebuilding shared geant failed" - fi - - if use static; then - einfo "Building static libraries" - rm -rf tmp - export G4LIB_BUILD_STATIC=y ; unset G4LIB_BUILD_SHARED - emake || die "Building static geant failed" - fi -} - -g4_create_env_script() { - # we need to change some variables to the final values since we hide these - # from make during the compile - export G4INSTALL=${GEANT4_DIR} - export G4LIB=${GEANT4_LIBDIR} - export G4INCLUDE=${G4INCLUDE/${D}/} - export G4WORKDIR=\${HOME}/${PN}${PV1} - - local g4env=99${PN}${PV1} - cat <<-EOF > ${g4env} - LDPATH=${G4LIB} - CLHEP_BASE_DIR=${CLHEP_BASE_DIR} - EOF - - # detailed data file locations - if use data; then - G4LEVELGAMMADATA="${G4DATA}/$(basename ${WORKDIR}/PhotonEvaporation*)" - G4RADIOACTIVEDATA="${G4DATA}/$(basename ${WORKDIR}/RadioactiveDecay*)" - G4LEDATA="${G4DATA}/$(basename ${WORKDIR}/G4EMLOW*)" - G4ABLADATA="${G4DATA}/$(basename ${WORKDIR}/G4ABLA*)" - G4NEUTRONHPCROSSSECTIONS="${G4DATA}/$(basename ${WORKDIR}/G4NDL*)" - export G4LEVELGAMMADATA G4RADIOACTIVEDATA G4LEDATA \ - G4ABLADATA G4NEUTRONHPCROSSSECTIONS - fi - - # read env variables defined upto now - printenv | grep ^G4 | uniq >> ${g4env} - # define env vars for capabilities we can build into user projects - printenv | uniq | \ - sed -n -e '/^G4/s:BUILD\(.*\)_DRIVER:USE\1:gp' >> ${g4env} - doenvd ${g4env} || die "Installing environment scripts failed " -} - -src_install() { - # install headers via make since we want them in a single directory - cd "${S}/source/" - einfo "Installing Geant4 headers" - emake includes || die 'Installing headers failed' - cd "${S}" - - # but install libraries and Geant library tool manually - einfo "Installing Geant4 libraries" - insinto ${GEANT4_LIBDIR} - insopts -m0755 - doins tmp/*.so || die - doins tmp/libname.map || die - insopts -m0644 - if use static; then - doins tmp/*.a || die - fi - exeinto ${GEANT4_LIBDIR} - doexe tmp/liblist || die - - g4_create_env_script - - # configs - insinto ${GEANT4_DIR} - doins -r config || die - - # install data - if use data; then - einfo "Installing Geant4 data" - insinto ${G4DATA} - pushd "${WORKDIR}" > /dev/null - for d in ${GEANT4_DATA}; do - local p=${d/.} - doins -r *${p/G4} || die "installing data ${d} failed" - done - popd > /dev/null - fi - - # doc and examples - 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 - # TODO: * momo with momo or java flag, and check java stuff -} - -pkg_postinst() { - elog "Geant4 projects are by default build in \$HOME/geant4." - elog "If you want to change, set \$G4WORKDIR to another directory." -} diff --git a/sci-physics/geant/geant-4.9.3_p02.ebuild b/sci-physics/geant/geant-4.9.3_p02.ebuild deleted file mode 100644 index 52b5345..0000000 --- a/sci-physics/geant/geant-4.9.3_p02.ebuild +++ /dev/null @@ -1,263 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/Attic/geant-4.9.3_p02.ebuild,v 1.3 2010/11/07 21:06:38 xarthisius dead $ - -EAPI=4 - -inherit eutils versionator toolchain-funcs - -PV1=$(get_version_component_range 1 ${PV}) -PV2=$(get_version_component_range 2 ${PV}) -PV3=$(get_version_component_range 3 ${PV}) -MY_P=${PN}$(replace_version_separator 3 .) - -DESCRIPTION="Toolkit for simulation of passage of particles through matter" -HOMEPAGE="http://geant4.cern.ch/" - -SRC_COM="http://geant4.cern.ch/support/source" -SRC_URI="${SRC_COM}/${MY_P}.tar.gz" -GEANT4_DATA="G4NDL.3.13 - G4EMLOW.6.9 - G4RadioactiveDecay.3.2 - PhotonEvaporation.2.0 - G4ABLA.3.0 - RealSurface.1.0" -for d in ${GEANT4_DATA}; do - SRC_URI="${SRC_URI} data? ( ${SRC_COM}/${d}.tar.gz )" -done - -LICENSE="geant4" -SLOT="4" -KEYWORDS="~amd64 ~hppa ~sparc ~x86" -IUSE="athena +data dawn debug examples gdml geant3 global minimal +motif - +opengl openinventor qt4 +raytracerx static-libs +vrml zlib" - -RDEPEND="<sci-physics/clhep-2.1 - motif? ( >=x11-libs/openmotif-2.3:0 ) - athena? ( x11-libs/libXaw ) - qt4? ( x11-libs/qt-gui:4 ) - openinventor? ( >=media-libs/openinventor-2.1.5.10-r3 ) - raytracerx? ( x11-libs/libX11 x11-libs/libXmu ) - opengl? ( virtual/opengl - athena? ( x11-libs/Xaw3d ) - qt4? ( x11-libs/qt-opengl:4 ) ) - gdml? ( dev-libs/xerces-c ) - geant3? ( sci-physics/geant:3 ) - dawn? ( media-gfx/dawn ) - zlib? ( sys-libs/zlib )" - -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - eval unset ${!G4*} -} - -src_prepare() { - # fix bad zlib dependency - epatch "${FILESDIR}"/${PN}-4.9.3-zlib.patch - - # propagate user's flags and compiler settings - sed -i -e 's/-o/$(LDFLAGS) -o/g' source/GNUmakefile || die - sed -i \ - -e '/CXX.*:=.*g++/d' \ - -e '/FC.*:=.*gfortran/d' \ - -e 's/\(CXXFLAGS.*:=\).*/\1 -ansi/' \ - -e '/CXXFLAGS.*+=.*pipe/d' \ - -e "/CXXFLAGS.*=.*-O2/s:=.*:= ${CXXFLAGS}:" \ - -e "/FCFLAGS.*=.*-O2/s:=.*:= ${FCFLAGS}:" \ - -e "/CCFLAGS.*=.*-O2/s:=.*:= ${CFLAGS}:" \ - -e "s:-Wl,-soname:${LDFLAGS} -Wl,-soname:g" \ - -e "s/libq\*/lib\[q,Q\]t*/g" \ - config/sys/Linux*gmk || die "flag substitution failed" - sed -i \ - -e 's:g++:$(CXX):g' \ - config/*.gmk || die "sed for forced g++ failed" - - # fix forced lib directory - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4LIB):g' \ - config/binmake.gmk || die "sed binmake.gmk failed" - sed -i \ - -e '/$(G4LIB)\/$(G4SYSTEM)/d' \ - config/architecture.gmk || die "sed architecture.gmk failed" - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ - config/common.gmk || die "sed common.gmk failed" - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ - config/moc.gmk || die "sed moc.gmk failed" - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ - -e 's:$(G4BIN)/$(G4SYSTEM):$(G4TMP):g' \ - -e 's:$(G4TMP)/$(G4SYSTEM):$(G4TMP):g' \ - source/GNUmakefile || die "sed GNUmakefile failed" - sed -i \ - -e 's:$(G4LIB)/$(G4SYSTEM):$(G4TMP):g' \ - config/globlib.gmk || die "sed globlib.gmk failed" - - # work around a non defined fortran compiler - use geant3 && export FC=$(tc-getFC) - # don't worry about the g++ name of the file, we remove all specific - export G4SYSTEM=Linux-g++ -} - -src_configure() { - export GEANT4_DIR="/usr/share/${PN}${PV1}" - # where to put compiled libraries; - # we set env var G4LIB in src_install() - # to avoid confusing make - export GEANT4_LIBDIR="/usr/$(get_libdir)" - export G4INSTALL="${S}" - export G4WORKDIR="${S}" - # don't use ${ED} here to preserve a slash after trimming ${D} - # in g4_create_env_script - export G4INCLUDE="${D}/${EPREFIX}/usr/include/${PN}" - export CLHEP_BASE_DIR="${EPREFIX}/usr" - - # parse USE; just set flags of drivers to build, G4*_USE_* vars are set - # later automatically for G4*_BUILD_*_DRIVER - use minimal && export G4UI_NONE=y \ - && export G4VIS_NONE=y - - use motif && export G4UI_BUILD_XM_SESSION=y - use athena && export G4UI_BUILD_XAW_SESSION=y - if use qt4; then - export G4UI_BUILD_QT_SESSION=y - export QTLIBS="-L${EPREFIX}/usr/$(get_libdir)/qt4 -lQtCore -lQtGui" - export QTFLAGS="-I${EPREFIX}/usr/include/qt4 -I${EPREFIX}/usr/include/qt4/Qt" - use opengl && \ - export GLQTLIBS="${QTLIBS} -lQtOpenGL" - #export QTFLAGS="${QTFLAGS} -I${EPREFIX}/usr/include/qt4/QtOpenGL" - fi - use dawn && export G4VIS_BUILD_DAWN_DRIVER=y - use raytracerx && export G4VIS_BUILD_RAYTRACERX_DRIVER=y - use openinventor && export G4VIS_BUILD_OI_DRIVER=y - use opengl && export G4VIS_BUILD_OPENGLX_DRIVER=y - use opengl && use motif && export G4VIS_BUILD_OPENGLXM_DRIVER=y - use gdml && export G4LIB_BUILD_GDML=y - use geant3 && export G4LIB_BUILD_G3TOG4=y - use zlib && export G4LIB_USE_ZLIB=y - use vrml && export G4VIS_BUILD_VRML_DRIVER=y \ - && export G4VIS_BUILD_VRMLFILE_DRIVER=y - use data && export G4DATA="${EPREFIX}/${GEANT4_DIR}/data" - use debug && export G4DEBUG=y || export G4OPTIMIZE=y - - # switch to see compiling flags - export CPPVERBOSE=y - - # if shared libs are built, the script will also build static libs - # with pic flags - # avoid that by building it twice and removing temporary objects - export G4LIB_BUILD_SHARED=y -} - -src_compile() { - cd "${S}/source/" - if use static-libs; then - einfo "Building static libraries" - rm -rf tmp - export G4LIB_BUILD_STATIC=y ; unset G4LIB_BUILD_SHARED - else - einfo "Building shared library" - fi - - if use global; then - einfo "Building global libraries" - emake global - else - emake - fi -} - -g4_create_env_script() { - # we need to change some variables to the final values since we hide these - # from make during the compile - export G4INSTALL="${EPREFIX}/${GEANT4_DIR}" - export G4LIB="${EPREFIX}/${GEANT4_LIBDIR}" - export G4INCLUDE=${G4INCLUDE/${D}/} # EPREFIX remains - export G4WORKDIR=\${HOME}/${PN}${PV1} - - local g4env=99${PN}${PV1} - cat <<-EOF > ${g4env} - LDPATH=${G4LIB} - CLHEP_BASE_DIR=${CLHEP_BASE_DIR} - EOF - - # detailed data file locations - if use data; then - G4LEVELGAMMADATA="${G4DATA}/$(basename ${WORKDIR}/PhotonEvaporation*)" - G4RADIOACTIVEDATA="${G4DATA}/$(basename ${WORKDIR}/RadioactiveDecay*)" - G4LEDATA="${G4DATA}/$(basename ${WORKDIR}/G4EMLOW*)" - G4ABLADATA="${G4DATA}/$(basename ${WORKDIR}/G4ABLA*)" - G4NEUTRONHPDATA="${G4DATA}/$(basename ${WORKDIR}/G4NDL*)" - G4REALSURFACEDATA="${G4DATA}/$(basename ${WORKDIR}/G4REALSURFACEDATA*)" - export G4LEVELGAMMADATA G4RADIOACTIVEDATA G4LEDATA \ - G4ABLADATA G4NEUTRONHPDATA G4REALSURFACEDATA - fi - - # read env variables defined upto now - printenv | grep ^G4 | uniq >> ${g4env} - # define env vars for capabilities we can build into user projects - printenv | uniq | \ - sed -n -e '/^G4/s:BUILD\(.*\)_DRIVER:USE\1:gp' >> ${g4env} - doenvd ${g4env} -} - -src_install() { - # install headers via make since we want them in a single directory - cd "${S}/source/" - einfo "Installing Geant4 headers" - emake includes - cd "${S}" - - # but install libraries and Geant library tool manually - einfo "Installing Geant4 libraries" - insinto ${GEANT4_LIBDIR} - insopts -m0755 - doins tmp/*.so - doins tmp/libname.map - insopts -m0644 - if use static-libs; then - doins tmp/*.a - fi - exeinto ${GEANT4_LIBDIR} - doexe tmp/liblist - - g4_create_env_script - - # configs - insinto ${GEANT4_DIR} - doins -r config - - # install data - if use data; then - einfo "Installing Geant4 data" - insinto "${G4DATA/${EPREFIX}/}" - pushd "${WORKDIR}" > /dev/null - for d in ${GEANT4_DATA}; do - local p=${d/.} - doins -r *${p/G4} - done - popd > /dev/null - fi - - # doc and examples - 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 - # TODO: * momo with momo or java flag, and check java stuff -} - -pkg_postinst() { - elog "Geant4 projects are by default build in \$HOME/geant4." - elog "If you want to change, set \$G4WORKDIR to another directory." - - elog "To use Aida you have to explicitly set G4ANALYSIS_USE=y for" - elog "your environment." -} diff --git a/sci-physics/geant/geant-4.9.4_p03.ebuild b/sci-physics/geant/geant-4.9.4_p03.ebuild deleted file mode 100644 index e13221d..0000000 --- a/sci-physics/geant/geant-4.9.4_p03.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.4_p03.ebuild,v 1.2 2012/06/16 13:08:36 ago Exp $ - -EAPI=4 - -inherit cmake-utils eutils fortran-2 versionator - -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_COM="http://geant4.cern.ch/support/source" -SRC_URI="${SRC_COM}/${MYP}.tar.gz" -GEANT4_DATA=" - G4NDL.3.14 - G4EMLOW.6.19 - G4RadioactiveDecay.3.3 - G4NEUTRONXS.1.0 - G4PII.1.2 - G4PhotonEvaporation.2.1 - G4ABLA.3.0 - RealSurface.1.0" -for d in ${GEANT4_DATA}; do - SRC_URI="${SRC_URI} data? ( ${SRC_COM}/${d}.tar.gz )" -done - -LICENSE="geant4" -SLOT="4" -KEYWORDS="amd64 ~x86" -IUSE="+data dawn examples gdml geant3 granular qt4 static-libs vrml zlib" - -RDEPEND="virtual/fortran - >=sci-physics/clhep-2.1 - qt4? ( x11-libs/qt-gui:4 x11-libs/qt-opengl:4 ) - gdml? ( dev-libs/xerces-c ) - geant3? ( sci-physics/geant:3 ) - dawn? ( media-gfx/dawn ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}" - -PATCHES=( "${FILESDIR}"/${PN}-4.9.4-{zlib,libdir,datadir,trajectory}.patch ) - -src_configure() { - mycmakeargs=( - $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN) - $(cmake-utils_use gdml GEANT4_USE_GDML) - $(cmake-utils_use geant3 GEANT4_USE_GEANT3TOGEANT4) - $(cmake-utils_use granular GEANT4_BUILD_GRANULAR_BUILD) - $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML) - $(cmake-utils_use qt4 GEANT4_USE_QT) - $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB) - $(cmake-utils_use_build static-libs STATIC_LIBS) - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - if use data; then - einfo "Installing Geant4 data" - insinto /usr/share/geant4/data - pushd "${WORKDIR}" > /dev/null - for d in ${GEANT4_DATA}; do - local p=${d/.} - doins -r *${p/G4} - done - popd > /dev/null - fi - - 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 "Users need to define the G4WORKDIR variable (\$HOME/geant4 is normally used)." -} diff --git a/sci-physics/geant/geant-4.9.5-r1.ebuild b/sci-physics/geant/geant-4.9.5-r1.ebuild deleted file mode 100644 index 020340b..0000000 --- a/sci-physics/geant/geant-4.9.5-r1.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.5-r1.ebuild,v 1.7 2012/05/20 16:46:58 heroxbd Exp $ - -EAPI=4 - -inherit cmake-utils eutils fortran-2 versionator - -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 examples gdml geant3 granular motif opengl openinventor - raytracerx qt4 static-libs test vrml zlib" - -RDEPEND="virtual/fortran - >=sci-physics/clhep-2.1.1 - dawn? ( media-gfx/dawn ) - gdml? ( dev-libs/xerces-c ) - motif? ( x11-libs/openmotif:0 ) - opengl? ( virtual/opengl ) - openinventor? ( media-libs/openinventor ) - raytracerx? ( x11-libs/libX11 x11-libs/libXmu ) - qt4? ( x11-libs/qt-gui:4 opengl? ( x11-libs/qt-opengl:4 ) ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}" - -PATCHES=( "${FILESDIR}"/${PN}-4.9.4-zlib.patch \ - "${FILESDIR}"/${PN}-4.9.5-scripts-only-dataenv.patch ) - -src_configure() { - mycmakeargs=( - -DGEANT4_USE_SYSTEM_CLHEP=ON - -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir) - $(use openinventor && echo "-DINVENTOR_SOXT_LIBRARY=${EROOT}usr/$(get_libdir)/libInventorXt.so") - $(cmake-utils_use data GEANT4_INSTALL_DATA) - $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN) - $(cmake-utils_use gdml GEANT4_USE_GDML) - $(cmake-utils_use geant3 GEANT4_USE_G3TOG4) - $(cmake-utils_use granular GEANT4_BUILD_GRANULAR_BUILD) - $(cmake-utils_use motif GEANT4_USE_XM) - $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11) - $(cmake-utils_use openinventor GEANT4_USE_INVENTOR) - $(cmake-utils_use qt4 GEANT4_USE_QT) - $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11) - $(cmake-utils_use test GEANT4_ENABLE_TESTING) - $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML) - $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB) - $(cmake-utils_use_build static-libs STATIC_LIBS) - ) - cmake-utils_src_configure -} - -src_install() { - # adjust clhep linking flags for system clhep - # binmake.gmk is only useful for legacy build systems - sed -i "s,-lG4clhep,-lCLHEP," config/binmake.gmk || die "sed failed" - - 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 - if use data ; then - sed "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\); pwd\`,\1${EPREFIX}/usr\2," \ - "${CMAKE_BUILD_DIR}/InstallTreeFiles/geant4.sh" > 99geant - doenvd 99geant - fi -} - -pkg_postinst() { - elog "The following scripts are provided for backward compatibility:" - elog "$(ls -1 ${EROOT}usr/share/Geant4-${PV2}.${PV3}.*/geant4make/*sh)" -} diff --git a/sci-physics/geant/geant-4.9.5_p01.ebuild b/sci-physics/geant/geant-4.9.5_p01.ebuild deleted file mode 100644 index 0e7622f..0000000 --- a/sci-physics/geant/geant-4.9.5_p01.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.5_p01.ebuild,v 1.3 2012/05/20 16:46:58 heroxbd Exp $ - -EAPI=4 - -inherit cmake-utils eutils fortran-2 versionator - -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 examples gdml geant3 granular motif opengl openinventor - raytracerx qt4 static-libs test vrml zlib" - -RDEPEND="virtual/fortran - >=sci-physics/clhep-2.1.1 - dawn? ( media-gfx/dawn ) - gdml? ( dev-libs/xerces-c ) - motif? ( x11-libs/openmotif:0 ) - opengl? ( virtual/opengl ) - openinventor? ( media-libs/openinventor ) - raytracerx? ( x11-libs/libX11 x11-libs/libXmu ) - qt4? ( x11-libs/qt-gui:4 opengl? ( x11-libs/qt-opengl:4 ) ) - zlib? ( sys-libs/zlib )" -DEPEND="${RDEPEND}" - -S="${WORKDIR}/${MYP}" - -PATCHES=( "${FILESDIR}"/${PN}-4.9.4-zlib.patch \ - "${FILESDIR}"/${P}-scripts-only-dataenv.patch ) - -src_configure() { - mycmakeargs=( - -DGEANT4_USE_SYSTEM_CLHEP=ON - -DCMAKE_INSTALL_LIBDIR="${EPREFIX}"/usr/$(get_libdir) - $(use openinventor && echo "-DINVENTOR_SOXT_LIBRARY=${EROOT}usr/$(get_libdir)/libInventorXt.so") - $(cmake-utils_use data GEANT4_INSTALL_DATA) - $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN) - $(cmake-utils_use gdml GEANT4_USE_GDML) - $(cmake-utils_use geant3 GEANT4_USE_G3TOG4) - $(cmake-utils_use granular GEANT4_BUILD_GRANULAR_BUILD) - $(cmake-utils_use motif GEANT4_USE_XM) - $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11) - $(cmake-utils_use openinventor GEANT4_USE_INVENTOR) - $(cmake-utils_use qt4 GEANT4_USE_QT) - $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11) - $(cmake-utils_use test GEANT4_ENABLE_TESTING) - $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML) - $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB) - $(cmake-utils_use_build static-libs STATIC_LIBS) - ) - cmake-utils_src_configure -} - -src_install() { - # adjust clhep linking flags for system clhep - # binmake.gmk is only useful for legacy build systems - sed -i "s,-lG4clhep,-lCLHEP," config/binmake.gmk || die "sed failed" - - 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 - if use data ; then - sed "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\); pwd\`,\1${EPREFIX}/usr\2," \ - "${CMAKE_BUILD_DIR}/InstallTreeFiles/geant4.sh" > 99geant - doenvd 99geant - fi -} - -pkg_postinst() { - elog "The following scripts are provided for backward compatibility:" - elog "$(ls -1 ${EROOT}usr/share/Geant4-${PV2}.${PV3}.*/geant4make/*sh)" -} diff --git a/sci-physics/geant/metadata.xml b/sci-physics/geant/metadata.xml deleted file mode 100644 index 7d3677c..0000000 --- a/sci-physics/geant/metadata.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>sci-physics</herd> - <longdescription lang="en"> - Geant simulates the passage of subatomic particles through matter, for - instance, particle detectors. Geant 3 simulations are performed by - linking Fortran code supplied by the user with the Geant libraries, - then running the resulting executable. This package includes gxint, - the script used to perform this linking step. - Geant 4 is a complete rewrite in C++ with addition of other modern - features and detectors. -</longdescription> - <use> - <flag name="athena">Enable the MIT Athena (<pkg>x11-libs/libXaw</pkg>) - widget set (default is Motif)</flag> - <flag name="data">Add a lot of standard physics data files for geant4</flag> - <flag name="dawn">Add support for <pkg>media-gfx/dawn</pkg> (3D postscript - rendering)</flag> - <flag name="gdml">Enable geometry markup language for xml</flag> - <flag name="geant3">Add compatibility for geant321 to geant4</flag> - <flag name="global">Produce a huge global library instead of small - ones</flag> - <flag name="granular">Produce many small libraries instead of global ones</flag> - <flag name="aida">Add support for Abstract Interfaces for Data Analysis </flag> - <flag name="openinventor">Add support for <pkg>media-libs/openinventor</pkg> - SGI toolkit</flag> - <flag name="raytracerx">Enable raytracing for physics events</flag> - <flag name="vrml">Enable output of geant4 in vrml formats</flag> - </use> -</pkgmetadata> |