1 |
commit: 5db2b39f503b53bc996ab07e7c13e8b866e2d085 |
2 |
Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Jun 29 17:52:27 2014 +0000 |
4 |
Commit: Andrew Savchenko <bircoph <AT> gmail <DOT> com> |
5 |
CommitDate: Sun Jun 29 17:52:27 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5db2b39f |
7 |
|
8 |
sci-physics/root, app-doc/root-docs: version bump to ROOT-6 |
9 |
|
10 |
This is a major version bump for ROOT-6. Please refer to package's |
11 |
ChangeLog files for details. Testing is welcome. |
12 |
|
13 |
--- |
14 |
app-doc/root-docs/ChangeLog | 235 +++++++++++ |
15 |
.../files/root-docs-6.00.01-cernbuild.patch | 16 + |
16 |
.../files/root-docs-6.00.01-makehtml.patch | 57 +++ |
17 |
app-doc/root-docs/metadata.xml | 21 + |
18 |
app-doc/root-docs/root-docs-6.00.01.ebuild | 131 ++++++ |
19 |
app-doc/root-docs/root-docs-9999.ebuild | 1 + |
20 |
sci-physics/root/ChangeLog | 26 ++ |
21 |
.../root/files/root-5.28.00b-asneeded.patch | 20 - |
22 |
.../root/files/root-5.28.00b-prop-ldflags.patch | 13 - |
23 |
sci-physics/root/files/root-5.28.00b-unuran.patch | 39 -- |
24 |
sci-physics/root/files/root-5.32.00-dotfont.patch | 58 --- |
25 |
.../files/root-5.32.00-explicit-functions.patch | 18 - |
26 |
sci-physics/root/files/root-5.32.00-htmldoc.patch | 12 - |
27 |
.../root/files/root-5.32.00-nobyte-compile.patch | 137 ------- |
28 |
.../root/files/root-5.32.00-rmkdepend.patch | 21 - |
29 |
sci-physics/root/files/root-5.32.00-rusage.patch | 12 - |
30 |
.../root/files/root-5.34.05-nobyte-compile.patch | 137 ------- |
31 |
sci-physics/root/files/root-5.34.13-pythia8.patch | 13 - |
32 |
...99-dotfont.patch => root-6.00.01-dotfont.patch} | 0 |
33 |
sci-physics/root/files/root-6.00.01-geocad.patch | 15 + |
34 |
sci-physics/root/files/root-6.00.01-llvm.patch | 13 + |
35 |
.../root/files/root-6.00.01-nobyte-compile.patch | 33 ++ |
36 |
...p-flags.patch => root-6.00.01-prop-flags.patch} | 12 +- |
37 |
sci-physics/root/metadata.xml | 38 +- |
38 |
sci-physics/root/root-6.00.01.ebuild | 440 +++++++++++++++++++++ |
39 |
sci-physics/root/root-9999.ebuild | 411 +------------------ |
40 |
26 files changed, 1013 insertions(+), 916 deletions(-) |
41 |
|
42 |
diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog |
43 |
new file mode 100644 |
44 |
index 0000000..0589d99 |
45 |
--- /dev/null |
46 |
+++ b/app-doc/root-docs/ChangeLog |
47 |
@@ -0,0 +1,235 @@ |
48 |
+# ChangeLog for app-doc/root-docs |
49 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
50 |
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.42 2014/03/28 18:48:01 bicatali Exp $ |
51 |
+ |
52 |
+*root-docs-6.00.01 (29 Jun 2014) |
53 |
+ |
54 |
+ 29 Jun 2014; Andrew Savchenko <bircoph@×××××.com> +root-docs-6.00.01.ebuild, |
55 |
+ +root-docs-9999.ebuild, +files/root-docs-6.00.01-cernbuild.patch, |
56 |
+ +files/root-docs-6.00.01-makehtml.patch, +metadata.xml: |
57 |
+ Version bump for ROOT-6 release. Live ebuild fixed as well. |
58 |
+ Most pdf docs are now also generated from source tree. |
59 |
+ Known bug: MACRCO_*.gif files fail to generate. Upstream is |
60 |
+ contacted for assistance. Though all other API docs are usable. |
61 |
+ |
62 |
+ 28 Mar 2014; Sébastien Fabbro <bicatali@g.o> |
63 |
+ root-docs-5.34.18-r1.ebuild: |
64 |
+ fixed for correct use flag api instead of html (bug #505930) |
65 |
+ |
66 |
+*root-docs-5.34.18-r1 (26 Mar 2014) |
67 |
+ |
68 |
+ 26 Mar 2014; Sébastien Fabbro <bicatali@g.o> |
69 |
+ +files/root-docs-5.34.18-html.patch, +root-docs-5.34.18-r1.ebuild, |
70 |
+ -root-docs-5.32.04.ebuild, -root-docs-5.34.09.ebuild, |
71 |
+ -root-docs-5.34.10.ebuild, -root-docs-5.34.13.ebuild, |
72 |
+ -root-docs-5.34.15.ebuild, metadata.xml: |
73 |
+ Added standard root docs and trigger html api doc with api flag. Clean up. |
74 |
+ |
75 |
+*root-docs-5.34.18 (18 Mar 2014) |
76 |
+ |
77 |
+ 18 Mar 2014; Sébastien Fabbro <bicatali@g.o> +root-docs-5.34.18.ebuild: |
78 |
+ Version bump |
79 |
+ |
80 |
+*root-docs-5.34.15 (24 Feb 2014) |
81 |
+ |
82 |
+ 24 Feb 2014; Sébastien Fabbro <bicatali@g.o> +root-docs-5.34.15.ebuild: |
83 |
+ Version bump, adapted for prefix |
84 |
+ |
85 |
+*root-docs-5.34.13 (05 Dec 2013) |
86 |
+ |
87 |
+ 05 Dec 2013; Andrew Savchenko <bircoph@×××××.com> +root-docs-5.34.13.ebuild: |
88 |
+ Version bump. |
89 |
+ |
90 |
+ 07 Oct 2013; Andrew Savchenko <bircoph@×××××.com> root-docs-5.34.10.ebuild: |
91 |
+ Omit unneeded howto messages. |
92 |
+ |
93 |
+*root-docs-5.34.10 (04 Oct 2013) |
94 |
+ |
95 |
+ 04 Oct 2013; Andrew Savchenko <bircoph@×××××.com> -root-docs-5.34.09.ebuild, |
96 |
+ +root-docs-5.34.10.ebuild: |
97 |
+ Version bump per bug 486620. Remove old. |
98 |
+ |
99 |
+ 03 Jul 2013; Michael Weber <xmw@g.o> -root-docs-5.34.07.ebuild, |
100 |
+ -root-docs-5.34.08.ebuild: |
101 |
+ Remove old version of 5.34 series, as requested by Andrew Savchenko. |
102 |
+ |
103 |
+*root-docs-5.34.09 (29 Jun 2013) |
104 |
+ |
105 |
+ 29 Jun 2013; Michael Weber <xmw@g.o> +root-docs-5.34.09.ebuild: |
106 |
+ Version bump by Andrew Savchenko, imported from science overlay. |
107 |
+ |
108 |
+*root-docs-5.34.08 (08 Jun 2013) |
109 |
+ |
110 |
+ 08 Jun 2013; Andrew Savchenko <bircoph@×××××.com> +root-docs-5.34.08.ebuild: |
111 |
+ Version bump. |
112 |
+ |
113 |
+ 28 May 2013; Andrew Savchenko <bircoph@×××××.com> +root-docs-5.34.07.ebuild: |
114 |
+ Fix sandbox violation on DRI systems: use addpredict instead of |
115 |
+ switching to Xong GL interface. |
116 |
+ |
117 |
+*root-docs-5.34.07 (23 May 2013) |
118 |
+ |
119 |
+ 23 May 2013; Sébastien Fabbro <bicatali@g.o> +root-docs-5.34.07.ebuild: |
120 |
+ Version bump |
121 |
+ |
122 |
+ 13 May 2013; Patrick Lauer <patrick@g.o> -root-docs-5.34.03.ebuild: |
123 |
+ Remove version with unsatisfiable deps |
124 |
+ |
125 |
+ 17 Mar 2013; Markos Chandras <hwoarang@g.o> metadata.xml: |
126 |
+ Add proxy-maintainers to metadata.xml (forced because of broken rdeps) |
127 |
+ |
128 |
+*root-docs-5.34.05 (23 Feb 2013) |
129 |
+ |
130 |
+ 23 Feb 2013; Andrew Savchenko <bircoph@×××××.com> +root-docs-5.34.05.ebuild: |
131 |
+ Version bump. Remove old. Do not compress files (mostly headers) as |
132 |
+ this renders them unusable from html pages. |
133 |
+ |
134 |
+ 10 Dec 2012; Sébastien Fabbro <bicatali@g.o> |
135 |
+ -files/root-docs-5.34-makehtml.patch, -root-docs-5.34.01.ebuild: |
136 |
+ Removed old |
137 |
+ |
138 |
+*root-docs-5.34.03 (25 Oct 2012) |
139 |
+ |
140 |
+ 25 Oct 2012; Andrew Savchenko <bircoph@×××××.com> -root-docs-5.34.02.ebuild, |
141 |
+ +root-docs-5.34.03.ebuild: |
142 |
+ Version bump. |
143 |
+ |
144 |
+*root-docs-5.34.02 (19 Oct 2012) |
145 |
+*root-docs-5.32.04 (19 Oct 2012) |
146 |
+ |
147 |
+ 19 Oct 2012; Andrew Savchenko <bircoph@×××××.com> +root-docs-5.32.04.ebuild, |
148 |
+ +files/root-docs-5.32-makehtml.patch, +root-docs-5.34.02.ebuild: |
149 |
+ Version bump for patch releases in 5.32 and 5.34 branches. |
150 |
+ |
151 |
+*root-docs-5.34.01 (22 Jul 2012) |
152 |
+ |
153 |
+ 22 Jul 2012; Andrew Savchenko <bircoph@×××××.com> +root-docs-5.34.01.ebuild, |
154 |
+ +files/root-docs-5.34.01-makehtml.patch, root-docs-9999.ebuild, |
155 |
+ -files/root-docs-9999-makehtml.patch: |
156 |
+ Version bump. |
157 |
+ |
158 |
+ 15 Jul 2012; Justin Lecher <jlec@g.o> -root-docs-5.26.00.ebuild, |
159 |
+ -root-docs-5.28-r1.ebuild: |
160 |
+ Cleaned old |
161 |
+ |
162 |
+ 14 Jul 2012; Jeff Horelick <jdhore@g.o> root-docs-5.32.03.ebuild: |
163 |
+ marked x86 per bug 424745 |
164 |
+ |
165 |
+ 09 Jul 2012; Agostino Sarubbo <ago@g.o> root-docs-5.32.03.ebuild: |
166 |
+ Stable for amd64, wrt bug #424745 |
167 |
+ |
168 |
+ 06 Jul 2012; Justin Lecher <jlec@g.o> root-docs-5.32.03.ebuild, |
169 |
+ metadata.xml: |
170 |
+ Imported fix from sci overlay |
171 |
+ |
172 |
+ 27 Jun 2012; Sebastien Fabbro <fabbros@g.o> root-docs-5.34.00.ebuild: |
173 |
+ import to the main tree. keyword ~amd64-linux and ~x86-linux. cleaning |
174 |
+ |
175 |
+ 27 Jun 2012; Sebastien Fabbro <fabbros@g.o> -root-docs-5.32.ebuild, |
176 |
+ +root-docs-5.32.03.ebuild, +files/root-docs-5.32-makehtml.patch, |
177 |
+ +root-docs-5.34.00.ebuild, +files/root-docs-5.34-makehtml.patch, |
178 |
+ metadata.xml: |
179 |
+ import to the main tree. keyword ~amd64-linux and ~x86-linux. cleaning |
180 |
+ |
181 |
+*root-docs-5.32.03 (20 Jun 2012) |
182 |
+ |
183 |
+ 20 Jun 2012; Andrew Savchenko <bircoph@×××××.com> -root-docs-5.32.ebuild, |
184 |
+ +root-docs-5.32.03.ebuild, +files/root-docs-5.32-makehtml.patch: |
185 |
+ Backport htmldoc generation fixes for 5.32 branch. |
186 |
+ |
187 |
+*root-docs-5.34.00 (19 Jun 2012) |
188 |
+ |
189 |
+ 19 Jun 2012; Andrew Savchenko <bircoph@×××××.com> +root-docs-5.34.00.ebuild: |
190 |
+ Version bump based on live ebuild. |
191 |
+ |
192 |
+*root-docs-9999 (19 Jun 2012) |
193 |
+ |
194 |
+ 19 Jun 2012; Andrew Savchenko <bircoph@×××××.com> |
195 |
+ +files/root-docs-5.34-makehtml.patch, +root-docs-9999.ebuild: |
196 |
+ htmldoc generation for root must be separated, because it is |
197 |
+ supposed to be run only root was installed to the live |
198 |
+ filesystem. It can't be faked easily in the sandbox environment, |
199 |
+ because ROOTSYS is not respected when --prefix or --*dir are |
200 |
+ used for configure script. |
201 |
+ |
202 |
+*root-docs-5.32 (13 Mar 2012) |
203 |
+ |
204 |
+ 13 Mar 2012; Sébastien Fabbro <bicatali@g.o> +root-docs-5.32.ebuild: |
205 |
+ Import to the main tree. |
206 |
+ |
207 |
+*root-docs-5.32 (03 Dec 2011) |
208 |
+ |
209 |
+ 03 Dec 2011; Andrew Savchenko <bircoph@×××××.com> -root-docs-5.30.ebuild, |
210 |
+ +root-docs-5.32.ebuild: |
211 |
+ Version bump. |
212 |
+ Remove useless html/html32/ patch chunk, thus html files will be |
213 |
+ installed directly into /usr/share/doc/${PF}/. |
214 |
+ |
215 |
+*root-docs-5.30 (02 Aug 2011) |
216 |
+ |
217 |
+ 02 Aug 2011; Andrew Savchenko <bircoph@×××××.com> +root-docs-5.30.ebuild, |
218 |
+ +metadata.xml: |
219 |
+ Version bump. |
220 |
+ |
221 |
+*root-docs-5.28-r1 (17 May 2011) |
222 |
+ |
223 |
+ 17 May 2011; Sébastien Fabbro <bicatali@g.o> -root-docs-5.28.ebuild, |
224 |
+ +root-docs-5.28-r1.ebuild: |
225 |
+ Really install docs, closing bug #367195 |
226 |
+ |
227 |
+*root-docs-5.28 (28 Mar 2011) |
228 |
+ |
229 |
+ 28 Mar 2011; Sébastien Fabbro <bicatali@g.o> +root-docs-5.28.ebuild: |
230 |
+ Version bump. Dropped sparc because it was dropped for sci-physics/root |
231 |
+ |
232 |
+ 11 Jul 2010; Raúl Porcel <armin76@g.o> root-docs-5.26.00.ebuild: |
233 |
+ sparc/x86 stable wrt #326195 |
234 |
+ |
235 |
+ 29 Jun 2010; Christoph Mende <angelos@g.o> |
236 |
+ root-docs-5.26.00.ebuild: |
237 |
+ Stable on amd64 wrt bug #326195 |
238 |
+ |
239 |
+ 29 Jun 2010; Kacper Kowalik <xarthisius@g.o> |
240 |
+ root-docs-5.26.00.ebuild: |
241 |
+ Drop ~ppc since it can't compile sci-physics/root |
242 |
+ |
243 |
+ 29 Jun 2010; Kacper Kowalik <xarthisius@g.o> |
244 |
+ -root-docs-5.24.00.ebuild: |
245 |
+ Remove old. |
246 |
+ |
247 |
+*root-docs-5.26.00 (09 Jan 2010) |
248 |
+ |
249 |
+ 09 Jan 2010; Sébastien Fabbro <bicatali@g.o> |
250 |
+ -root-docs-3.03.04.ebuild, -root-docs-5.25.02.ebuild, |
251 |
+ +root-docs-5.26.00.ebuild, metadata.xml: |
252 |
+ Version bump, removed old versions and added sci as herd maintainer |
253 |
+ |
254 |
+*root-docs-5.25.02 (13 Oct 2009) |
255 |
+ |
256 |
+ 13 Oct 2009; Víctor Ostorga <vostorga@g.o> |
257 |
+ +root-docs-5.25.02.ebuild: |
258 |
+ Version bump to 5.25.02, ebuild thanks to Andrew Savchenko |
259 |
+ <bircoph@×××××.com> bug 288791 |
260 |
+ |
261 |
+*root-docs-5.24.00 (15 Sep 2009) |
262 |
+ |
263 |
+ 15 Sep 2009; Víctor Ostorga <vostorga@g.o> |
264 |
+ +root-docs-5.24.00.ebuild: |
265 |
+ Version bump to 5.24.00 ebuild thanks to Andrew Savchenko |
266 |
+ <bircoph@×××××.com> bug 280874 |
267 |
+ |
268 |
+ 21 Feb 2007; Piotr Jaroszyński <peper@g.o> ChangeLog: |
269 |
+ Transition to Manifest2. |
270 |
+ |
271 |
+ 19 Dec 2004; Jason Huebel <jhuebel@g.o> root-docs-3.03.04.ebuild: |
272 |
+ amd64, just docs, no need for testing |
273 |
+ |
274 |
+ 07 Jun 2004; Daniel Black <dragonheart@g.o> +metadata.xml, |
275 |
+ root-docs-3.03.04.ebuild: |
276 |
+ QA - IUSE fix |
277 |
+ |
278 |
+*root-docs-3.03.04 (11 Apr 2002) |
279 |
+ |
280 |
+ 11 Apr 2002; G.Bevin <gbevin@g.o> root-docs-3.03.04.ebuild |
281 |
+ files/digest-root-docs-3.03.04 : |
282 |
+ Initial release |
283 |
|
284 |
diff --git a/app-doc/root-docs/files/root-docs-6.00.01-cernbuild.patch b/app-doc/root-docs/files/root-docs-6.00.01-cernbuild.patch |
285 |
new file mode 100644 |
286 |
index 0000000..b155795 |
287 |
--- /dev/null |
288 |
+++ b/app-doc/root-docs/files/root-docs-6.00.01-cernbuild.patch |
289 |
@@ -0,0 +1,16 @@ |
290 |
+diff --git a/tutorials/tree/cernbuild.C b/tutorials/tree/cernbuild.C |
291 |
+index ba516b6..793ecb5 100644 |
292 |
+--- a/tutorials/tree/cernbuild.C |
293 |
++++ b/tutorials/tree/cernbuild.C |
294 |
+@@ -2,6 +2,11 @@ |
295 |
+ // see also a variant in staff.C |
296 |
+ // Author: Rene Brun |
297 |
+ |
298 |
++#include "TFile.h" |
299 |
++#include "TSystem.h" |
300 |
++#include "TString.h" |
301 |
++#include "TTree.h" |
302 |
++ |
303 |
+ TFile *cernbuild(Int_t get=0, Int_t print=1) { |
304 |
+ |
305 |
+ Int_t Category; |
306 |
|
307 |
diff --git a/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch b/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch |
308 |
new file mode 100644 |
309 |
index 0000000..8ad9b88 |
310 |
--- /dev/null |
311 |
+++ b/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch |
312 |
@@ -0,0 +1,57 @@ |
313 |
+diff --git a/Makefile b/Makefile |
314 |
+index 600e8db..afad025 100644 |
315 |
+--- a/Makefile |
316 |
++++ b/Makefile |
317 |
+@@ -1072,16 +1072,7 @@ $(ROOTPCH): $(ROOTCLINGSTAGE1DEP) $(ALLHDRS) $(CLINGETCPCH) $(ORDER_) $(ALLLIBS) |
318 |
+ |
319 |
+ ifeq ($(BUILDX11),yes) |
320 |
+ ifeq ($(BUILDASIMAGE),yes) |
321 |
+-html: rootexecs postbin changelog releasenotes |
322 |
+-ifneq ($(USECONFIG),FALSE) |
323 |
+- @if [ "x`which root.exe`" != "x$(DESTDIR)$(BINDIR)/root.exe" ] \ |
324 |
+- || [ "`which root.exe`" -ot "bin/root.exe" ]; then \ |
325 |
+- echo 'ERROR: root.exe has not been installed by this build.'; \ |
326 |
+- echo ' Run "make install" before running "make html".'; \ |
327 |
+- exit 1; \ |
328 |
+- fi |
329 |
+-endif |
330 |
+- @$(MAKELOGHTML) |
331 |
++html: compiledata releasenotes |
332 |
+ @$(MAKEHTML) |
333 |
+ else |
334 |
+ html: |
335 |
+diff --git a/build/unix/makehtml.sh b/build/unix/makehtml.sh |
336 |
+index a94e790..8b4589d 100755 |
337 |
+--- a/build/unix/makehtml.sh |
338 |
++++ b/build/unix/makehtml.sh |
339 |
+@@ -1,16 +1,16 @@ |
340 |
+ #! /bin/sh |
341 |
+ |
342 |
+ dir=`pwd` |
343 |
+-ROOT=$dir/bin/root |
344 |
++ROOT=root |
345 |
+ cd tutorials |
346 |
+ # we need tutorials/hsimple.root |
347 |
+ if [ ! -f hsimple.root ]; then |
348 |
+- $ROOT -n -l -b -q hsimple.C |
349 |
++ $ROOT -n -l -b -q hsimple.C && exit 1 |
350 |
+ fi |
351 |
+ cd tree |
352 |
+ # we need tutorials/tree/cernstaff.root |
353 |
+ if [ ! -f cernstaff.root ]; then |
354 |
+- $ROOT -n -l -b -q cernbuild.C |
355 |
++ $ROOT -n -l -b -q cernbuild.C || exit 1 |
356 |
+ fi |
357 |
+ cd $dir |
358 |
+ |
359 |
+@@ -20,7 +20,9 @@ echo "" |
360 |
+ |
361 |
+ # To generate the full documentation, we do need to |
362 |
+ # use the graphics engine, so do not use '-b'. |
363 |
+-$ROOT -n -l <<makedoc |
364 |
++$ROOT -n -l <<makedoc || exit 1 |
365 |
++ #include "THtml.h" |
366 |
++ gSystem->Load("libHtml"); |
367 |
+ THtml h; |
368 |
+ h.LoadAllLibs(); |
369 |
+ h.MakeAll(); |
370 |
|
371 |
diff --git a/app-doc/root-docs/metadata.xml b/app-doc/root-docs/metadata.xml |
372 |
new file mode 100644 |
373 |
index 0000000..3645ec7 |
374 |
--- /dev/null |
375 |
+++ b/app-doc/root-docs/metadata.xml |
376 |
@@ -0,0 +1,21 @@ |
377 |
+<?xml version="1.0" encoding="UTF-8"?> |
378 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
379 |
+<pkgmetadata> |
380 |
+<maintainer> |
381 |
+ <email>bircoph@×××××.com</email> |
382 |
+ <name>Andrew Savchenko</name> |
383 |
+ <description>Maintainer. Assign bugs to him</description> |
384 |
+</maintainer> |
385 |
+<herd>sci-physics</herd> |
386 |
+<herd>proxy-maintainers</herd> |
387 |
+<longdescription lang="en"> |
388 |
+ This package contains the automatically generated ROOT class |
389 |
+ documentation. |
390 |
+</longdescription> |
391 |
+<use> |
392 |
+ <flag name="api">Generate html API documentation</flag> |
393 |
+ <flag name="http">Build HttpServer documentation</flag> |
394 |
+ <flag name="math">Provide all math related documentation</flag> |
395 |
+ <flag name="metric">Default to A4 paper size and metric measurement. Letter will be used otherwise</flag> |
396 |
+</use> |
397 |
+</pkgmetadata> |
398 |
|
399 |
diff --git a/app-doc/root-docs/root-docs-6.00.01.ebuild b/app-doc/root-docs/root-docs-6.00.01.ebuild |
400 |
new file mode 100644 |
401 |
index 0000000..5c1e7e8 |
402 |
--- /dev/null |
403 |
+++ b/app-doc/root-docs/root-docs-6.00.01.ebuild |
404 |
@@ -0,0 +1,131 @@ |
405 |
+# Copyright 1999-2014 Gentoo Foundation |
406 |
+# Distributed under the terms of the GNU General Public License v2 |
407 |
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.18-r1.ebuild,v 1.2 2014/03/28 18:48:01 bicatali Exp $ |
408 |
+ |
409 |
+EAPI=5 |
410 |
+ |
411 |
+ROOT_PN="root" |
412 |
+ROOFIT_DOC_PV=2.91-33 |
413 |
+ROOFIT_QS_DOC_PV=3.00 |
414 |
+TMVA_DOC_PV=4.2.0 |
415 |
+ |
416 |
+if [[ ${PV} == "9999" ]] ; then |
417 |
+ inherit git-r3 |
418 |
+ EVCS_OFFLINE=yes # we need exactly the same checkout as root itself |
419 |
+ EGIT_REPO_URI="http://root.cern.ch/git/root.git" |
420 |
+ KEYWORDS="" |
421 |
+else |
422 |
+ SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz" |
423 |
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
424 |
+ S="${WORKDIR}/${ROOT_PN}" |
425 |
+fi |
426 |
+ |
427 |
+inherit eutils multilib virtualx |
428 |
+ |
429 |
+DESCRIPTION="Documentation for ROOT Data Analysis Framework" |
430 |
+HOMEPAGE="http://root.cern.ch/drupal" |
431 |
+SRC_URI="${SRC_URI} |
432 |
+ math? ( |
433 |
+ http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf |
434 |
+ http://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf |
435 |
+ http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf ) |
436 |
+ api? ( |
437 |
+ ${HOMEPAGE}/sites/default/files/images/root6-banner.jpg |
438 |
+ ${HOMEPAGE}/sites/all/themes/newsflash/images/info.png )" |
439 |
+ |
440 |
+SLOT="0" |
441 |
+LICENSE="LGPL-2.1" |
442 |
+IUSE="api +math +metric http" |
443 |
+ |
444 |
+VIRTUALX_REQUIRED="api" |
445 |
+ |
446 |
+DEPEND=" |
447 |
+ ~sci-physics/root-${PV}[X,graphviz,opengl] |
448 |
+ app-text/pandoc |
449 |
+ app-text/texlive |
450 |
+ dev-haskell/pandoc-citeproc[bibutils] |
451 |
+ media-fonts/dejavu |
452 |
+ virtual/pkgconfig" |
453 |
+RDEPEND="" |
454 |
+ |
455 |
+DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}" |
456 |
+ |
457 |
+src_unpack() { |
458 |
+ if [[ ${PV} == "9999" ]] ; then |
459 |
+ # we need to force sci-physics/root checkout here |
460 |
+ git-r3_checkout "${EGIT_REPO_URI}" "${WORKDIR}/${P}" "sci-physics/root/0" |
461 |
+ fi |
462 |
+} |
463 |
+ |
464 |
+src_prepare() { |
465 |
+ use api && epatch \ |
466 |
+ "${FILESDIR}/${PN}-6.00.01-makehtml.patch" \ |
467 |
+ "${FILESDIR}/${PN}-6.00.01-cernbuild.patch" |
468 |
+ # prefixify the configure script |
469 |
+ sed -i \ |
470 |
+ -e "s:/usr:${EPREFIX}/usr:g" \ |
471 |
+ configure || die "prefixify configure failed" |
472 |
+} |
473 |
+ |
474 |
+src_configure() { |
475 |
+ # we need only to setup paths here, html docs doesn't depend on USE flags |
476 |
+ if use api; then |
477 |
+ ./configure \ |
478 |
+ --prefix="${EPREFIX}/usr" \ |
479 |
+ --etcdir="${EPREFIX}/etc/root" \ |
480 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)/${PN}" \ |
481 |
+ --docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
482 |
+ --tutdir="${EPREFIX}/usr/share/doc/${PF}/examples/tutorials" \ |
483 |
+ --testdir="${EPREFIX}/usr/share/doc/${PF}/examples/tests" \ |
484 |
+ --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \ |
485 |
+ --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" \ |
486 |
+ --nohowto |
487 |
+ fi |
488 |
+} |
489 |
+ |
490 |
+src_compile() { |
491 |
+ pdf_target=( primer users-guide ) |
492 |
+ local pdf_size=pdfa4 |
493 |
+ use metric || pdf_size=pdfletter |
494 |
+ use math && pdf_target+=( minuit2 spectrum ) |
495 |
+ use http && pdf_target+=( HttpServer ) |
496 |
+ |
497 |
+ for (( i=0; i<${#pdf_target[@]}; i++ )); do |
498 |
+ emake -C documentation/"${pdf_target[i]}" "${pdf_size}" |
499 |
+ done |
500 |
+ |
501 |
+ if use api; then |
502 |
+ # video drivers may want to access hardware devices |
503 |
+ cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g') |
504 |
+ [[ -n "${cards}" ]] && addpredict "${cards}" |
505 |
+ |
506 |
+ ROOTSYS="${S}" Xemake html |
507 |
+ # if root.exe crashes, return code will be 0 due to gdb attach, |
508 |
+ # so we need to check if last html file was generated; |
509 |
+ # this check is volatile and can't catch crash on the last file. |
510 |
+ [[ -f htmldoc/tableDescriptor_st.html ]] || die "html doc generation crashed" |
511 |
+ fi |
512 |
+} |
513 |
+ |
514 |
+src_install() { |
515 |
+ insinto "${DOC_DIR}" |
516 |
+ |
517 |
+ for (( i=0; i<${#pdf_target[@]}; i++ )); do |
518 |
+ doins documentation/"${pdf_target[i]}"/*.pdf |
519 |
+ done |
520 |
+ unset pdf_target |
521 |
+ |
522 |
+ use math && doins \ |
523 |
+ "${DISTDIR}/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf" \ |
524 |
+ "${DISTDIR}/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf" \ |
525 |
+ "${DISTDIR}/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf" |
526 |
+ |
527 |
+ if use api; then |
528 |
+ # Install offline replacements for online messages |
529 |
+ cp "${DISTDIR}"/{root6-banner.jpg,info.png} htmldoc/ || die "cp failed" |
530 |
+ # too large data to copy |
531 |
+ dodir "${DOC_DIR}/html" |
532 |
+ mv htmldoc/* "${ED}${DOC_DIR}/html/" || die |
533 |
+ docompress -x ${DOC_DIR}/html |
534 |
+ fi |
535 |
+} |
536 |
|
537 |
diff --git a/app-doc/root-docs/root-docs-9999.ebuild b/app-doc/root-docs/root-docs-9999.ebuild |
538 |
new file mode 120000 |
539 |
index 0000000..32ba358 |
540 |
--- /dev/null |
541 |
+++ b/app-doc/root-docs/root-docs-9999.ebuild |
542 |
@@ -0,0 +1 @@ |
543 |
+root-docs-6.00.01.ebuild |
544 |
\ No newline at end of file |
545 |
|
546 |
diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog |
547 |
index b4301f4..678d621 100644 |
548 |
--- a/sci-physics/root/ChangeLog |
549 |
+++ b/sci-physics/root/ChangeLog |
550 |
@@ -2,6 +2,32 @@ |
551 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
552 |
# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.96 2012/03/29 18:21:49 bicatali Exp $ |
553 |
|
554 |
+*root-6.00.01 (29 Jun 2014) |
555 |
+ |
556 |
+ 29 Jun 2014; Andrew Savchenko <bircoph@×××××.com> +root-6.00.01.ebuild, |
557 |
+ -files/root-5.28.00b-asneeded.patch, -files/root-5.28.00b-prop-ldflags.patch, |
558 |
+ -files/root-5.28.00b-unuran.patch, -files/root-5.32.00-dotfont.patch, |
559 |
+ -files/root-5.32.00-explicit-functions.patch, |
560 |
+ -files/root-5.32.00-htmldoc.patch, -files/root-5.32.00-nobyte-compile.patch, |
561 |
+ -files/root-5.32.00-prop-flags.patch, -files/root-5.32.00-rmkdepend.patch, |
562 |
+ -files/root-5.32.00-rusage.patch, -files/root-5.34.05-nobyte-compile.patch, |
563 |
+ -files/root-5.34.13-pythia8.patch, +files/root-6.00.01-dotfont.patch, |
564 |
+ +files/root-6.00.01-geocad.patch, +files/root-6.00.01-llvm.patch, |
565 |
+ +files/root-6.00.01-nobyte-compile.patch, |
566 |
+ +files/root-6.00.01-prop-flags.patch, -files/root-9999-dotfont.patch, |
567 |
+ metadata.xml: |
568 |
+ ROOT-6 version bump. Live version updated. |
569 |
+ - Removed: |
570 |
+ cint, reflex (forever); |
571 |
+ ruby (not yet ported); |
572 |
+ - C++11 is now enabled and mandatory,c ompatible gcc-4.8, clang and |
573 |
+ icc compilers are supported. |
574 |
+ - Added geocad, http, vc and vdt support. |
575 |
+ - Builtins used: |
576 |
+ LLVM as API incompatible with upstream. |
577 |
+ libAfterImage as root with stand-alone version segfaults badly |
578 |
+ and it looks like upstream is dead for a long time. |
579 |
+ |
580 |
06 Jan 2014; Justin Lecher <jlec@g.o> root-9999.ebuild: |
581 |
Switch from git-2 to git-r3 |
582 |
|
583 |
|
584 |
diff --git a/sci-physics/root/files/root-5.28.00b-asneeded.patch b/sci-physics/root/files/root-5.28.00b-asneeded.patch |
585 |
deleted file mode 100644 |
586 |
index b845247..0000000 |
587 |
--- a/sci-physics/root/files/root-5.28.00b-asneeded.patch |
588 |
+++ /dev/null |
589 |
@@ -1,20 +0,0 @@ |
590 |
---- root.orig/configure 2010-12-20 07:17:54.000000000 +0000 |
591 |
-+++ root/configure 2010-12-20 07:16:05.000000000 +0000 |
592 |
-@@ -709,7 +709,7 @@ |
593 |
- cat <<EOF > conftest.mk |
594 |
- include ${ac_srcdir}/config/Makefile.${arch} |
595 |
- conftest: conftest.c |
596 |
-- \$(CC) \$(CFLAGS) \$(LDFLAGS) $linkdir $linklib \$< -o \$@ |
597 |
-+ \$(CC) \$(CFLAGS) \$(LDFLAGS) \$< $linkdir $linklib -o \$@ |
598 |
- |
599 |
- conftest.c: |
600 |
- echo "int main() { return 0; }" > \$@ |
601 |
-@@ -723,7 +723,7 @@ |
602 |
- cat <<EOF > conftest.mk |
603 |
- include ${ac_srcdir}/config/Makefile.${arch} |
604 |
- conftest:conftest.c |
605 |
-- \$(CC) \$(CFLAGS) \$(LDFLAGS) $linkdir $linklib \$< -o \$@ |
606 |
-+ \$(CC) \$(CFLAGS) \$(LDFLAGS) \$< $linkdir $linklib -o \$@ |
607 |
- |
608 |
- conftest.c: |
609 |
- echo "extern int $linksymbol (); " > \$@ |
610 |
|
611 |
diff --git a/sci-physics/root/files/root-5.28.00b-prop-ldflags.patch b/sci-physics/root/files/root-5.28.00b-prop-ldflags.patch |
612 |
deleted file mode 100644 |
613 |
index 7324319..0000000 |
614 |
--- a/sci-physics/root/files/root-5.28.00b-prop-ldflags.patch |
615 |
+++ /dev/null |
616 |
@@ -1,13 +0,0 @@ |
617 |
-diff -Naur root.orig/config/Makefile.in root/config/Makefile.in |
618 |
---- root.orig/config/Makefile.in 2010-12-14 17:20:26.000000000 +0300 |
619 |
-+++ root/config/Makefile.in 2010-12-17 22:33:34.902161458 +0300 |
620 |
-@@ -27,7 +27,7 @@ |
621 |
- |
622 |
- EXTRA_CFLAGS := -Iinclude @cflags@ |
623 |
- EXTRA_CXXFLAGS := -Iinclude @cflags@ |
624 |
--EXTRA_LDFLAGS := @ldflags@ |
625 |
-+EXTRA_LDFLAGS := @ldflags@ $(LDFLAGS) |
626 |
- WINRTDEBUG := @winrtdebug@ |
627 |
- |
628 |
- GLBPATCHFLAGS := @glbpatchcflags@ |
629 |
- |
630 |
|
631 |
diff --git a/sci-physics/root/files/root-5.28.00b-unuran.patch b/sci-physics/root/files/root-5.28.00b-unuran.patch |
632 |
deleted file mode 100644 |
633 |
index 76422da..0000000 |
634 |
--- a/sci-physics/root/files/root-5.28.00b-unuran.patch |
635 |
+++ /dev/null |
636 |
@@ -1,39 +0,0 @@ |
637 |
-diff -ur root-trunk.orig/math/unuran/Module.mk root-trunk/math/unuran/Module.mk |
638 |
---- root.orig/math/unuran/Module.mk 2010-11-25 20:41:32.000000000 +0100 |
639 |
-+++ root/math/unuran/Module.mk 2010-11-25 20:51:47.190704977 +0100 |
640 |
-@@ -20,7 +20,7 @@ |
641 |
- UNURANETAG := $(call stripsrc,$(UNURANDIRS)/headers.d) |
642 |
- UNRCFG := $(call stripsrc,$(UNURANDIRS)/$(UNRVERS)/config.h) |
643 |
- |
644 |
--UNRTARCONTENT:=$(subst $(UNRVERS),$(UNRDIRS),$(shell mkdir -p $(UNRDIR); cd $(UNRDIR); gunzip -c $(UNRSRCS) | tar tf -)) |
645 |
-+UNRTARCONTENT:= |
646 |
- UNRS := $(filter %.c, \ |
647 |
- $(filter $(UNRDIRS)/src/utils/%,$(UNRTARCONTENT)) \ |
648 |
- $(filter $(UNRDIRS)/src/methods/%,$(UNRTARCONTENT)) \ |
649 |
-@@ -69,10 +69,9 @@ |
650 |
- ##### local rules ##### |
651 |
- .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) |
652 |
- |
653 |
--include/%.h: $(UNURANDIRI)/%.h $(UNURANETAG) |
654 |
-+include/%.h: $(UNURANDIRI)/%.h |
655 |
- cp $< $@ |
656 |
- |
657 |
--$(UNURANDEP): $(UNRCFG) |
658 |
- $(UNRS): $(UNURANETAG) |
659 |
- |
660 |
- $(UNURANETAG): $(UNRSRCS) |
661 |
-@@ -125,12 +124,12 @@ |
662 |
- GNUMAKE=$(MAKE) ./configure CC="$$ACC" \ |
663 |
- CFLAGS="$$ACFLAGS"); |
664 |
- |
665 |
--$(UNURANLIB): $(UNRCFG) $(UNRO) $(UNURANO) $(UNURANDO) $(ORDER_) \ |
666 |
-+$(UNURANLIB): $(UNURANO) $(UNURANDO) $(ORDER_) \ |
667 |
- $(MAINLIBS) $(UNURANLIBDEP) |
668 |
- @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ |
669 |
- "$(SOFLAGS)" libUnuran.$(SOEXT) $@ \ |
670 |
- "$(UNURANO) $(UNURANDO)" \ |
671 |
-- "$(UNURANLIBEXTRA) $(UNRO)" |
672 |
-+ "$(UNURANLIBEXTRA) -lunuran" |
673 |
- |
674 |
- $(UNURANDS): $(UNRINIT) $(UNURANDH1) $(UNURANL) $(ROOTCINTTMPDEP) |
675 |
- $(MAKEDIR) |
676 |
|
677 |
diff --git a/sci-physics/root/files/root-5.32.00-dotfont.patch b/sci-physics/root/files/root-5.32.00-dotfont.patch |
678 |
deleted file mode 100644 |
679 |
index 85d6dea..0000000 |
680 |
--- a/sci-physics/root/files/root-5.32.00-dotfont.patch |
681 |
+++ /dev/null |
682 |
@@ -1,58 +0,0 @@ |
683 |
---- root/html/src/TClassDocOutput.cxx.orig 2012-05-25 16:18:10.000000000 +0400 |
684 |
-+++ root/html/src/TClassDocOutput.cxx 2012-05-29 21:36:53.813593012 +0400 |
685 |
-@@ -625,7 +625,7 @@ |
686 |
- << "size=\"8,10\";" << endl |
687 |
- << "ratio=auto;" << endl |
688 |
- << "margin=0;" << endl |
689 |
-- << "node [shape=plaintext,fontsize=40,width=4,height=0.75];" << endl |
690 |
-+ << "node [shape=plaintext,fontsize=40,width=4,height=0.75,fontname=\"DejaVu Serif\"];" << endl |
691 |
- << "\"" << fCurrentClass->GetName() << "\" [shape=ellipse];" << endl; |
692 |
- |
693 |
- std::stringstream ssDep; |
694 |
-@@ -704,7 +704,7 @@ |
695 |
- outdot << ";" << endl; |
696 |
- } else if (writeAndMoreFor) { |
697 |
- outdot << " \"...andmore" << writeAndMoreFor->GetName() |
698 |
-- << "\" [label=\"...and more\",fontname=\"Times-Italic\",fillcolor=lightgrey,style=filled];" << endl; |
699 |
-+ << "\" [label=\"...and more\",fontname=\"DejaVu Serif Italic\",fillcolor=lightgrey,style=filled];" << endl; |
700 |
- } |
701 |
- } |
702 |
- if (!levelExists) break; |
703 |
-@@ -733,7 +733,7 @@ |
704 |
- << "ranksep=0.1;" << endl |
705 |
- << "nodesep=0;" << endl |
706 |
- << "margin=0;" << endl; |
707 |
-- outdot << " node [style=filled,width=0.7,height=0.15,fixedsize=true,shape=plaintext,fontsize=10];" << endl; |
708 |
-+ outdot << " node [style=filled,width=0.7,height=0.15,fixedsize=true,shape=plaintext,fontsize=10,fontname=\"DejaVu Serif\"];" << endl; |
709 |
- |
710 |
- std::stringstream ssDep; |
711 |
- const int numColumns = 3; |
712 |
-@@ -939,7 +939,7 @@ |
713 |
- << "ranksep=0;" << endl |
714 |
- << "nodesep=0;" << endl |
715 |
- << "size=\"8,10\";" << endl |
716 |
-- << "node [fontsize=20,shape=plaintext];" << endl; |
717 |
-+ << "node [fontsize=20,shape=plaintext,fontname=\"DejaVu Serif\"];" << endl; |
718 |
- |
719 |
- for (std::list<std::string>::iterator iFile = listFilesToParse.begin(); |
720 |
- iFile != listFilesToParse.end(); ++iFile) { |
721 |
-@@ -999,7 +999,8 @@ |
722 |
- << "ranksep=0.7;" << endl |
723 |
- << "nodesep=0.3;" << endl |
724 |
- << "size=\"8,8\";" << endl |
725 |
-- << "ratio=compress;" << endl; |
726 |
-+ << "ratio=compress;" << endl |
727 |
-+ << "node [fontname=\"DejaVu Serif\"];" << endl; |
728 |
- |
729 |
- TString libs(fCurrentClass->GetSharedLibs()); |
730 |
- outdot << "\"All Libraries\" [URL=\"LibraryDependencies.html\",shape=box,rank=max,fillcolor=lightgray,style=filled];" << endl; |
731 |
-@@ -1109,7 +1110,8 @@ |
732 |
- |
733 |
- dotout << "digraph G {" << endl |
734 |
- << "ratio=auto;" << endl |
735 |
-- << "rankdir=RL;" << endl; |
736 |
-+ << "rankdir=RL;" << endl |
737 |
-+ << "node [fontname=\"DejaVu Serif\"];" << endl; |
738 |
- |
739 |
- // loop on all classes |
740 |
- TClassDocInfo* cdi = 0; |
741 |
|
742 |
diff --git a/sci-physics/root/files/root-5.32.00-explicit-functions.patch b/sci-physics/root/files/root-5.32.00-explicit-functions.patch |
743 |
deleted file mode 100644 |
744 |
index 570d61e..0000000 |
745 |
--- a/sci-physics/root/files/root-5.32.00-explicit-functions.patch |
746 |
+++ /dev/null |
747 |
@@ -1,18 +0,0 @@ |
748 |
---- root/io/io/Module.mk.orig 2012-02-29 19:46:38.000000000 +0400 |
749 |
-+++ root/io/io/Module.mk 2012-03-09 02:29:19.905665572 +0400 |
750 |
-@@ -67,15 +67,5 @@ |
751 |
- distclean:: distclean-$(MODNAME) |
752 |
- |
753 |
- ##### extra rules ###### |
754 |
--#ifeq ($(GCC_VERS_FULL),gcc-4.4.0) |
755 |
--ifeq ($(GCC_VERS),gcc-4.4) |
756 |
--ifneq ($(filter -O%,$(OPT)),) |
757 |
- $(call stripsrc,$(IODIRS)/TStreamerInfoReadBuffer.o): CXXFLAGS += -DR__EXPLICIT_FUNCTION_INSTANTIATION |
758 |
--endif |
759 |
--endif |
760 |
--ifeq ($(GCC_VERS),gcc-4.5) |
761 |
--ifneq ($(filter -O%,$(OPT)),) |
762 |
- $(call stripsrc,$(IODIRS)/TStreamerInfoReadBuffer.o): CXXFLAGS += -DR__EXPLICIT_FUNCTION_INSTANTIATION |
763 |
--endif |
764 |
--endif |
765 |
-- |
766 |
|
767 |
diff --git a/sci-physics/root/files/root-5.32.00-htmldoc.patch b/sci-physics/root/files/root-5.32.00-htmldoc.patch |
768 |
deleted file mode 100644 |
769 |
index 3b80b39..0000000 |
770 |
--- a/sci-physics/root/files/root-5.32.00-htmldoc.patch |
771 |
+++ /dev/null |
772 |
@@ -1,12 +0,0 @@ |
773 |
---- root/html/src/THtml.cxx.orig 2012-05-25 16:18:10.000000000 +0400 |
774 |
-+++ root/html/src/THtml.cxx 2012-05-29 19:22:40.810563296 +0400 |
775 |
-@@ -1913,6 +1913,9 @@ |
776 |
- void THtml::CreateStyleSheet() const { |
777 |
- // Write the default ROOT style sheet. |
778 |
- CopyFileFromEtcDir("ROOT.css"); |
779 |
-+ CopyFileFromEtcDir("info.png"); |
780 |
-+ CopyFileFromEtcDir("root-banner.png"); |
781 |
-+ CopyFileFromEtcDir("rootdrawing-logo.png"); |
782 |
- CopyFileFromEtcDir("shadowAlpha.png"); |
783 |
- CopyFileFromEtcDir("shadow.gif"); |
784 |
- } |
785 |
|
786 |
diff --git a/sci-physics/root/files/root-5.32.00-nobyte-compile.patch b/sci-physics/root/files/root-5.32.00-nobyte-compile.patch |
787 |
deleted file mode 100644 |
788 |
index 179e579..0000000 |
789 |
--- a/sci-physics/root/files/root-5.32.00-nobyte-compile.patch |
790 |
+++ /dev/null |
791 |
@@ -1,137 +0,0 @@ |
792 |
-diff -Naur root.as-needed/Makefile root/Makefile |
793 |
---- root.as-needed/Makefile 2011-07-10 10:42:49.758191296 +0400 |
794 |
-+++ root/Makefile 2011-07-10 10:43:21.493339703 +0400 |
795 |
-@@ -1167,10 +1167,7 @@ |
796 |
- if test "x$(RFLX_GRFLXPY)" != "x"; then \ |
797 |
- rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPY); \ |
798 |
- fi; \ |
799 |
-- if test "x$(RFLX_GRFLXPYC)" != "x"; then \ |
800 |
-- rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPYC); \ |
801 |
-- fi; \ |
802 |
-- if test "x$(RFLX_GRFLXPY)$(RFLX_GRFLXPYC)" != "x"; then \ |
803 |
-+ if test "x$(RFLX_GRFLXPY)" != "x"; then \ |
804 |
- dir=$(RFLX_GRFLXDD:lib/=); \ |
805 |
- while test "x$${dir}" != "x" && \ |
806 |
- test -d $(DESTDIR)$(LIBDIR)/$${dir} && \ |
807 |
-diff -Naur root.as-needed/bindings/pyroot/Module.mk root/bindings/pyroot/Module.mk |
808 |
---- root.as-needed/bindings/pyroot/Module.mk 2011-07-10 10:42:48.991561304 +0400 |
809 |
-+++ root/bindings/pyroot/Module.mk 2011-07-10 10:43:21.493339703 +0400 |
810 |
-@@ -48,8 +48,6 @@ |
811 |
- ROOTPY := $(subst $(MODDIR),$(LPATH),$(ROOTPYS)) |
812 |
- $(LPATH)/%.py: $(MODDIR)/%.py; cp $< $@ |
813 |
- endif |
814 |
--ROOTPYC := $(ROOTPY:.py=.pyc) |
815 |
--ROOTPYO := $(ROOTPY:.py=.pyo) |
816 |
- |
817 |
- # used in the main Makefile |
818 |
- ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYROOTH)) |
819 |
-@@ -68,10 +66,8 @@ |
820 |
- include/%.h: $(PYROOTDIRI)/%.h |
821 |
- cp $< $@ |
822 |
- |
823 |
--%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )' |
824 |
--%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )' |
825 |
- |
826 |
--$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) $(ROOTPYC) $(ROOTPYO) \ |
827 |
-+$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) \ |
828 |
- $(ROOTLIBSDEP) $(PYTHONLIBDEP) |
829 |
- @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ |
830 |
- "$(SOFLAGS)" libPyROOT.$(SOEXT) $@ \ |
831 |
-@@ -113,7 +109,7 @@ |
832 |
- |
833 |
- distclean-$(MODNAME): clean-$(MODNAME) |
834 |
- @rm -f $(PYROOTDEP) $(PYROOTDS) $(PYROOTDH) $(PYROOTLIB) \ |
835 |
-- $(ROOTPY) $(ROOTPYC) $(ROOTPYO) $(PYROOTMAP) \ |
836 |
-+ $(ROOTPY) $(PYROOTMAP) \ |
837 |
- $(PYROOTPYD) $(PYTHON64DEP) $(PYTHON64) |
838 |
- |
839 |
- distclean:: distclean-$(MODNAME) |
840 |
-diff -Naur root.as-needed/build/package/debian/rules root/build/package/debian/rules |
841 |
---- root.as-needed/build/package/debian/rules 2011-07-10 10:42:49.241549346 +0400 |
842 |
-+++ root/build/package/debian/rules 2011-07-10 10:48:06.989670589 +0400 |
843 |
-@@ -691,10 +691,6 @@ |
844 |
- -X$(SYSCONFDIR)/root/system.rootauthrc \ |
845 |
- -X$(SYSCONFDIR)/root/system.rootdaemonrc \ |
846 |
- -X$(PREFIX)/lib/root/$(SOVERS)/libAfterImage.a \ |
847 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyc \ |
848 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyo \ |
849 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyc \ |
850 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyo \ |
851 |
- -X$(PREFIX)/lib/root/$(SOVERS)/cint7 \ |
852 |
- -X$(PREFIX)/include/root/Minuit2 |
853 |
- # $(foreach i, \ |
854 |
-diff -Naur root.as-needed/cint/cintex/Module.mk root/cint/cintex/Module.mk |
855 |
---- root.as-needed/cint/cintex/Module.mk 2011-07-10 10:42:49.104889217 +0400 |
856 |
-+++ root/cint/cintex/Module.mk 2011-07-10 10:43:21.496672876 +0400 |
857 |
-@@ -31,10 +31,6 @@ |
858 |
- CINTEXPY := $(subst $(MODDIR)/python,$(LPATH),$(CINTEXPYS)) |
859 |
- $(LPATH)/%.py: $(MODDIR)/python/%.py; cp $< $@ |
860 |
- endif |
861 |
--ifneq ($(BUILDPYTHON),no) |
862 |
--CINTEXPYC := $(CINTEXPY:.py=.pyc) |
863 |
--CINTEXPYO := $(CINTEXPY:.py=.pyo) |
864 |
--endif |
865 |
- |
866 |
- # used in the main Makefile |
867 |
- ALLHDRS += $(patsubst $(MODDIRI)/Cintex/%.h,include/Cintex/%.h,$(CINTEXH)) |
868 |
-@@ -86,8 +82,6 @@ |
869 |
- fi) |
870 |
- cp $< $@ |
871 |
- |
872 |
--%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )' |
873 |
--%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )' |
874 |
- |
875 |
- $(CINTEXLIB): $(CINTEXO) $(CINTEXPY) $(CINTEXPYC) $(CINTEXPYO) \ |
876 |
- $(ORDER_) $(subst $(CINTEXLIB),,$(MAINLIBS)) $(CINTEXLIBDEP) |
877 |
-diff -Naur root.as-needed/cint/reflex/Module.mk root/cint/reflex/Module.mk |
878 |
---- root.as-needed/cint/reflex/Module.mk 2011-07-10 10:42:49.074890651 +0400 |
879 |
-+++ root/cint/reflex/Module.mk 2011-07-10 10:43:21.496672876 +0400 |
880 |
-@@ -48,9 +48,6 @@ |
881 |
- RFLX_GRFLXS := $(wildcard $(RFLX_GRFLXSD)/*.py) |
882 |
- RFLX_GRFLXPY := $(patsubst $(RFLX_GRFLXSD)/%.py,$(RFLX_GRFLXDD)/%.py,$(RFLX_GRFLXS)) |
883 |
- RFLX_GRFLXPY += $(RFLX_GCCXMLPATHPY) |
884 |
--ifneq ($(BUILDPYTHON),no) |
885 |
--RFLX_GRFLXPYC := $(subst .py,.pyc,$(RFLX_GRFLXPY)) |
886 |
--endif |
887 |
- |
888 |
- RFLX_LIBDIR = $(LIBDIR) |
889 |
- |
890 |
-@@ -92,7 +89,7 @@ |
891 |
- |
892 |
- ALLEXECS += $(RFLX_GENMAPX) |
893 |
- |
894 |
--POSTBIN += $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY) |
895 |
-+POSTBIN += $(RFLX_GRFLXPY) |
896 |
- |
897 |
- ##### local rules ##### |
898 |
- .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) \ |
899 |
-@@ -122,8 +119,6 @@ |
900 |
- mkdir -p lib/python/genreflex; fi ) |
901 |
- cp $< $@ |
902 |
- |
903 |
--$(RFLX_GRFLXDD)/%.pyc: $(RFLX_GRFLXDD)/%.py |
904 |
-- @python -c 'import py_compile; py_compile.compile( "$<" )' |
905 |
- |
906 |
- $(RFLX_GENMAPO) : CXXFLAGS += -I$(REFLEXDIRS)/genmap |
907 |
- |
908 |
-@@ -149,7 +144,7 @@ |
909 |
- $(RLIBMAP) -o $@ -l $(REFLEXDICTLIB) \ |
910 |
- -d $(REFLEXDICTLIBDEPM) -c $(REFLEXL) |
911 |
- |
912 |
--all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY) |
913 |
-+all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPY) |
914 |
- |
915 |
- clean-genreflex: |
916 |
- @rm -rf lib/python/genreflex |
917 |
-diff -Naur root.as-needed/cint/reflex/python/CMakeLists.txt root/cint/reflex/python/CMakeLists.txt |
918 |
---- root.as-needed/cint/reflex/python/CMakeLists.txt 2011-07-10 10:42:49.074890651 +0400 |
919 |
-+++ root/cint/reflex/python/CMakeLists.txt 2011-07-10 10:43:21.496672876 +0400 |
920 |
-@@ -15,7 +15,7 @@ |
921 |
- ##################### sources #################### |
922 |
- |
923 |
- FILE(GLOB_RECURSE GENREFLEX_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} genreflex/*.py) |
924 |
--SET(GENREFLEX_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/genreflex/genreflex.pyc PARENT_SCOPE) |
925 |
-+SET(GENREFLEX_SCRIPT PARENT_SCOPE) |
926 |
- |
927 |
- ##################### gccxmlpath #################### |
928 |
- |
929 |
|
930 |
diff --git a/sci-physics/root/files/root-5.32.00-rmkdepend.patch b/sci-physics/root/files/root-5.32.00-rmkdepend.patch |
931 |
deleted file mode 100644 |
932 |
index 6658660..0000000 |
933 |
--- a/sci-physics/root/files/root-5.32.00-rmkdepend.patch |
934 |
+++ /dev/null |
935 |
@@ -1,21 +0,0 @@ |
936 |
---- root/build/rmkdepend/main.c.orig 2012-05-09 15:00:06.000000000 +0400 |
937 |
-+++ root/build/rmkdepend/main.c 2013-12-22 01:58:44.939245160 +0400 |
938 |
-@@ -52,18 +52,6 @@ |
939 |
- #else |
940 |
- #include <io.h> |
941 |
- #endif |
942 |
--#if !defined(__hpux) |
943 |
--# if defined(__APPLE__) |
944 |
--# include <AvailabilityMacros.h> |
945 |
--# if !defined(MAC_OS_X_VERSION_10_4) |
946 |
--extern int fchmod(int, int); |
947 |
--# endif |
948 |
--# elif defined(__CYGWIN__) |
949 |
--extern int fchmod(int, mode_t); |
950 |
--#else |
951 |
--extern int fchmod(int, int); |
952 |
--# endif |
953 |
--#endif |
954 |
- |
955 |
- #ifdef MINIX |
956 |
- #define USE_CHMOD 1 |
957 |
|
958 |
diff --git a/sci-physics/root/files/root-5.32.00-rusage.patch b/sci-physics/root/files/root-5.32.00-rusage.patch |
959 |
deleted file mode 100644 |
960 |
index 992370c..0000000 |
961 |
--- a/sci-physics/root/files/root-5.32.00-rusage.patch |
962 |
+++ /dev/null |
963 |
@@ -1,12 +0,0 @@ |
964 |
---- root/core/unix/src/TUnixSystem.cxx.orig 2012-05-09 14:59:38.000000000 +0400 |
965 |
-+++ root/core/unix/src/TUnixSystem.cxx 2013-12-22 02:35:01.983262490 +0400 |
966 |
-@@ -4882,8 +4882,8 @@ |
967 |
- |
968 |
- //---- System, CPU and Memory info --------------------------------------------- |
969 |
- |
970 |
--#if defined(R__MACOSX) |
971 |
- #include <sys/resource.h> |
972 |
-+#if defined(R__MACOSX) |
973 |
- #include <mach/mach.h> |
974 |
- #include <mach/mach_error.h> |
975 |
- |
976 |
|
977 |
diff --git a/sci-physics/root/files/root-5.34.05-nobyte-compile.patch b/sci-physics/root/files/root-5.34.05-nobyte-compile.patch |
978 |
deleted file mode 100644 |
979 |
index ec67a15..0000000 |
980 |
--- a/sci-physics/root/files/root-5.34.05-nobyte-compile.patch |
981 |
+++ /dev/null |
982 |
@@ -1,137 +0,0 @@ |
983 |
-diff -Naur root.as-needed/Makefile root/Makefile |
984 |
---- a/Makefile.orig 2013-02-15 02:27:56.000000000 +0400 |
985 |
-+++ b/Makefile 2013-02-23 02:22:14.556465852 +0400 |
986 |
-@@ -1258,10 +1258,7 @@ |
987 |
- for lib in $(RFLX_GRFLXPY); do \ |
988 |
- rm -f $(DESTDIR)$(LIBDIR)/$${lib#lib/}; \ |
989 |
- done; \ |
990 |
-- for lib in $(RFLX_GRFLXPYC); do \ |
991 |
-- rm -f $(DESTDIR)$(LIBDIR)/$${lib#lib/}; \ |
992 |
-- done; \ |
993 |
-- if test "x$(RFLX_GRFLXPY)$(RFLX_GRFLXPYC)" != "x"; then \ |
994 |
-+ if test "x$(RFLX_GRFLXPY)" != "x"; then \ |
995 |
- dir=$(subst lib/,,$(RFLX_GRFLXDD)); \ |
996 |
- while test "x$${dir}" != "x" && \ |
997 |
- test -d $(DESTDIR)$(LIBDIR)/$${dir} && \ |
998 |
-diff -Naur root.as-needed/bindings/pyroot/Module.mk root/bindings/pyroot/Module.mk |
999 |
---- root.as-needed/bindings/pyroot/Module.mk 2011-07-10 10:42:48.991561304 +0400 |
1000 |
-+++ root/bindings/pyroot/Module.mk 2011-07-10 10:43:21.493339703 +0400 |
1001 |
-@@ -48,8 +48,6 @@ |
1002 |
- ROOTPY := $(subst $(MODDIR),$(LPATH),$(ROOTPYS)) |
1003 |
- $(LPATH)/%.py: $(MODDIR)/%.py; cp $< $@ |
1004 |
- endif |
1005 |
--ROOTPYC := $(ROOTPY:.py=.pyc) |
1006 |
--ROOTPYO := $(ROOTPY:.py=.pyo) |
1007 |
- |
1008 |
- # used in the main Makefile |
1009 |
- ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYROOTH)) |
1010 |
-@@ -68,10 +66,8 @@ |
1011 |
- include/%.h: $(PYROOTDIRI)/%.h |
1012 |
- cp $< $@ |
1013 |
- |
1014 |
--%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )' |
1015 |
--%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )' |
1016 |
- |
1017 |
--$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) $(ROOTPYC) $(ROOTPYO) \ |
1018 |
-+$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) \ |
1019 |
- $(ROOTLIBSDEP) $(PYTHONLIBDEP) |
1020 |
- @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ |
1021 |
- "$(SOFLAGS)" libPyROOT.$(SOEXT) $@ \ |
1022 |
-@@ -113,7 +109,7 @@ |
1023 |
- |
1024 |
- distclean-$(MODNAME): clean-$(MODNAME) |
1025 |
- @rm -f $(PYROOTDEP) $(PYROOTDS) $(PYROOTDH) $(PYROOTLIB) \ |
1026 |
-- $(ROOTPY) $(ROOTPYC) $(ROOTPYO) $(PYROOTMAP) \ |
1027 |
-+ $(ROOTPY) $(PYROOTMAP) \ |
1028 |
- $(PYROOTPYD) $(PYTHON64DEP) $(PYTHON64) |
1029 |
- |
1030 |
- distclean:: distclean-$(MODNAME) |
1031 |
-diff -Naur root.as-needed/build/package/debian/rules root/build/package/debian/rules |
1032 |
---- root.as-needed/build/package/debian/rules 2011-07-10 10:42:49.241549346 +0400 |
1033 |
-+++ root/build/package/debian/rules 2011-07-10 10:48:06.989670589 +0400 |
1034 |
-@@ -691,10 +691,6 @@ |
1035 |
- -X$(SYSCONFDIR)/root/system.rootauthrc \ |
1036 |
- -X$(SYSCONFDIR)/root/system.rootdaemonrc \ |
1037 |
- -X$(PREFIX)/lib/root/$(SOVERS)/libAfterImage.a \ |
1038 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyc \ |
1039 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyo \ |
1040 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyc \ |
1041 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyo \ |
1042 |
- -X$(PREFIX)/lib/root/$(SOVERS)/cint7 \ |
1043 |
- -X$(PREFIX)/include/root/Minuit2 |
1044 |
- # $(foreach i, \ |
1045 |
-diff -Naur root.as-needed/cint/cintex/Module.mk root/cint/cintex/Module.mk |
1046 |
---- root.as-needed/cint/cintex/Module.mk 2011-07-10 10:42:49.104889217 +0400 |
1047 |
-+++ root/cint/cintex/Module.mk 2011-07-10 10:43:21.496672876 +0400 |
1048 |
-@@ -31,10 +31,6 @@ |
1049 |
- CINTEXPY := $(subst $(MODDIR)/python,$(LPATH),$(CINTEXPYS)) |
1050 |
- $(LPATH)/%.py: $(MODDIR)/python/%.py; cp $< $@ |
1051 |
- endif |
1052 |
--ifneq ($(BUILDPYTHON),no) |
1053 |
--CINTEXPYC := $(CINTEXPY:.py=.pyc) |
1054 |
--CINTEXPYO := $(CINTEXPY:.py=.pyo) |
1055 |
--endif |
1056 |
- |
1057 |
- # used in the main Makefile |
1058 |
- ALLHDRS += $(patsubst $(MODDIRI)/Cintex/%.h,include/Cintex/%.h,$(CINTEXH)) |
1059 |
-@@ -86,8 +82,6 @@ |
1060 |
- fi) |
1061 |
- cp $< $@ |
1062 |
- |
1063 |
--%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )' |
1064 |
--%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )' |
1065 |
- |
1066 |
- $(CINTEXLIB): $(CINTEXO) $(CINTEXPY) $(CINTEXPYC) $(CINTEXPYO) \ |
1067 |
- $(ORDER_) $(subst $(CINTEXLIB),,$(MAINLIBS)) $(CINTEXLIBDEP) |
1068 |
-diff -Naur root.as-needed/cint/reflex/Module.mk root/cint/reflex/Module.mk |
1069 |
---- root.as-needed/cint/reflex/Module.mk 2011-07-10 10:42:49.074890651 +0400 |
1070 |
-+++ root/cint/reflex/Module.mk 2011-07-10 10:43:21.496672876 +0400 |
1071 |
-@@ -48,9 +48,6 @@ |
1072 |
- RFLX_GRFLXS := $(wildcard $(RFLX_GRFLXSD)/*.py) |
1073 |
- RFLX_GRFLXPY := $(patsubst $(RFLX_GRFLXSD)/%.py,$(RFLX_GRFLXDD)/%.py,$(RFLX_GRFLXS)) |
1074 |
- RFLX_GRFLXPY += $(RFLX_GCCXMLPATHPY) |
1075 |
--ifneq ($(BUILDPYTHON),no) |
1076 |
--RFLX_GRFLXPYC := $(subst .py,.pyc,$(RFLX_GRFLXPY)) |
1077 |
--endif |
1078 |
- |
1079 |
- RFLX_LIBDIR = $(LIBDIR) |
1080 |
- |
1081 |
-@@ -92,7 +89,7 @@ |
1082 |
- |
1083 |
- ALLEXECS += $(RFLX_GENMAPX) |
1084 |
- |
1085 |
--POSTBIN += $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY) |
1086 |
-+POSTBIN += $(RFLX_GRFLXPY) |
1087 |
- |
1088 |
- ##### local rules ##### |
1089 |
- .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) \ |
1090 |
-@@ -122,8 +119,6 @@ |
1091 |
- mkdir -p lib/python/genreflex; fi ) |
1092 |
- cp $< $@ |
1093 |
- |
1094 |
--$(RFLX_GRFLXDD)/%.pyc: $(RFLX_GRFLXDD)/%.py |
1095 |
-- @python -c 'import py_compile; py_compile.compile( "$<" )' |
1096 |
- |
1097 |
- $(RFLX_GENMAPO) : CXXFLAGS += -I$(REFLEXDIRS)/genmap |
1098 |
- |
1099 |
-@@ -149,7 +144,7 @@ |
1100 |
- $(RLIBMAP) -o $@ -l $(REFLEXDICTLIB) \ |
1101 |
- -d $(REFLEXDICTLIBDEPM) -c $(REFLEXL) |
1102 |
- |
1103 |
--all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY) |
1104 |
-+all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPY) |
1105 |
- |
1106 |
- clean-genreflex: |
1107 |
- @rm -rf lib/python/genreflex |
1108 |
-diff -Naur root.as-needed/cint/reflex/python/CMakeLists.txt root/cint/reflex/python/CMakeLists.txt |
1109 |
---- root.as-needed/cint/reflex/python/CMakeLists.txt 2011-07-10 10:42:49.074890651 +0400 |
1110 |
-+++ root/cint/reflex/python/CMakeLists.txt 2011-07-10 10:43:21.496672876 +0400 |
1111 |
-@@ -15,7 +15,7 @@ |
1112 |
- ##################### sources #################### |
1113 |
- |
1114 |
- FILE(GLOB_RECURSE GENREFLEX_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} genreflex/*.py) |
1115 |
--SET(GENREFLEX_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/genreflex/genreflex.pyc PARENT_SCOPE) |
1116 |
-+SET(GENREFLEX_SCRIPT PARENT_SCOPE) |
1117 |
- |
1118 |
- ##################### gccxmlpath #################### |
1119 |
- |
1120 |
|
1121 |
diff --git a/sci-physics/root/files/root-5.34.13-pythia8.patch b/sci-physics/root/files/root-5.34.13-pythia8.patch |
1122 |
deleted file mode 100644 |
1123 |
index 07f62bb..0000000 |
1124 |
--- a/sci-physics/root/files/root-5.34.13-pythia8.patch |
1125 |
+++ /dev/null |
1126 |
@@ -1,13 +0,0 @@ |
1127 |
-diff --git a/montecarlo/pythia8/Module.mk b/montecarlo/pythia8/Module.mk |
1128 |
-index b3d0ee4..86fb3d5 100644 |
1129 |
---- a/montecarlo/pythia8/Module.mk |
1130 |
-+++ b/montecarlo/pythia8/Module.mk |
1131 |
-@@ -50,7 +50,7 @@ $(PYTHIA8LIB): $(PYTHIA8O) $(PYTHIA8DO) $(ORDER_) $(MAINLIBS) $(PYTHIA8LIBDEP) |
1132 |
- $(PYTHIA8DS): $(PYTHIA8H) $(PYTHIA8L) $(ROOTCINTTMPDEP) |
1133 |
- $(MAKEDIR) |
1134 |
- @echo "Generating dictionary $@..." |
1135 |
-- $(ROOTCINTTMP) -f $@ -c -I$(FPYTHIA8INCDIR) $(PYTHIA8H) $(PYTHIA8L) |
1136 |
-+ $(ROOTCINTTMP) -f $@ -c -p -I$(FPYTHIA8INCDIR) $(PYTHIA8H) $(PYTHIA8L) |
1137 |
- |
1138 |
- $(PYTHIA8MAP): $(RLIBMAP) $(MAKEFILEDEP) $(PYTHIA8L) |
1139 |
- $(RLIBMAP) -o $@ -l $(PYTHIA8LIB) \ |
1140 |
|
1141 |
diff --git a/sci-physics/root/files/root-9999-dotfont.patch b/sci-physics/root/files/root-6.00.01-dotfont.patch |
1142 |
similarity index 100% |
1143 |
rename from sci-physics/root/files/root-9999-dotfont.patch |
1144 |
rename to sci-physics/root/files/root-6.00.01-dotfont.patch |
1145 |
|
1146 |
diff --git a/sci-physics/root/files/root-6.00.01-geocad.patch b/sci-physics/root/files/root-6.00.01-geocad.patch |
1147 |
new file mode 100644 |
1148 |
index 0000000..2742a74 |
1149 |
--- /dev/null |
1150 |
+++ b/sci-physics/root/files/root-6.00.01-geocad.patch |
1151 |
@@ -0,0 +1,15 @@ |
1152 |
+diff --git a/geom/geocad/inc/TGeoToOCC.h b/geom/geocad/inc/TGeoToOCC.h |
1153 |
+index 892f225..86eb9e1 100644 |
1154 |
+--- a/geom/geocad/inc/TGeoToOCC.h |
1155 |
++++ b/geom/geocad/inc/TGeoToOCC.h |
1156 |
+@@ -13,8 +13,10 @@ |
1157 |
+ #define ROOT_TGeoToOCC |
1158 |
+ |
1159 |
+ //Cascade |
1160 |
++#define Printf Printf_opencascade |
1161 |
+ #include <TopoDS_Shape.hxx> |
1162 |
+ #include <TopoDS_Wire.hxx> |
1163 |
++#undef Printf |
1164 |
+ |
1165 |
+ //Root |
1166 |
+ #ifndef ROOT_TGeoXtru |
1167 |
|
1168 |
diff --git a/sci-physics/root/files/root-6.00.01-llvm.patch b/sci-physics/root/files/root-6.00.01-llvm.patch |
1169 |
new file mode 100644 |
1170 |
index 0000000..c6abb35 |
1171 |
--- /dev/null |
1172 |
+++ b/sci-physics/root/files/root-6.00.01-llvm.patch |
1173 |
@@ -0,0 +1,13 @@ |
1174 |
+diff --git a/interpreter/llvm/src/Makefile.config.in b/interpreter/llvm/src/Makefile.config.in |
1175 |
+index 7633be2..c8756b1 100644 |
1176 |
+--- a/interpreter/llvm/src/Makefile.config.in |
1177 |
++++ b/interpreter/llvm/src/Makefile.config.in |
1178 |
+@@ -170,6 +170,8 @@ CXXFLAGS += @CXXFLAGS@ |
1179 |
+ |
1180 |
+ # Linker flags. |
1181 |
+ LDFLAGS += @LDFLAGS@ |
1182 |
++NOUNDEF := -Wl,--no-undefined |
1183 |
++LDFLAGS := $(filter-out $(NOUNDEF),$(LDFLAGS)) |
1184 |
+ |
1185 |
+ # Path to the library archiver program. |
1186 |
+ AR_PATH = @AR@ |
1187 |
|
1188 |
diff --git a/sci-physics/root/files/root-6.00.01-nobyte-compile.patch b/sci-physics/root/files/root-6.00.01-nobyte-compile.patch |
1189 |
new file mode 100644 |
1190 |
index 0000000..aa58f20 |
1191 |
--- /dev/null |
1192 |
+++ b/sci-physics/root/files/root-6.00.01-nobyte-compile.patch |
1193 |
@@ -0,0 +1,33 @@ |
1194 |
+diff -Naur root.as-needed/bindings/pyroot/Module.mk root/bindings/pyroot/Module.mk |
1195 |
+--- root.as-needed/bindings/pyroot/Module.mk 2011-07-10 10:42:48.991561304 +0400 |
1196 |
++++ root/bindings/pyroot/Module.mk 2011-07-10 10:43:21.493339703 +0400 |
1197 |
+@@ -48,8 +48,6 @@ |
1198 |
+ ROOTPY := $(subst $(MODDIR),$(LPATH),$(ROOTPYS)) |
1199 |
+ $(LPATH)/%.py: $(MODDIR)/%.py; cp $< $@ |
1200 |
+ endif |
1201 |
+-ROOTPYC := $(ROOTPY:.py=.pyc) |
1202 |
+-ROOTPYO := $(ROOTPY:.py=.pyo) |
1203 |
+ |
1204 |
+ # used in the main Makefile |
1205 |
+ ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYROOTH)) |
1206 |
+@@ -68,10 +66,8 @@ |
1207 |
+ include/%.h: $(PYROOTDIRI)/%.h |
1208 |
+ cp $< $@ |
1209 |
+ |
1210 |
+-%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )' |
1211 |
+-%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )' |
1212 |
+ |
1213 |
+-$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) $(ROOTPYC) $(ROOTPYO) \ |
1214 |
++$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) \ |
1215 |
+ $(ROOTLIBSDEP) $(PYTHONLIBDEP) |
1216 |
+ @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ |
1217 |
+ "$(SOFLAGS)" libPyROOT.$(SOEXT) $@ \ |
1218 |
+@@ -113,7 +109,7 @@ |
1219 |
+ |
1220 |
+ distclean-$(MODNAME): clean-$(MODNAME) |
1221 |
+ @rm -f $(PYROOTDEP) $(PYROOTDS) $(PYROOTDH) $(PYROOTLIB) \ |
1222 |
+- $(ROOTPY) $(ROOTPYC) $(ROOTPYO) $(PYROOTMAP) \ |
1223 |
++ $(ROOTPY) $(PYROOTMAP) \ |
1224 |
+ $(PYROOTPYD) $(PYTHON64DEP) $(PYTHON64) |
1225 |
+ |
1226 |
+ distclean:: distclean-$(MODNAME) |
1227 |
|
1228 |
diff --git a/sci-physics/root/files/root-5.32.00-prop-flags.patch b/sci-physics/root/files/root-6.00.01-prop-flags.patch |
1229 |
similarity index 58% |
1230 |
rename from sci-physics/root/files/root-5.32.00-prop-flags.patch |
1231 |
rename to sci-physics/root/files/root-6.00.01-prop-flags.patch |
1232 |
index 7dfeb1c..3a10024 100644 |
1233 |
--- a/sci-physics/root/files/root-5.32.00-prop-flags.patch |
1234 |
+++ b/sci-physics/root/files/root-6.00.01-prop-flags.patch |
1235 |
@@ -1,6 +1,8 @@ |
1236 |
---- root/config/Makefile.in.orig 2013-01-21 22:04:43.011452938 +0400 |
1237 |
-+++ root/config/Makefile.in 2013-01-21 22:04:18.027352209 +0400 |
1238 |
-@@ -25,9 +25,9 @@ |
1239 |
+diff --git a/config/Makefile.in b/config/Makefile.in |
1240 |
+index dd89044..4fc7de3 100644 |
1241 |
+--- a/config/Makefile.in |
1242 |
++++ b/config/Makefile.in |
1243 |
+@@ -64,9 +64,9 @@ HOST := @host@ |
1244 |
USECONFIG := @useconfig@ |
1245 |
MKLIBOPTIONS := @mkliboption@ |
1246 |
|
1247 |
@@ -10,6 +12,6 @@ |
1248 |
+EXTRA_CFLAGS := -Iinclude @cflags@ $(CFLAGS) |
1249 |
+EXTRA_CXXFLAGS := -Iinclude @cflags@ $(CXXFLAGS) |
1250 |
+EXTRA_LDFLAGS := @ldflags@ $(LDFLAGS) |
1251 |
+ WERROR := @werror@ |
1252 |
WINRTDEBUG := @winrtdebug@ |
1253 |
- |
1254 |
- GLBPATCHFLAGS := @glbpatchcflags@ |
1255 |
+ CTORSINITARRAY := @ctorsinitarray@ |
1256 |
|
1257 |
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml |
1258 |
index 30f4635..2a666cf 100644 |
1259 |
--- a/sci-physics/root/metadata.xml |
1260 |
+++ b/sci-physics/root/metadata.xml |
1261 |
@@ -1,13 +1,14 @@ |
1262 |
<?xml version="1.0" encoding="UTF-8"?> |
1263 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
1264 |
<pkgmetadata> |
1265 |
- <maintainer> |
1266 |
- <email>bircoph@×××××.com</email> |
1267 |
- <name>Andrew Savchenko</name> |
1268 |
- <description>Maintainer. Assign bugs to him</description> |
1269 |
- </maintainer> |
1270 |
- <herd>sci-physics</herd> |
1271 |
- <longdescription lang="en"> |
1272 |
+<maintainer> |
1273 |
+ <email>bircoph@×××××.com</email> |
1274 |
+ <name>Andrew Savchenko</name> |
1275 |
+ <description>Maintainer. Assign bugs to him</description> |
1276 |
+</maintainer> |
1277 |
+<herd>sci-physics</herd> |
1278 |
+<herd>proxy-maintainers</herd> |
1279 |
+<longdescription lang="en"> |
1280 |
ROOT Object Oriented Technologies is an object oriented data |
1281 |
analysis framework written in C++ by the CERN. Widely used in |
1282 |
high energy physics, but also in other data analysis applications. It |
1283 |
@@ -15,18 +16,13 @@ |
1284 |
statistics, serialization, optimization, linear algebra, graphics, |
1285 |
GUI toolkit, and a complete visualization framework. |
1286 |
</longdescription> |
1287 |
- <use> |
1288 |
- <flag name="c++0x"> Build ROOT using the C++11 standard. Requires <pkg>sys-devel/gcc</pkg>>=4.7.0</flag> |
1289 |
- <flag name="clarens"> Build the Clarens and PEAC plug-ins, to use in a GRID enabled analysis</flag> |
1290 |
- <flag name="fits">Support for images and data from FITS files with <pkg>sci-libs/cfitsio</pkg></flag> |
1291 |
- <flag name="geocad">Enable ROOT-CAD interface using <pkg>sci-libs/opencascade</pkg></flag> |
1292 |
- <flag name="htmldoc">Generate html documentation</flag> |
1293 |
- <!--<flag name="llvm">Build the new cling interactive interpreter based on <pkg>sys-devel/llvm</pkg></flag>!--> |
1294 |
- <flag name="math">Build all math related libraries plugins, needs <pkg>sci-libs/gsl</pkg> </flag> |
1295 |
- <flag name="metric">Default to A4 paper size and metric measurement</flag> |
1296 |
- <flag name="pythia6">Build the interface for <pkg>sci-physics/pythia</pkg> version 6.x </flag> |
1297 |
- <flag name="pythia8">Build the interface for <pkg>sci-physics/pythia</pkg> version 8.x </flag> |
1298 |
- <flag name="reflex">Build the reflection database for the C++ interpreter</flag> |
1299 |
- <flag name="xrootd">Build the interface for <pkg>net-libs/xrootd</pkg> </flag> |
1300 |
- </use> |
1301 |
+<use> |
1302 |
+ <flag name="fits">Support for images and data from FITS files with <pkg>sci-libs/cfitsio</pkg></flag> |
1303 |
+ <flag name="geocad">Enable ROOT-CAD interface using <pkg>sci-libs/opencascade</pkg></flag> |
1304 |
+ <flag name="http">Enable http server support including but not limited to fastcgi support</flag> |
1305 |
+ <flag name="math">Build all math related libraries plugins, needs <pkg>sci-libs/gsl</pkg> </flag> |
1306 |
+ <flag name="pythia6">Build the interface for <pkg>sci-physics/pythia</pkg> version 6.x </flag> |
1307 |
+ <flag name="pythia8">Build the interface for <pkg>sci-physics/pythia</pkg> version 8.x </flag> |
1308 |
+ <flag name="xrootd">Build the interface for <pkg>net-libs/xrootd</pkg> </flag> |
1309 |
+</use> |
1310 |
</pkgmetadata> |
1311 |
|
1312 |
diff --git a/sci-physics/root/root-6.00.01.ebuild b/sci-physics/root/root-6.00.01.ebuild |
1313 |
new file mode 100644 |
1314 |
index 0000000..440bd32 |
1315 |
--- /dev/null |
1316 |
+++ b/sci-physics/root/root-6.00.01.ebuild |
1317 |
@@ -0,0 +1,440 @@ |
1318 |
+# Copyright 1999-2014 Gentoo Foundation |
1319 |
+# Distributed under the terms of the GNU General Public License v2 |
1320 |
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.34.18-r1.ebuild,v 1.3 2014/03/27 18:51:54 bicatali Exp $ |
1321 |
+ |
1322 |
+EAPI=5 |
1323 |
+ |
1324 |
+if [[ ${PV} == "9999" ]] ; then |
1325 |
+ inherit git-r3 |
1326 |
+ EGIT_REPO_URI="http://root.cern.ch/git/root.git" |
1327 |
+ KEYWORDS="" |
1328 |
+else |
1329 |
+ SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz" |
1330 |
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
1331 |
+ S="${WORKDIR}/${PN}" |
1332 |
+fi |
1333 |
+ |
1334 |
+PYTHON_COMPAT=( python2_{6,7} ) |
1335 |
+ |
1336 |
+inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \ |
1337 |
+ toolchain-funcs user versionator |
1338 |
+ |
1339 |
+DESCRIPTION="C++ data analysis framework and interpreter from CERN" |
1340 |
+HOMEPAGE="http://root.cern.ch/" |
1341 |
+DOC_URI="ftp://root.cern.ch/${PN}/doc" |
1342 |
+ |
1343 |
+SLOT="0/$(get_version_component_range 1-3 ${PV})" |
1344 |
+LICENSE="LGPL-2.1 freedist GPL-2 MSttfEULA LGPL-3 libpng UoI-NCSA" |
1345 |
+IUSE="+X afs avahi doc emacs examples fits fftw geocad graphviz |
1346 |
+ http kerberos ldap +math minimal mpi mysql odbc +opengl openmp |
1347 |
+ oracle postgres prefix pythia6 pythia8 python qt4 sqlite ssl |
1348 |
+ xinetd xml xrootd" |
1349 |
+ |
1350 |
+# TODO: add support for: davix |
1351 |
+# TODO: ROOT-6 supports x32 ABI, but half of its dependencies doesn't |
1352 |
+# TODO: unbundle: cling, vdt |
1353 |
+ |
1354 |
+REQUIRED_USE=" |
1355 |
+ mpi? ( math !openmp ) |
1356 |
+ opengl? ( X ) |
1357 |
+ openmp? ( math !mpi ) |
1358 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
1359 |
+ qt4? ( X ) |
1360 |
+" |
1361 |
+ |
1362 |
+CDEPEND=" |
1363 |
+ app-arch/xz-utils:0= |
1364 |
+ >=dev-lang/cfortran-4.4-r2 |
1365 |
+ dev-libs/libpcre:3= |
1366 |
+ media-fonts/dejavu |
1367 |
+ media-libs/freetype:2= |
1368 |
+ media-libs/giflib:0= |
1369 |
+ media-libs/libpng:0= |
1370 |
+ media-libs/tiff:0= |
1371 |
+ >=sys-devel/clang-3.4 |
1372 |
+ sys-libs/zlib:0= |
1373 |
+ virtual/jpeg:0 |
1374 |
+ virtual/shadow |
1375 |
+ X? ( |
1376 |
+ media-libs/ftgl:0= |
1377 |
+ media-libs/glew:0= |
1378 |
+ x11-libs/libX11:0= |
1379 |
+ x11-libs/libXext:0= |
1380 |
+ x11-libs/libXpm:0= |
1381 |
+ !minimal? ( |
1382 |
+ opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= ) |
1383 |
+ qt4? ( |
1384 |
+ dev-qt/qtgui:4= |
1385 |
+ dev-qt/qtopengl:4= |
1386 |
+ dev-qt/qt3support:4= |
1387 |
+ dev-qt/qtsvg:4= |
1388 |
+ dev-qt/qtwebkit:4= |
1389 |
+ dev-qt/qtxmlpatterns:4= |
1390 |
+ ) |
1391 |
+ x11-libs/libXft:0= |
1392 |
+ ) |
1393 |
+ ) |
1394 |
+ !minimal? ( |
1395 |
+ afs? ( net-fs/openafs ) |
1396 |
+ avahi? ( net-dns/avahi:0= ) |
1397 |
+ emacs? ( virtual/emacs ) |
1398 |
+ fits? ( sci-libs/cfitsio:0= ) |
1399 |
+ fftw? ( sci-libs/fftw:3.0= ) |
1400 |
+ geocad? ( sci-libs/opencascade:= ) |
1401 |
+ graphviz? ( media-gfx/graphviz:0= ) |
1402 |
+ http? ( dev-libs/fcgi:0= ) |
1403 |
+ kerberos? ( virtual/krb5 ) |
1404 |
+ ldap? ( net-nds/openldap:0= ) |
1405 |
+ math? ( |
1406 |
+ sci-libs/gsl:0= |
1407 |
+ sci-mathematics/unuran:0= |
1408 |
+ mpi? ( virtual/mpi ) |
1409 |
+ ) |
1410 |
+ mysql? ( virtual/mysql ) |
1411 |
+ odbc? ( || ( dev-db/libiodbc:0= dev-db/unixODBC:0= ) ) |
1412 |
+ oracle? ( dev-db/oracle-instantclient-basic:0= ) |
1413 |
+ postgres? ( dev-db/postgresql-base:= ) |
1414 |
+ pythia6? ( sci-physics/pythia:6= ) |
1415 |
+ pythia8? ( >=sci-physics/pythia-8.1.80:8= ) |
1416 |
+ python? ( ${PYTHON_DEPS} ) |
1417 |
+ sqlite? ( dev-db/sqlite:3= ) |
1418 |
+ ssl? ( dev-libs/openssl:0= ) |
1419 |
+ xml? ( dev-libs/libxml2:2= ) |
1420 |
+ xrootd? ( >=net-libs/xrootd-3.3.5:0= ) |
1421 |
+ )" |
1422 |
+ |
1423 |
+# TODO: ruby is not yet ported to ROOT-6, reenable when (if?) ready |
1424 |
+# ruby? ( |
1425 |
+# dev-lang/ruby |
1426 |
+# dev-ruby/rubygems |
1427 |
+# ) |
1428 |
+# |
1429 |
+# TODO: root-6.00.01 crashes with system libafterimage |
1430 |
+# || ( |
1431 |
+# media-libs/libafterimage:0=[gif,jpeg,png,tiff] |
1432 |
+# >=x11-wm/afterstep-2.2.11:0=[gif,jpeg,png,tiff] |
1433 |
+# ) |
1434 |
+# --disable-builtin-afterimage |
1435 |
+ |
1436 |
+DEPEND="${CDEPEND} |
1437 |
+ virtual/pkgconfig" |
1438 |
+ |
1439 |
+RDEPEND="${CDEPEND} |
1440 |
+ xinetd? ( sys-apps/xinetd )" |
1441 |
+ |
1442 |
+PDEPEND="doc? ( ~app-doc/root-docs-${PV}[http=,math=] )" |
1443 |
+ |
1444 |
+# install stuff in ${P} and not ${PF} for easier tracking in root-docs |
1445 |
+DOC_DIR="/usr/share/doc/${P}" |
1446 |
+ |
1447 |
+die_compiler() { |
1448 |
+ die "Need one of the following C++11 capable compilers:" |
1449 |
+ die " >=sys-devel/gcc[cxx]-4.8" |
1450 |
+ die " >=sys-devel/clang-3.4" |
1451 |
+ die " >=dev-lang/icc-13" |
1452 |
+} |
1453 |
+ |
1454 |
+pkg_setup() { |
1455 |
+ fortran-2_pkg_setup |
1456 |
+ use python && python-single-r1_pkg_setup |
1457 |
+ echo |
1458 |
+ elog "There are extra options on packages not yet in Gentoo:" |
1459 |
+ elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite," |
1460 |
+ elog "HDFS, Monalisa, MaxDB/SapDB, SRP." |
1461 |
+ elog "You can use the env variable EXTRA_ECONF variable for this." |
1462 |
+ elog "For example, for SRP, you would set: " |
1463 |
+ elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=${EROOT%/}/usr/$(get_libdir)\"" |
1464 |
+ echo |
1465 |
+ |
1466 |
+ enewgroup rootd |
1467 |
+ enewuser rootd -1 -1 /var/spool/rootd rootd |
1468 |
+ |
1469 |
+ use minimal && return |
1470 |
+ |
1471 |
+ if use math; then |
1472 |
+ if use openmp; then |
1473 |
+ if [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp; then |
1474 |
+ ewarn "You are using a g++ without OpenMP capabilities" |
1475 |
+ die "Need an OpenMP capable compiler" |
1476 |
+ else |
1477 |
+ export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1 |
1478 |
+ fi |
1479 |
+ elif use mpi; then |
1480 |
+ export USE_MPI=1 USE_PARALLEL_MINUIT2=1 |
1481 |
+ fi |
1482 |
+ fi |
1483 |
+ |
1484 |
+ # check for supported compilers |
1485 |
+ case $(tc-getCXX) in |
1486 |
+ *g++*) |
1487 |
+ if ! version_is_at_least "4.8" "$(gcc-version)"; then |
1488 |
+ eerror "You are using a g++ without C++11 capabilities" |
1489 |
+ die_compiler |
1490 |
+ fi |
1491 |
+ ;; |
1492 |
+ *clang++*) |
1493 |
+ # >=clang-3.4 is already in DEPEND |
1494 |
+ ;; |
1495 |
+ *icc*|*icpc*) |
1496 |
+ if ! version_is_at_least "13" "$(has_version dev-lang/icc)"; then |
1497 |
+ eerror "You are using an icc without C++11 capabilities" |
1498 |
+ die_compiler |
1499 |
+ fi |
1500 |
+ ;; |
1501 |
+ *) |
1502 |
+ ewarn "You are using an unsupported compiler." |
1503 |
+ ewarn "Please report any issues upstream." |
1504 |
+ ;; |
1505 |
+ esac |
1506 |
+} |
1507 |
+ |
1508 |
+src_prepare() { |
1509 |
+ epatch \ |
1510 |
+ "${FILESDIR}"/${PN}-5.28.00b-glibc212.patch \ |
1511 |
+ "${FILESDIR}"/${PN}-5.32.00-afs.patch \ |
1512 |
+ "${FILESDIR}"/${PN}-5.32.00-cfitsio.patch \ |
1513 |
+ "${FILESDIR}"/${PN}-5.32.00-chklib64.patch \ |
1514 |
+ "${FILESDIR}"/${PN}-5.34.13-unuran.patch \ |
1515 |
+ "${FILESDIR}"/${PN}-5.34.13-desktop.patch \ |
1516 |
+ "${FILESDIR}"/${PN}-6.00.01-dotfont.patch \ |
1517 |
+ "${FILESDIR}"/${PN}-6.00.01-nobyte-compile.patch \ |
1518 |
+ "${FILESDIR}"/${PN}-6.00.01-prop-flags.patch \ |
1519 |
+ "${FILESDIR}"/${PN}-6.00.01-llvm.patch \ |
1520 |
+ "${FILESDIR}"/${PN}-6.00.01-geocad.patch |
1521 |
+ |
1522 |
+ # make sure we use system libs and headers |
1523 |
+ rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die |
1524 |
+ #rm -r graf2d/asimage/src/libAfterImage || die |
1525 |
+ rm -r graf3d/ftgl/{inc,src} || die |
1526 |
+ rm -r graf2d/freetype/src || die |
1527 |
+ rm -r graf3d/glew/{inc,src} || die |
1528 |
+ rm -r core/pcre/src || die |
1529 |
+ rm -r math/unuran/src/unuran-*.tar.gz || die |
1530 |
+ LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | \ |
1531 |
+ xargs -0 rm || die |
1532 |
+ rm -r core/lzma/src/*.tar.gz || die |
1533 |
+ rm graf3d/gl/{inc,src}/gl2ps.* || die |
1534 |
+ sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' \ |
1535 |
+ graf3d/gl/Module.mk || die |
1536 |
+ |
1537 |
+ # In Gentoo, libPythia6 is called libpythia6 |
1538 |
+ # iodbc is in /usr/include/iodbc |
1539 |
+ # pg_config.h is checked instead of libpq-fe.h |
1540 |
+ sed -i \ |
1541 |
+ -e 's:libPythia6:libpythia6:g' \ |
1542 |
+ -e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \ |
1543 |
+ -e 's:libpq-fe.h:pg_config.h:' \ |
1544 |
+ configure || die "adjusting configure for Gentoo failed" |
1545 |
+ |
1546 |
+ # prefixify the configure script |
1547 |
+ sed -i \ |
1548 |
+ -e 's:/usr:${EPREFIX}/usr:g' \ |
1549 |
+ configure || die "prefixify configure failed" |
1550 |
+ |
1551 |
+ # CSS should use local images |
1552 |
+ sed -i -e 's,http://.*/images/,,' etc/html/ROOT.css || die "html sed failed" |
1553 |
+} |
1554 |
+ |
1555 |
+# NB: ROOT uses bundled LLVM, because it is patched and API-incompatible with |
1556 |
+# system LLVM. |
1557 |
+# NB: As of 6.00.0.1 cmake is not ready as it can't fully replace configure, |
1558 |
+# e.g. for afs and geocad. |
1559 |
+ |
1560 |
+src_configure() { |
1561 |
+ local -a myconf |
1562 |
+ # Some compilers need special care |
1563 |
+ case $(tc-getCXX) in |
1564 |
+ *clang++*) |
1565 |
+ myconf=( |
1566 |
+ --with-clang |
1567 |
+ --with-f77="$(tc-getFC)" |
1568 |
+ ) |
1569 |
+ ;; |
1570 |
+ *icc*|*icpc*) |
1571 |
+ # For icc we need to provide architecture manually |
1572 |
+ # and not to tamper with tc-get* |
1573 |
+ use x86 && myconf=( linuxicc ) |
1574 |
+ use amd64 && myconf=( linuxx8664icc ) |
1575 |
+ ;; |
1576 |
+ *) # gcc goes here too |
1577 |
+ myconf=( |
1578 |
+ --with-cc="$(tc-getCC)" |
1579 |
+ --with-cxx="$(tc-getCXX)" |
1580 |
+ --with-f77="$(tc-getFC)" |
1581 |
+ --with-ld="$(tc-getCXX)" |
1582 |
+ ) |
1583 |
+ ;; |
1584 |
+ esac |
1585 |
+ |
1586 |
+ # the configure script is not the standard autotools |
1587 |
+ myconf+=( |
1588 |
+ --prefix="${EPREFIX}/usr" |
1589 |
+ --etcdir="${EPREFIX}/etc/root" |
1590 |
+ --libdir="${EPREFIX}/usr/$(get_libdir)/${PN}" |
1591 |
+ --docdir="${EPREFIX}${DOC_DIR}" |
1592 |
+ --tutdir="${EPREFIX}${DOC_DIR}/examples/tutorials" |
1593 |
+ --testdir="${EPREFIX}${DOC_DIR}/examples/tests" |
1594 |
+ --disable-werror |
1595 |
+ --nohowto |
1596 |
+ ) |
1597 |
+ |
1598 |
+ if use minimal; then |
1599 |
+ myconf+=( $(usex X --gminimal --minimal) ) |
1600 |
+ else |
1601 |
+ myconf+=( |
1602 |
+ --with-afs-shared=yes |
1603 |
+ --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" |
1604 |
+ --disable-builtin-ftgl |
1605 |
+ --disable-builtin-freetype |
1606 |
+ --disable-builtin-glew |
1607 |
+ --disable-builtin-pcre |
1608 |
+ --disable-builtin-zlib |
1609 |
+ --disable-builtin-lzma |
1610 |
+ --enable-astiff |
1611 |
+ --enable-explicitlink |
1612 |
+ --enable-gdml |
1613 |
+ --enable-memstat |
1614 |
+ --enable-shadowpw |
1615 |
+ --enable-shared |
1616 |
+ --enable-soversion |
1617 |
+ --enable-table |
1618 |
+ --fail-on-missing |
1619 |
+ $(use_enable X x11) |
1620 |
+ $(use_enable X asimage) |
1621 |
+ $(use_enable X xft) |
1622 |
+ $(use_enable afs) |
1623 |
+ $(use_enable avahi bonjour) |
1624 |
+ $(use_enable fits fitsio) |
1625 |
+ $(use_enable fftw fftw3) |
1626 |
+ $(use_enable geocad) |
1627 |
+ $(use_enable graphviz gviz) |
1628 |
+ $(use_enable kerberos krb5) |
1629 |
+ $(use_enable ldap) |
1630 |
+ $(use_enable math genvector) |
1631 |
+ $(use_enable math gsl-shared) |
1632 |
+ $(use_enable math mathmore) |
1633 |
+ $(use_enable math minuit2) |
1634 |
+ $(use_enable math roofit) |
1635 |
+ $(use_enable math tmva) |
1636 |
+ $(use_enable math vc) |
1637 |
+ $(use_enable math vdt) |
1638 |
+ $(use_enable math unuran) |
1639 |
+ $(use_enable mysql) |
1640 |
+ $(use_enable odbc) |
1641 |
+ $(use_enable opengl) |
1642 |
+ $(use_enable oracle) |
1643 |
+ $(use_enable postgres pgsql) |
1644 |
+ $(usex postgres \ |
1645 |
+ "--with-pgsql-incdir=$(pg_config --includedir)" "") |
1646 |
+ $(use_enable prefix rpath) |
1647 |
+ $(use_enable pythia6) |
1648 |
+ $(use_enable pythia8) |
1649 |
+ $(use_enable python) |
1650 |
+ $(use_enable qt4 qt) |
1651 |
+ $(use_enable qt4 qtgsi) |
1652 |
+ $(use_enable sqlite) |
1653 |
+ $(use_enable ssl) |
1654 |
+ $(use_enable xml) |
1655 |
+ $(use_enable xrootd) |
1656 |
+ ${EXTRA_ECONF} |
1657 |
+ ) |
1658 |
+ fi |
1659 |
+ |
1660 |
+ ./configure ${myconf[@]} || die "configure failed" |
1661 |
+} |
1662 |
+ |
1663 |
+src_compile() { |
1664 |
+ emake \ |
1665 |
+ OPT="${CXXFLAGS}" \ |
1666 |
+ F77OPT="${FFLAGS}" \ |
1667 |
+ ROOTSYS="${S}" \ |
1668 |
+ LD_LIBRARY_PATH="${S}/lib" |
1669 |
+ use emacs && ! use minimal && elisp-compile build/misc/*.el |
1670 |
+} |
1671 |
+ |
1672 |
+daemon_install() { |
1673 |
+ local daemons="rootd proofd" |
1674 |
+ dodir /var/spool/rootd |
1675 |
+ fowners rootd:rootd /var/spool/rootd |
1676 |
+ dodir /var/spool/rootd/{pub,tmp} |
1677 |
+ fperms 1777 /var/spool/rootd/{pub,tmp} |
1678 |
+ |
1679 |
+ for i in ${daemons}; do |
1680 |
+ newinitd "${FILESDIR}"/${i}.initd ${i} |
1681 |
+ newconfd "${FILESDIR}"/${i}.confd ${i} |
1682 |
+ done |
1683 |
+ if use xinetd; then |
1684 |
+ insinto /etc/xinetd |
1685 |
+ doins "${S}"/etc/daemons/{rootd,proofd}.xinetd |
1686 |
+ fi |
1687 |
+} |
1688 |
+ |
1689 |
+desktop_install() { |
1690 |
+ cd "${S}" |
1691 |
+ echo "Icon=root-system-bin" >> etc/root.desktop |
1692 |
+ domenu etc/root.desktop |
1693 |
+ doicon build/package/debian/root-system-bin.png |
1694 |
+ |
1695 |
+ insinto /usr/share/icons/hicolor/48x48/mimetypes |
1696 |
+ doins build/package/debian/application-x-root.png |
1697 |
+ |
1698 |
+ insinto /usr/share/icons/hicolor/48x48/apps |
1699 |
+ doicon build/package/debian/root-system-bin.xpm |
1700 |
+} |
1701 |
+ |
1702 |
+cleanup_install() { |
1703 |
+ # Cleanup of files either already distributed or unused on Gentoo |
1704 |
+ pushd "${ED}" > /dev/null |
1705 |
+ rm usr/share/root/fonts/LICENSE || die |
1706 |
+ rm etc/root/proof/*.sample || die |
1707 |
+ rm -r etc/root/daemons || die |
1708 |
+ # these should be in PATH |
1709 |
+ mv etc/root/proof/utils/pq2/pq2* usr/bin/ || die |
1710 |
+ rm ${DOC_DIR#/}/{INSTALL,LICENSE} || die |
1711 |
+ use examples || rm -r ${DOC_DIR#/}/examples || die |
1712 |
+} |
1713 |
+ |
1714 |
+src_install() { |
1715 |
+ emake DESTDIR="${D}" install |
1716 |
+ dodoc README.md |
1717 |
+ |
1718 |
+ echo "LDPATH=${EPREFIX%/}/usr/$(get_libdir)/root" > 99root |
1719 |
+ |
1720 |
+ if ! use minimal; then |
1721 |
+ use pythia8 && echo "PYTHIA8=${EPREFIX%/}/usr" >> 99root |
1722 |
+ if use python; then |
1723 |
+ echo "PYTHONPATH=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root |
1724 |
+ python_optimize "${D}/usr/$(get_libdir)/root" |
1725 |
+ fi |
1726 |
+ use emacs && elisp-install ${PN} build/misc/*.{el,elc} |
1727 |
+ if use examples; then |
1728 |
+ # these should really be taken care of by the root make install |
1729 |
+ insinto ${DOC_DIR}/examples/tutorials/tmva |
1730 |
+ doins -r tmva/test |
1731 |
+ fi |
1732 |
+ fi |
1733 |
+ doenvd 99root |
1734 |
+ |
1735 |
+ # The build system installs Emacs support unconditionally in the wrong |
1736 |
+ # directory. Remove it and call elisp-install in case of USE=emacs. |
1737 |
+ rm -r "${ED}"/usr/share/emacs || die |
1738 |
+ |
1739 |
+ daemon_install |
1740 |
+ desktop_install |
1741 |
+ cleanup_install |
1742 |
+} |
1743 |
+ |
1744 |
+pkg_postinst() { |
1745 |
+ fdo-mime_desktop_database_update |
1746 |
+ if [[ -z ${REPLACING_VERSIONS} || |
1747 |
+ $(get_major_version ${REPLACING_VERSIONS}) -lt 6 ]]; then |
1748 |
+ ewarn "ROOT-6 uses Cling instead of CINT. Cling follows the C++ standard much more" |
1749 |
+ ewarn "strictly than CINT, in particular in requires headers to be included and" |
1750 |
+ ewarn "libraries to be properly loaded. Please carefully follow a migration guide:" |
1751 |
+ ewarn "http://root.cern.ch/root/htmldoc/notes/release-notes.html#cling-vs-cint" |
1752 |
+ fi |
1753 |
+} |
1754 |
+ |
1755 |
+pkg_postrm() { |
1756 |
+ fdo-mime_desktop_database_update |
1757 |
+} |
1758 |
|
1759 |
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild |
1760 |
deleted file mode 100644 |
1761 |
index 6c7ccee..0000000 |
1762 |
--- a/sci-physics/root/root-9999.ebuild |
1763 |
+++ /dev/null |
1764 |
@@ -1,410 +0,0 @@ |
1765 |
-# Copyright 1999-2014 Gentoo Foundation |
1766 |
-# Distributed under the terms of the GNU General Public License v2 |
1767 |
-# $Header: $ |
1768 |
- |
1769 |
-EAPI=5 |
1770 |
- |
1771 |
-if [[ ${PV} == "9999" ]] ; then |
1772 |
- _GIT=git-r3 |
1773 |
- EGIT_REPO_URI="http://root.cern.ch/git/root.git" |
1774 |
- SRC_URI="" |
1775 |
- KEYWORDS="" |
1776 |
-else |
1777 |
- SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz" |
1778 |
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
1779 |
-fi |
1780 |
- |
1781 |
-PYTHON_COMPAT=( python2_{6,7} ) |
1782 |
-inherit elisp-common eutils fdo-mime fortran-2 ${_GIT} multilib python-single-r1 toolchain-funcs user versionator |
1783 |
- |
1784 |
-ROOFIT_DOC_PV=2.91-33 |
1785 |
-TMVA_DOC_PV=4.03 |
1786 |
-PATCH_PV=5.28.00b |
1787 |
-PATCH_PV2=5.32.00 |
1788 |
-PATCH_PV3=5.34.05 |
1789 |
-PATCH_PVLIVE=9999 |
1790 |
- |
1791 |
-DESCRIPTION="C++ data analysis framework and interpreter from CERN" |
1792 |
-HOMEPAGE="http://root.cern.ch/" |
1793 |
-SRC_URI="${SRC_URI} |
1794 |
- !minimal? ( doc? ( |
1795 |
- math? ( |
1796 |
- ftp://root.cern.ch/${PN}/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf |
1797 |
- http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf ) |
1798 |
- metric? ( ftp://root.cern.ch/${PN}/doc/ROOTUsersGuideA4.pdf -> ROOTUsersGuideA4-${PV}.pdf ) |
1799 |
- !metric? ( ftp://root.cern.ch/${PN}/doc/ROOTUsersGuideLetter.pdf -> ROOTUsersGuideLetter-${PV}.pdf ) |
1800 |
- htmldoc? ( |
1801 |
- http://root.cern.ch/drupal/sites/default/files/rootdrawing-logo.png |
1802 |
- http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/root-banner.png |
1803 |
- http://root.cern.ch/drupal/sites/all/themes/newsflash/images/info.png ) |
1804 |
- ) )" |
1805 |
- |
1806 |
-SLOT="0" |
1807 |
-LICENSE="LGPL-2.1" |
1808 |
-IUSE="+X afs avahi c++0x doc emacs examples fits fftw geocad graphviz htmldoc |
1809 |
- kerberos ldap +math +metric minimal mpi mysql odbc +opengl openmp oracle postgres |
1810 |
- prefix pythia6 pythia8 python qt4 ruby sqlite ssl xinetd xml xrootd" |
1811 |
- |
1812 |
-REQUIRED_USE=" |
1813 |
- !X? ( !opengl !qt4 ) |
1814 |
- htmldoc? ( doc ) |
1815 |
- mpi? ( math !openmp ) |
1816 |
- openmp? ( math !mpi ) |
1817 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
1818 |
- |
1819 |
-CDEPEND=" |
1820 |
- app-arch/xz-utils |
1821 |
- >=dev-lang/cfortran-4.4-r2 |
1822 |
- dev-libs/libpcre |
1823 |
- media-fonts/dejavu |
1824 |
- media-libs/freetype |
1825 |
- media-libs/giflib |
1826 |
- media-libs/libpng:0 |
1827 |
- media-libs/tiff:0 |
1828 |
- sys-libs/zlib |
1829 |
- virtual/jpeg |
1830 |
- virtual/shadow |
1831 |
- X? ( |
1832 |
- media-libs/ftgl |
1833 |
- media-libs/glew |
1834 |
- x11-libs/libX11 |
1835 |
- x11-libs/libXext |
1836 |
- x11-libs/libXpm |
1837 |
- !minimal? ( |
1838 |
- || ( |
1839 |
- >=media-libs/libafterimage-1.20[gif,jpeg,png,tiff] |
1840 |
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff] |
1841 |
- ) |
1842 |
- opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps ) |
1843 |
- qt4? ( |
1844 |
- dev-qt/qtgui:4 |
1845 |
- dev-qt/qtopengl:4 |
1846 |
- dev-qt/qt3support:4 |
1847 |
- dev-qt/qtsvg:4 |
1848 |
- dev-qt/qtwebkit:4 |
1849 |
- dev-qt/qtxmlpatterns:4 |
1850 |
- ) |
1851 |
- x11-libs/libXft |
1852 |
- ) |
1853 |
- ) |
1854 |
- !minimal? ( |
1855 |
- afs? ( net-fs/openafs ) |
1856 |
- avahi? ( net-dns/avahi ) |
1857 |
- emacs? ( virtual/emacs ) |
1858 |
- fits? ( sci-libs/cfitsio ) |
1859 |
- fftw? ( sci-libs/fftw:3.0 ) |
1860 |
- geocad? ( sci-libs/opencascade ) |
1861 |
- graphviz? ( media-gfx/graphviz ) |
1862 |
- kerberos? ( virtual/krb5 ) |
1863 |
- ldap? ( net-nds/openldap ) |
1864 |
- math? ( sci-libs/gsl sci-mathematics/unuran mpi? ( virtual/mpi ) ) |
1865 |
- mysql? ( virtual/mysql ) |
1866 |
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) |
1867 |
- oracle? ( dev-db/oracle-instantclient-basic ) |
1868 |
- postgres? ( dev-db/postgresql-base ) |
1869 |
- pythia6? ( sci-physics/pythia:6 ) |
1870 |
- pythia8? ( >=sci-physics/pythia-8.1.80:8 ) |
1871 |
- python? ( ${PYTHON_DEPS} ) |
1872 |
- ruby? ( |
1873 |
- dev-lang/ruby |
1874 |
- dev-ruby/rubygems ) |
1875 |
- sqlite? ( dev-db/sqlite:3 ) |
1876 |
- ssl? ( dev-libs/openssl ) |
1877 |
- xml? ( dev-libs/libxml2 ) |
1878 |
- xrootd? ( >=net-libs/xrootd-3.2.0 ) |
1879 |
- )" |
1880 |
- |
1881 |
-DEPEND="${CDEPEND} |
1882 |
- virtual/pkgconfig" |
1883 |
- |
1884 |
-RDEPEND="${CDEPEND} |
1885 |
- xinetd? ( sys-apps/xinetd )" |
1886 |
- |
1887 |
-PDEPEND="htmldoc? ( ~app-doc/root-docs-${PV} )" |
1888 |
- |
1889 |
-S="${WORKDIR}/${PN}" |
1890 |
- |
1891 |
-pkg_setup() { |
1892 |
- fortran-2_pkg_setup |
1893 |
- use python && python-single-r1_pkg_setup |
1894 |
- echo |
1895 |
- elog "There are extra options on packages not yet in Gentoo:" |
1896 |
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite," |
1897 |
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP." |
1898 |
- elog "You can use the env variable EXTRA_ECONF variable for this." |
1899 |
- elog "For example, for SRP, you would set: " |
1900 |
- elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=${EROOT%/}/usr/$(get_libdir)\"" |
1901 |
- echo |
1902 |
- enewgroup rootd |
1903 |
- enewuser rootd -1 -1 /var/spool/rootd rootd |
1904 |
- use minimal && return |
1905 |
- |
1906 |
- if use math; then |
1907 |
- if use openmp; then |
1908 |
- if [[ $(tc-getCXX)$ == *g++* ]] && ! tc-has-openmp; then |
1909 |
- ewarn "You are using a g++ without OpenMP capabilities" |
1910 |
- die "Need an OpenMP capable compiler" |
1911 |
- else |
1912 |
- export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1 |
1913 |
- fi |
1914 |
- elif use mpi; then |
1915 |
- export USE_MPI=1 USE_PARALLEL_MINUIT2=1 |
1916 |
- fi |
1917 |
- fi |
1918 |
- if use c++0x && [[ $(tc-getCXX) == *g++* ]] && \ |
1919 |
- ! version_is_at_least "4.7" "$(gcc-version)"; then |
1920 |
- eerror "You are using a g++ without C++0x capabilities" |
1921 |
- die "Need an C++0x capable compiler" |
1922 |
- fi |
1923 |
-} |
1924 |
- |
1925 |
-src_prepare() { |
1926 |
- epatch \ |
1927 |
- "${FILESDIR}"/${PN}-${PATCH_PV2}-prop-flags.patch \ |
1928 |
- "${FILESDIR}"/${PN}-${PATCH_PV3}-nobyte-compile.patch \ |
1929 |
- "${FILESDIR}"/${PN}-${PATCH_PV}-glibc212.patch \ |
1930 |
- "${FILESDIR}"/${PN}-${PATCH_PV}-unuran.patch \ |
1931 |
- "${FILESDIR}"/${PN}-${PATCH_PV2}-afs.patch \ |
1932 |
- "${FILESDIR}"/${PN}-${PATCH_PV2}-cfitsio.patch \ |
1933 |
- "${FILESDIR}"/${PN}-${PATCH_PV2}-chklib64.patch \ |
1934 |
- "${FILESDIR}"/${PN}-${PATCH_PV2}-dotfont.patch |
1935 |
- |
1936 |
- # make sure we use system libs and headers |
1937 |
- rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die |
1938 |
- rm -r graf2d/asimage/src/libAfterImage || die |
1939 |
- rm -r graf3d/ftgl/{inc,src} || die |
1940 |
- rm -r graf2d/freetype/src || die |
1941 |
- rm -r graf3d/glew/{inc,src} || die |
1942 |
- rm -r core/pcre/src || die |
1943 |
- rm -r math/unuran/src/unuran-*.tar.gz || die |
1944 |
- LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | xargs -0 rm -f || die |
1945 |
- rm -r core/lzma/src/*.tar.gz || die |
1946 |
- rm graf3d/gl/{inc,src}/gl2ps.* || die |
1947 |
- sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' graf3d/gl/Module.mk || die |
1948 |
- |
1949 |
- # In Gentoo, libPythia6 is called libpythia6 |
1950 |
- # libungif is called libgif, |
1951 |
- # iodbc is in /usr/include/iodbc |
1952 |
- # pg_config.h is checked instead of libpq-fe.h |
1953 |
- sed -i \ |
1954 |
- -e 's:libPythia6:libpythia6:g' \ |
1955 |
- -e 's:ungif:gif:g' \ |
1956 |
- -e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \ |
1957 |
- -e 's:libpq-fe.h:pg_config.h:' \ |
1958 |
- configure || die "adjusting configure for Gentoo failed" |
1959 |
- |
1960 |
- # prefixify the configure script |
1961 |
- sed -i \ |
1962 |
- -e 's:/usr:${EPREFIX}/usr:g' \ |
1963 |
- configure || die "prefixify configure failed" |
1964 |
- |
1965 |
- # QTDIR only used for qt3 in gentoo, and configure looks for it. |
1966 |
- unset QTDIR |
1967 |
- |
1968 |
- # Make html docs self-consistent for offline work (based on Fedora spec) |
1969 |
- if use htmldoc && ! use minimal; then |
1970 |
- epatch "${FILESDIR}"/${PN}-${PATCH_PVLIVE}-htmldoc.patch |
1971 |
- # make images local |
1972 |
- sed 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/!!' \ |
1973 |
- -i etc/html/ROOT.css || die "htmldoc sed failed" |
1974 |
- sed 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/!!' \ |
1975 |
- -i etc/html/ROOT.css || die "htmldoc sed failed" |
1976 |
- sed 's!http://root.cern.ch/drupal/sites/default/files/!!' \ |
1977 |
- -i etc/html/header.html || die "htmldoc sed failed" |
1978 |
- |
1979 |
- cp "${DISTDIR}"/{rootdrawing-logo.png,root-banner.png,info.png} etc/html || |
1980 |
- die "htmldoc preparation failed" |
1981 |
- fi |
1982 |
-} |
1983 |
- |
1984 |
-src_configure() { |
1985 |
- # the configure script is not the standard autotools |
1986 |
- local mycommonconf=" |
1987 |
- --prefix="${EPREFIX}"/usr \ |
1988 |
- --etcdir="${EPREFIX}"/etc/root \ |
1989 |
- --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \ |
1990 |
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
1991 |
- --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \ |
1992 |
- --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \ |
1993 |
- --with-cc=$(tc-getCC) \ |
1994 |
- --with-cxx=$(tc-getCXX) \ |
1995 |
- --with-f77=$(tc-getFC) \ |
1996 |
- --with-ld=$(tc-getCXX) \ |
1997 |
- --nohowto |
1998 |
- " |
1999 |
- if use minimal; then |
2000 |
- ./configure \ |
2001 |
- ${mycommonconf} \ |
2002 |
- $(usex X --gminimal --minimal) \ |
2003 |
- || die "configure failed" |
2004 |
- return |
2005 |
- fi |
2006 |
- ./configure \ |
2007 |
- ${mycommonconf} \ |
2008 |
- --with-afs-shared=yes \ |
2009 |
- --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \ |
2010 |
- --disable-builtin-afterimage \ |
2011 |
- --disable-builtin-ftgl \ |
2012 |
- --disable-builtin-freetype \ |
2013 |
- --disable-builtin-glew \ |
2014 |
- --disable-builtin-pcre \ |
2015 |
- --disable-builtin-zlib \ |
2016 |
- --disable-builtin-lzma \ |
2017 |
- --enable-astiff \ |
2018 |
- --enable-explicitlink \ |
2019 |
- --enable-gdml \ |
2020 |
- --enable-memstat \ |
2021 |
- --enable-shadowpw \ |
2022 |
- --enable-shared \ |
2023 |
- --enable-soversion \ |
2024 |
- --enable-table \ |
2025 |
- --fail-on-missing \ |
2026 |
- $(use_enable X x11) \ |
2027 |
- $(use_enable X asimage) \ |
2028 |
- $(use_enable X xft) \ |
2029 |
- $(use_enable afs) \ |
2030 |
- $(use_enable avahi bonjour) \ |
2031 |
- $(use_enable c++0x c++11) \ |
2032 |
- $(use_enable fits fitsio) \ |
2033 |
- $(use_enable fftw fftw3) \ |
2034 |
- $(use_enable geocad) \ |
2035 |
- $(use_enable graphviz gviz) \ |
2036 |
- $(use_enable kerberos krb5) \ |
2037 |
- $(use_enable ldap) \ |
2038 |
- $(use_enable math gsl-shared) \ |
2039 |
- $(use_enable math genvector) \ |
2040 |
- $(use_enable math mathmore) \ |
2041 |
- $(use_enable math minuit2) \ |
2042 |
- $(use_enable math roofit) \ |
2043 |
- $(use_enable math tmva) \ |
2044 |
- $(use_enable math unuran) \ |
2045 |
- $(use_enable math vc) \ |
2046 |
- $(use_enable mysql) \ |
2047 |
- $(use_enable odbc) \ |
2048 |
- $(use_enable opengl) \ |
2049 |
- $(use_enable oracle) \ |
2050 |
- $(use_enable postgres pgsql) \ |
2051 |
- $(usex postgres "--with-pgsql-incdir=$(pg_config --includedir)" "") \ |
2052 |
- $(use_enable prefix rpath) \ |
2053 |
- $(use_enable pythia6) \ |
2054 |
- $(use_enable pythia8) \ |
2055 |
- $(use_enable python) \ |
2056 |
- $(use_enable qt4 qt) \ |
2057 |
- $(use_enable qt4 qtgsi) \ |
2058 |
- $(use_enable ruby) \ |
2059 |
- $(use_enable sqlite) \ |
2060 |
- $(use_enable ssl) \ |
2061 |
- $(use_enable xml) \ |
2062 |
- $(use_enable xrootd) \ |
2063 |
- ${EXTRA_ECONF} \ |
2064 |
- || die "configure failed" |
2065 |
-} |
2066 |
- |
2067 |
-src_compile() { |
2068 |
- emake OPT="${CXXFLAGS}" F77OPT="${FFLAGS}" ROOTSYS="${S}" LD_LIBRARY_PATH="${S}/lib" |
2069 |
- if use emacs && ! use minimal; then |
2070 |
- elisp-compile build/misc/*.el || die "elisp-compile failed" |
2071 |
- fi |
2072 |
-} |
2073 |
- |
2074 |
-doc_install() { |
2075 |
- cd "${S}" |
2076 |
- if use doc && ! use minimal; then |
2077 |
- einfo "Installing user's guides" |
2078 |
- if use metric; then |
2079 |
- dodoc "${DISTDIR}"/ROOTUsersGuideA4-${PV}.pdf |
2080 |
- else |
2081 |
- dodoc "${DISTDIR}"/ROOTUsersGuideLetter-${PV}.pdf |
2082 |
- fi |
2083 |
- use math && dodoc \ |
2084 |
- "${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \ |
2085 |
- "${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf |
2086 |
- fi |
2087 |
- |
2088 |
- if use examples && ! use minimal; then |
2089 |
- # these should really be taken care of by the root make install |
2090 |
- insinto /usr/share/doc/${PF}/examples/tutorials/tmva |
2091 |
- doins -r tmva/test |
2092 |
- else |
2093 |
- rm -r "${ED}"/usr/share/doc/${PF}/examples || die |
2094 |
- fi |
2095 |
-} |
2096 |
- |
2097 |
-daemon_install() { |
2098 |
- cd "${S}" |
2099 |
- local daemons="rootd proofd" |
2100 |
- dodir /var/spool/rootd |
2101 |
- fowners rootd:rootd /var/spool/rootd |
2102 |
- dodir /var/spool/rootd/{pub,tmp} |
2103 |
- fperms 1777 /var/spool/rootd/{pub,tmp} |
2104 |
- |
2105 |
- for i in ${daemons}; do |
2106 |
- newinitd "${FILESDIR}"/${i}.initd ${i} |
2107 |
- newconfd "${FILESDIR}"/${i}.confd ${i} |
2108 |
- done |
2109 |
- if use xinetd; then |
2110 |
- insinto /etc/xinetd |
2111 |
- doins etc/daemons/{rootd,proofd}.xinetd |
2112 |
- fi |
2113 |
-} |
2114 |
- |
2115 |
-desktop_install() { |
2116 |
- cd "${S}" |
2117 |
- echo "Icon=root-system-bin" >> etc/root.desktop |
2118 |
- domenu etc/root.desktop |
2119 |
- doicon build/package/debian/root-system-bin.png |
2120 |
- |
2121 |
- insinto /usr/share/icons/hicolor/48x48/mimetypes |
2122 |
- doins build/package/debian/application-x-root.png |
2123 |
- |
2124 |
- insinto /usr/share/icons/hicolor/48x48/apps |
2125 |
- doicon build/package/debian/root-system-bin.xpm |
2126 |
-} |
2127 |
- |
2128 |
-src_install() { |
2129 |
- emake DESTDIR="${D}" install |
2130 |
- |
2131 |
- echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/root" > 99root |
2132 |
- if ! use minimal; then |
2133 |
- use pythia8 && echo "PYTHIA8=${EPREFIX}/usr" >> 99root |
2134 |
- if use python; then |
2135 |
- echo "PYTHONPATH=${EPREFIX}/usr/$(get_libdir)/root" >> 99root |
2136 |
- python_optimize "${ED}/usr/$(get_libdir)/root" |
2137 |
- fi |
2138 |
- use ruby && echo "RUBYLIB=${EPREFIX}/usr/$(get_libdir)/root" >> 99root |
2139 |
- fi |
2140 |
- doenvd 99root |
2141 |
- |
2142 |
- # The build system installs Emacs support unconditionally and in the wrong |
2143 |
- # directory. Remove it and call elisp-install in case of USE=emacs. |
2144 |
- rm -r "${ED}"/usr/share/emacs |
2145 |
- if use emacs && ! use minimal; then |
2146 |
- elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed" |
2147 |
- fi |
2148 |
- |
2149 |
- doc_install |
2150 |
- daemon_install |
2151 |
- desktop_install |
2152 |
- |
2153 |
- # Cleanup of files either already distributed or unused on Gentoo |
2154 |
- rm "${ED}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT} || die |
2155 |
- rm "${ED}"usr/share/root/fonts/LICENSE || die |
2156 |
- pushd "${ED}"usr/$(get_libdir)/root/cint/cint/lib > /dev/null |
2157 |
- rm posix/mktypes dll_stl/setup \ |
2158 |
- G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o || die |
2159 |
- rm "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib || die |
2160 |
- rm "${ED}"/etc/root/proof/*.sample || die |
2161 |
- rm -r "${ED}"/etc/root/daemons || die |
2162 |
- popd > /dev/null |
2163 |
- # these should be in PATH |
2164 |
- mv "${ED}"etc/root/proof/utils/pq2/pq2* \ |
2165 |
- "${ED}"usr/bin/ || die |
2166 |
-} |
2167 |
- |
2168 |
-pkg_postinst() { |
2169 |
- fdo-mime_desktop_database_update |
2170 |
-} |
2171 |
- |
2172 |
-pkg_postrm() { |
2173 |
- fdo-mime_desktop_database_update |
2174 |
-} |
2175 |
|
2176 |
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild |
2177 |
new file mode 120000 |
2178 |
index 0000000..b46789a |
2179 |
--- /dev/null |
2180 |
+++ b/sci-physics/root/root-9999.ebuild |
2181 |
@@ -0,0 +1 @@ |
2182 |
+root-6.00.01.ebuild |
2183 |
\ No newline at end of file |