1 |
commit: 8b60a13850c561dc6a5ab2d61137097209dc1fc0 |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Aug 27 09:13:48 2020 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 27 15:29:20 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b60a138 |
7 |
|
8 |
sci-physics/root: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.4, Repoman-3.0.1 |
11 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
12 |
|
13 |
sci-physics/root/Manifest | 2 - |
14 |
.../files/root-6.16.00-disable-header-search.patch | 38 --- |
15 |
sci-physics/root/metadata.xml | 1 - |
16 |
sci-physics/root/root-6.16.00-r5.ebuild | 327 --------------------- |
17 |
sci-physics/root/root-6.20.04.ebuild | 304 ------------------- |
18 |
5 files changed, 672 deletions(-) |
19 |
|
20 |
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest |
21 |
index 5631b64929a..0f54fac2c5f 100644 |
22 |
--- a/sci-physics/root/Manifest |
23 |
+++ b/sci-physics/root/Manifest |
24 |
@@ -1,6 +1,4 @@ |
25 |
-DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf |
26 |
DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6 |
27 |
-DIST root_v6.20.04.source.tar.gz 168056076 BLAKE2B 814bf74f5a18adf2605954068962d3283504538118d221f55e030b224e09c9542a544c166a317ad981a84d4a1edc48bbfc76a57acd43aefb779d8e27270c4aeb SHA512 3cc214a4b160795c8aa53b6fdb01370c3aea628696d1668cbf47e6beac56f171674619a853a1219336d9b67ad06db1d9ecd13345bf1731f809da9e60b3d39a2c |
28 |
DIST root_v6.20.06.source.tar.gz 168216335 BLAKE2B a0a51f11e6dcc3a6ba657a8b946507bb857088bce3102f5330a0df455fec468ee4228f5394795f3e3b1ee3434b7ddda85f08039bf603a531154c28b335ff803c SHA512 232fd5253e83eb02ad33d03941c7c83d39d5f6b0162bd42594e44a0c1c08deade42ae5793e571db767ce4fa0a582aa332b9d1869e621b825d1eb1162819c98c6 |
29 |
DIST root_v6.20.08.source.tar.gz 168218062 BLAKE2B 79b1eb89f1003c140a60d47e9d447576ad215e66321a265ed047b069d05f008cf8f0d23df99ed35a8ee5a802e5de5a42122e8f1c075b01ef74eb11926a1b31d7 SHA512 205d5ae94a6c1b6e1a479a8631d5a9bab4a9f76c396cf3ed2c23a26c767a5a892a087b872a69853ada0f84e60a6015f732342c5f48acc696cb626528748f81fe |
30 |
DIST root_v6.22.00.source.tar.gz 173014392 BLAKE2B a59071ee5b13466505323fca30fe656668a243006239e7f9ebc71bb21a7fe244cafe6d33ff4579b67920c9102eb36344f20415079bb627834fb8a57d9117476d SHA512 9e3c54bbc146b0abb0a2d960af380255ec59d0b3a11a4a97a2a25cb7ac567b07280c4eb48dddf99c1fa2e692881f6396a842ce125d3a253037e52f719739f01e |
31 |
|
32 |
diff --git a/sci-physics/root/files/root-6.16.00-disable-header-search.patch b/sci-physics/root/files/root-6.16.00-disable-header-search.patch |
33 |
deleted file mode 100644 |
34 |
index 06748eb6431..00000000000 |
35 |
--- a/sci-physics/root/files/root-6.16.00-disable-header-search.patch |
36 |
+++ /dev/null |
37 |
@@ -1,38 +0,0 @@ |
38 |
-From: Benda Xu <heroxbd@g.o> |
39 |
-Date: 2019-03-23 |
40 |
-Subject: Remove header expansion logic from module cmake helper. |
41 |
- |
42 |
-Description: ROOT module cmake helper by default expands header inclusion to |
43 |
-absolute path. In Gentoo, that will capture PORTAGE_TMPDIR resulting in various |
44 |
-runtime bugs. By removing this convolved logic, headers are untouched and become |
45 |
-more predictible for rootcling at runtime. |
46 |
- |
47 |
-Typical bug it solves: |
48 |
- |
49 |
- Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState: |
50 |
- Missing FileEntry for /var/tmp/portage/sci-physics/JSAP-479/work/JSAP-479/DataType/JPSimOutput.hh |
51 |
- requested to autoload type JPSimTruthTree_t |
52 |
- Error in cling::AutoloadingVisitor::InsertIntoAutoloadingState: |
53 |
- Missing FileEntry for /var/tmp/portage/sci-physics/JSAP-479/work/JSAP-479/DataType/JPSimOutput.hh |
54 |
- requested to autoload type JPSimTriggerInfoTree_t |
55 |
- |
56 |
-Forwarded: No need. Gentoo specific. |
57 |
- |
58 |
---- a/cmake/modules/RootNewMacros.cmake 2019-01-23 16:23:37.000000000 +0800 |
59 |
-+++ b/cmake/modules/RootNewMacros.cmake 2019-02-25 00:18:04.000000000 +0800 |
60 |
-@@ -250,14 +250,7 @@ function(ROOT_GENERATE_DICTIONARY dictio |
61 |
- list(APPEND headerfiles ${fp}) |
62 |
- list(APPEND _list_of_header_dependencies ${fp}) |
63 |
- else() |
64 |
-- find_file(headerFile ${fp} HINTS ${localinclude} ${incdirs} NO_DEFAULT_PATH) |
65 |
-- find_file(headerFile ${fp} NO_SYSTEM_ENVIRONMENT_PATH) |
66 |
-- if(headerFile) |
67 |
-- list(APPEND headerfiles ${headerFile}) |
68 |
-- list(APPEND _list_of_header_dependencies ${headerFile}) |
69 |
-- else() |
70 |
-- list(APPEND headerfiles ${fp}) |
71 |
-- endif() |
72 |
-+ list(APPEND headerfiles ${fp}) |
73 |
- unset(headerFile CACHE) |
74 |
- endif() |
75 |
- endforeach() |
76 |
|
77 |
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml |
78 |
index e20aca48cc1..85a5b09bdff 100644 |
79 |
--- a/sci-physics/root/metadata.xml |
80 |
+++ b/sci-physics/root/metadata.xml |
81 |
@@ -41,7 +41,6 @@ |
82 |
<flag name="roofit">Build RooFit function fitting package</flag> |
83 |
<flag name="root7">Build experimental features to be released with ROOT 7</flag> |
84 |
<flag name="shadow">Enable shadow authentication in rootd and proofd</flag> |
85 |
- <flag name="table">Build libTable contrib library</flag> |
86 |
<flag name="tbb">Enable implicit multi-threading (IMT) with <pkg>dev-cpp/tbb</pkg></flag> |
87 |
<flag name="tmva">Built TMVA (ROOT's multi-variate analysis toolkit for machine learning)</flag> |
88 |
<flag name="unuran">Enable support for <pkg>sci-mathematics/unuran</pkg></flag> |
89 |
|
90 |
diff --git a/sci-physics/root/root-6.16.00-r5.ebuild b/sci-physics/root/root-6.16.00-r5.ebuild |
91 |
deleted file mode 100644 |
92 |
index 654e8431079..00000000000 |
93 |
--- a/sci-physics/root/root-6.16.00-r5.ebuild |
94 |
+++ /dev/null |
95 |
@@ -1,327 +0,0 @@ |
96 |
-# Copyright 1999-2020 Gentoo Authors |
97 |
-# Distributed under the terms of the GNU General Public License v2 |
98 |
- |
99 |
-EAPI=6 |
100 |
- |
101 |
-# ninja does not work due to fortran |
102 |
-CMAKE_MAKEFILE_GENERATOR=emake |
103 |
-FORTRAN_NEEDED="fortran" |
104 |
-PYTHON_COMPAT=( python2_7 python3_{6,7} ) |
105 |
- |
106 |
-inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \ |
107 |
- prefix python-single-r1 toolchain-funcs |
108 |
- |
109 |
-DESCRIPTION="C++ data analysis framework and interpreter from CERN" |
110 |
-HOMEPAGE="https://root.cern" |
111 |
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz" |
112 |
- |
113 |
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs |
114 |
- +examples fits fftw fortran +gdml graphviz +gsl http jemalloc |
115 |
- kerberos ldap libcxx memstat +minuit mysql nosplash odbc +opengl |
116 |
- oracle postgres prefix pythia6 pythia8 +python qt5 R +roofit root7 |
117 |
- shadow sqlite +ssl table +tbb test +threads +tiff +tmva +unuran vc |
118 |
- xinetd +xml xrootd zeroconf" |
119 |
-RESTRICT="!test? ( test )" |
120 |
- |
121 |
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)" |
122 |
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA" |
123 |
-KEYWORDS="amd64 x86" |
124 |
- |
125 |
-REQUIRED_USE=" |
126 |
- ^^ ( c++11 c++14 c++17 ) |
127 |
- cuda? ( tmva !c++17 ) |
128 |
- !X? ( !asimage !opengl !qt5 !tiff ) |
129 |
- davix? ( ssl xml ) |
130 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
131 |
- qt5? ( root7 ) |
132 |
- root7? ( || ( c++14 c++17 ) ) |
133 |
- tmva? ( gsl ) |
134 |
-" |
135 |
- |
136 |
-CDEPEND=" |
137 |
- app-arch/lz4 |
138 |
- app-arch/xz-utils |
139 |
- fortran? ( dev-lang/cfortran ) |
140 |
- dev-libs/libpcre:3 |
141 |
- dev-libs/xxhash |
142 |
- media-fonts/dejavu |
143 |
- media-libs/freetype:2 |
144 |
- media-libs/libpng:0= |
145 |
- sys-libs/ncurses:= |
146 |
- sys-libs/zlib |
147 |
- X? ( |
148 |
- x11-libs/libX11:0 |
149 |
- x11-libs/libXext:0 |
150 |
- x11-libs/libXft:0 |
151 |
- x11-libs/libXpm:0 |
152 |
- opengl? ( |
153 |
- media-libs/ftgl:0= |
154 |
- media-libs/glew:0= |
155 |
- virtual/opengl |
156 |
- virtual/glu |
157 |
- x11-libs/gl2ps:0= |
158 |
- ) |
159 |
- qt5? ( |
160 |
- dev-qt/qtcore:5 |
161 |
- dev-qt/qtgui:5 |
162 |
- dev-qt/qtwebengine:5[widgets] |
163 |
- ) |
164 |
- ) |
165 |
- asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] ) |
166 |
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] ) |
167 |
- cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 ) |
168 |
- davix? ( net-libs/davix ) |
169 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
170 |
- fftw? ( sci-libs/fftw:3.0= ) |
171 |
- fits? ( sci-libs/cfitsio:0= ) |
172 |
- graphviz? ( media-gfx/graphviz ) |
173 |
- gsl? ( sci-libs/gsl:= ) |
174 |
- http? ( dev-libs/fcgi:0= ) |
175 |
- jemalloc? ( dev-libs/jemalloc ) |
176 |
- kerberos? ( virtual/krb5 ) |
177 |
- ldap? ( net-nds/openldap:0= ) |
178 |
- libcxx? ( sys-libs/libcxx ) |
179 |
- unuran? ( sci-mathematics/unuran:0= ) |
180 |
- minuit? ( !sci-libs/minuit ) |
181 |
- mysql? ( dev-db/mysql-connector-c ) |
182 |
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) |
183 |
- oracle? ( dev-db/oracle-instantclient-basic ) |
184 |
- postgres? ( dev-db/postgresql:= ) |
185 |
- pythia6? ( sci-physics/pythia:6 ) |
186 |
- pythia8? ( sci-physics/pythia:8 ) |
187 |
- python? ( ${PYTHON_DEPS} ) |
188 |
- R? ( dev-lang/R ) |
189 |
- shadow? ( sys-apps/shadow ) |
190 |
- sqlite? ( dev-db/sqlite:3 ) |
191 |
- ssl? ( dev-libs/openssl:0= ) |
192 |
- tbb? ( >=dev-cpp/tbb-2018 ) |
193 |
- tmva? ( |
194 |
- $(python_gen_cond_dep ' |
195 |
- dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
196 |
- ') |
197 |
- ) |
198 |
- vc? ( dev-libs/vc:= ) |
199 |
- xml? ( dev-libs/libxml2:2= ) |
200 |
- xrootd? ( <net-libs/xrootd-5:0= ) |
201 |
-" |
202 |
- |
203 |
-DEPEND="${CDEPEND} |
204 |
- virtual/pkgconfig" |
205 |
- |
206 |
-RDEPEND="${CDEPEND} |
207 |
- xinetd? ( sys-apps/xinetd )" |
208 |
- |
209 |
-PATCHES=( |
210 |
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch |
211 |
- "${FILESDIR}"/${PN}-6.16.00-disable-header-search.patch |
212 |
-) |
213 |
- |
214 |
-pkg_setup() { |
215 |
- use fortran && fortran-2_pkg_setup |
216 |
- use python && python-single-r1_pkg_setup |
217 |
- |
218 |
- elog "There are extra options on packages not available in Gentoo." |
219 |
- elog "You can use the environment variable EXTRA_ECONF to enable" |
220 |
- elog "these packages. For example, for Vdt you would set:" |
221 |
- elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\"" |
222 |
-} |
223 |
- |
224 |
-src_prepare() { |
225 |
- use cuda && cuda_src_prepare |
226 |
- |
227 |
- cmake-utils_src_prepare |
228 |
- |
229 |
- sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die |
230 |
- |
231 |
- # CSS should use local images |
232 |
- sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed" |
233 |
- |
234 |
- if use nosplash; then |
235 |
- sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx |
236 |
- fi |
237 |
- |
238 |
- hprefixify core/clingutils/CMakeLists.txt |
239 |
-} |
240 |
- |
241 |
-# Note: ROOT uses bundled clang because it is patched and API-incompatible |
242 |
-# with vanilla clang. The patches enable the C++ interpreter to work. |
243 |
-# Since ROOT installs many files into /etc (>100MB in total) that don't |
244 |
-# really belong there, we install it into another directory to avoid |
245 |
-# making /etc too big. |
246 |
- |
247 |
-src_configure() { |
248 |
- local mycmakeargs=( |
249 |
- -DCMAKE_C_FLAGS="${CFLAGS}" |
250 |
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}" |
251 |
- -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}" |
252 |
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)" |
253 |
- -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)/share/man" |
254 |
- -DCMAKE_INSTALL_LIBDIR="lib" |
255 |
- -DDEFAULT_SYSROOT="${EPREFIX}" |
256 |
- -DCLING_BUILD_PLUGINS=OFF |
257 |
- -Dexplicitlink=ON |
258 |
- -Dexceptions=ON |
259 |
- -Dfail-on-missing=ON |
260 |
- -Dgnuinstall=OFF |
261 |
- -Dshared=ON |
262 |
- -Dsoversion=ON |
263 |
- -Dbuiltin_llvm=ON |
264 |
- -Dbuiltin_clang=ON |
265 |
- -Dbuiltin_afterimage=OFF |
266 |
- -Dbuiltin_cfitsio=OFF |
267 |
- -Dbuiltin_davix=OFF |
268 |
- -Dbuiltin_fftw3=OFF |
269 |
- -Dbuiltin_freetype=OFF |
270 |
- -Dbuiltin_ftgl=OFF |
271 |
- -Dbuiltin_gl2ps=OFF |
272 |
- -Dbuiltin_glew=OFF |
273 |
- -Dbuiltin_gsl=OFF |
274 |
- -Dbuiltin_lz4=OFF |
275 |
- -Dbuiltin_lzma=OFF |
276 |
- -Dbuiltin_openssl=OFF |
277 |
- -Dbuiltin_pcre=OFF |
278 |
- -Dbuiltin_tbb=OFF |
279 |
- -Dbuiltin_unuran=OFF |
280 |
- -Dbuiltin_vc=OFF |
281 |
- -Dbuiltin_vdt=OFF |
282 |
- -Dbuiltin_veccore=OFF |
283 |
- -Dbuiltin_xrootd=OFF |
284 |
- -Dbuiltin_xxhash=OFF |
285 |
- -Dbuiltin_zlib=OFF |
286 |
- -Dx11=$(usex X) |
287 |
- -Dxft=$(usex X) |
288 |
- -Dafdsmgrd=OFF |
289 |
- -Dafs=OFF # not implemented |
290 |
- -Dalien=OFF |
291 |
- -Dasimage=$(usex asimage) |
292 |
- -Dastiff=$(usex tiff) |
293 |
- -Dbonjour=$(usex zeroconf) |
294 |
- -Dlibcxx=$(usex libcxx) |
295 |
- -Dccache=OFF # use ccache via portage |
296 |
- -Dcastor=OFF |
297 |
- -Dchirp=OFF |
298 |
- -Dclad=OFF |
299 |
- -Dcling=ON # cling=OFF is broken |
300 |
- -Dcocoa=$(usex aqua) |
301 |
- -Dcuda=$(usex cuda) |
302 |
- -Dcxx11=$(usex c++11) |
303 |
- -Dcxx14=$(usex c++14) |
304 |
- -Dcxx17=$(usex c++17) |
305 |
- -Dcxxmodules=OFF # requires clang, unstable |
306 |
- -Ddavix=$(usex davix) |
307 |
- -Ddcache=OFF |
308 |
- -Dfftw3=$(usex fftw) |
309 |
- -Dfitsio=$(usex fits) |
310 |
- -Dfortran=$(usex fortran) |
311 |
- -Dftgl=$(usex opengl) |
312 |
- -Dgdml=$(usex gdml) |
313 |
- -Dgenvector=ON # genvector=OFF ignored |
314 |
- -Dgeocad=OFF |
315 |
- -Dgfal=OFF |
316 |
- -Dgl2ps=$(usex opengl) |
317 |
- -Dglite=OFF # not implemented |
318 |
- -Dglobus=OFF |
319 |
- -Dgminimal=OFF |
320 |
- -Dgsl_shared=$(usex gsl) |
321 |
- -Dgviz=$(usex graphviz) |
322 |
- -Dhdfs=OFF |
323 |
- -Dhttp=$(usex http) |
324 |
- -Dimt=$(usex tbb) |
325 |
- -Djemalloc=$(usex jemalloc) |
326 |
- -Dkrb5=$(usex kerberos) |
327 |
- -Dldap=$(usex ldap) |
328 |
- -Dmathmore=$(usex gsl) |
329 |
- -Dmemstat=$(usex memstat) |
330 |
- -Dminimal=OFF |
331 |
- -Dminuit2=$(usex minuit) |
332 |
- -Dminuit=$(usex minuit) |
333 |
- -Dmonalisa=OFF |
334 |
- -Dmysql=$(usex mysql) |
335 |
- -Dodbc=$(usex odbc) |
336 |
- -Dopengl=$(usex opengl) |
337 |
- -Doracle=$(usex oracle) |
338 |
- -Dpch=ON # pch=OFF is broken |
339 |
- -Dpgsql=$(usex postgres) |
340 |
- -Dpythia6=$(usex pythia6) |
341 |
- -Dpythia8=$(usex pythia8) |
342 |
- -Dpython=$(usex python) |
343 |
- -Dqt5web=$(usex qt5) |
344 |
- -Dqtgsi=OFF |
345 |
- -Dqt=OFF |
346 |
- -Drfio=OFF |
347 |
- -Droofit=$(usex roofit) |
348 |
- -Droot7=$(usex root7) |
349 |
- -Drootbench=OFF |
350 |
- -Droottest=OFF |
351 |
- -Drpath=OFF |
352 |
- -Druby=OFF # deprecated and broken |
353 |
- -Druntime_cxxmodules=OFF # does not work yet |
354 |
- -Dr=$(usex R) |
355 |
- -Dsapdb=OFF # not implemented |
356 |
- -Dshadowpw=$(usex shadow) |
357 |
- -Dsqlite=$(usex sqlite) |
358 |
- -Dsrp=OFF # not implemented |
359 |
- -Dssl=$(usex ssl) |
360 |
- -Dtable=$(usex table) |
361 |
- -Dtcmalloc=OFF |
362 |
- -Dtesting=$(usex test) |
363 |
- -Dthread=$(usex threads) |
364 |
- -Dtmva=$(usex tmva) |
365 |
- -Dtmva-cpu=$(usex tmva) |
366 |
- -Dtmva-gpu=$(usex cuda) |
367 |
- -Dunuran=$(usex unuran) |
368 |
- -Dvc=$(usex vc) |
369 |
- -Dvdt=OFF |
370 |
- -Dveccore=OFF |
371 |
- -Dxml=$(usex xml) |
372 |
- -Dxrootd=$(usex xrootd) |
373 |
- ${EXTRA_ECONF} |
374 |
- ) |
375 |
- |
376 |
- CMAKE_BUILD_TYPE=$(usex debug Debug Release) \ |
377 |
- cmake-utils_src_configure |
378 |
-} |
379 |
- |
380 |
-src_compile() { |
381 |
- # needed for hsimple.root |
382 |
- addwrite /dev/random |
383 |
- cmake-utils_src_compile |
384 |
-} |
385 |
- |
386 |
-src_install() { |
387 |
- cmake-utils_src_install |
388 |
- |
389 |
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2) |
390 |
- ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2) |
391 |
- |
392 |
- cat > ${ROOTENV} <<- EOF || die |
393 |
- MANPATH="${ROOTSYS}/share/man" |
394 |
- PATH="${ROOTSYS}/bin" |
395 |
- ROOTPATH="${ROOTSYS}/bin" |
396 |
- LDPATH="${ROOTSYS}/lib" |
397 |
- EOF |
398 |
- |
399 |
- if use python; then |
400 |
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die |
401 |
- fi |
402 |
- |
403 |
- doenvd ${ROOTENV} |
404 |
- |
405 |
- if use emacs; then |
406 |
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el |
407 |
- fi |
408 |
- |
409 |
- pushd "${D}/${ROOTSYS}" > /dev/null |
410 |
- |
411 |
- rm -r test emacs bin/*.{csh,sh,fish} || die |
412 |
- |
413 |
- if ! use examples; then |
414 |
- rm -r tutorials || die |
415 |
- fi |
416 |
- |
417 |
- # create versioned symlinks for binaries |
418 |
- cd bin; |
419 |
- for exe in *; do |
420 |
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)" |
421 |
- done |
422 |
-} |
423 |
|
424 |
diff --git a/sci-physics/root/root-6.20.04.ebuild b/sci-physics/root/root-6.20.04.ebuild |
425 |
deleted file mode 100644 |
426 |
index 4806caa94c9..00000000000 |
427 |
--- a/sci-physics/root/root-6.20.04.ebuild |
428 |
+++ /dev/null |
429 |
@@ -1,304 +0,0 @@ |
430 |
-# Copyright 1999-2020 Gentoo Authors |
431 |
-# Distributed under the terms of the GNU General Public License v2 |
432 |
- |
433 |
-EAPI=6 |
434 |
- |
435 |
-# ninja does not work due to fortran |
436 |
-CMAKE_MAKEFILE_GENERATOR=emake |
437 |
-FORTRAN_NEEDED="fortran" |
438 |
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} ) |
439 |
- |
440 |
-inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \ |
441 |
- prefix python-single-r1 toolchain-funcs |
442 |
- |
443 |
-DESCRIPTION="C++ data analysis framework and interpreter from CERN" |
444 |
-HOMEPAGE="https://root.cern" |
445 |
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz" |
446 |
- |
447 |
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda cudnn +davix debug emacs |
448 |
- +examples fits fftw fortran +gdml graphviz +gsl http libcxx +minuit |
449 |
- mpi mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python |
450 |
- qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc |
451 |
- vmc +xml xrootd" |
452 |
-RESTRICT="!test? ( test )" |
453 |
- |
454 |
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)" |
455 |
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA" |
456 |
-KEYWORDS="~amd64 ~x86" |
457 |
- |
458 |
-REQUIRED_USE=" |
459 |
- ^^ ( c++11 c++14 c++17 ) |
460 |
- cuda? ( tmva !c++17 ) |
461 |
- cudnn? ( cuda ) |
462 |
- !X? ( !asimage !opengl !qt5 ) |
463 |
- davix? ( ssl xml ) |
464 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
465 |
- qt5? ( root7 ) |
466 |
- root7? ( || ( c++14 c++17 ) ) |
467 |
- tmva? ( gsl ) |
468 |
-" |
469 |
- |
470 |
-CDEPEND=" |
471 |
- app-arch/lz4 |
472 |
- app-arch/zstd |
473 |
- app-arch/xz-utils |
474 |
- fortran? ( dev-lang/cfortran ) |
475 |
- dev-libs/libpcre:3 |
476 |
- dev-libs/xxhash |
477 |
- media-fonts/dejavu |
478 |
- media-libs/freetype:2 |
479 |
- media-libs/libpng:0= |
480 |
- sys-libs/ncurses:= |
481 |
- sys-libs/zlib |
482 |
- X? ( |
483 |
- x11-libs/libX11:0 |
484 |
- x11-libs/libXext:0 |
485 |
- x11-libs/libXft:0 |
486 |
- x11-libs/libXpm:0 |
487 |
- opengl? ( |
488 |
- media-libs/ftgl:0= |
489 |
- media-libs/glew:0= |
490 |
- virtual/opengl |
491 |
- virtual/glu |
492 |
- x11-libs/gl2ps:0= |
493 |
- ) |
494 |
- qt5? ( |
495 |
- dev-qt/qtcore:5 |
496 |
- dev-qt/qtgui:5 |
497 |
- dev-qt/qtwebengine:5[widgets] |
498 |
- ) |
499 |
- ) |
500 |
- asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] ) |
501 |
- cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 ) |
502 |
- cudnn? ( dev-libs/cudnn ) |
503 |
- davix? ( net-libs/davix ) |
504 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
505 |
- fftw? ( sci-libs/fftw:3.0= ) |
506 |
- fits? ( sci-libs/cfitsio:0= ) |
507 |
- graphviz? ( media-gfx/graphviz ) |
508 |
- gsl? ( sci-libs/gsl:= ) |
509 |
- http? ( dev-libs/fcgi:0= ) |
510 |
- libcxx? ( sys-libs/libcxx ) |
511 |
- unuran? ( sci-mathematics/unuran:0= ) |
512 |
- minuit? ( !sci-libs/minuit ) |
513 |
- mpi? ( virtual/mpi ) |
514 |
- mysql? ( dev-db/mysql-connector-c ) |
515 |
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) |
516 |
- oracle? ( dev-db/oracle-instantclient-basic ) |
517 |
- postgres? ( dev-db/postgresql:= ) |
518 |
- pythia6? ( sci-physics/pythia:6 ) |
519 |
- pythia8? ( sci-physics/pythia:8 ) |
520 |
- python? ( ${PYTHON_DEPS} ) |
521 |
- R? ( dev-lang/R ) |
522 |
- shadow? ( sys-apps/shadow ) |
523 |
- sqlite? ( dev-db/sqlite:3 ) |
524 |
- ssl? ( dev-libs/openssl:0= ) |
525 |
- tbb? ( >=dev-cpp/tbb-2018 ) |
526 |
- tmva? ( |
527 |
- $(python_gen_cond_dep ' |
528 |
- dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
529 |
- ') |
530 |
- ) |
531 |
- vc? ( dev-libs/vc:= ) |
532 |
- xml? ( dev-libs/libxml2:2= ) |
533 |
- xrootd? ( <net-libs/xrootd-5:0= ) |
534 |
-" |
535 |
- |
536 |
-DEPEND="${CDEPEND} |
537 |
- virtual/pkgconfig" |
538 |
- |
539 |
-RDEPEND="${CDEPEND}" |
540 |
- |
541 |
-PATCHES=( |
542 |
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch |
543 |
-) |
544 |
- |
545 |
-pkg_setup() { |
546 |
- use fortran && fortran-2_pkg_setup |
547 |
- use python && python-single-r1_pkg_setup |
548 |
- |
549 |
- elog "There are extra options on packages not available in Gentoo." |
550 |
- elog "You can use the environment variable EXTRA_ECONF to enable" |
551 |
- elog "these packages. For example, for Vdt you would set:" |
552 |
- elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\"" |
553 |
-} |
554 |
- |
555 |
-src_prepare() { |
556 |
- use cuda && cuda_src_prepare |
557 |
- |
558 |
- cmake-utils_src_prepare |
559 |
- |
560 |
- sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die |
561 |
- |
562 |
- # CSS should use local images |
563 |
- sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed" |
564 |
-} |
565 |
- |
566 |
-# Note: ROOT uses bundled clang because it is patched and API-incompatible |
567 |
-# with vanilla clang. The patches enable the C++ interpreter to work. |
568 |
-# Since ROOT installs many files into /etc (>100MB in total) that don't |
569 |
-# really belong there, we install it into another directory to avoid |
570 |
-# making /etc too big. |
571 |
- |
572 |
-src_configure() { |
573 |
- local mycmakeargs=( |
574 |
- -DCMAKE_C_COMPILER=$(tc-getCC) |
575 |
- -DCMAKE_CXX_COMPILER=$(tc-getCXX) |
576 |
- -DCMAKE_CUDA_HOST_COMPILER=$(tc-getCXX) |
577 |
- -DCMAKE_C_FLAGS="${CFLAGS}" |
578 |
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}" |
579 |
- -DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-) |
580 |
- -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}" |
581 |
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)" |
582 |
- -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)/share/man" |
583 |
- -DCMAKE_INSTALL_LIBDIR="lib" |
584 |
- -DDEFAULT_SYSROOT="${EPREFIX}" |
585 |
- -DCLING_BUILD_PLUGINS=OFF |
586 |
- -Dexplicitlink=ON |
587 |
- -Dexceptions=ON |
588 |
- -Dfail-on-missing=ON |
589 |
- -Dgnuinstall=OFF |
590 |
- -Dshared=ON |
591 |
- -Dsoversion=ON |
592 |
- -Dbuiltin_llvm=ON |
593 |
- -Dbuiltin_clang=ON |
594 |
- -Dbuiltin_afterimage=OFF |
595 |
- -Dbuiltin_cfitsio=OFF |
596 |
- -Dbuiltin_davix=OFF |
597 |
- -Dbuiltin_fftw3=OFF |
598 |
- -Dbuiltin_freetype=OFF |
599 |
- -Dbuiltin_ftgl=OFF |
600 |
- -Dbuiltin_gl2ps=OFF |
601 |
- -Dbuiltin_glew=OFF |
602 |
- -Dbuiltin_gsl=OFF |
603 |
- -Dbuiltin_lz4=OFF |
604 |
- -Dbuiltin_lzma=OFF |
605 |
- -Dbuiltin_openssl=OFF |
606 |
- -Dbuiltin_pcre=OFF |
607 |
- -Dbuiltin_tbb=OFF |
608 |
- -Dbuiltin_unuran=OFF |
609 |
- -Dbuiltin_vc=OFF |
610 |
- -Dbuiltin_vdt=OFF |
611 |
- -Dbuiltin_veccore=OFF |
612 |
- -Dbuiltin_xrootd=OFF |
613 |
- -Dbuiltin_xxhash=OFF |
614 |
- -Dbuiltin_zlib=OFF |
615 |
- -Dbuiltin_zstd=OFF |
616 |
- -Dx11=$(usex X) |
617 |
- -Dalien=OFF |
618 |
- -Darrow=OFF |
619 |
- -Dasimage=$(usex asimage) |
620 |
- -Dlibcxx=$(usex libcxx) |
621 |
- -Dccache=OFF # use ccache via portage |
622 |
- -Dcefweb=OFF |
623 |
- -Dclad=OFF |
624 |
- -Dcocoa=$(usex aqua) |
625 |
- -Dcuda=$(usex cuda) |
626 |
- -Dcudnn=$(usex cudnn) |
627 |
- -Dcxxmodules=OFF # requires clang, unstable |
628 |
- -Ddavix=$(usex davix) |
629 |
- -Ddataframe=ON |
630 |
- -Ddcache=OFF |
631 |
- -Dfcgi=$(usex http) |
632 |
- -Dfftw3=$(usex fftw) |
633 |
- -Dfitsio=$(usex fits) |
634 |
- -Dfortran=$(usex fortran) |
635 |
- -Dftgl=$(usex opengl) |
636 |
- -Dgdml=$(usex gdml) |
637 |
- -Dgfal=OFF |
638 |
- -Dgl2ps=$(usex opengl) |
639 |
- -Dgminimal=OFF |
640 |
- -Dgsl_shared=$(usex gsl) |
641 |
- -Dgviz=$(usex graphviz) |
642 |
- -Dhttp=$(usex http) |
643 |
- -Dimt=$(usex tbb) |
644 |
- -Dmathmore=$(usex gsl) |
645 |
- -Dmemstat=OFF # deprecated |
646 |
- -Dminimal=OFF |
647 |
- -Dminuit2=$(usex minuit) |
648 |
- -Dminuit=$(usex minuit) |
649 |
- -Dmlp=$(usex tmva) |
650 |
- -Dmonalisa=OFF |
651 |
- -Dmpi=$(usex mpi) |
652 |
- -Dmysql=$(usex mysql) |
653 |
- -Dodbc=$(usex odbc) |
654 |
- -Dopengl=$(usex opengl) |
655 |
- -Doracle=$(usex oracle) |
656 |
- -Dpgsql=$(usex postgres) |
657 |
- -Dpythia6=$(usex pythia6) |
658 |
- -Dpythia8=$(usex pythia8) |
659 |
- -Dpyroot=$(usex python) # python was renamed to pyroot |
660 |
- -Dpyroot_experimental=OFF # use standard PyROOT for now |
661 |
- -Dqt5web=$(usex qt5) |
662 |
- -Droofit=$(usex roofit) |
663 |
- -Droot7=$(usex root7) |
664 |
- -Drootbench=OFF |
665 |
- -Droottest=OFF |
666 |
- -Drpath=OFF |
667 |
- -Druntime_cxxmodules=OFF # does not work yet |
668 |
- -Dr=$(usex R) |
669 |
- -Dshadowpw=$(usex shadow) |
670 |
- -Dsqlite=$(usex sqlite) |
671 |
- -Dssl=$(usex ssl) |
672 |
- -Dtcmalloc=OFF |
673 |
- -Dtesting=$(usex test) |
674 |
- -Dtmva=$(usex tmva) |
675 |
- -Dtmva-cpu=$(usex tmva) |
676 |
- -Dtmva-gpu=$(usex cuda) |
677 |
- -Dunuran=$(usex unuran) |
678 |
- -Dvc=$(usex vc) |
679 |
- -Dvmc=$(usex vmc) |
680 |
- -Dvdt=OFF |
681 |
- -Dveccore=OFF |
682 |
- -Dxml=$(usex xml) |
683 |
- -Dxrootd=$(usex xrootd) |
684 |
- ${EXTRA_ECONF} |
685 |
- ) |
686 |
- |
687 |
- CMAKE_BUILD_TYPE=$(usex debug Debug Release) \ |
688 |
- cmake-utils_src_configure |
689 |
-} |
690 |
- |
691 |
-src_compile() { |
692 |
- # needed for hsimple.root |
693 |
- addwrite /dev/random |
694 |
- cmake-utils_src_compile |
695 |
-} |
696 |
- |
697 |
-src_install() { |
698 |
- cmake-utils_src_install |
699 |
- |
700 |
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2) |
701 |
- ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)" |
702 |
- |
703 |
- cat > ${ROOTENV} <<- EOF || die |
704 |
- MANPATH="${ROOTSYS}/share/man" |
705 |
- PATH="${ROOTSYS}/bin" |
706 |
- ROOTPATH="${ROOTSYS}/bin" |
707 |
- LDPATH="${ROOTSYS}/lib" |
708 |
- EOF |
709 |
- |
710 |
- if use python; then |
711 |
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die |
712 |
- fi |
713 |
- |
714 |
- doenvd ${ROOTENV} |
715 |
- |
716 |
- if use emacs; then |
717 |
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el |
718 |
- fi |
719 |
- |
720 |
- pushd "${D}/${ROOTSYS}" > /dev/null |
721 |
- |
722 |
- rm -r emacs bin/*.{csh,sh,fish} || die |
723 |
- |
724 |
- if ! use examples; then |
725 |
- rm -r tutorials || die |
726 |
- fi |
727 |
- |
728 |
- # create versioned symlinks for binaries |
729 |
- cd bin; |
730 |
- for exe in *; do |
731 |
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)" |
732 |
- done |
733 |
-} |