1 |
commit: f3fff3e43dbf12f9b561b56d8530a21d5c4d4163 |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 5 09:27:18 2018 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 5 11:05:00 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3fff3e4 |
7 |
|
8 |
sci-physics/root: drop old |
9 |
|
10 |
Closes: https://bugs.gentoo.org/651000 |
11 |
Closes: https://bugs.gentoo.org/620754 |
12 |
Closes: https://bugs.gentoo.org/632128 |
13 |
Closes: https://bugs.gentoo.org/638422 |
14 |
Closes: https://bugs.gentoo.org/649992 |
15 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
16 |
|
17 |
sci-physics/root/Manifest | 1 - |
18 |
.../root/files/root-5.28.00b-glibc212.patch | 11 - |
19 |
sci-physics/root/files/root-5.32.00-cfitsio.patch | 13 - |
20 |
sci-physics/root/files/root-5.32.00-chklib64.patch | 24 -- |
21 |
sci-physics/root/files/root-5.32.00-dotfont.patch | 58 --- |
22 |
.../root/files/root-5.34.05-nobyte-compile.patch | 137 ------- |
23 |
sci-physics/root/files/root-5.34.13-unuran.patch | 40 -- |
24 |
sci-physics/root/files/root-5.34.26-ldflags.patch | 19 - |
25 |
sci-physics/root/metadata.xml | 3 - |
26 |
sci-physics/root/root-5.34.36.ebuild | 441 --------------------- |
27 |
10 files changed, 747 deletions(-) |
28 |
|
29 |
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest |
30 |
index 3337509776a..4409b07a8de 100644 |
31 |
--- a/sci-physics/root/Manifest |
32 |
+++ b/sci-physics/root/Manifest |
33 |
@@ -1,3 +1,2 @@ |
34 |
-DIST root_v5.34.36.source.tar.gz 75427331 BLAKE2B 203af03e1459c7fe079fcb1b30da145b3262f90c074abb7ff8fb3b1b2b90ac24391ce51aa8afbd10e0db8d69549207f15176207bc30a13720e0ae94342a38dfa SHA512 2cc0c8f8b63b2a3ce01c49c41704483548a7324d92c21a63e3e36a00f4d6f5656a7844fdf48cb71a6f2a2c974112527300ffd3bb5502d8365ffaf138e6ae4c7a |
35 |
DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1 |
36 |
DIST root_v6.14.00.source.tar.gz 162436586 BLAKE2B 6047fe9fb898be9d4f00f2e6eb378d213996b49b9677f61ccc0250bb6d0801d8410850a39e0983534da2c6a307bd64b0ed6c03ab873a6c8b844500a96444a455 SHA512 2d4e754e3054018a53af28408b218bc52c0c60bea69a3c9e48f0d3feadbfebb559087fb453505b281fe01043f723e4b766cda8fca1e68dbf9e202c67d417e5b3 |
37 |
|
38 |
diff --git a/sci-physics/root/files/root-5.28.00b-glibc212.patch b/sci-physics/root/files/root-5.28.00b-glibc212.patch |
39 |
deleted file mode 100644 |
40 |
index a365431396f..00000000000 |
41 |
--- a/sci-physics/root/files/root-5.28.00b-glibc212.patch |
42 |
+++ /dev/null |
43 |
@@ -1,11 +0,0 @@ |
44 |
---- root.orig/net/auth/src/TAFS.cxx 2010-09-14 03:22:22.647915854 +0400 |
45 |
-+++ root/net/auth/src/TAFS.cxx 2010-09-14 03:22:39.034599899 +0400 |
46 |
-@@ -11,6 +11,7 @@ |
47 |
- |
48 |
- #ifndef WIN32 |
49 |
- # include <unistd.h> |
50 |
-+# include <sys/stat.h> |
51 |
- #else |
52 |
- # define ssize_t int |
53 |
- # include <io.h> |
54 |
- |
55 |
|
56 |
diff --git a/sci-physics/root/files/root-5.32.00-cfitsio.patch b/sci-physics/root/files/root-5.32.00-cfitsio.patch |
57 |
deleted file mode 100644 |
58 |
index 156667f8fee..00000000000 |
59 |
--- a/sci-physics/root/files/root-5.32.00-cfitsio.patch |
60 |
+++ /dev/null |
61 |
@@ -1,13 +0,0 @@ |
62 |
---- a/configure 2012-01-19 23:44:44.127607638 +0100 |
63 |
-+++ b/configure 2012-01-20 00:19:20.420652913 +0100 |
64 |
-@@ -3435,9 +3435,7 @@ |
65 |
- cfitsioinc=$found_hdr |
66 |
- cfitsioincdir=$found_dir |
67 |
- |
68 |
-- # At this time, libcfitsio.a should always be prefered over .so, |
69 |
-- # to avoid forcing users to install cfitsio. |
70 |
-- check_library "libcfitsio cfitsio" "no" "$cfitsiolibdir" \ |
71 |
-+ check_library "libcfitsio cfitsio" "yes" "$cfitsiolibdir" \ |
72 |
- $CFITSIO ${CFITSIO:+$CFITSIO/lib} ${CFITSIO:+$CFITSIO/.libs} \ |
73 |
- ${finkdir:+$finkdir/lib} \ |
74 |
- /usr/local/lib /usr/lib /opt/cfitsio/lib |
75 |
|
76 |
diff --git a/sci-physics/root/files/root-5.32.00-chklib64.patch b/sci-physics/root/files/root-5.32.00-chklib64.patch |
77 |
deleted file mode 100644 |
78 |
index 23f20d54f0c..00000000000 |
79 |
--- a/sci-physics/root/files/root-5.32.00-chklib64.patch |
80 |
+++ /dev/null |
81 |
@@ -1,24 +0,0 @@ |
82 |
-bug fix for #406817 |
83 |
---- a/configure 2012-02-29 19:46:41.000000000 +0400 |
84 |
-+++ b/configure 2012-03-22 03:28:43.458968696 +0400 |
85 |
-@@ -441,14 +441,13 @@ |
86 |
- fi |
87 |
- else |
88 |
- if file $filearg $chklib64 | grep 'ASCII' > /dev/null 2>& 1 ; then |
89 |
-- check_link $chklib64 |
90 |
-- ret=$link_result |
91 |
-- else |
92 |
-- logmsg " file $filearg $chklib64 | grep '64-bit'" |
93 |
-- if file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then |
94 |
-- ret=1 |
95 |
-- fi |
96 |
-+ # get real binary .so name from .so ld script |
97 |
-+ chklib64=$(gawk '($1 == "GROUP") { print $3 }' $chklib64) |
98 |
- fi |
99 |
-+ logmsg " file $filearg $chklib64 | grep '64-bit'" |
100 |
-+ if file $filearg $chklib64 | grep '64-bit' > /dev/null 2>& 1 ; then |
101 |
-+ ret=1 |
102 |
-+ fi |
103 |
- fi |
104 |
- logmsg " result: $ret" |
105 |
- if test $ret -eq 1 ; then |
106 |
|
107 |
diff --git a/sci-physics/root/files/root-5.32.00-dotfont.patch b/sci-physics/root/files/root-5.32.00-dotfont.patch |
108 |
deleted file mode 100644 |
109 |
index 85d6dea7655..00000000000 |
110 |
--- a/sci-physics/root/files/root-5.32.00-dotfont.patch |
111 |
+++ /dev/null |
112 |
@@ -1,58 +0,0 @@ |
113 |
---- root/html/src/TClassDocOutput.cxx.orig 2012-05-25 16:18:10.000000000 +0400 |
114 |
-+++ root/html/src/TClassDocOutput.cxx 2012-05-29 21:36:53.813593012 +0400 |
115 |
-@@ -625,7 +625,7 @@ |
116 |
- << "size=\"8,10\";" << endl |
117 |
- << "ratio=auto;" << endl |
118 |
- << "margin=0;" << endl |
119 |
-- << "node [shape=plaintext,fontsize=40,width=4,height=0.75];" << endl |
120 |
-+ << "node [shape=plaintext,fontsize=40,width=4,height=0.75,fontname=\"DejaVu Serif\"];" << endl |
121 |
- << "\"" << fCurrentClass->GetName() << "\" [shape=ellipse];" << endl; |
122 |
- |
123 |
- std::stringstream ssDep; |
124 |
-@@ -704,7 +704,7 @@ |
125 |
- outdot << ";" << endl; |
126 |
- } else if (writeAndMoreFor) { |
127 |
- outdot << " \"...andmore" << writeAndMoreFor->GetName() |
128 |
-- << "\" [label=\"...and more\",fontname=\"Times-Italic\",fillcolor=lightgrey,style=filled];" << endl; |
129 |
-+ << "\" [label=\"...and more\",fontname=\"DejaVu Serif Italic\",fillcolor=lightgrey,style=filled];" << endl; |
130 |
- } |
131 |
- } |
132 |
- if (!levelExists) break; |
133 |
-@@ -733,7 +733,7 @@ |
134 |
- << "ranksep=0.1;" << endl |
135 |
- << "nodesep=0;" << endl |
136 |
- << "margin=0;" << endl; |
137 |
-- outdot << " node [style=filled,width=0.7,height=0.15,fixedsize=true,shape=plaintext,fontsize=10];" << endl; |
138 |
-+ outdot << " node [style=filled,width=0.7,height=0.15,fixedsize=true,shape=plaintext,fontsize=10,fontname=\"DejaVu Serif\"];" << endl; |
139 |
- |
140 |
- std::stringstream ssDep; |
141 |
- const int numColumns = 3; |
142 |
-@@ -939,7 +939,7 @@ |
143 |
- << "ranksep=0;" << endl |
144 |
- << "nodesep=0;" << endl |
145 |
- << "size=\"8,10\";" << endl |
146 |
-- << "node [fontsize=20,shape=plaintext];" << endl; |
147 |
-+ << "node [fontsize=20,shape=plaintext,fontname=\"DejaVu Serif\"];" << endl; |
148 |
- |
149 |
- for (std::list<std::string>::iterator iFile = listFilesToParse.begin(); |
150 |
- iFile != listFilesToParse.end(); ++iFile) { |
151 |
-@@ -999,7 +999,8 @@ |
152 |
- << "ranksep=0.7;" << endl |
153 |
- << "nodesep=0.3;" << endl |
154 |
- << "size=\"8,8\";" << endl |
155 |
-- << "ratio=compress;" << endl; |
156 |
-+ << "ratio=compress;" << endl |
157 |
-+ << "node [fontname=\"DejaVu Serif\"];" << endl; |
158 |
- |
159 |
- TString libs(fCurrentClass->GetSharedLibs()); |
160 |
- outdot << "\"All Libraries\" [URL=\"LibraryDependencies.html\",shape=box,rank=max,fillcolor=lightgray,style=filled];" << endl; |
161 |
-@@ -1109,7 +1110,8 @@ |
162 |
- |
163 |
- dotout << "digraph G {" << endl |
164 |
- << "ratio=auto;" << endl |
165 |
-- << "rankdir=RL;" << endl; |
166 |
-+ << "rankdir=RL;" << endl |
167 |
-+ << "node [fontname=\"DejaVu Serif\"];" << endl; |
168 |
- |
169 |
- // loop on all classes |
170 |
- TClassDocInfo* cdi = 0; |
171 |
|
172 |
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 |
173 |
deleted file mode 100644 |
174 |
index ec67a15887f..00000000000 |
175 |
--- a/sci-physics/root/files/root-5.34.05-nobyte-compile.patch |
176 |
+++ /dev/null |
177 |
@@ -1,137 +0,0 @@ |
178 |
-diff -Naur root.as-needed/Makefile root/Makefile |
179 |
---- a/Makefile.orig 2013-02-15 02:27:56.000000000 +0400 |
180 |
-+++ b/Makefile 2013-02-23 02:22:14.556465852 +0400 |
181 |
-@@ -1258,10 +1258,7 @@ |
182 |
- for lib in $(RFLX_GRFLXPY); do \ |
183 |
- rm -f $(DESTDIR)$(LIBDIR)/$${lib#lib/}; \ |
184 |
- done; \ |
185 |
-- for lib in $(RFLX_GRFLXPYC); do \ |
186 |
-- rm -f $(DESTDIR)$(LIBDIR)/$${lib#lib/}; \ |
187 |
-- done; \ |
188 |
-- if test "x$(RFLX_GRFLXPY)$(RFLX_GRFLXPYC)" != "x"; then \ |
189 |
-+ if test "x$(RFLX_GRFLXPY)" != "x"; then \ |
190 |
- dir=$(subst lib/,,$(RFLX_GRFLXDD)); \ |
191 |
- while test "x$${dir}" != "x" && \ |
192 |
- test -d $(DESTDIR)$(LIBDIR)/$${dir} && \ |
193 |
-diff -Naur root.as-needed/bindings/pyroot/Module.mk root/bindings/pyroot/Module.mk |
194 |
---- root.as-needed/bindings/pyroot/Module.mk 2011-07-10 10:42:48.991561304 +0400 |
195 |
-+++ root/bindings/pyroot/Module.mk 2011-07-10 10:43:21.493339703 +0400 |
196 |
-@@ -48,8 +48,6 @@ |
197 |
- ROOTPY := $(subst $(MODDIR),$(LPATH),$(ROOTPYS)) |
198 |
- $(LPATH)/%.py: $(MODDIR)/%.py; cp $< $@ |
199 |
- endif |
200 |
--ROOTPYC := $(ROOTPY:.py=.pyc) |
201 |
--ROOTPYO := $(ROOTPY:.py=.pyo) |
202 |
- |
203 |
- # used in the main Makefile |
204 |
- ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYROOTH)) |
205 |
-@@ -68,10 +66,8 @@ |
206 |
- include/%.h: $(PYROOTDIRI)/%.h |
207 |
- cp $< $@ |
208 |
- |
209 |
--%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )' |
210 |
--%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )' |
211 |
- |
212 |
--$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) $(ROOTPYC) $(ROOTPYO) \ |
213 |
-+$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) \ |
214 |
- $(ROOTLIBSDEP) $(PYTHONLIBDEP) |
215 |
- @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ |
216 |
- "$(SOFLAGS)" libPyROOT.$(SOEXT) $@ \ |
217 |
-@@ -113,7 +109,7 @@ |
218 |
- |
219 |
- distclean-$(MODNAME): clean-$(MODNAME) |
220 |
- @rm -f $(PYROOTDEP) $(PYROOTDS) $(PYROOTDH) $(PYROOTLIB) \ |
221 |
-- $(ROOTPY) $(ROOTPYC) $(ROOTPYO) $(PYROOTMAP) \ |
222 |
-+ $(ROOTPY) $(PYROOTMAP) \ |
223 |
- $(PYROOTPYD) $(PYTHON64DEP) $(PYTHON64) |
224 |
- |
225 |
- distclean:: distclean-$(MODNAME) |
226 |
-diff -Naur root.as-needed/build/package/debian/rules root/build/package/debian/rules |
227 |
---- root.as-needed/build/package/debian/rules 2011-07-10 10:42:49.241549346 +0400 |
228 |
-+++ root/build/package/debian/rules 2011-07-10 10:48:06.989670589 +0400 |
229 |
-@@ -691,10 +691,6 @@ |
230 |
- -X$(SYSCONFDIR)/root/system.rootauthrc \ |
231 |
- -X$(SYSCONFDIR)/root/system.rootdaemonrc \ |
232 |
- -X$(PREFIX)/lib/root/$(SOVERS)/libAfterImage.a \ |
233 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyc \ |
234 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyo \ |
235 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyc \ |
236 |
-- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyo \ |
237 |
- -X$(PREFIX)/lib/root/$(SOVERS)/cint7 \ |
238 |
- -X$(PREFIX)/include/root/Minuit2 |
239 |
- # $(foreach i, \ |
240 |
-diff -Naur root.as-needed/cint/cintex/Module.mk root/cint/cintex/Module.mk |
241 |
---- root.as-needed/cint/cintex/Module.mk 2011-07-10 10:42:49.104889217 +0400 |
242 |
-+++ root/cint/cintex/Module.mk 2011-07-10 10:43:21.496672876 +0400 |
243 |
-@@ -31,10 +31,6 @@ |
244 |
- CINTEXPY := $(subst $(MODDIR)/python,$(LPATH),$(CINTEXPYS)) |
245 |
- $(LPATH)/%.py: $(MODDIR)/python/%.py; cp $< $@ |
246 |
- endif |
247 |
--ifneq ($(BUILDPYTHON),no) |
248 |
--CINTEXPYC := $(CINTEXPY:.py=.pyc) |
249 |
--CINTEXPYO := $(CINTEXPY:.py=.pyo) |
250 |
--endif |
251 |
- |
252 |
- # used in the main Makefile |
253 |
- ALLHDRS += $(patsubst $(MODDIRI)/Cintex/%.h,include/Cintex/%.h,$(CINTEXH)) |
254 |
-@@ -86,8 +82,6 @@ |
255 |
- fi) |
256 |
- cp $< $@ |
257 |
- |
258 |
--%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )' |
259 |
--%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )' |
260 |
- |
261 |
- $(CINTEXLIB): $(CINTEXO) $(CINTEXPY) $(CINTEXPYC) $(CINTEXPYO) \ |
262 |
- $(ORDER_) $(subst $(CINTEXLIB),,$(MAINLIBS)) $(CINTEXLIBDEP) |
263 |
-diff -Naur root.as-needed/cint/reflex/Module.mk root/cint/reflex/Module.mk |
264 |
---- root.as-needed/cint/reflex/Module.mk 2011-07-10 10:42:49.074890651 +0400 |
265 |
-+++ root/cint/reflex/Module.mk 2011-07-10 10:43:21.496672876 +0400 |
266 |
-@@ -48,9 +48,6 @@ |
267 |
- RFLX_GRFLXS := $(wildcard $(RFLX_GRFLXSD)/*.py) |
268 |
- RFLX_GRFLXPY := $(patsubst $(RFLX_GRFLXSD)/%.py,$(RFLX_GRFLXDD)/%.py,$(RFLX_GRFLXS)) |
269 |
- RFLX_GRFLXPY += $(RFLX_GCCXMLPATHPY) |
270 |
--ifneq ($(BUILDPYTHON),no) |
271 |
--RFLX_GRFLXPYC := $(subst .py,.pyc,$(RFLX_GRFLXPY)) |
272 |
--endif |
273 |
- |
274 |
- RFLX_LIBDIR = $(LIBDIR) |
275 |
- |
276 |
-@@ -92,7 +89,7 @@ |
277 |
- |
278 |
- ALLEXECS += $(RFLX_GENMAPX) |
279 |
- |
280 |
--POSTBIN += $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY) |
281 |
-+POSTBIN += $(RFLX_GRFLXPY) |
282 |
- |
283 |
- ##### local rules ##### |
284 |
- .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) \ |
285 |
-@@ -122,8 +119,6 @@ |
286 |
- mkdir -p lib/python/genreflex; fi ) |
287 |
- cp $< $@ |
288 |
- |
289 |
--$(RFLX_GRFLXDD)/%.pyc: $(RFLX_GRFLXDD)/%.py |
290 |
-- @python -c 'import py_compile; py_compile.compile( "$<" )' |
291 |
- |
292 |
- $(RFLX_GENMAPO) : CXXFLAGS += -I$(REFLEXDIRS)/genmap |
293 |
- |
294 |
-@@ -149,7 +144,7 @@ |
295 |
- $(RLIBMAP) -o $@ -l $(REFLEXDICTLIB) \ |
296 |
- -d $(REFLEXDICTLIBDEPM) -c $(REFLEXL) |
297 |
- |
298 |
--all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY) |
299 |
-+all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPY) |
300 |
- |
301 |
- clean-genreflex: |
302 |
- @rm -rf lib/python/genreflex |
303 |
-diff -Naur root.as-needed/cint/reflex/python/CMakeLists.txt root/cint/reflex/python/CMakeLists.txt |
304 |
---- root.as-needed/cint/reflex/python/CMakeLists.txt 2011-07-10 10:42:49.074890651 +0400 |
305 |
-+++ root/cint/reflex/python/CMakeLists.txt 2011-07-10 10:43:21.496672876 +0400 |
306 |
-@@ -15,7 +15,7 @@ |
307 |
- ##################### sources #################### |
308 |
- |
309 |
- FILE(GLOB_RECURSE GENREFLEX_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} genreflex/*.py) |
310 |
--SET(GENREFLEX_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/genreflex/genreflex.pyc PARENT_SCOPE) |
311 |
-+SET(GENREFLEX_SCRIPT PARENT_SCOPE) |
312 |
- |
313 |
- ##################### gccxmlpath #################### |
314 |
- |
315 |
|
316 |
diff --git a/sci-physics/root/files/root-5.34.13-unuran.patch b/sci-physics/root/files/root-5.34.13-unuran.patch |
317 |
deleted file mode 100644 |
318 |
index 8262313184b..00000000000 |
319 |
--- a/sci-physics/root/files/root-5.34.13-unuran.patch |
320 |
+++ /dev/null |
321 |
@@ -1,40 +0,0 @@ |
322 |
-diff --git a/math/unuran/Module.mk b/math/unuran/Module.mk |
323 |
-index 00a530b..7cd22dc 100644 |
324 |
---- a/math/unuran/Module.mk |
325 |
-+++ b/math/unuran/Module.mk |
326 |
-@@ -31,7 +31,7 @@ UNRS := $(wildcard $(UNRDIRS)/src/utils/*.c) \ |
327 |
- $(wildcard $(UNRDIRS)/src/uniform/*.c) \ |
328 |
- $(wildcard $(UNRDIRS)/src/urng/*.c) |
329 |
- else |
330 |
--UNRTARCONTENT:=$(subst $(UNRVERS),$(UNRDIRS),$(shell mkdir -p $(UNRDIR); cd $(UNRDIR); gunzip -c $(UNRSRCS) | tar tf -)) |
331 |
-+UNRTARCONTENT:= |
332 |
- UNRS := $(filter %.c, \ |
333 |
- $(filter $(UNRDIRS)/src/utils/%,$(UNRTARCONTENT)) \ |
334 |
- $(filter $(UNRDIRS)/src/methods/%,$(UNRTARCONTENT)) \ |
335 |
-@@ -81,10 +81,9 @@ INCLUDEFILES += $(UNURANDEP) |
336 |
- ##### local rules ##### |
337 |
- .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) |
338 |
- |
339 |
--include/%.h: $(UNURANDIRI)/%.h $(UNURANETAG) |
340 |
-+include/%.h: $(UNURANDIRI)/%.h |
341 |
- cp $< $@ |
342 |
- |
343 |
--$(UNURANDEP): $(UNRCFG) |
344 |
- $(UNRS): $(UNURANETAG) |
345 |
- |
346 |
- $(UNURANETAG): $(UNRSRCS) |
347 |
-@@ -137,12 +136,12 @@ $(UNRCFG): $(UNURANETAG) |
348 |
- GNUMAKE=$(MAKE) ./configure CC="$$ACC" \ |
349 |
- CFLAGS="$$ACFLAGS"); |
350 |
- |
351 |
--$(UNURANLIB): $(UNRCFG) $(UNRO) $(UNURANO) $(UNURANDO) $(ORDER_) \ |
352 |
-+$(UNURANLIB): $(UNURANO) $(UNURANDO) $(ORDER_) \ |
353 |
- $(MAINLIBS) $(UNURANLIBDEP) |
354 |
- @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ |
355 |
- "$(SOFLAGS)" libUnuran.$(SOEXT) $@ \ |
356 |
- "$(UNURANO) $(UNURANDO)" \ |
357 |
-- "$(UNURANLIBEXTRA) $(UNRO)" |
358 |
-+ "$(UNURANLIBEXTRA) -lunuran" |
359 |
- |
360 |
- $(UNURANDS): $(UNRINIT) $(UNURANDH1) $(UNURANL) $(ROOTCINTTMPDEP) |
361 |
- $(MAKEDIR) |
362 |
|
363 |
diff --git a/sci-physics/root/files/root-5.34.26-ldflags.patch b/sci-physics/root/files/root-5.34.26-ldflags.patch |
364 |
deleted file mode 100644 |
365 |
index b81dbb5edb0..00000000000 |
366 |
--- a/sci-physics/root/files/root-5.34.26-ldflags.patch |
367 |
+++ /dev/null |
368 |
@@ -1,19 +0,0 @@ |
369 |
-commit 3c8bc686abf57e7e2037c4c191cb63a1a5172b5b |
370 |
-Author: Andrew Savchenko <bircoph@×××××.com> |
371 |
-Date: Sun Feb 22 03:45:21 2015 +0300 |
372 |
- |
373 |
- root-5.32.00-prop-flags.patch -> root-5.34.26-prop-flags.patch |
374 |
- |
375 |
-diff --git a/config/Makefile.in b/config/Makefile.in |
376 |
-index 89674e7..91d25b9 100644 |
377 |
---- a/config/Makefile.in |
378 |
-+++ b/config/Makefile.in |
379 |
-@@ -29,7 +29,7 @@ EXTRA_CFLAGS := -Iinclude @cflags@ |
380 |
- USERCONF_CFLAGS:= @usercflags@ |
381 |
- EXTRA_CXXFLAGS := -Iinclude @cflags@ |
382 |
- USERCONF_CXXFLAGS:= @usercxxflags@ |
383 |
--EXTRA_LDFLAGS := @ldflags@ |
384 |
-+EXTRA_LDFLAGS := @ldflags@ $(LDFLAGS) |
385 |
- WERROR := @werror@ |
386 |
- WINRTDEBUG := @winrtdebug@ |
387 |
- |
388 |
|
389 |
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml |
390 |
index b57d99b68fc..da893cfc0e6 100644 |
391 |
--- a/sci-physics/root/metadata.xml |
392 |
+++ b/sci-physics/root/metadata.xml |
393 |
@@ -20,8 +20,6 @@ |
394 |
graphics, GUI toolkit, and a complete visualization framework. |
395 |
</longdescription> |
396 |
<use> |
397 |
- <flag name="c++11"> Build ROOT using the C++11 standard</flag> |
398 |
- <flag name="c++14"> Build ROOT using the C++14 standard</flag> |
399 |
<flag name="asimage">Enable support for <pkg>media-libs/libafterimage</pkg></flag> |
400 |
<flag name="davix">Enable support for DAVIX Data Management Client (https://cern.ch/davix)</flag> |
401 |
<flag name="fits">Enable support for images and data from FITS files with <pkg>sci-libs/cfitsio</pkg></flag> |
402 |
@@ -36,7 +34,6 @@ |
403 |
<flag name="pythia6">Build the interface for <pkg>sci-physics/pythia</pkg> version 6.x </flag> |
404 |
<flag name="pythia8">Build the interface for <pkg>sci-physics/pythia</pkg> version 8.x </flag> |
405 |
<flag name="R">Enable support for <pkg>dev-lang/R</pkg></flag> |
406 |
- <flag name="reflex">Build the reflection database for the C++ interpreter</flag> |
407 |
<flag name="roofit">Build RooFit function fitting package</flag> |
408 |
<flag name="root7">Build experimental features to be released with ROOT 7</flag> |
409 |
<flag name="shadow">Enable shadow authentication in rootd and proofd</flag> |
410 |
|
411 |
diff --git a/sci-physics/root/root-5.34.36.ebuild b/sci-physics/root/root-5.34.36.ebuild |
412 |
deleted file mode 100644 |
413 |
index 3651637f2f5..00000000000 |
414 |
--- a/sci-physics/root/root-5.34.36.ebuild |
415 |
+++ /dev/null |
416 |
@@ -1,441 +0,0 @@ |
417 |
-# Copyright 1999-2017 Gentoo Foundation |
418 |
-# Distributed under the terms of the GNU General Public License v2 |
419 |
- |
420 |
-EAPI=5 |
421 |
- |
422 |
-if [[ ${PV} == "9999" ]] ; then |
423 |
- inherit git-r3 |
424 |
- EGIT_REPO_URI="http://root.cern.ch/git/root.git" |
425 |
-else |
426 |
- SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz" |
427 |
- KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
428 |
-fi |
429 |
- |
430 |
-PYTHON_COMPAT=( python2_7 ) |
431 |
- |
432 |
-inherit elisp-common eutils fortran-2 multilib prefix python-single-r1 \ |
433 |
- toolchain-funcs user versionator xdg-utils |
434 |
- |
435 |
-DESCRIPTION="C++ data analysis framework and interpreter from CERN" |
436 |
-HOMEPAGE="https://root.cern.ch" |
437 |
- |
438 |
-SLOT="0/$(get_version_component_range 1-3 ${PV})" |
439 |
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA" |
440 |
-IUSE="+X afs c++11 c++14 doc emacs examples fits fftw gdml |
441 |
- graphviz http kerberos ldap +math +memstat mpi mysql odbc |
442 |
- +opengl openmp oracle postgres prefix pythia6 pythia8 |
443 |
- python qt4 +reflex ruby shadow sqlite ssl table +tiff xinetd |
444 |
- xml xrootd zeroconf" |
445 |
- |
446 |
-# TODO: add support for: davix |
447 |
-# TODO: unbundle: vdt |
448 |
- |
449 |
-REQUIRED_USE=" |
450 |
- !X? ( !opengl !qt4 !tiff ) |
451 |
- mpi? ( math !openmp ) |
452 |
- openmp? ( math !mpi ) |
453 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
454 |
-" |
455 |
- |
456 |
-CDEPEND=" |
457 |
- app-arch/xz-utils:0= |
458 |
- >=dev-lang/cfortran-4.4-r2 |
459 |
- dev-libs/libpcre:3= |
460 |
- media-fonts/dejavu |
461 |
- media-libs/freetype:2= |
462 |
- media-libs/libpng:0= |
463 |
- sys-libs/zlib:0= |
464 |
- X? ( |
465 |
- media-libs/ftgl:0= |
466 |
- media-libs/glew:0= |
467 |
- x11-libs/libX11:0= |
468 |
- x11-libs/libXext:0= |
469 |
- x11-libs/libXpm:0= |
470 |
- || ( |
471 |
- media-libs/libafterimage[gif,jpeg,png,tiff?] |
472 |
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?] |
473 |
- ) |
474 |
- opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= ) |
475 |
- qt4? ( |
476 |
- dev-qt/qtgui:4= |
477 |
- dev-qt/qtopengl:4= |
478 |
- dev-qt/qt3support:4= |
479 |
- dev-qt/qtsvg:4= |
480 |
- dev-qt/qtwebkit:4= |
481 |
- dev-qt/qtxmlpatterns:4= |
482 |
- ) |
483 |
- x11-libs/libXft:0= |
484 |
- ) |
485 |
- afs? ( net-fs/openafs ) |
486 |
- emacs? ( virtual/emacs ) |
487 |
- fits? ( sci-libs/cfitsio:0= ) |
488 |
- fftw? ( sci-libs/fftw:3.0= ) |
489 |
- graphviz? ( media-gfx/graphviz:0= ) |
490 |
- http? ( dev-libs/fcgi:0= ) |
491 |
- kerberos? ( virtual/krb5 ) |
492 |
- ldap? ( net-nds/openldap:0= ) |
493 |
- math? ( |
494 |
- sci-libs/gsl:0= |
495 |
- sci-mathematics/unuran:0= |
496 |
- mpi? ( virtual/mpi ) |
497 |
- ) |
498 |
- mysql? ( virtual/mysql ) |
499 |
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) |
500 |
- oracle? ( dev-db/oracle-instantclient-basic:0= ) |
501 |
- postgres? ( dev-db/postgresql:= ) |
502 |
- pythia6? ( sci-physics/pythia:6= ) |
503 |
- pythia8? ( >=sci-physics/pythia-8.1.80:8= <sci-physics/pythia-8.2.0:8= ) |
504 |
- python? ( ${PYTHON_DEPS} ) |
505 |
- ruby? ( |
506 |
- dev-lang/ruby:= |
507 |
- dev-ruby/rubygems:= |
508 |
- ) |
509 |
- shadow? ( virtual/shadow ) |
510 |
- sqlite? ( dev-db/sqlite:3= ) |
511 |
- ssl? ( dev-libs/openssl:0= ) |
512 |
- xml? ( dev-libs/libxml2:2= ) |
513 |
- xrootd? ( >=net-libs/xrootd-3.3.5:0= ) |
514 |
- zeroconf? ( net-dns/avahi:0= ) |
515 |
-" |
516 |
- |
517 |
-DEPEND="${CDEPEND} |
518 |
- virtual/pkgconfig" |
519 |
- |
520 |
-RDEPEND="${CDEPEND} |
521 |
- reflex? ( dev-cpp/gccxml ) |
522 |
- xinetd? ( sys-apps/xinetd )" |
523 |
- |
524 |
-PDEPEND="doc? ( ~app-doc/root-docs-${PV}[http=,math=] )" |
525 |
- |
526 |
-S="${WORKDIR}/${PN}" |
527 |
- |
528 |
-# install stuff in ${P} and not ${PF} for easier tracking in root-docs |
529 |
-DOC_DIR="/usr/share/doc/${P}" |
530 |
- |
531 |
-die_compiler() { |
532 |
- eerror "You are using a $(tc-getCXX)-$5 without C++$1 capabilities" |
533 |
- die "Need one of the following C++$1 capable compilers:\n"\ |
534 |
- " >=sys-devel/gcc[cxx]-$2\n"\ |
535 |
- " >=sys-devel/clang-$3\n"\ |
536 |
- " >=dev-lang/icc-$4" |
537 |
-} |
538 |
- |
539 |
-# check compiler to satisfy minimal versions |
540 |
-# $1 - std version |
541 |
-# $2 - g++ |
542 |
-# $3 - clang++ |
543 |
-# $4 - icc/icpc |
544 |
-check_compiler() { |
545 |
- local cur ver |
546 |
- case "$(tc-getCXX)" in |
547 |
- *clang++*) |
548 |
- ver="$(best_version sys-devel/clang | sed 's:sys-devel/clang-::')" |
549 |
- cur="$3" |
550 |
- ;; |
551 |
- *g++*) |
552 |
- ver="$(gcc-version)" |
553 |
- cur="$2" |
554 |
- ;; |
555 |
- *icc*|*icpc*) |
556 |
- ver="$(best_version dev-lang/icc | sed 's:dev-lang/icc-::')" |
557 |
- cur="$4" |
558 |
- ;; |
559 |
- *) |
560 |
- ewarn "You are using an unsupported compiler." |
561 |
- ewarn "Please report any issues upstream." |
562 |
- return 0 |
563 |
- ;; |
564 |
- esac |
565 |
- version_is_at_least "${cur}" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}" |
566 |
-} |
567 |
- |
568 |
-pkg_setup() { |
569 |
- fortran-2_pkg_setup |
570 |
- use python && python-single-r1_pkg_setup |
571 |
- echo |
572 |
- elog "There are extra options on packages not yet in Gentoo:" |
573 |
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite," |
574 |
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP." |
575 |
- elog "You can use the env variable EXTRA_ECONF variable for this." |
576 |
- elog "For example, for SRP, you would set: " |
577 |
- elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=${EROOT%/}/usr/$(get_libdir)\"" |
578 |
- echo |
579 |
- |
580 |
- enewgroup rootd |
581 |
- enewuser rootd -1 -1 /var/spool/rootd rootd |
582 |
- |
583 |
- if use math; then |
584 |
- if use openmp; then |
585 |
- if [[ "$(tc-getCXX)" == *g++* && "$(tc-getCXX)" != *clang++* ]] && ! tc-has-openmp; then |
586 |
- ewarn "You are using a g++ without OpenMP capabilities" |
587 |
- die "Need an OpenMP capable compiler" |
588 |
- else |
589 |
- export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1 |
590 |
- fi |
591 |
- elif use mpi; then |
592 |
- export USE_MPI=1 USE_PARALLEL_MINUIT2=1 |
593 |
- fi |
594 |
- fi |
595 |
- |
596 |
- use c++11 && check_compiler "11" "4.8" "3.3" "13" |
597 |
- use c++14 && check_compiler "14" "4.9" "3.4" "15" |
598 |
-} |
599 |
- |
600 |
-src_prepare() { |
601 |
- epatch \ |
602 |
- "${FILESDIR}"/${PN}-5.28.00b-glibc212.patch \ |
603 |
- "${FILESDIR}"/${PN}-5.32.00-cfitsio.patch \ |
604 |
- "${FILESDIR}"/${PN}-5.32.00-chklib64.patch \ |
605 |
- "${FILESDIR}"/${PN}-5.32.00-dotfont.patch \ |
606 |
- "${FILESDIR}"/${PN}-5.34.05-nobyte-compile.patch \ |
607 |
- "${FILESDIR}"/${PN}-5.34.13-unuran.patch \ |
608 |
- "${FILESDIR}"/${PN}-5.34.26-ldflags.patch |
609 |
- |
610 |
- # make sure we use system libs and headers |
611 |
- rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die |
612 |
- rm -r graf2d/asimage/src/libAfterImage || die |
613 |
- rm -r graf3d/ftgl/{inc,src} || die |
614 |
- rm -r graf2d/freetype/src || die |
615 |
- rm -r graf3d/glew/{inc,src} || die |
616 |
- rm -r core/pcre/src || die |
617 |
- rm -r math/unuran/src/unuran-*.tar.gz || die |
618 |
- LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | \ |
619 |
- xargs -0 rm || die |
620 |
- rm -r core/lzma/src/*.tar.gz || die |
621 |
- rm graf3d/gl/{inc,src}/gl2ps.* || die |
622 |
- sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' \ |
623 |
- graf3d/gl/Module.mk || die |
624 |
- |
625 |
- # In Gentoo, libPythia6 is called libpythia6 |
626 |
- # iodbc is in /usr/include/iodbc |
627 |
- # pg_config.h is checked instead of libpq-fe.h |
628 |
- sed -i \ |
629 |
- -e 's:libPythia6:libpythia6:g' \ |
630 |
- -e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \ |
631 |
- -e 's:libpq-fe.h:pg_config.h:' \ |
632 |
- configure || die "adjusting configure for Gentoo failed" |
633 |
- |
634 |
- hprefixify configure |
635 |
- hprefixify -e "s,I/usr/include,I${EPREFIX}/usr/include," config/Makefile.in |
636 |
- |
637 |
- # CSS should use local images |
638 |
- sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed" |
639 |
- |
640 |
- # fix reflex path (bug #497280) |
641 |
- sed -i -e 's|${ROOTSYS}/lib|@libdir@|' config/genreflex.in || die |
642 |
- |
643 |
- # QTDIR only used for qt3 in gentoo, and configure looks for it. |
644 |
- unset QTDIR |
645 |
-} |
646 |
- |
647 |
-src_configure() { |
648 |
- local -a myconf |
649 |
- # Some compilers need special care |
650 |
- case "$(tc-getCXX)" in |
651 |
- *clang++*) |
652 |
- myconf=( |
653 |
- --with-clang |
654 |
- --with-f77="$(tc-getFC)" |
655 |
- ) |
656 |
- ;; |
657 |
- *icc*|*icpc*) |
658 |
- # For icc we need to provide architecture manually |
659 |
- # and not to tamper with tc-get* |
660 |
- use x86 && myconf=( linuxicc ) |
661 |
- use amd64 && myconf=( linuxx8664icc ) |
662 |
- ;; |
663 |
- *) # gcc goes here too |
664 |
- myconf=( |
665 |
- --with-cc="$(tc-getCC)" |
666 |
- --with-cxx="$(tc-getCXX)" |
667 |
- --with-f77="$(tc-getFC)" |
668 |
- --with-ld="$(tc-getCXX)" |
669 |
- ) |
670 |
- ;; |
671 |
- esac |
672 |
- |
673 |
- # the configure script is not the standard autotools |
674 |
- myconf+=( |
675 |
- --prefix="${EPREFIX}/usr" |
676 |
- --etcdir="${EPREFIX}/etc/root" |
677 |
- --libdir="${EPREFIX}/usr/$(get_libdir)/${PN}" |
678 |
- --docdir="${EPREFIX}${DOC_DIR}" |
679 |
- --tutdir="${EPREFIX}${DOC_DIR}/examples/tutorials" |
680 |
- --testdir="${EPREFIX}${DOC_DIR}/examples/tests" |
681 |
- --cflags='${CFLAGS}' |
682 |
- --cxxflags='${CXXFLAGS}' |
683 |
- --disable-builtin-afterimage |
684 |
- --disable-builtin-ftgl |
685 |
- --disable-builtin-freetype |
686 |
- --disable-builtin-glew |
687 |
- --disable-builtin-lzma |
688 |
- --disable-builtin-pcre |
689 |
- --disable-builtin-zlib |
690 |
- --disable-cling |
691 |
- --disable-werror |
692 |
- --enable-explicitlink |
693 |
- --enable-shared |
694 |
- --enable-soversion |
695 |
- --fail-on-missing |
696 |
- --nohowto |
697 |
- --with-afs-shared=yes |
698 |
- --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" |
699 |
- $(use_enable X x11) |
700 |
- $(use_enable X asimage) |
701 |
- $(use_enable X xft) |
702 |
- $(use_enable afs) |
703 |
- $(use_enable c++11 cxx11) |
704 |
- $(use_enable c++14 cxx14) |
705 |
- $(use_enable fits fitsio) |
706 |
- $(use_enable fftw fftw3) |
707 |
- $(use_enable gdml) |
708 |
- $(use_enable graphviz gviz) |
709 |
- $(use_enable http) |
710 |
- $(use_enable kerberos krb5) |
711 |
- $(use_enable ldap) |
712 |
- $(use_enable math genvector) |
713 |
- $(use_enable math gsl-shared) |
714 |
- $(use_enable math mathmore) |
715 |
- $(use_enable math minuit2) |
716 |
- $(use_enable math roofit) |
717 |
- $(use_enable math tmva) |
718 |
- $(use_enable math vc) |
719 |
- $(use_enable math vdt) |
720 |
- $(use_enable math unuran) |
721 |
- $(use_enable memstat) |
722 |
- $(use_enable mysql) |
723 |
- $(usex mysql "--with-mysql-incdir=${EPREFIX}/usr/include/mysql" "") |
724 |
- $(use_enable odbc) |
725 |
- $(use_enable opengl) |
726 |
- $(use_enable oracle) |
727 |
- $(use_enable postgres pgsql) |
728 |
- $(use_enable prefix rpath) |
729 |
- $(use_enable pythia6) |
730 |
- $(use_enable pythia8) |
731 |
- $(use_enable python) |
732 |
- $(use_enable qt4 qt) |
733 |
- $(use_enable qt4 qtgsi) |
734 |
- $(use_enable reflex cintex) |
735 |
- $(use_enable reflex) |
736 |
- $(use_enable ruby) |
737 |
- $(use_enable shadow shadowpw) |
738 |
- $(use_enable sqlite) |
739 |
- $(use_enable ssl) |
740 |
- $(use_enable table) |
741 |
- $(use_enable tiff astiff) |
742 |
- $(use_enable xml) |
743 |
- $(use_enable xrootd) |
744 |
- $(use_enable zeroconf bonjour) |
745 |
- ${EXTRA_ECONF} |
746 |
- ) |
747 |
- |
748 |
- # usex can't be used here, because pg_config may be not |
749 |
- # installed with USE="-postgres" |
750 |
- use postgres && myconf+=( --with-pgsql-incdir=$(pg_config --includedir) ) |
751 |
- |
752 |
- ./configure ${myconf[@]} || die "configure failed" |
753 |
-} |
754 |
- |
755 |
-src_compile() { |
756 |
- # The build system does not handle the dependency of bin/rmkdepend correctly, |
757 |
- # preventing it to be called in parallel. Build bin/rmkdepend explicitly |
758 |
- # first to circumvent the problem. |
759 |
- emake bin/rmkdepend |
760 |
- emake \ |
761 |
- OPT="${CXXFLAGS}" \ |
762 |
- F77OPT="${FFLAGS}" \ |
763 |
- ROOTSYS="${S}" \ |
764 |
- LD_LIBRARY_PATH="${S}/lib" |
765 |
- use emacs && elisp-compile build/misc/*.el |
766 |
-} |
767 |
- |
768 |
-daemon_install() { |
769 |
- local daemons="rootd proofd" |
770 |
- dodir /var/spool/rootd |
771 |
- fowners rootd:rootd /var/spool/rootd |
772 |
- dodir /var/spool/rootd/{pub,tmp} |
773 |
- fperms 1777 /var/spool/rootd/{pub,tmp} |
774 |
- |
775 |
- local i |
776 |
- for i in ${daemons}; do |
777 |
- newinitd "${FILESDIR}"/${i}.initd ${i} |
778 |
- newconfd "${FILESDIR}"/${i}.confd ${i} |
779 |
- done |
780 |
- if use xinetd; then |
781 |
- insinto /etc/xinetd |
782 |
- doins "${S}"/etc/daemons/{rootd,proofd}.xinetd |
783 |
- fi |
784 |
-} |
785 |
- |
786 |
-desktop_install() { |
787 |
- cd "${S}" |
788 |
- echo "Icon=root-system-bin" >> etc/root.desktop |
789 |
- domenu etc/root.desktop |
790 |
- doicon build/package/debian/root-system-bin.png |
791 |
- |
792 |
- insinto /usr/share/icons/hicolor/48x48/mimetypes |
793 |
- doins build/package/debian/application-x-root.png |
794 |
- |
795 |
- insinto /usr/share/icons/hicolor/48x48/apps |
796 |
- doicon build/package/debian/root-system-bin.xpm |
797 |
-} |
798 |
- |
799 |
-cleanup_install() { |
800 |
- # Cleanup of files either already distributed or unused on Gentoo |
801 |
- pushd "${ED}" > /dev/null |
802 |
- rm usr/share/root/fonts/LICENSE || die |
803 |
- rm etc/root/proof/*.sample || die |
804 |
- rm -r etc/root/daemons || die |
805 |
- # these should be in PATH |
806 |
- mv etc/root/proof/utils/pq2/pq2* usr/bin/ || die |
807 |
- rm ${DOC_DIR#/}/{INSTALL,LICENSE,COPYING.CINT} || die |
808 |
- use examples || rm -r ${DOC_DIR#/}/examples || die |
809 |
- cd usr/$(get_libdir)/root/cint/cint |
810 |
- rm lib/posix/mktypes lib/dll_stl/setup lib/G__* || die |
811 |
- rm lib/dll_stl/G__* lib/dll_stl/rootcint_* lib/posix/exten.o || die |
812 |
- rm include/makehpib || die |
813 |
- popd > /dev/null |
814 |
-} |
815 |
- |
816 |
-src_install() { |
817 |
- emake DESTDIR="${D}" install |
818 |
- |
819 |
- echo "LDPATH=${EPREFIX%/}/usr/$(get_libdir)/root" > 99root |
820 |
- |
821 |
- use pythia8 && echo "PYTHIA8=${EPREFIX%/}/usr" >> 99root |
822 |
- if use python; then |
823 |
- echo "PYTHONPATH=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root |
824 |
- python_optimize "${D}/usr/$(get_libdir)/root" |
825 |
- use reflex && python_optimize "${D}/usr/$(get_libdir)/root/python/genreflex/" |
826 |
- fi |
827 |
- use ruby && \ |
828 |
- echo "RUBYLIB=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root |
829 |
- use emacs && elisp-install ${PN} build/misc/*.{el,elc} |
830 |
- if use examples; then |
831 |
- # these should really be taken care of by the root make install |
832 |
- insinto ${DOC_DIR}/examples/tutorials/tmva |
833 |
- doins -r tmva/test |
834 |
- fi |
835 |
- doenvd 99root |
836 |
- |
837 |
- # The build system installs Emacs support unconditionally in the wrong |
838 |
- # directory. Remove it and call elisp-install in case of USE=emacs. |
839 |
- rm -r "${ED}"/usr/share/emacs || die |
840 |
- |
841 |
- daemon_install |
842 |
- desktop_install |
843 |
- cleanup_install |
844 |
- |
845 |
- # do not copress files used by ROOT's CLI (.credit, .demo, .license) |
846 |
- docompress -x "${DOC_DIR}"/{CREDITS,examples/tutorials} |
847 |
- # needed for .license command to work |
848 |
- dosym "${ED}"usr/portage/licenses/LGPL-2.1 "${DOC_DIR}/LICENSE" |
849 |
-} |
850 |
- |
851 |
-pkg_postinst() { |
852 |
- xdg_desktop_database_update |
853 |
-} |
854 |
- |
855 |
-pkg_postrm() { |
856 |
- xdg_desktop_database_update |
857 |
-} |