summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda XU <heroxbd@gentoo.org>2013-12-20 06:09:30 +0000
committerBenda XU <heroxbd@gentoo.org>2013-12-20 06:09:30 +0000
commit9bd22437ad366638895a1e66979f9bd0a1102700 (patch)
treed5c669430e023072f3354a6c8e9a8a418ec58353 /sci-physics/geant
parentversion bump (diff)
downloadhistorical-9bd22437ad366638895a1e66979f9bd0a1102700.tar.gz
historical-9bd22437ad366638895a1e66979f9bd0a1102700.tar.bz2
historical-9bd22437ad366638895a1e66979f9bd0a1102700.zip
version bump
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'sci-physics/geant')
-rw-r--r--sci-physics/geant/ChangeLog8
-rw-r--r--sci-physics/geant/Manifest15
-rw-r--r--sci-physics/geant/files/geant-4.10.0-no-examples.patch22
-rw-r--r--sci-physics/geant/geant-4.10.00.ebuild87
4 files changed, 120 insertions, 12 deletions
diff --git a/sci-physics/geant/ChangeLog b/sci-physics/geant/ChangeLog
index a4a5a8c4e661..0457303f8142 100644
--- a/sci-physics/geant/ChangeLog
+++ b/sci-physics/geant/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-physics/geant
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.76 2013/07/02 17:18:56 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.77 2013/12/20 06:07:41 heroxbd Exp $
+
+*geant-4.10.00 (20 Dec 2013)
+
+ 20 Dec 2013; Benda Xu <heroxbd@gentoo.org>
+ +files/geant-4.10.0-no-examples.patch, +geant-4.10.00.ebuild:
+ version bump
02 Jul 2013; SĂ©bastien Fabbro <bicatali@gentoo.org> geant-4.9.6_p02-r1.ebuild:
Added doc flag pulling app-doc/geant-docs package
diff --git a/sci-physics/geant/Manifest b/sci-physics/geant/Manifest
index b024cfaffbd3..150f32002169 100644
--- a/sci-physics/geant/Manifest
+++ b/sci-physics/geant/Manifest
@@ -1,6 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
-
+AUX geant-4.10.0-no-examples.patch 692 SHA256 3f2151ae9df66ee7b7bb36e0f519da1ea796de9bc6e6b31bf5047cb925164ed3 SHA512 852f2bba645a3a223efabef184bbcc37cf75dc1e2c301bfde634b479503c39d7df0b938156a09e151fb8a287f7bd26bc87816014ca3b56c59ee72937f8ac063c WHIRLPOOL 7794d2363486382ed59f5ede2702df02c3922b0a028a948919587c68786ed61ed6542aaccda737ba61679250858b74f9316107999ef927acf9658b54536675de
AUX geant-4.9.4-datadir.patch 2203 SHA256 3c97d883732299ecb008d6c114d92556a937b93966ec21fb612809b03d0a95f8 SHA512 d0f9cd8da02f7820917f2b9b0ae61412a457dca387d0bf8e0ea216b4e0648f3d1aa2a6ae45134b8870a7fd9bd2c763684a465ee648ed6bdfa7fc8c12ae603899 WHIRLPOOL d18d3b0dd0c00ef9943d937b4679566df2bc7893f06bc2c93b9cd3b09f4d21b112a7270e1f57b150b6dd36945b243d0251897e6258c4eaca40e5b266d2dccb8d
AUX geant-4.9.4-libdir.patch 1328 SHA256 36f43915868ea87f2b80c9ea360b24726389a8839ef06323e58a08fdf5833338 SHA512 816f995504c2a98e3d8c89da5baa0a416b7342d4b3297ac2643a2b74fb8456dc28c01bbf61ca6558efdf87d81c742e27a039a31b6b9c091c66c5c8b3dcc61558 WHIRLPOOL 21887a59415c682046e8a7eb296169f6517c2096f01d54956923aecf5de9ec480f07683b099da3898774bb72f483c08f3e5c75f60fbcc80e933e422f9ad3365f
AUX geant-4.9.4-no-benchmarks.patch 370 SHA256 5ff40079b5669335b1701831fba3922b525d2fdd594704750111d7eaea45b693 SHA512 3ff8ae180c94d689edccb5698f2d436583ed11023cf3aa6f6c9aeb036f8a1041816278dc8e70a71ac6b9d8f9783b278255fb218f8297f1536993b82755e720b7 WHIRLPOOL dba193eb35410468509dafc5ab2ec2ab4783498373e10c277551b2d45431115b68b4ab815273dd155e6b4cd973231e817a754cc2c6bc9cd41b05a106877b550f
@@ -18,18 +16,13 @@ DIST RealSurface.1.0.tar.gz 1257863 SHA256 3e2d2506600d2780ed903f1f2681962e20803
DIST geant321_3.21.14.dfsg-8.diff.gz 41909 SHA256 785277dab1e1d3e17d60c85f3826bc67bbd6de7e6a6d40ff7af901371c4d2ce1 SHA512 d69ecb773f06bb1bfea8c336297b693bf1ff62c051408bd64398077b7ccc81a893ad69a29dbe127d78cbe7d6bce125423fc53a68fc719880ee13e03dc4e52662 WHIRLPOOL 9e2fcd4c8f32dba1af6f71e1fd7153c9ab9a26d6200ca71ab2152df0e66d9ed3933d4f27fc44a0fa1f9a8caa375b2f2be0414c681faec3c79545aa733a0ad01f
DIST geant321_3.21.14.dfsg-9.diff.gz 47589 SHA256 419bc2315e2692fe84b353d445cbae7af995d84a6a0290b7f9051ee041243d20 SHA512 fd04f42e5ca8bc7f8015bacf038a78e90ac0ebc95ab85ed65e2010a7c05aed8874057de9f28e11fefee8b6c6b983a5db8dcd8480953c185e6d45d1ca16adba01 WHIRLPOOL 6ca0e08fdf464076dda58cd26dc7c92511d82315ea58979de8201c3f8eeab6860bb136d1ebffcea23b7a53b71b5a6a894495b3153c905aa31f9260517f30e526
DIST geant321_3.21.14.dfsg.orig.tar.gz 10922928 SHA256 186fe98a08ad1de39f68698a09a46e7c2f14c37b22f8f990257b0bd66215c5b4 SHA512 733a77e529ecfe17c35d1e0bf44cf9062dbd9f2e3880e12cbfabf7372e6c60ea9690df010574094b44aef6fe306dfd85dfd4f42641b8f03efda3938a50313734 WHIRLPOOL fc2b230e1bf2ae1157cf9c92f474ff72fc1f3158e5db5a8f1a7d4f7c983fae9b886dc1aeb148019cb961bc602abc629d75a1aa728d66b10887daa45de040def6
+DIST geant4.10.00.tar.gz 30780131 SHA256 ffec1714b03748b6d691eb0b91906f4c74422c1ad1f8afa918e03be421af8a17 SHA512 c9288b26df8b858622e728158b687cd7bc257c49f26a21b93d1b9fa4619c22dfea2a7604689118ac493b407888690db42d1ec9c8048aa1f45bf8beeb6a657e87 WHIRLPOOL 20eb2002e867a0fe3dab683820ebeeb5de2140c5cd7c4c57c07b5da2a62900d4ee2bf1f6372e034781ed536001e40a5a79d5654729e45a16995415febfefb26d
DIST geant4.9.4.p03.tar.gz 25241424 SHA256 5090ca5b506238f16ba2ae2176221a18b6fde06f91180850a109fae1006910c0 SHA512 281b224c126c41cda6b128218dfeb2d77e0e06ca08d2a3dd039be009e3736f3befbf8dd8838543eea197341a5c382543240bf429c38e5e8ca6f0628eb65080b4 WHIRLPOOL 6e9929296624b35cf83a7325d32221f2aaf724b1c27e4f666fea960343c030f08be61723998c5c19cd74a688610a123e3699c907fe5e44f8df2e8058f8691ea5
DIST geant4.9.6.p02.tar.gz 25480383 SHA256 cf5df83b7e2c99e6729449b32d3ecb0727b4692317426b66fc7fd41951c7351f SHA512 dab5f31568074869adecbbfb8855be0c0a2e92e5ba3119dbeb9cd414878721df3052198a05e5e3c19d0e2942a22602c6618dc0628b05134d3403a50c2bc2032c WHIRLPOOL 8c66d8aa1605a42e6b6f054c32eb49df0bb2afcdf54360ff630908ce7cfc8a7a37b62cdb2a1612af05f1f70a5575c6516aad1f6737a67692449b01e1137b2865
EBUILD geant-3.21.14-r2.ebuild 1863 SHA256 280320afafaed437cb867022573df8db82440fe432ad65da970fb960efcd0b9a SHA512 49d0dbe37041d311f2e7f4180ae22c44855504ad93750abc442be931d916bcdae756c4de144610802bc166dd415bb032fc81aeeacab4f1b6f36b10c72392ca14 WHIRLPOOL a67420977142aa5572b9807b31ad739346b30fc8f45eedf2a69eb54b07d13845e66d1eb02f84b91bccb5c0a4e5280d8152298f705f08e5ac85f1ba54d026aaed
EBUILD geant-3.21.14-r3.ebuild 1719 SHA256 53205b50b0d88302d5be5de4858ed392333a774dd47784f4c9f16a66855cfb6b SHA512 3b89b08be9e4659ac992d6d20cdde8d4a4d6fce84f272b2a29955c683de48300d5b702026daee964a484704a18b11606e8a72c4dcb37edd72f28d29fc6611a62 WHIRLPOOL 0898d71760e2b6e22680d7943f94382a23de3effdbd25b6e00fb883a708fda0be78d80fbdfb6f683ce4dfe8910fcea5a4418136effcad0baf99df4fc0015787b
+EBUILD geant-4.10.00.ebuild 2846 SHA256 961a58e57aecb37366cddb1988f7aad25d22bdf1243dff3a676f46bf2d15333d SHA512 b839387e6e4428974fda1c497a14efd87624045ab2b2d0da4f0b59a67b32cdfc8803976c32f48e0b6fbae6e3fc5d598359d0893acc7af8c99e665fce4cf3e53a WHIRLPOOL 141f20d5f2b401a23327816bc8743b44566e8051aeb698e7dc40cc83b9377332a2143d0260130fa156f43bdae87a95bdfcac22f03bd98a229eda341308bd12aa
EBUILD geant-4.9.4_p03.ebuild 2375 SHA256 30f9299cd3e4497ef9a9e5dd67c77d48705ceef8dfb514f9a0a17b8e2bbf5da9 SHA512 e474e165bfec3de1841dfdba6770c9516327e9cfb9b69235db4b00014ffcdb070cbefac6335977c225b3a20b874bcf411ad666e782bd966692bfe734b677ed09 WHIRLPOOL 618b2f5b4ea75c5997c9b925e357003a30e2d2ee7ea1db0702f5dcf92d5d84e49602d7fe2acaecc77560443a827aa5c26b722688a00367cce88d4e6aaa05d2a5
EBUILD geant-4.9.6_p02-r1.ebuild 2815 SHA256 6729485afb79e3f52b97e4d473711c68fbc0029618743cfc51fee7ac9e112275 SHA512 4e54c57b4640358a7194f7e4bf2fb3b18766fab869ec8f945a871800b146500dfeaa375474c54e79a6dfe95c1d698449c5f107e954438957004bba4614b32dd2 WHIRLPOOL 181302f11ab55be36b2e5e23a7e0adec4c47a9c3022eedb43e8bf549897dd74c698fe047a2f65cc28b8d19d81092ccb835833bbd8c0da969d128e437c74cf1f8
-MISC ChangeLog 15076 SHA256 c1147024151e8d85933c92f2cac70ba4b7f76538693fc643b17a0f54523a27a0 SHA512 e42e21a108787e6726ea5fa69e1231e10f8fc413b24ae7d15d1fc65a3b346e751ce3f41c194ca527aa12c8ede958056ff95e1d95d6951387222f391b53b5913a WHIRLPOOL 9d52a9b72f5aad09f34e936026df7da580c20e70bcfa3a43a2054a590326d0bab432cbc7483a85730b446118994fcb4c90dc08ff7e1c9ebf0fba7e8dcc5ae658
+MISC ChangeLog 15230 SHA256 862a5891c2ce06483bbe14b655caf7bddf801be994cd8de95f0d56af9042fe2a SHA512 d9f12f59383f5039659bca28aa2e06be81714899efb2cf6d2b931cf772e78746b058acfbf75bbda5938bdc9fdb3a7a6fb76cc4e79554346fd747a51fe33ff75c WHIRLPOOL 990f48faf7f20ff14ec77ad0c3ce6a74e4e348305279974d0323e89cce22f2aa21a9445d98bca079404a5da74e950d12309fb10a3e758d8fee5e9737a7bd85b2
MISC metadata.xml 1266 SHA256 c32b3d9e648ae1987a289075bd7d231ee78496dcaf4fdb6dc05631785a08d38a SHA512 4d167658d616bfd2946440a0d22a5c4a5b19f7884b6279b7aa1f18a452ae982cd566d546eab734dfd6d4ac156cb5fb592d6cad9bc84b3ee80b6d748afdbd54e1 WHIRLPOOL ffc18105c436dd2508b36e0fb14638fb0bebf7c31ff9bfa873f1a78377d4df205694ec1931e99d794b6d8ad37e503802de52e6c6b7458a3c2093f39ef0ffdd65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.20 (GNU/Linux)
-
-iEYEAREIAAYFAlHTC4EACgkQ1ycZbhPLE2CANgCfUHfH68lGLMgMj7oxJ6GdX3M4
-j9UAn2pdmZu95i8U+ZcrEXE/PB8ufhVo
-=OH5U
------END PGP SIGNATURE-----
diff --git a/sci-physics/geant/files/geant-4.10.0-no-examples.patch b/sci-physics/geant/files/geant-4.10.0-no-examples.patch
new file mode 100644
index 000000000000..99aaca546f49
--- /dev/null
+++ b/sci-physics/geant/files/geant-4.10.0-no-examples.patch
@@ -0,0 +1,22 @@
+do not install examples automatically, we do this explictly with dodoc.
+
+Index: geant4.10.00/CMakeLists.txt
+===================================================================
+--- geant4.10.00.orig/CMakeLists.txt
++++ geant4.10.00/CMakeLists.txt
+@@ -136,15 +136,6 @@ if(GEANT4_BUILD_EXAMPLES)
+ add_subdirectory(examples)
+ endif()
+
+-# - Install example code to datarootdir
+-install(DIRECTORY examples
+- DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/Geant4-${Geant4_VERSION}
+- COMPONENT Examples
+- PATTERN "CVS" EXCLUDE
+- PATTERN ".svn" EXCLUDE
+- )
+-
+-
+ #-----------------------------------------------------------------------------
+ # Provide packaging with CPack.
+ include(Geant4CPackBase)
diff --git a/sci-physics/geant/geant-4.10.00.ebuild b/sci-physics/geant/geant-4.10.00.ebuild
new file mode 100644
index 000000000000..a6001415687b
--- /dev/null
+++ b/sci-physics/geant/geant-4.10.00.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.10.00.ebuild,v 1.1 2013/12/20 06:07:41 heroxbd Exp $
+
+EAPI=5
+
+inherit cmake-utils eutils fortran-2 versionator multilib
+
+PV1=$(get_version_component_range 1 ${PV})
+PV2=$(get_version_component_range 2 ${PV})
+PV3=$(get_version_component_range 3 ${PV})
+SPV3=$(printf %1d ${PV3})
+MYP=${PN}$(replace_version_separator 3 .)
+
+DESCRIPTION="Toolkit for simulation of passage of particles through matter"
+HOMEPAGE="http://geant4.cern.ch/"
+SRC_URI="http://geant4.cern.ch/support/source/${MYP}.tar.gz"
+
+LICENSE="geant4"
+SLOT="4"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+data dawn doc examples gdml geant3 inventor motif opengl
+ raytracerx qt4 static-libs vrml zlib"
+
+RDEPEND="
+ dev-libs/expat
+ >=sci-physics/clhep-2.1.3
+ dawn? ( media-gfx/dawn )
+ gdml? ( dev-libs/xerces-c )
+ motif? ( x11-libs/motif:0 )
+ opengl? ( virtual/opengl )
+ inventor? ( media-libs/SoXt )
+ qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) )
+ raytracerx? ( x11-libs/libX11 x11-libs/libXmu )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}"
+PDEPEND="
+ data? ( ~sci-physics/geant-data-${PV} )
+ doc? ( ~app-doc/geant-docs-${PV1}.${PV2}.${SPV3} )"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=( "${FILESDIR}"/${PN}-4.10.0-no-examples.patch )
+
+src_configure() {
+ local mycmakeargs=(
+ -DGEANT4_USE_SYSTEM_CLHEP=ON
+ -DCMAKE_INSTALL_LIBDIR="${EROOT}usr/$(get_libdir)"
+ -DGEANT4_INSTALL_DATA=OFF
+ $(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN)
+ $(cmake-utils_use gdml GEANT4_USE_GDML)
+ $(cmake-utils_use geant3 GEANT4_USE_G3TOG4)
+ $(cmake-utils_use motif GEANT4_USE_XM)
+ $(cmake-utils_use opengl GEANT4_USE_OPENGL_X11)
+ $(cmake-utils_use inventor GEANT4_USE_INVENTOR)
+ $(cmake-utils_use qt4 GEANT4_USE_QT)
+ $(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11)
+ $(cmake-utils_use vrml GEANT4_USE_NETWORKVRML)
+ $(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB)
+ $(cmake-utils_use_build static-libs STATIC_LIBS)
+ )
+ if use inventor; then
+ mycmakeargs+=(
+ -DINVENTOR_INCLUDE_DIR="$(coin-config --includedir)"
+ -DINVENTOR_SOXT_INCLUDE_DIR="$(coin-config --includedir)"
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+src_install() {
+ # adjust clhep linking flags for system clhep
+ # binmake.gmk is only useful for legacy build systems
+ sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die
+ cmake-utils_src_install
+ insinto /usr/share/doc/${PF}
+ local mypv="${PV1}.${PV2}.${SPV3}"
+ doins ReleaseNotes/ReleaseNotes${mypv}.html
+ [[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \
+ dodoc ReleaseNotes/Patch${mypv}-*.txt
+ use examples && doins -r examples
+}
+
+pkg_postinst() {
+ elog "The following scripts are provided for backward compatibility:"
+ elog "$(ls -1 ${EROOT%/}/usr/share/Geant4-${PV2}.${SPV3}.*/geant4make/*sh)"
+}