Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/, sci-physics/root/files/
Date: Sat, 26 Sep 2015 08:45:39
Message-Id: 1443257057.0d851cd3d2df0cee4e1b9c7ca7c481fa2caceed4.bircoph@gentoo
1 commit: 0d851cd3d2df0cee4e1b9c7ca7c481fa2caceed4
2 Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
3 AuthorDate: Sat Sep 26 08:21:13 2015 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 26 08:44:17 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d851cd3
7
8 sci-physics/root: remove old version
9
10 Remove old and broken 5.32 branch with related patches and USE
11 flags.
12
13 sci-physics/root/Manifest | 7 -
14 .../root/files/root-5.28.00b-asneeded.patch | 20 --
15 .../root/files/root-5.28.00b-prop-ldflags.patch | 13 -
16 sci-physics/root/files/root-5.28.00b-unuran.patch | 39 ---
17 .../files/root-5.32.00-explicit-functions.patch | 18 -
18 sci-physics/root/files/root-5.32.00-htmldoc.patch | 12 -
19 .../root/files/root-5.32.00-nobyte-compile.patch | 137 --------
20 sci-physics/root/metadata.xml | 2 -
21 sci-physics/root/root-5.32.03-r2.ebuild | 378 ---------------------
22 9 files changed, 626 deletions(-)
23
24 diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
25 index 65d6949..3bf0acc 100644
26 --- a/sci-physics/root/Manifest
27 +++ b/sci-physics/root/Manifest
28 @@ -1,10 +1,3 @@
29 -DIST ROOTUsersGuide.pdf 9124822 SHA256 70a96c4a2573dc0d320142f86993ecfda24caa755e910340a3014120f2997c8b SHA512 c3b4c18ef2e13968afdf67c6003249d4cfe6ea661fa32ce25127361bae7e3376a25cd3b11591292f3975bcd8105291aca52f2f6214c9fe45f4bd6e7e44d54b25 WHIRLPOOL 11256ba7837d17e5795cf71ac32db43d7d8f797bfbddf5f71612fe2f8fb2e01354372c0ea8f0bc22868881eb0bfdc8a3e3f1b05293d2750d293aa4d59217b2e6
30 -DIST RooFit_Users_Manual_2.91-33.pdf 1330062 SHA256 101c4e4c41962238fcabf1caa86cafc51241a1800594491b2e62ef8b565a5646 SHA512 732d7dea3541b51e5f0b9b5b70dae57e1bdbb2504c4222d5e5095ec0f9b67307011c1f31c2c95be419b53dd8426f52f62f6c9370084208176a2ed3d7f25d783b WHIRLPOOL 033897bef4bdb13246a81ea6749f7895e6c4d639752e932130234ad9153bb399a4e5d416237850da27f139d3cccc53d9adb7a077abf20d257ce057157d6c3696
31 -DIST TMVAUsersGuide-v4.03.pdf 3913533 SHA256 0cdbb4a2d19eb7a86e2911cfa73a905932e862d6c94be10b7662a9355b0241af SHA512 d8bb2ce35ef32c4877059898f56513db0b1057924e21935a3d3a6f114748e167984c43fd2ec7e54197fccff875540543968fea9a8e75bf63f5f13521724a7ddb WHIRLPOOL 0a3e2e61e8e32f3a22757178adf033f9fbb89014aecd4df7f8bd49677d772bb3ad2c0f5526259611879f6bb20df647c01e23f53ade483d7a3e2242f8aee6c6aa
32 -DIST info.png 2060 SHA256 51de6661250f3fb71c6c8250cbc4bdc4dc4283cc90240b4dc1ee6168e8d40279 SHA512 81a730eefbe7a7e15d5840491402c7644bf7ed5d5f8f3830ed9457b343cc7882480e993ea84aef93500742cd0fe8469859cd2c925e5582b91ef56406804ae276 WHIRLPOOL 02ea6daf9e3d21947ebf5dd01c455a13f2fcbf9981be34a150056a3510122ca49e3d137d4f242c7218d4d06ace09566d513a04f09071723ac244f5a38e982bac
33 -DIST root-banner.png 132555 SHA256 d165e1cc175f654ff79af39193a6144678f600e14a53dd20e2b216b3e8951e94 SHA512 139347f396e88c8062d847d612949204cb80e551a826d926950ca8ab967f0d496487fed17a227fc796ae4db23fca758d91a0af7943142adbed358e98d7667b1f WHIRLPOOL dd23e26acf9303b404cda8135d6946af3b1abba3dfdff8d80e56096f810d50a01ebfb52dc1e6ee1d1b99fbb5859dc850e0e368155339b5007294d95ce8909857
34 -DIST root_v5.32.03.source.tar.gz 55529362 SHA256 575057c429625df69f0fa5c303287acefff185cda8cf8d1e9a6b2d21097d5ae6 SHA512 2e067eb9c6bbda5cf4df6973a3cf5307540247fb07c349f7ee74c0cf6a4abbb63f585a9ff67139cae985250fc5c5106b5ea03d7d9d2bcd20269e0ec8760ebd02 WHIRLPOOL 87dbf6f55f82001e07afc3b467e95f841f185f1f67d1dbd953f73e8aa9127ef8485db84100d6e9a08f0ae6aa5b45a565398eb6723145fff16c07e5158bb3e3ab
35 DIST root_v5.34.26.source.tar.gz 75171961 SHA256 c1fd2a249bb7210914b42e35dba4f1262cfa46b79ef7a41f73d7f08f8c54a643 SHA512 f5da5e20d1763608a32d78c48581e574a3f51aef47ecf6987a4064d1fb3234dfc9f626e041a17213f881f52f807ed6a6da60bf1d24951fa7dc2cadd94f8dd8b4 WHIRLPOOL 77b48b815c971642da68b71732a0ea3372648634281be634037b13cb58488f7075ec8bfc9a684e55d85cd9b038f229be29b19a15dfc829f0ce63a5f17241c23c
36 DIST root_v5.34.32.source.tar.gz 75170203 SHA256 939c7592802a54b6cbc593efb6e51699bf52e92baf6d6b20f486aaa08480fc5f SHA512 6485f2bb544947173e1feb2cfb41d6a176020027f1193d9388700a797ba4badbf497022e6129fdc4879e709460bf1efabf3e51c51840f0c781fa12e631419afc WHIRLPOOL 695147a519415b99e73fdad1cd61bb1944e292628236b5a7cbf1835174c950fa9cb068431a8164f24663323163012ea652db84d082f9f1eb1fcae79489575d9e
37 DIST root_v6.02.05.source.tar.gz 99121880 SHA256 7a5d4af171ba3b8a736c462b2041f8f35bd4c1d3b6a22c32a3ebd3ffe144ae60 SHA512 b30bc4aafe294ee069ee4c884ff70c983539a48eda586cd1938d00d4688f10e94a435640965b89c6d100fdd998453a4c1ae2109d5f1427f23865a868c561d684 WHIRLPOOL de363835fa00ffa0ff6e596b3c92b59ed59378bac3a344c066f7603d6104058203f76181d4c15478fd9066aedbe6a514257d5796feedb2d5d0d789b263e92955
38 -DIST rootdrawing-logo.png 15051 SHA256 1dfd913cad53a3ebd6bf560d14df918cab5a295cc7d155944a8e27284af83a6b SHA512 14aa13ebfed3c9412d7d7d04c250740b25fe3af6bcb07e618045a5cec2dc23698a251fd7df2db1a6c37331084db99b029b387ea81c25ac825fc7ae10ad164a68 WHIRLPOOL 877a959a5aead73ba69dbb805c9869cbd6a047ea476bd4e7fef80781563a61d20dad49dd4d8b0005bfc58e8f7c7d38efbb3e085a95974feb81dfc9e339c18741
39
40 diff --git a/sci-physics/root/files/root-5.28.00b-asneeded.patch b/sci-physics/root/files/root-5.28.00b-asneeded.patch
41 deleted file mode 100644
42 index b845247..0000000
43 --- a/sci-physics/root/files/root-5.28.00b-asneeded.patch
44 +++ /dev/null
45 @@ -1,20 +0,0 @@
46 ---- root.orig/configure 2010-12-20 07:17:54.000000000 +0000
47 -+++ root/configure 2010-12-20 07:16:05.000000000 +0000
48 -@@ -709,7 +709,7 @@
49 - cat <<EOF > conftest.mk
50 - include ${ac_srcdir}/config/Makefile.${arch}
51 - conftest: conftest.c
52 -- \$(CC) \$(CFLAGS) \$(LDFLAGS) $linkdir $linklib \$< -o \$@
53 -+ \$(CC) \$(CFLAGS) \$(LDFLAGS) \$< $linkdir $linklib -o \$@
54 -
55 - conftest.c:
56 - echo "int main() { return 0; }" > \$@
57 -@@ -723,7 +723,7 @@
58 - cat <<EOF > conftest.mk
59 - include ${ac_srcdir}/config/Makefile.${arch}
60 - conftest:conftest.c
61 -- \$(CC) \$(CFLAGS) \$(LDFLAGS) $linkdir $linklib \$< -o \$@
62 -+ \$(CC) \$(CFLAGS) \$(LDFLAGS) \$< $linkdir $linklib -o \$@
63 -
64 - conftest.c:
65 - echo "extern int $linksymbol (); " > \$@
66
67 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
68 deleted file mode 100644
69 index 7324319..0000000
70 --- a/sci-physics/root/files/root-5.28.00b-prop-ldflags.patch
71 +++ /dev/null
72 @@ -1,13 +0,0 @@
73 -diff -Naur root.orig/config/Makefile.in root/config/Makefile.in
74 ---- root.orig/config/Makefile.in 2010-12-14 17:20:26.000000000 +0300
75 -+++ root/config/Makefile.in 2010-12-17 22:33:34.902161458 +0300
76 -@@ -27,7 +27,7 @@
77 -
78 - EXTRA_CFLAGS := -Iinclude @cflags@
79 - EXTRA_CXXFLAGS := -Iinclude @cflags@
80 --EXTRA_LDFLAGS := @ldflags@
81 -+EXTRA_LDFLAGS := @ldflags@ $(LDFLAGS)
82 - WINRTDEBUG := @winrtdebug@
83 -
84 - GLBPATCHFLAGS := @glbpatchcflags@
85 -
86
87 diff --git a/sci-physics/root/files/root-5.28.00b-unuran.patch b/sci-physics/root/files/root-5.28.00b-unuran.patch
88 deleted file mode 100644
89 index 76422da..0000000
90 --- a/sci-physics/root/files/root-5.28.00b-unuran.patch
91 +++ /dev/null
92 @@ -1,39 +0,0 @@
93 -diff -ur root-trunk.orig/math/unuran/Module.mk root-trunk/math/unuran/Module.mk
94 ---- root.orig/math/unuran/Module.mk 2010-11-25 20:41:32.000000000 +0100
95 -+++ root/math/unuran/Module.mk 2010-11-25 20:51:47.190704977 +0100
96 -@@ -20,7 +20,7 @@
97 - UNURANETAG := $(call stripsrc,$(UNURANDIRS)/headers.d)
98 - UNRCFG := $(call stripsrc,$(UNURANDIRS)/$(UNRVERS)/config.h)
99 -
100 --UNRTARCONTENT:=$(subst $(UNRVERS),$(UNRDIRS),$(shell mkdir -p $(UNRDIR); cd $(UNRDIR); gunzip -c $(UNRSRCS) | tar tf -))
101 -+UNRTARCONTENT:=
102 - UNRS := $(filter %.c, \
103 - $(filter $(UNRDIRS)/src/utils/%,$(UNRTARCONTENT)) \
104 - $(filter $(UNRDIRS)/src/methods/%,$(UNRTARCONTENT)) \
105 -@@ -69,10 +69,9 @@
106 - ##### local rules #####
107 - .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME)
108 -
109 --include/%.h: $(UNURANDIRI)/%.h $(UNURANETAG)
110 -+include/%.h: $(UNURANDIRI)/%.h
111 - cp $< $@
112 -
113 --$(UNURANDEP): $(UNRCFG)
114 - $(UNRS): $(UNURANETAG)
115 -
116 - $(UNURANETAG): $(UNRSRCS)
117 -@@ -125,12 +124,12 @@
118 - GNUMAKE=$(MAKE) ./configure CC="$$ACC" \
119 - CFLAGS="$$ACFLAGS");
120 -
121 --$(UNURANLIB): $(UNRCFG) $(UNRO) $(UNURANO) $(UNURANDO) $(ORDER_) \
122 -+$(UNURANLIB): $(UNURANO) $(UNURANDO) $(ORDER_) \
123 - $(MAINLIBS) $(UNURANLIBDEP)
124 - @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
125 - "$(SOFLAGS)" libUnuran.$(SOEXT) $@ \
126 - "$(UNURANO) $(UNURANDO)" \
127 -- "$(UNURANLIBEXTRA) $(UNRO)"
128 -+ "$(UNURANLIBEXTRA) -lunuran"
129 -
130 - $(UNURANDS): $(UNRINIT) $(UNURANDH1) $(UNURANL) $(ROOTCINTTMPDEP)
131 - $(MAKEDIR)
132
133 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
134 deleted file mode 100644
135 index 570d61e..0000000
136 --- a/sci-physics/root/files/root-5.32.00-explicit-functions.patch
137 +++ /dev/null
138 @@ -1,18 +0,0 @@
139 ---- root/io/io/Module.mk.orig 2012-02-29 19:46:38.000000000 +0400
140 -+++ root/io/io/Module.mk 2012-03-09 02:29:19.905665572 +0400
141 -@@ -67,15 +67,5 @@
142 - distclean:: distclean-$(MODNAME)
143 -
144 - ##### extra rules ######
145 --#ifeq ($(GCC_VERS_FULL),gcc-4.4.0)
146 --ifeq ($(GCC_VERS),gcc-4.4)
147 --ifneq ($(filter -O%,$(OPT)),)
148 - $(call stripsrc,$(IODIRS)/TStreamerInfoReadBuffer.o): CXXFLAGS += -DR__EXPLICIT_FUNCTION_INSTANTIATION
149 --endif
150 --endif
151 --ifeq ($(GCC_VERS),gcc-4.5)
152 --ifneq ($(filter -O%,$(OPT)),)
153 - $(call stripsrc,$(IODIRS)/TStreamerInfoReadBuffer.o): CXXFLAGS += -DR__EXPLICIT_FUNCTION_INSTANTIATION
154 --endif
155 --endif
156 --
157
158 diff --git a/sci-physics/root/files/root-5.32.00-htmldoc.patch b/sci-physics/root/files/root-5.32.00-htmldoc.patch
159 deleted file mode 100644
160 index 3b80b39..0000000
161 --- a/sci-physics/root/files/root-5.32.00-htmldoc.patch
162 +++ /dev/null
163 @@ -1,12 +0,0 @@
164 ---- root/html/src/THtml.cxx.orig 2012-05-25 16:18:10.000000000 +0400
165 -+++ root/html/src/THtml.cxx 2012-05-29 19:22:40.810563296 +0400
166 -@@ -1913,6 +1913,9 @@
167 - void THtml::CreateStyleSheet() const {
168 - // Write the default ROOT style sheet.
169 - CopyFileFromEtcDir("ROOT.css");
170 -+ CopyFileFromEtcDir("info.png");
171 -+ CopyFileFromEtcDir("root-banner.png");
172 -+ CopyFileFromEtcDir("rootdrawing-logo.png");
173 - CopyFileFromEtcDir("shadowAlpha.png");
174 - CopyFileFromEtcDir("shadow.gif");
175 - }
176
177 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
178 deleted file mode 100644
179 index 179e579..0000000
180 --- a/sci-physics/root/files/root-5.32.00-nobyte-compile.patch
181 +++ /dev/null
182 @@ -1,137 +0,0 @@
183 -diff -Naur root.as-needed/Makefile root/Makefile
184 ---- root.as-needed/Makefile 2011-07-10 10:42:49.758191296 +0400
185 -+++ root/Makefile 2011-07-10 10:43:21.493339703 +0400
186 -@@ -1167,10 +1167,7 @@
187 - if test "x$(RFLX_GRFLXPY)" != "x"; then \
188 - rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPY); \
189 - fi; \
190 -- if test "x$(RFLX_GRFLXPYC)" != "x"; then \
191 -- rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPYC); \
192 -- fi; \
193 -- if test "x$(RFLX_GRFLXPY)$(RFLX_GRFLXPYC)" != "x"; then \
194 -+ if test "x$(RFLX_GRFLXPY)" != "x"; then \
195 - dir=$(RFLX_GRFLXDD:lib/=); \
196 - while test "x$${dir}" != "x" && \
197 - test -d $(DESTDIR)$(LIBDIR)/$${dir} && \
198 -diff -Naur root.as-needed/bindings/pyroot/Module.mk root/bindings/pyroot/Module.mk
199 ---- root.as-needed/bindings/pyroot/Module.mk 2011-07-10 10:42:48.991561304 +0400
200 -+++ root/bindings/pyroot/Module.mk 2011-07-10 10:43:21.493339703 +0400
201 -@@ -48,8 +48,6 @@
202 - ROOTPY := $(subst $(MODDIR),$(LPATH),$(ROOTPYS))
203 - $(LPATH)/%.py: $(MODDIR)/%.py; cp $< $@
204 - endif
205 --ROOTPYC := $(ROOTPY:.py=.pyc)
206 --ROOTPYO := $(ROOTPY:.py=.pyo)
207 -
208 - # used in the main Makefile
209 - ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYROOTH))
210 -@@ -68,10 +66,8 @@
211 - include/%.h: $(PYROOTDIRI)/%.h
212 - cp $< $@
213 -
214 --%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )'
215 --%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )'
216 -
217 --$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) $(ROOTPYC) $(ROOTPYO) \
218 -+$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) \
219 - $(ROOTLIBSDEP) $(PYTHONLIBDEP)
220 - @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
221 - "$(SOFLAGS)" libPyROOT.$(SOEXT) $@ \
222 -@@ -113,7 +109,7 @@
223 -
224 - distclean-$(MODNAME): clean-$(MODNAME)
225 - @rm -f $(PYROOTDEP) $(PYROOTDS) $(PYROOTDH) $(PYROOTLIB) \
226 -- $(ROOTPY) $(ROOTPYC) $(ROOTPYO) $(PYROOTMAP) \
227 -+ $(ROOTPY) $(PYROOTMAP) \
228 - $(PYROOTPYD) $(PYTHON64DEP) $(PYTHON64)
229 -
230 - distclean:: distclean-$(MODNAME)
231 -diff -Naur root.as-needed/build/package/debian/rules root/build/package/debian/rules
232 ---- root.as-needed/build/package/debian/rules 2011-07-10 10:42:49.241549346 +0400
233 -+++ root/build/package/debian/rules 2011-07-10 10:48:06.989670589 +0400
234 -@@ -691,10 +691,6 @@
235 - -X$(SYSCONFDIR)/root/system.rootauthrc \
236 - -X$(SYSCONFDIR)/root/system.rootdaemonrc \
237 - -X$(PREFIX)/lib/root/$(SOVERS)/libAfterImage.a \
238 -- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyc \
239 -- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyo \
240 -- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyc \
241 -- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyo \
242 - -X$(PREFIX)/lib/root/$(SOVERS)/cint7 \
243 - -X$(PREFIX)/include/root/Minuit2
244 - # $(foreach i, \
245 -diff -Naur root.as-needed/cint/cintex/Module.mk root/cint/cintex/Module.mk
246 ---- root.as-needed/cint/cintex/Module.mk 2011-07-10 10:42:49.104889217 +0400
247 -+++ root/cint/cintex/Module.mk 2011-07-10 10:43:21.496672876 +0400
248 -@@ -31,10 +31,6 @@
249 - CINTEXPY := $(subst $(MODDIR)/python,$(LPATH),$(CINTEXPYS))
250 - $(LPATH)/%.py: $(MODDIR)/python/%.py; cp $< $@
251 - endif
252 --ifneq ($(BUILDPYTHON),no)
253 --CINTEXPYC := $(CINTEXPY:.py=.pyc)
254 --CINTEXPYO := $(CINTEXPY:.py=.pyo)
255 --endif
256 -
257 - # used in the main Makefile
258 - ALLHDRS += $(patsubst $(MODDIRI)/Cintex/%.h,include/Cintex/%.h,$(CINTEXH))
259 -@@ -86,8 +82,6 @@
260 - fi)
261 - cp $< $@
262 -
263 --%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )'
264 --%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )'
265 -
266 - $(CINTEXLIB): $(CINTEXO) $(CINTEXPY) $(CINTEXPYC) $(CINTEXPYO) \
267 - $(ORDER_) $(subst $(CINTEXLIB),,$(MAINLIBS)) $(CINTEXLIBDEP)
268 -diff -Naur root.as-needed/cint/reflex/Module.mk root/cint/reflex/Module.mk
269 ---- root.as-needed/cint/reflex/Module.mk 2011-07-10 10:42:49.074890651 +0400
270 -+++ root/cint/reflex/Module.mk 2011-07-10 10:43:21.496672876 +0400
271 -@@ -48,9 +48,6 @@
272 - RFLX_GRFLXS := $(wildcard $(RFLX_GRFLXSD)/*.py)
273 - RFLX_GRFLXPY := $(patsubst $(RFLX_GRFLXSD)/%.py,$(RFLX_GRFLXDD)/%.py,$(RFLX_GRFLXS))
274 - RFLX_GRFLXPY += $(RFLX_GCCXMLPATHPY)
275 --ifneq ($(BUILDPYTHON),no)
276 --RFLX_GRFLXPYC := $(subst .py,.pyc,$(RFLX_GRFLXPY))
277 --endif
278 -
279 - RFLX_LIBDIR = $(LIBDIR)
280 -
281 -@@ -92,7 +89,7 @@
282 -
283 - ALLEXECS += $(RFLX_GENMAPX)
284 -
285 --POSTBIN += $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY)
286 -+POSTBIN += $(RFLX_GRFLXPY)
287 -
288 - ##### local rules #####
289 - .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) \
290 -@@ -122,8 +119,6 @@
291 - mkdir -p lib/python/genreflex; fi )
292 - cp $< $@
293 -
294 --$(RFLX_GRFLXDD)/%.pyc: $(RFLX_GRFLXDD)/%.py
295 -- @python -c 'import py_compile; py_compile.compile( "$<" )'
296 -
297 - $(RFLX_GENMAPO) : CXXFLAGS += -I$(REFLEXDIRS)/genmap
298 -
299 -@@ -149,7 +144,7 @@
300 - $(RLIBMAP) -o $@ -l $(REFLEXDICTLIB) \
301 - -d $(REFLEXDICTLIBDEPM) -c $(REFLEXL)
302 -
303 --all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY)
304 -+all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPY)
305 -
306 - clean-genreflex:
307 - @rm -rf lib/python/genreflex
308 -diff -Naur root.as-needed/cint/reflex/python/CMakeLists.txt root/cint/reflex/python/CMakeLists.txt
309 ---- root.as-needed/cint/reflex/python/CMakeLists.txt 2011-07-10 10:42:49.074890651 +0400
310 -+++ root/cint/reflex/python/CMakeLists.txt 2011-07-10 10:43:21.496672876 +0400
311 -@@ -15,7 +15,7 @@
312 - ##################### sources ####################
313 -
314 - FILE(GLOB_RECURSE GENREFLEX_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} genreflex/*.py)
315 --SET(GENREFLEX_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/genreflex/genreflex.pyc PARENT_SCOPE)
316 -+SET(GENREFLEX_SCRIPT PARENT_SCOPE)
317 -
318 - ##################### gccxmlpath ####################
319 -
320
321 diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
322 index 2d5f75a..86bcf98 100644
323 --- a/sci-physics/root/metadata.xml
324 +++ b/sci-physics/root/metadata.xml
325 @@ -17,11 +17,9 @@
326 <use>
327 <flag name="c++11"> Build ROOT using the C++11 standard</flag>
328 <flag name="c++14"> Build ROOT using the C++14 standard</flag>
329 - <flag name="clarens"> Build the Clarens and PEAC plug-ins, to use in a GRID enabled analysis</flag>
330 <flag name="fits">Support for images and data from FITS files with <pkg>sci-libs/cfitsio</pkg></flag>
331 <flag name="gdml">Enable GDML writer and reader</flag>
332 <flag name="geocad">Enable ROOT-CAD interface using <pkg>sci-libs/opencascade</pkg></flag>
333 - <flag name="htmldoc">Generate html documentation</flag>
334 <flag name="http">Enable http server support including but not limited to fastcgi support</flag>
335 <flag name="math">Build all math related libraries plugins, needs <pkg>sci-libs/gsl</pkg> </flag>
336 <flag name="memstat">Build memory statistics library, helps to detect memory leaks</flag>
337
338 diff --git a/sci-physics/root/root-5.32.03-r2.ebuild b/sci-physics/root/root-5.32.03-r2.ebuild
339 deleted file mode 100644
340 index 7b03c47..0000000
341 --- a/sci-physics/root/root-5.32.03-r2.ebuild
342 +++ /dev/null
343 @@ -1,378 +0,0 @@
344 -# Copyright 1999-2015 Gentoo Foundation
345 -# Distributed under the terms of the GNU General Public License v2
346 -# $Id$
347 -
348 -EAPI=4
349 -
350 -PYTHON_DEPEND="python? 2"
351 -
352 -if [[ ${PV} == "9999" ]] ; then
353 - _SVN=subversion
354 - ESVN_REPO_URI="https://root.cern.ch/svn/root/trunk"
355 - ESVN_OPTIONS="--non-interactive --trust-server-cert"
356 - SRC_URI=""
357 - KEYWORDS=""
358 -else
359 - SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz"
360 - KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
361 -fi
362 -
363 -inherit elisp-common eutils fdo-mime fortran-2 multilib python toolchain-funcs user ${_SVN}
364 -
365 -ROOFIT_DOC_PV=2.91-33
366 -TMVA_DOC_PV=4.03
367 -PATCH_PV=5.28.00b
368 -PATCH_PV2=5.32.00
369 -
370 -DESCRIPTION="C++ data analysis framework and interpreter from CERN"
371 -HOMEPAGE="http://root.cern.ch/"
372 -SRC_URI="${SRC_URI}
373 - doc? ( ftp://root.cern.ch/${PN}/doc/ROOTUsersGuide.pdf
374 - math? (
375 - ftp://root.cern.ch/${PN}/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
376 - http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf )
377 - htmldoc? (
378 - http://root.cern.ch/drupal/sites/default/files/rootdrawing-logo.png
379 - http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/root-banner.png
380 - http://root.cern.ch/drupal/sites/all/themes/newsflash/images/info.png ) )"
381 -
382 -SLOT="0"
383 -LICENSE="LGPL-2.1"
384 -IUSE="+X afs avahi clarens doc emacs examples fits fftw graphviz htmldoc kerberos
385 - ldap +math mpi mysql odbc +opengl openmp oracle postgres prefix pythia6
386 - pythia8 python qt4 +reflex ruby ssl xft xinetd xml xrootd"
387 -
388 -CDEPEND="
389 - app-arch/xz-utils
390 - >=dev-lang/cfortran-4.4-r2
391 - dev-libs/libpcre
392 - media-fonts/dejavu
393 - media-libs/freetype
394 - media-libs/giflib
395 - media-libs/libpng:0
396 - media-libs/tiff:0
397 - sys-libs/zlib
398 - virtual/jpeg
399 - virtual/shadow
400 - X? (
401 - media-libs/ftgl
402 - media-libs/glew
403 - x11-libs/libX11
404 - x11-libs/libXext
405 - x11-libs/libXpm
406 - || (
407 - >=media-libs/libafterimage-1.20[gif,jpeg,png,tiff]
408 - >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff]
409 - )
410 - opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps )
411 - qt4? (
412 - dev-qt/qtgui:4
413 - dev-qt/qtopengl:4
414 - dev-qt/qt3support:4
415 - dev-qt/qtsvg:4
416 - dev-qt/qtwebkit:4
417 - dev-qt/qtxmlpatterns:4 )
418 - xft? ( x11-libs/libXft )
419 - )
420 - afs? ( net-fs/openafs )
421 - avahi? ( net-dns/avahi )
422 - clarens? ( dev-libs/xmlrpc-c[curl] )
423 - emacs? ( virtual/emacs )
424 - fits? ( sci-libs/cfitsio )
425 - fftw? ( sci-libs/fftw:3.0 )
426 - graphviz? ( media-gfx/graphviz )
427 - kerberos? ( virtual/krb5 )
428 - ldap? ( net-nds/openldap )
429 - math? ( sci-libs/gsl sci-mathematics/unuran mpi? ( virtual/mpi ) )
430 - mysql? ( virtual/mysql )
431 - odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
432 - oracle? ( dev-db/oracle-instantclient-basic )
433 - postgres? ( dev-db/postgresql )
434 - pythia6? ( sci-physics/pythia:6 )
435 - pythia8? ( sci-physics/pythia:8 )
436 - ruby? (
437 - dev-lang/ruby
438 - dev-ruby/rubygems )
439 - ssl? ( dev-libs/openssl )
440 - xml? ( dev-libs/libxml2 )
441 - xrootd? ( net-libs/xrootd )"
442 -
443 -DEPEND="${CDEPEND}
444 - virtual/pkgconfig"
445 -
446 -RDEPEND="${CDEPEND}
447 - reflex? ( dev-cpp/gccxml )
448 - xinetd? ( sys-apps/xinetd )"
449 -
450 -PDEPEND="htmldoc? ( ~app-doc/root-docs-${PV} )"
451 -
452 -REQUIRED_USE="
453 - !X? ( !opengl !qt4 !xft )
454 - mpi? ( math !openmp )
455 - openmp? ( math !mpi )"
456 -
457 -S="${WORKDIR}/${PN}"
458 -
459 -pkg_setup() {
460 - fortran-2_pkg_setup
461 - python_pkg_setup
462 - echo
463 - elog "There are extra options on packages not yet in Gentoo:"
464 - elog "AliEn, castor, Chirp, dCache, gfal, gLite, Globus,"
465 - elog "HDFS, Monalisa, MaxDB/SapDB, SRP."
466 - elog "You can use the env variable EXTRA_ECONF variable for this."
467 - elog "For example, for SRP, you would set: "
468 - elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=/usr/$(get_libdir)\""
469 - echo
470 - enewgroup rootd
471 - enewuser rootd -1 -1 /var/spool/rootd rootd
472 -
473 - if use math; then
474 - if use openmp; then
475 - if [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
476 - ewarn "You are using a gcc without OpenMP capabilities"
477 - die "Need an OpenMP capable compiler"
478 - else
479 - export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1
480 - fi
481 - elif use mpi; then
482 - export USE_MPI=1 USE_PARALLEL_MINUIT2=1
483 - fi
484 - fi
485 -}
486 -
487 -src_prepare() {
488 - epatch \
489 - "${FILESDIR}"/${PN}-${PATCH_PV}-prop-ldflags.patch \
490 - "${FILESDIR}"/${PN}-${PATCH_PV}-asneeded.patch \
491 - "${FILESDIR}"/${PN}-${PATCH_PV2}-nobyte-compile.patch \
492 - "${FILESDIR}"/${PN}-${PATCH_PV}-glibc212.patch \
493 - "${FILESDIR}"/${PN}-${PATCH_PV}-unuran.patch \
494 - "${FILESDIR}"/${PN}-${PATCH_PV2}-afs.patch \
495 - "${FILESDIR}"/${PN}-${PATCH_PV2}-cfitsio.patch \
496 - "${FILESDIR}"/${PN}-${PATCH_PV2}-chklib64.patch \
497 - "${FILESDIR}"/${PN}-${PATCH_PV2}-explicit-functions.patch \
498 - "${FILESDIR}"/${PN}-${PATCH_PV2}-dotfont.patch
499 -
500 - # make sure we use system libs and headers
501 - rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die
502 - rm -rf graf2d/asimage/src/libAfterImage || die
503 - rm -rf graf3d/ftgl/{inc,src} || die
504 - rm -rf graf2d/freetype/src || die
505 - rm -rf graf3d/glew/{inc,src} || die
506 - rm -rf core/pcre/src || die
507 - rm -rf math/unuran/src/unuran-*.tar.gz || die
508 - LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | xargs -0 rm -f || die
509 - rm -rf core/lzma/src/*.tar.gz || die
510 - rm graf3d/gl/{inc,src}/gl2ps.* || die
511 - sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' graf3d/gl/Module.mk || die
512 -
513 - # In Gentoo, libPythia6 is called libpythia6
514 - # libungif is called libgif,
515 - # iodbc is in /usr/include/iodbc
516 - # pg_config.h is checked instead of libpq-fe.h
517 - sed -i \
518 - -e 's:libPythia6:libpythia6:g' \
519 - -e 's:ungif:gif:g' \
520 - -e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \
521 - -e 's:libpq-fe.h:pg_config.h:' \
522 - configure || die "adjusting configure for Gentoo failed"
523 -
524 - # prefixify the configure script
525 - sed -i \
526 - -e 's:/usr:${EPREFIX}/usr:g' \
527 - configure || die "prefixify configure failed"
528 -
529 - # QTDIR only used for qt3 in gentoo, and configure looks for it.
530 - unset QTDIR
531 -
532 - # Make html docs self-consistent for offline work (based on Fedora spec)
533 - if use htmldoc; then
534 - epatch "${FILESDIR}"/${PN}-${PATCH_PV2}-htmldoc.patch
535 - # make images local
536 - sed 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/!!' \
537 - -i etc/html/ROOT.css || die "htmldoc sed failed"
538 - sed 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/!!' \
539 - -i etc/html/ROOT.css || die "htmldoc sed failed"
540 - sed 's!http://root.cern.ch/drupal/sites/default/files/!!' \
541 - -i etc/html/header.html || die "htmldoc sed failed"
542 -
543 - cp "${DISTDIR}"/{rootdrawing-logo.png,root-banner.png,info.png} etc/html ||
544 - die "htmldoc preparation failed"
545 - fi
546 -}
547 -
548 -src_configure() {
549 - # the configure script is not the standard autotools
550 - ./configure \
551 - --prefix="${EPREFIX}"/usr \
552 - --etcdir="${EPREFIX}"/etc/root \
553 - --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
554 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
555 - --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
556 - --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
557 - --with-cc=$(tc-getCC) \
558 - --with-cxx=$(tc-getCXX) \
559 - --with-f77=$(tc-getFC) \
560 - --with-ld=$(tc-getCXX) \
561 - --with-afs-shared=yes \
562 - --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \
563 - --disable-builtin-afterimage \
564 - --disable-builtin-freetype \
565 - --disable-builtin-ftgl \
566 - --disable-builtin-glew \
567 - --disable-builtin-pcre \
568 - --disable-builtin-zlib \
569 - --disable-builtin-lzma \
570 - --disable-cling \
571 - --enable-astiff \
572 - --enable-exceptions \
573 - --enable-explicitlink \
574 - --enable-gdml \
575 - --enable-memstat \
576 - --enable-shadowpw \
577 - --enable-shared \
578 - --enable-soversion \
579 - --enable-table \
580 - --fail-on-missing \
581 - $(use_enable X x11) \
582 - $(use_enable X asimage) \
583 - $(use_enable afs) \
584 - $(use_enable avahi bonjour) \
585 - $(use_enable clarens) \
586 - $(use_enable clarens peac) \
587 - $(use_enable fits fitsio) \
588 - $(use_enable fftw fftw3) \
589 - $(use_enable graphviz gviz) \
590 - $(use_enable kerberos krb5) \
591 - $(use_enable ldap) \
592 - $(use_enable math gsl-shared) \
593 - $(use_enable math genvector) \
594 - $(use_enable math mathmore) \
595 - $(use_enable math minuit2) \
596 - $(use_enable math roofit) \
597 - $(use_enable math tmva) \
598 - $(use_enable math unuran) \
599 - $(use_enable mysql) \
600 - $(use_enable odbc) \
601 - $(use_enable opengl) \
602 - $(use_enable postgres pgsql) \
603 - $(use_enable prefix rpath) \
604 - $(use_enable pythia6) \
605 - $(use_enable pythia8) \
606 - $(use_enable python) \
607 - $(use_enable qt4 qt) \
608 - $(use_enable qt4 qtgsi) \
609 - $(use_enable reflex cintex) \
610 - $(use_enable reflex) \
611 - $(use_enable ruby) \
612 - $(use_enable ssl) \
613 - $(use_enable xft) \
614 - $(use_enable xml) \
615 - $(use_enable xrootd) \
616 - ${EXTRA_ECONF} \
617 - || die "configure failed"
618 -}
619 -
620 -src_compile() {
621 - emake OPT="${CXXFLAGS}" F77OPT="${FFLAGS}"
622 - if use emacs; then
623 - elisp-compile build/misc/*.el || die "elisp-compile failed"
624 - fi
625 -}
626 -
627 -doc_install() {
628 - cd "${S}"
629 - if use doc; then
630 - einfo "Installing user's guides"
631 - dodoc "${DISTDIR}"/ROOTUsersGuide.pdf
632 - use math && dodoc \
633 - "${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \
634 - "${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
635 - fi
636 -
637 - if use examples; then
638 - # these should really be taken care of by the root make install
639 - insinto /usr/share/doc/${PF}/examples/tutorials/tmva
640 - doins -r tmva/test
641 - else
642 - rm -rf "${ED}"/usr/share/doc/${PF}/examples || die
643 - fi
644 -}
645 -
646 -daemon_install() {
647 - cd "${S}"
648 - local daemons="rootd proofd"
649 - dodir /var/spool/rootd
650 - fowners rootd:rootd /var/spool/rootd
651 - dodir /var/spool/rootd/{pub,tmp}
652 - fperms 1777 /var/spool/rootd/{pub,tmp}
653 -
654 - for i in ${daemons}; do
655 - newinitd "${FILESDIR}"/${i}.initd ${i}
656 - newconfd "${FILESDIR}"/${i}.confd ${i}
657 - done
658 - if use xinetd; then
659 - insinto /etc/xinetd
660 - doins etc/daemons/{rootd,proofd}.xinetd
661 - fi
662 -}
663 -
664 -desktop_install() {
665 - cd "${S}"
666 - sed -e 's,@prefix@,/usr,' \
667 - build/package/debian/root-system-bin.desktop.in > root.desktop
668 - domenu root.desktop
669 - doicon "${S}"/build/package/debian/root-system-bin.png
670 -
671 - insinto /usr/share/icons/hicolor/48x48/mimetypes
672 - doins build/package/debian/application-x-root.png
673 -
674 - insinto /usr/share/icons/hicolor/48x48/apps
675 - doicon build/package/debian/root-system-bin.xpm
676 -}
677 -
678 -src_install() {
679 - emake DESTDIR="${D}" install
680 -
681 - echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/root" > 99root
682 - use pythia8 && echo "PYTHIA8=${EPREFIX}/usr" >> 99root
683 - use python && echo "PYTHONPATH=${EPREFIX}/usr/$(get_libdir)/root" >> 99root
684 - use ruby && echo "RUBYLIB=${EPREFIX}/usr/$(get_libdir)/root" >> 99root
685 - doenvd 99root
686 -
687 - # The build system installs Emacs support unconditionally and in the wrong
688 - # directory. Remove it and call elisp-install in case of USE=emacs.
689 - rm -rf "${ED}"/usr/share/emacs
690 - if use emacs; then
691 - elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed"
692 - fi
693 -
694 - doc_install
695 - daemon_install
696 - desktop_install
697 -
698 - # Cleanup of files either already distributed or unused on Gentoo
699 - rm "${ED}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT} || die
700 - rm "${ED}"usr/share/root/fonts/LICENSE || die
701 - pushd "${ED}"usr/$(get_libdir)/root/cint/cint/lib > /dev/null
702 - rm -f posix/mktypes dll_stl/setup \
703 - G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o || die
704 - rm -f "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib || die
705 - rm -f "${ED}"/etc/root/proof/*.sample || die
706 - rm -rf "${ED}"/etc/root/daemons || die
707 - popd > /dev/null
708 - # these should be in PATH
709 - mv "${ED}"etc/root/proof/utils/pq2/pq2* \
710 - "${ED}"usr/bin/ || die
711 -}
712 -
713 -pkg_postinst() {
714 - fdo-mime_desktop_database_update
715 - use python && python_mod_optimize /usr/$(get_libdir)/root
716 -}
717 -
718 -pkg_postrm() {
719 - fdo-mime_desktop_database_update
720 - use python && python_mod_cleanup /usr/$(get_libdir)/root
721 -}