1 |
bicatali 13/06/05 16:14:34 |
2 |
|
3 |
Modified: geant-3.21.14-r3.ebuild ChangeLog |
4 |
Added: geant-4.9.6_p02.ebuild |
5 |
Removed: geant-4.9.6.ebuild geant-4.9.5_p02.ebuild |
6 |
Log: |
7 |
Version bump. Revert to static data download (bug #454152). Removed old. |
8 |
|
9 |
(Portage version: 2.2.01.21938-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
10 |
|
11 |
Revision Changes Path |
12 |
1.4 sci-physics/geant/geant-3.21.14-r3.ebuild |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-3.21.14-r3.ebuild?rev=1.4&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-3.21.14-r3.ebuild?rev=1.4&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-3.21.14-r3.ebuild?r1=1.3&r2=1.4 |
17 |
|
18 |
Index: geant-3.21.14-r3.ebuild |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-3.21.14-r3.ebuild,v |
21 |
retrieving revision 1.3 |
22 |
retrieving revision 1.4 |
23 |
diff -u -r1.3 -r1.4 |
24 |
--- geant-3.21.14-r3.ebuild 24 Oct 2012 19:42:46 -0000 1.3 |
25 |
+++ geant-3.21.14-r3.ebuild 5 Jun 2013 16:14:34 -0000 1.4 |
26 |
@@ -1,6 +1,6 @@ |
27 |
-# Copyright 1999-2012 Gentoo Foundation |
28 |
+# Copyright 1999-2013 Gentoo Foundation |
29 |
# Distributed under the terms of the GNU General Public License v2 |
30 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-3.21.14-r3.ebuild,v 1.3 2012/10/24 19:42:46 ulm Exp $ |
31 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-3.21.14-r3.ebuild,v 1.4 2013/06/05 16:14:34 bicatali Exp $ |
32 |
|
33 |
EAPI=4 |
34 |
|
35 |
@@ -19,7 +19,7 @@ |
36 |
|
37 |
SLOT="3" |
38 |
LICENSE="GPL-2 LGPL-2 BSD" |
39 |
-KEYWORDS="~amd64 ~x86" |
40 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
41 |
IUSE="" |
42 |
|
43 |
RDEPEND=" |
44 |
|
45 |
|
46 |
|
47 |
1.73 sci-physics/geant/ChangeLog |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?rev=1.73&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?rev=1.73&content-type=text/plain |
51 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/ChangeLog?r1=1.72&r2=1.73 |
52 |
|
53 |
Index: ChangeLog |
54 |
=================================================================== |
55 |
RCS file: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v |
56 |
retrieving revision 1.72 |
57 |
retrieving revision 1.73 |
58 |
diff -u -r1.72 -r1.73 |
59 |
--- ChangeLog 12 May 2013 03:33:44 -0000 1.72 |
60 |
+++ ChangeLog 5 Jun 2013 16:14:34 -0000 1.73 |
61 |
@@ -1,6 +1,15 @@ |
62 |
# ChangeLog for sci-physics/geant |
63 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
64 |
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.72 2013/05/12 03:33:44 patrick Exp $ |
65 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/ChangeLog,v 1.73 2013/06/05 16:14:34 bicatali Exp $ |
66 |
+ |
67 |
+*geant-4.9.6_p02 (05 Jun 2013) |
68 |
+ |
69 |
+ 05 Jun 2013; Sébastien Fabbro <bicatali@g.o> +geant-4.9.6_p02.ebuild, |
70 |
+ -files/geant-4.9.2-zlib.patch, -files/geant-4.9.3-respect_flags.patch, |
71 |
+ -files/geant-4.9.3-zlib.patch, -files/geant-4.9.5-scripts-only-dataenv.patch, |
72 |
+ -files/geant-4.9.5_p01-scripts-only-dataenv.patch, -geant-4.9.5_p02.ebuild, |
73 |
+ -geant-4.9.6.ebuild, geant-3.21.14-r3.ebuild: |
74 |
+ Version bump. Revert to static data download (bug #454152). Removed old. |
75 |
|
76 |
12 May 2013; Patrick Lauer <patrick@g.o> metadata.xml: |
77 |
Drop obsolete use flags from metadata.xml |
78 |
|
79 |
|
80 |
|
81 |
1.1 sci-physics/geant/geant-4.9.6_p02.ebuild |
82 |
|
83 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.9.6_p02.ebuild?rev=1.1&view=markup |
84 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/geant/geant-4.9.6_p02.ebuild?rev=1.1&content-type=text/plain |
85 |
|
86 |
Index: geant-4.9.6_p02.ebuild |
87 |
=================================================================== |
88 |
# Copyright 1999-2013 Gentoo Foundation |
89 |
# Distributed under the terms of the GNU General Public License v2 |
90 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/geant/geant-4.9.6_p02.ebuild,v 1.1 2013/06/05 16:14:34 bicatali Exp $ |
91 |
|
92 |
EAPI=5 |
93 |
|
94 |
inherit cmake-utils eutils fortran-2 versionator multilib |
95 |
|
96 |
PV1=$(get_version_component_range 1 ${PV}) |
97 |
PV2=$(get_version_component_range 2 ${PV}) |
98 |
PV3=$(get_version_component_range 3 ${PV}) |
99 |
MYP=${PN}$(replace_version_separator 3 .) |
100 |
|
101 |
DESCRIPTION="Toolkit for simulation of passage of particles through matter" |
102 |
HOMEPAGE="http://geant4.cern.ch/" |
103 |
SRC_COM="http://geant4.cern.ch/support/source" |
104 |
SRC_URI="${SRC_COM}/${MYP}.tar.gz" |
105 |
|
106 |
NDLPV=4.2 |
107 |
GEANT4_DATA=" |
108 |
G4NDL.${NDLPV} |
109 |
G4EMLOW.6.32 |
110 |
G4RadioactiveDecay.3.6 |
111 |
G4SAIDDATA.1.1 |
112 |
G4NEUTRONXS.1.2 |
113 |
G4PII.1.3 |
114 |
G4PhotonEvaporation.2.3 |
115 |
G4ABLA.3.0 |
116 |
RealSurface.1.0" |
117 |
for d in ${GEANT4_DATA}; do |
118 |
SRC_URI="${SRC_URI} data? ( ${SRC_COM}/${d}.tar.gz ${SRC_COM}/G4NDL${NDLPV}.TS.tar.gz )" |
119 |
done |
120 |
|
121 |
LICENSE="geant4" |
122 |
SLOT="4" |
123 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
124 |
IUSE="+data dawn examples gdml geant3 motif opengl openinventor |
125 |
raytracerx qt4 static-libs vrml zlib" |
126 |
|
127 |
RDEPEND=" |
128 |
dev-libs/expat |
129 |
>=sci-physics/clhep-2.1.3 |
130 |
dawn? ( media-gfx/dawn ) |
131 |
gdml? ( dev-libs/xerces-c ) |
132 |
motif? ( x11-libs/motif:0 ) |
133 |
opengl? ( virtual/opengl ) |
134 |
openinventor? ( media-libs/openinventor ) |
135 |
qt4? ( dev-qt/qtgui:4 opengl? ( dev-qt/qtopengl:4 ) ) |
136 |
raytracerx? ( x11-libs/libX11 x11-libs/libXmu ) |
137 |
zlib? ( sys-libs/zlib )" |
138 |
DEPEND="${RDEPEND}" |
139 |
|
140 |
S="${WORKDIR}/${MYP}" |
141 |
|
142 |
PATCHES=( "${FILESDIR}"/${PN}-4.9.4-zlib.patch ) |
143 |
GEANT4_DATA_DIR="/usr/share/geant4/data" |
144 |
|
145 |
src_configure() { |
146 |
local mycmakeargs=( |
147 |
-DGEANT4_USE_SYSTEM_CLHEP=ON |
148 |
-DCMAKE_INSTALL_LIBDIR="${EROOT}usr/$(get_libdir)" |
149 |
-DGEANT4_INSTALL_DATADIR="${EROOT}${GEANT4_DATA_DIR}" |
150 |
-DGEANT4_INSTALL_DATA=OFF |
151 |
$(use openinventor && echo "-DINVENTOR_SOXT_LIBRARY=${EROOT}usr/$(get_libdir)/libInventorXt.so") |
152 |
$(cmake-utils_use dawn GEANT4_USE_NETWORKDAWN) |
153 |
$(cmake-utils_use gdml GEANT4_USE_GDML) |
154 |
$(cmake-utils_use geant3 GEANT4_USE_G3TOG4) |
155 |
$(cmake-utils_use motif GEANT4_USE_XM) |
156 |
$(cmake-utils_use opengl GEANT4_USE_OPENGL_X11) |
157 |
$(cmake-utils_use openinventor GEANT4_USE_INVENTOR) |
158 |
$(cmake-utils_use qt4 GEANT4_USE_QT) |
159 |
$(cmake-utils_use raytracerx GEANT4_USE_RAYTRACER_X11) |
160 |
$(cmake-utils_use vrml GEANT4_USE_NETWORKVRML) |
161 |
$(cmake-utils_use zlib GEANT4_USE_SYSTEM_ZLIB) |
162 |
$(cmake-utils_use_build static-libs STATIC_LIBS) |
163 |
) |
164 |
cmake-utils_src_configure |
165 |
} |
166 |
|
167 |
src_install() { |
168 |
# adjust clhep linking flags for system clhep |
169 |
# binmake.gmk is only useful for legacy build systems |
170 |
sed -i -e 's/-lG4clhep/-lCLHEP/' config/binmake.gmk || die |
171 |
|
172 |
cmake-utils_src_install |
173 |
if use data; then |
174 |
einfo "Installing Geant4 data" |
175 |
insinto ${GEANT4_DATA_DIR} |
176 |
pushd "${WORKDIR}" > /dev/null |
177 |
for d in ${GEANT4_DATA}; do |
178 |
local p=${d/.} |
179 |
doins -r *${p/G4} |
180 |
done |
181 |
popd > /dev/null |
182 |
fi |
183 |
insinto /usr/share/doc/${PF} |
184 |
local mypv="${PV1}.${PV2}.${PV3}" |
185 |
doins ReleaseNotes/ReleaseNotes${mypv}.html |
186 |
[[ -e ReleaseNotes/Patch${mypv}-1.txt ]] && \ |
187 |
dodoc ReleaseNotes/Patch${mypv}-*.txt |
188 |
use examples && doins -r examples |
189 |
if use data ; then |
190 |
sed -n "s,export \(G4.\+DATA=\"\).*\(/share/Geant.\+/data/.\+\) > /dev/null ; pwd\`,\1${EPREFIX}/usr\2,p" \ |
191 |
"${CMAKE_BUILD_DIR}/InstallTreeFiles/geant4.sh" > 99geant |
192 |
doenvd 99geant |
193 |
fi |
194 |
} |
195 |
|
196 |
pkg_postinst() { |
197 |
elog "The following scripts are provided for backward compatibility:" |
198 |
elog "$(ls -1 ${EROOT}usr/share/Geant4-${PV2}.${PV3}.*/geant4make/*sh)" |
199 |
} |