Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/root/files/, sci-physics/root/
Date: Thu, 01 Mar 2012 14:37:40
Message-Id: 1330611663.636b2c74fae655c34a3f96368ae6101795865fc9.bircoph@gentoo
1 commit: 636b2c74fae655c34a3f96368ae6101795865fc9
2 Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
3 AuthorDate: Thu Mar 1 14:21:03 2012 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
5 CommitDate: Thu Mar 1 14:21:03 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=636b2c74
7
8 sci-physics/root: version bump
9
10 ---
11 sci-physics/root/ChangeLog | 12 +-
12 sci-physics/root/files/olbd.confd | 9 -
13 sci-physics/root/files/olbd.initd | 26 --
14 .../root/files/root-5.26.00-make-3.82.patch | 36 --
15 .../root/files/root-5.26.00e-libpng15.patch | 33 --
16 .../root/files/root-5.28.00b-nobyte-compile.patch | 138 --------
17 sci-physics/root/files/xrootd.confd | 8 -
18 sci-physics/root/files/xrootd.initd | 26 --
19 sci-physics/root/root-5.26.00e-r1.ebuild | 316 ------------------
20 sci-physics/root/root-5.28.00d.ebuild | 338 --------------------
21 ...{root-5.32.00-r2.ebuild => root-5.32.01.ebuild} | 0
22 11 files changed, 11 insertions(+), 931 deletions(-)
23
24 diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog
25 index 8b69c5c..dd9250e 100644
26 --- a/sci-physics/root/ChangeLog
27 +++ b/sci-physics/root/ChangeLog
28 @@ -2,8 +2,18 @@
29 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 # $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.92 2012/01/21 19:23:26 bicatali Exp $
31
32 +*root-5.32.01 (01 Mar 2012)
33 +
34 + 01 Mar 2012; Andrew Savchenko <bircoph@×××××.com>
35 + -files/root-5.26.00-make-3.82.patch, -root-5.26.00e-r1.ebuild,
36 + -files/root-5.26.00e-libpng15.patch,
37 + -files/root-5.28.00b-nobyte-compile.patch, -root-5.28.00d.ebuild,
38 + -root-5.32.00-r2.ebuild, +root-5.32.01.ebuild, -files/olbd.confd,
39 + -files/olbd.initd, -files/xrootd.confd, -files/xrootd.initd:
40 + Version bump for patch release 5.32/01.
41 +
42 27 Feb 2012; Andrew Savchenko <bircoph@×××××.com>
43 - root-5.26.00e-r1.ebuild:
44 + root-5.32.00-r1.ebuild:
45 Fix build on non-english locales. find tool may become crazy on
46 them, so force LANG=C LC_ALL=C for find only.
47
48
49 diff --git a/sci-physics/root/files/olbd.confd b/sci-physics/root/files/olbd.confd
50 deleted file mode 100644
51 index 848f4d7..0000000
52 --- a/sci-physics/root/files/olbd.confd
53 +++ /dev/null
54 @@ -1,9 +0,0 @@
55 -# conf.d file for olbd daemon
56 -
57 -# User to run as (default is `xrootd')
58 -OLBD_USER="root"
59 -
60 -#
61 -# Please refer to the olbd(1) man(1) page for more
62 -# information on command line parameters.
63 -OLBD_OPTS=""
64
65 diff --git a/sci-physics/root/files/olbd.initd b/sci-physics/root/files/olbd.initd
66 deleted file mode 100644
67 index 1793300..0000000
68 --- a/sci-physics/root/files/olbd.initd
69 +++ /dev/null
70 @@ -1,26 +0,0 @@
71 -#!/sbin/runscript
72 -# Copyright 1999-2012 Gentoo Foundation
73 -# Distributed under the terms of the GNU General Public License v2
74 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/olbd.initd,v 1.1 2008/12/18 18:10:18 bicatali Exp $
75 -
76 -depend() {
77 - need net
78 - use dns logger
79 - provide root-file-server
80 -}
81 -
82 -start() {
83 - ebegin "Starting ROOT open load balancer server"
84 - start-stop-daemon --start --quiet --user=${OLBD_USER} \
85 - --make-pidfile --pidfile=/var/run/olbd.pid \
86 - --exec /usr/bin/olbd --background -- ${OLBD_OPTS}
87 - eend $?
88 -}
89 -
90 -stop() {
91 - ebegin "Stopping ROOT open load balancer server"
92 - start-stop-daemon --stop --quiet \
93 - --pidfile=/var/run/olbd.pid \
94 - --exec /usr/bin/olbd
95 - eend $?
96 -}
97
98 diff --git a/sci-physics/root/files/root-5.26.00-make-3.82.patch b/sci-physics/root/files/root-5.26.00-make-3.82.patch
99 deleted file mode 100644
100 index dc6d8a0..0000000
101 --- a/sci-physics/root/files/root-5.26.00-make-3.82.patch
102 +++ /dev/null
103 @@ -1,36 +0,0 @@
104 -http://root.cern.ch/viewcvs?view=rev&revision=35096
105 -https://savannah.cern.ch/bugs/?func=detailitem&item_id=72166
106 -
107 ---- root-5.26.00d/Makefile
108 -+++ root-5.26.00d/Makefile
109 -@@ -544,6 +544,30 @@
110 - .PRECIOUS: include/%.h
111 -
112 - # special rules (need to be defined before generic ones)
113 -+cint/cint/lib/dll_stl/G__%.o: cint/cint/lib/dll_stl/G__%.cxx
114 -+ $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \
115 -+ $(CXXFLAGS) $(DICTFLAGS) -D__cplusplus -I$(CINTDIR)/lib/prec_stl \
116 -+ -I$(CINTDIR)/stl -I$(CINTDIR)/inc -- $<
117 -+ $(CXX) $(NOOPT) $(CXXFLAGS) $(DICTFLAGS) -I. -I$(CINTDIR)/inc $(CXXOUT)$@ -c $<
118 -+
119 -+cint/cint/lib/dll_stl/G__c_%.o: cint/cint/lib/dll_stl/G__c_%.c
120 -+ $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \
121 -+ $(CFLAGS) $(DICTFLAGS) -I$(CINTDIR)/lib/prec_stl \
122 -+ -I$(CINTDIR)/stl -I$(CINTDIR)/inc -- $<
123 -+ $(CC) $(NOOPT) $(CFLAGS) $(DICTFLAGS) -I. -I$(CINTDIR)/inc $(CXXOUT)$@ -c $<
124 -+
125 -+cint/cint/lib/G__%.o: cint/cint/lib/G__%.cxx
126 -+ $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \
127 -+ $(CXXFLAGS) $(DICTFLAGS) -D__cplusplus -I$(CINTDIR)/lib/prec_stl \
128 -+ -I$(CINTDIR)/stl -I$(CINTDIR)/inc -- $<
129 -+ $(CXX) $(NOOPT) $(CXXFLAGS) $(DICTFLAGS) -I. -I$(CINTDIR)/inc $(CXXOUT)$@ -c $<
130 -+
131 -+cint/cint/lib/G__c_%.o: cint/cint/lib/G__c_%.c
132 -+ $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \
133 -+ $(CFLAGS) $(DICTFLAGS) -I$(CINTDIR)/lib/prec_stl \
134 -+ -I$(CINTDIR)/stl -I$(CINTDIR)/inc -- $<
135 -+ $(CC) $(NOOPT) $(CFLAGS) $(DICTFLAGS) -I. -I$(CINTDIR)/inc $(CXXOUT)$@ -c $<
136 -+
137 - G__%.o: G__%.cxx
138 - $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \
139 - $(CXXFLAGS) $(DICTFLAGS) -D__cplusplus -I$(CINTDIR)/lib/prec_stl \
140
141 diff --git a/sci-physics/root/files/root-5.26.00e-libpng15.patch b/sci-physics/root/files/root-5.26.00e-libpng15.patch
142 deleted file mode 100644
143 index 91ed9c4..0000000
144 --- a/sci-physics/root/files/root-5.26.00e-libpng15.patch
145 +++ /dev/null
146 @@ -1,33 +0,0 @@
147 -This patch is a copy from media-libs/libafterimage.
148 -
149 ---- graf2d/asimage/src/libAfterImage/export.c
150 -+++ graf2d/asimage/src/libAfterImage/export.c
151 -@@ -496,7 +496,7 @@
152 - png_ptr = png_create_write_struct( PNG_LIBPNG_VER_STRING, NULL, NULL, NULL );
153 - if ( png_ptr != NULL )
154 - if( (info_ptr = png_create_info_struct(png_ptr)) != NULL )
155 -- if( setjmp(png_ptr->jmpbuf) )
156 -+ if( setjmp(png_jmpbuf(png_ptr)) )
157 - {
158 - png_destroy_info_struct(png_ptr, (png_infopp) &info_ptr);
159 - info_ptr = NULL ;
160 ---- graf2d/asimage/src/libAfterImage/import.c
161 -+++ graf2d/asimage/src/libAfterImage/import.c
162 -@@ -1251,7 +1251,7 @@
163 - * the normal method of doing things with libpng). REQUIRED unless you
164 - * set up your own error handlers in the png_create_read_struct() earlier.
165 - */
166 -- if ( !setjmp (png_ptr->jmpbuf))
167 -+ if ( !setjmp (png_jmpbuf(png_ptr)))
168 - {
169 - ASFlagType rgb_flags = ASStorage_RLEDiffCompress|ASStorage_32Bit ;
170 -
171 -@@ -1468,7 +1468,7 @@
172 -
173 - static void asim_png_read_data(png_structp png_ptr, png_bytep data, png_size_t length)
174 - {
175 -- ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_ptr->io_ptr;
176 -+ ASImPNGReadBuffer *buf = (ASImPNGReadBuffer *)png_get_io_ptr(png_ptr);
177 - memcpy(data, buf->buffer, length);
178 - buf->buffer += length;
179 - }
180
181 diff --git a/sci-physics/root/files/root-5.28.00b-nobyte-compile.patch b/sci-physics/root/files/root-5.28.00b-nobyte-compile.patch
182 deleted file mode 100644
183 index 7029bf1..0000000
184 --- a/sci-physics/root/files/root-5.28.00b-nobyte-compile.patch
185 +++ /dev/null
186 @@ -1,138 +0,0 @@
187 -diff -Naur root.orig/Makefile root/Makefile
188 ---- root.orig/Makefile 2010-12-17 22:48:40.577775091 +0300
189 -+++ root/Makefile 2010-12-17 22:49:27.902497903 +0300
190 -@@ -1148,10 +1148,7 @@
191 - if test "x$(RFLX_GRFLXPY)" != "x"; then \
192 - rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPY); \
193 - fi; \
194 -- if test "x$(RFLX_GRFLXPYC)" != "x"; then \
195 -- rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPYC); \
196 -- fi; \
197 -- if test "x$(RFLX_GRFLXPY)$(RFLX_GRFLXPYC)" != "x"; then \
198 -+ if test "x$(RFLX_GRFLXPY)" != "x"; then \
199 - dir=$(RFLX_GRFLXDD:lib/=); \
200 - while test "x$${dir}" != "x" && \
201 - test -d $(DESTDIR)$(LIBDIR)/$${dir} && \
202 -diff -Naur root.orig/bindings/pyroot/Module.mk root/bindings/pyroot/Module.mk
203 ---- root.orig/bindings/pyroot/Module.mk 2010-12-17 22:48:39.941179413 +0300
204 -+++ root/bindings/pyroot/Module.mk 2010-12-17 22:49:27.899164943 +0300
205 -@@ -48,8 +48,6 @@
206 - ROOTPY := $(subst $(MODDIR),$(LPATH),$(ROOTPYS))
207 - $(LPATH)/%.py: $(MODDIR)/%.py; cp $< $@
208 - endif
209 --ROOTPYC := $(ROOTPY:.py=.pyc)
210 --ROOTPYO := $(ROOTPY:.py=.pyo)
211 -
212 - # used in the main Makefile
213 - ALLHDRS += $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYROOTH))
214 -@@ -68,10 +66,8 @@
215 - include/%.h: $(PYROOTDIRI)/%.h
216 - cp $< $@
217 -
218 --%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )'
219 --%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )'
220 -
221 --$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) $(ROOTPYC) $(ROOTPYO) \
222 -+$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) \
223 - $(ROOTLIBSDEP) $(PYTHONLIBDEP)
224 - @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \
225 - "$(SOFLAGS)" libPyROOT.$(SOEXT) $@ \
226 -@@ -113,7 +109,7 @@
227 -
228 - distclean-$(MODNAME): clean-$(MODNAME)
229 - @rm -f $(PYROOTDEP) $(PYROOTDS) $(PYROOTDH) $(PYROOTLIB) \
230 -- $(ROOTPY) $(ROOTPYC) $(ROOTPYO) $(PYROOTMAP) \
231 -+ $(ROOTPY) $(PYROOTMAP) \
232 - $(PYROOTPYD) $(PYTHON64DEP) $(PYTHON64)
233 -
234 - distclean:: distclean-$(MODNAME)
235 -diff -Naur root.orig/build/package/debian/rules root/build/package/debian/rules
236 ---- root.orig/build/package/debian/rules 2010-12-17 22:48:40.197817461 +0300
237 -+++ root/build/package/debian/rules 2010-12-17 22:49:27.902497903 +0300
238 -@@ -623,10 +623,6 @@
239 - -X$(SYSCONFDIR)/root/system.rootauthrc \
240 - -X$(SYSCONFDIR)/root/system.rootdaemonrc \
241 - -X$(PREFIX)/lib/root/$(SOVERS)/libAfterImage.a \
242 -- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyc \
243 -- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyo \
244 -- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyc \
245 -- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyo
246 - # $(foreach i, \
247 - # $(wildcard $(DTMP)/$(PREFIX)/lib/root/lib*.so.$(SOVERS)), \
248 - # -X$(i:$(DTMP)/%=%) )
249 -diff -Naur root.orig/cint/cintex/Module.mk root/cint/cintex/Module.mk
250 ---- root.orig/cint/cintex/Module.mk 2010-12-17 22:48:40.057833071 +0300
251 -+++ root/cint/cintex/Module.mk 2010-12-17 22:49:27.902497903 +0300
252 -@@ -31,10 +31,6 @@
253 - CINTEXPY := $(subst $(MODDIR)/python,$(LPATH),$(CINTEXPYS))
254 - $(LPATH)/%.py: $(MODDIR)/python/%.py; cp $< $@
255 - endif
256 --ifneq ($(BUILDPYTHON),no)
257 --CINTEXPYC := $(CINTEXPY:.py=.pyc)
258 --CINTEXPYO := $(CINTEXPY:.py=.pyo)
259 --endif
260 -
261 - # used in the main Makefile
262 - ALLHDRS += $(patsubst $(MODDIRI)/Cintex/%.h,include/Cintex/%.h,$(CINTEXH))
263 -@@ -86,8 +82,6 @@
264 - fi)
265 - cp $< $@
266 -
267 --%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" )'
268 --%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$<" )'
269 -
270 - $(CINTEXLIB): $(CINTEXO) $(CINTEXPY) $(CINTEXPYC) $(CINTEXPYO) \
271 - $(ORDER_) $(subst $(CINTEXLIB),,$(MAINLIBS)) $(CINTEXLIBDEP)
272 -diff -Naur root.orig/cint/reflex/Module.mk root/cint/reflex/Module.mk
273 ---- root.orig/cint/reflex/Module.mk 2010-12-17 22:48:40.037835301 +0300
274 -+++ root/cint/reflex/Module.mk 2010-12-17 22:51:36.871451359 +0300
275 -@@ -48,9 +48,6 @@
276 - RFLX_GRFLXS := $(wildcard $(RFLX_GRFLXSD)/*.py)
277 - RFLX_GRFLXPY := $(patsubst $(RFLX_GRFLXSD)/%.py,$(RFLX_GRFLXDD)/%.py,$(RFLX_GRFLXS))
278 - RFLX_GRFLXPY += $(RFLX_GCCXMLPATHPY)
279 --ifneq ($(BUILDPYTHON),no)
280 --RFLX_GRFLXPYC := $(subst .py,.pyc,$(RFLX_GRFLXPY))
281 --endif
282 -
283 - RFLX_LIBDIR = $(LIBDIR)
284 -
285 -@@ -92,7 +89,7 @@
286 -
287 - ALLEXECS += $(RFLX_GENMAPX)
288 -
289 --POSTBIN += $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY)
290 -+POSTBIN += $(RFLX_GRFLXPY)
291 -
292 - ##### local rules #####
293 - .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) \
294 -@@ -122,8 +119,6 @@
295 - mkdir -p lib/python/genreflex; fi )
296 - cp $< $@
297 -
298 --$(RFLX_GRFLXDD)/%.pyc: $(RFLX_GRFLXDD)/%.py
299 -- @python -c 'import py_compile; py_compile.compile( "$<" )'
300 -
301 - $(RFLX_GENMAPO) : CXXFLAGS += -I$(REFLEXDIRS)/genmap
302 -
303 -@@ -149,7 +144,7 @@
304 - $(RLIBMAP) -o $@ -l $(REFLEXDICTLIB) \
305 - -d $(REFLEXDICTLIBDEPM) -c $(REFLEXL)
306 -
307 --all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY)
308 -+all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_GRFLXPY)
309 -
310 - clean-genreflex:
311 - @rm -rf lib/python/genreflex
312 -diff -Naur root.orig/cint/reflex/python/CMakeLists.txt root/cint/reflex/python/CMakeLists.txt
313 ---- root.orig/cint/reflex/python/CMakeLists.txt 2010-12-17 22:48:40.037835301 +0300
314 -+++ root/cint/reflex/python/CMakeLists.txt 2010-12-17 22:49:27.902497903 +0300
315 -@@ -15,7 +15,7 @@
316 - ##################### sources ####################
317 -
318 - FILE(GLOB_RECURSE GENREFLEX_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} genreflex/*.py)
319 --SET(GENREFLEX_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/genreflex/genreflex.pyc PARENT_SCOPE)
320 -+SET(GENREFLEX_SCRIPT PARENT_SCOPE)
321 -
322 - ##################### gccxmlpath ####################
323 -
324 -
325
326 diff --git a/sci-physics/root/files/xrootd.confd b/sci-physics/root/files/xrootd.confd
327 deleted file mode 100644
328 index e725cd1..0000000
329 --- a/sci-physics/root/files/xrootd.confd
330 +++ /dev/null
331 @@ -1,8 +0,0 @@
332 -# conf.d file for xroot daemon
333 -
334 -# User to run as (default is `root')
335 -XROOTD_USER="root"
336 -
337 -# Please refer to the xrootd(1) man(1) page for more
338 -# information on command line parameters.
339 -XROOTD_OPTS=""
340
341 diff --git a/sci-physics/root/files/xrootd.initd b/sci-physics/root/files/xrootd.initd
342 deleted file mode 100644
343 index 28dd8a5..0000000
344 --- a/sci-physics/root/files/xrootd.initd
345 +++ /dev/null
346 @@ -1,26 +0,0 @@
347 -#!/sbin/runscript
348 -# Copyright 1999-2012 Gentoo Foundation
349 -# Distributed under the terms of the GNU General Public License v2
350 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/xrootd.initd,v 1.2 2009/01/20 18:04:09 bicatali Exp $
351 -
352 -depend() {
353 - need net
354 - use logger dns
355 - provide root-file-server
356 -}
357 -
358 -start() {
359 - ebegin "Starting extended ROOTD file server"
360 - start-stop-daemon --start --quiet --user ${XROOTD_USER} \
361 - --make-pidfile --pidfile /var/run/xrootd.pid \
362 - --exec /usr/bin/xrootd --background -- ${XROOTD_OPTS}
363 - eend $?
364 -}
365 -
366 -stop() {
367 - ebegin "Stopping extended ROOTD file server"
368 - start-stop-daemon --stop --quiet \
369 - --pidfile /var/run/xrootd.pid \
370 - --exec /usr/bin/xrootd
371 - eend $?
372 -}
373
374 diff --git a/sci-physics/root/root-5.26.00e-r1.ebuild b/sci-physics/root/root-5.26.00e-r1.ebuild
375 deleted file mode 100644
376 index 777617b..0000000
377 --- a/sci-physics/root/root-5.26.00e-r1.ebuild
378 +++ /dev/null
379 @@ -1,316 +0,0 @@
380 -# Copyright 1999-2012 Gentoo Foundation
381 -# Distributed under the terms of the GNU General Public License v2
382 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.26.00e-r1.ebuild,v 1.12 2011/11/13 11:21:12 jlec Exp $
383 -
384 -EAPI=3
385 -
386 -PYTHON_DEPEND="python? 2"
387 -
388 -inherit versionator eutils fortran-2 elisp-common fdo-mime python toolchain-funcs
389 -
390 -DOC_PV=$(get_major_version)_$(get_version_component_range 2)
391 -ROOFIT_DOC_PV=2.91-33
392 -TMVA_DOC_PV=4
393 -
394 -DESCRIPTION="C++ data analysis framework and interpreter from CERN"
395 -HOMEPAGE="http://root.cern.ch/"
396 -SRC_URI="
397 - ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz
398 - mirror://gentoo/${P}-patches.tar.bz2
399 - doc? (
400 - ftp://root.cern.ch/root/doc/Users_Guide_${DOC_PV}.pdf
401 - ftp://root.cern.ch/root/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
402 - http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf )"
403 -
404 -SLOT="0"
405 -LICENSE="LGPL-2.1"
406 -KEYWORDS="amd64 x86"
407 -IUSE="afs clarens doc emacs examples fftw geant4 graphviz kerberos ldap
408 - +math mysql odbc +opengl openmp oracle postgres pythia6 pythia8 python
409 - +reflex ruby qt4 ssl xft xml xinetd xrootd"
410 -
411 -# libafterimage ignored, to check every version
412 -# see https://savannah.cern.ch/bugs/?func=detailitem&item_id=30944
413 -# || ( >=media-libs/libafterimage-1.18 x11-wm/afterstep )
414 -CDEPEND="
415 - >=dev-lang/cfortran-4.4-r2
416 - dev-libs/libpcre
417 - >=media-libs/ftgl-2.1.3_rc5
418 - media-libs/giflib
419 - media-libs/glew
420 - media-libs/libpng:0
421 - media-libs/tiff:0
422 - sys-apps/shadow
423 - virtual/jpeg
424 - x11-libs/libXft
425 - x11-libs/libXpm
426 - afs? ( >=net-fs/openafs-1.4.7 )
427 - clarens? ( dev-libs/xmlrpc-c )
428 - emacs? ( virtual/emacs )
429 - fftw? ( sci-libs/fftw:3.0 )
430 - geant4? ( sci-physics/geant:4 )
431 - graphviz? ( media-gfx/graphviz )
432 - kerberos? ( virtual/krb5 )
433 - ldap? ( net-nds/openldap )
434 - math? ( sci-libs/gsl )
435 - mysql? ( virtual/mysql )
436 - odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
437 - opengl? ( virtual/opengl virtual/glu )
438 - oracle? ( dev-db/oracle-instantclient-basic )
439 - postgres? ( dev-db/postgresql-base )
440 - pythia6? ( sci-physics/pythia:6 )
441 - pythia8? ( sci-physics/pythia:8 )
442 - qt4? (
443 - x11-libs/qt-gui:4
444 - x11-libs/qt-opengl:4
445 - x11-libs/qt-qt3support:4
446 - x11-libs/qt-xmlpatterns:4 )
447 - ruby? (
448 - dev-lang/ruby
449 - dev-ruby/rubygems )
450 - ssl? ( dev-libs/openssl )
451 - xml? ( dev-libs/libxml2:2 )"
452 -
453 -DEPEND="${CDEPEND}
454 - dev-util/pkgconfig"
455 -
456 -RDEPEND="
457 - virtual/fortran
458 - ${CDEPEND}
459 - xinetd? ( sys-apps/xinetd )"
460 -
461 -S="${WORKDIR}/${PN}"
462 -
463 -pkg_setup() {
464 - fortran-2_pkg_setup
465 - echo
466 - elog "You may want to build ROOT with these non Gentoo extra packages:"
467 - elog "AliEn, castor, Chirp, dCache, gfal, gLite, Globus,"
468 - elog "Monalisa, MaxDB/SapDB, SRP."
469 - elog "You can use the env variable EXTRA_ECONF variable for this."
470 - elog "For example, for SRP, you would set: "
471 - elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=/usr/$(get_libdir)\""
472 - echo
473 - enewgroup rootd
474 - enewuser rootd -1 -1 /var/spool/rootd rootd
475 -
476 - if use openmp && \
477 - [[ $(tc-getCC)$ == *gcc* ]] && \
478 - ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] || \
479 - ! has_version sys-devel/gcc[openmp] ); then
480 - ewarn "You are using gcc and OpenMP is available with gcc >= 4.2"
481 - ewarn "If you want to build this package with OpenMP, abort now,"
482 - ewarn "and set CC to an OpenMP capable compiler"
483 - elif use openmp; then
484 - export USE_OPENMP=1
485 - use math && export USE_PARALLEL_MINUIT2=1
486 - fi
487 - use python && python_set_active_version 2
488 -}
489 -
490 -src_prepare() {
491 - epatch \
492 - "${WORKDIR}"/${P}-make-3.82.patch \
493 - "${WORKDIR}"/${P}-prop-ldflags.patch \
494 - "${WORKDIR}"/${P}-configure-paths.patch \
495 - "${WORKDIR}"/${P}-nobyte-compile.patch \
496 - "${WORKDIR}"/${P}-glibc212.patch \
497 - "${WORKDIR}"/${P}-xrootd-prop-flags.patch \
498 - "${FILESDIR}"/${P}-libpng15.patch
499 -
500 - # use system cfortran
501 - rm montecarlo/eg/inc/cfortran.h README/cfortran.doc
502 -
503 - # take a more descriptive name for ruby libs
504 - sed -i \
505 - -e 's/libRuby/libRubyROOT/g' \
506 - bindings/ruby/Module.mk bindings/ruby/src/drr.cxx \
507 - || die "ajusting ruby libname failed"
508 -
509 - # in gentoo, libPythia6 is called libpythia6
510 - # libungif is called libgif
511 - sed -i \
512 - -e 's/libPythia6/libpythia6/g' \
513 - -e 's/ungif/gif/g' \
514 - configure || die "adjusting library names failed"
515 -
516 - # libafterimage flags are hardcoded
517 - sed -i \
518 - -e 's/CFLAGS="-O3"//' \
519 - -e 's/CFLAGS=$$ACFLAGS//' \
520 - graf2d/asimage/Module.mk graf2d/asimage/src/libAfterImage/configure \
521 - || die "flag propagation in libafterimage failed"
522 - # QTDIR only used for qt3 in gentoo, and configure looks for it.
523 - unset QTDIR
524 -}
525 -
526 -src_configure() {
527 - # the configure script is not the standard autotools
528 - ./configure \
529 - --prefix="${EPREFIX}"/usr \
530 - --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
531 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
532 - --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
533 - --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
534 - --with-cc=$(tc-getCC) \
535 - --with-cxx=$(tc-getCXX) \
536 - --with-f77=$(tc-getFC) \
537 - --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \
538 - --disable-builtin-freetype \
539 - --disable-builtin-ftgl \
540 - --disable-builtin-glew \
541 - --disable-builtin-pcre \
542 - --disable-builtin-zlib \
543 - --disable-rpath \
544 - --enable-asimage \
545 - --enable-astiff \
546 - --enable-exceptions \
547 - --enable-explicitlink \
548 - --enable-gdml \
549 - --enable-memstat \
550 - --enable-shadowpw \
551 - --enable-shared \
552 - --enable-soversion \
553 - --enable-table \
554 - --fail-on-missing \
555 - --with-afs-shared=yes \
556 - $(use_enable afs) \
557 - $(use_enable clarens) \
558 - $(use_enable clarens peac) \
559 - $(use_enable fftw fftw3) \
560 - $(use_enable geant4 g4root) \
561 - $(use_enable graphviz gviz) \
562 - $(use_enable kerberos krb5) \
563 - $(use_enable ldap) \
564 - $(use_enable math gsl-shared) \
565 - $(use_enable math genvector) \
566 - $(use_enable math mathmore) \
567 - $(use_enable math minuit2) \
568 - $(use_enable math roofit) \
569 - $(use_enable math unuran) \
570 - $(use_enable mysql) \
571 - $(use_enable odbc) \
572 - $(use_enable opengl) \
573 - $(use_enable postgres pgsql) \
574 - $(use_enable pythia6) \
575 - $(use_enable pythia8) \
576 - $(use_enable python) \
577 - $(use_enable qt4 qt) \
578 - $(use_enable qt4 qtgsi) \
579 - $(use_enable reflex cintex) \
580 - $(use_enable reflex) \
581 - $(use_enable ruby) \
582 - $(use_enable ssl) \
583 - $(use_enable xft) \
584 - $(use_enable xml) \
585 - $(use_enable xrootd) \
586 - ${EXTRA_ECONF} \
587 - || die "configure failed"
588 -}
589 -
590 -src_compile() {
591 - emake OPT="${CFLAGS}" F77OPT="${FFLAGS}" || die "emake failed"
592 - if use emacs; then
593 - elisp-compile build/misc/*.el || die "elisp-compile failed"
594 - fi
595 -}
596 -
597 -doc_install() {
598 - cd "${S}"
599 - if use doc; then
600 - einfo "Installing user's guides"
601 - insinto /usr/share/doc/${PF}
602 - doins \
603 - "${DISTDIR}"/Users_Guide_${DOC_PV}.pdf \
604 - "${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf \
605 - || die "pdf install failed"
606 - if use math; then
607 - doins "${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \
608 - || die "math doc install failed"
609 - fi
610 - fi
611 -
612 - if use examples; then
613 - # these should really be taken care of by the root make install
614 - insinto /usr/share/doc/${PF}/examples/tutorials/tmva
615 - doins -r tmva/test || die
616 - else
617 - rm -rf "${D}"/usr/share/doc/${PF}/examples
618 - fi
619 -}
620 -
621 -daemon_install() {
622 - cd "${S}"
623 - local daemons="rootd proofd"
624 - dodir /var/spool/rootd
625 - fowners rootd:rootd /var/spool/rootd
626 - dodir /var/spool/rootd/{pub,tmp}
627 - fperms 1777 /var/spool/rootd/{pub,tmp}
628 -
629 - use xrootd && daemons="${daemons} xrootd olbd"
630 - for i in ${daemons}; do
631 - newinitd "${FILESDIR}"/${i}.initd ${i}
632 - newconfd "${FILESDIR}"/${i}.confd ${i}
633 - done
634 - if use xinetd; then
635 - insinto /etc/xinetd
636 - doins etc/daemons/{rootd,proofd}.xinetd || die
637 - fi
638 -}
639 -
640 -desktop_install() {
641 - cd "${S}"
642 - sed -e 's,@prefix@,/usr,' \
643 - build/package/debian/root-system-bin.desktop.in > root.desktop
644 - domenu root.desktop
645 - doicon "${S}"/build/package/debian/root-system-bin.png
646 -
647 - insinto /usr/share/icons/hicolor/48x48/mimetypes
648 - doins build/package/debian/application-x-root.png
649 -
650 - insinto /usr/share/icons/hicolor/48x48/apps
651 - doicon build/package/debian/root-system-bin.xpm
652 -}
653 -
654 -src_install() {
655 - emake DESTDIR="${D}" install || die "emake install failed"
656 -
657 - echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/root" > 99root
658 - use pythia8 && echo "PYTHIA8=${EPREFIX}/usr" >> 99root
659 - use python && echo "PYTHONPATH=${EPREFIX}/usr/$(get_libdir)/root" >> 99root
660 - use ruby && echo "RUBYLIB=${EPREFIX}/usr/$(get_libdir)/root" >> 99root
661 - doenvd 99root || die "doenvd failed"
662 -
663 - # The build system installs Emacs support unconditionally and in the wrong
664 - # directory. Remove it and call elisp-install in case of USE=emacs.
665 - rm -rf "${D}"/usr/share/emacs
666 - if use emacs; then
667 - elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed"
668 - fi
669 -
670 - doc_install
671 - daemon_install
672 - desktop_install
673 -
674 - # Cleanup of files either already distributed or unused on Gentoo
675 - rm "${ED}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT}
676 - rm "${ED}"usr/share/root/fonts/LICENSE
677 - pushd "${ED}"usr/$(get_libdir)/root/cint/cint/lib > /dev/null
678 - rm -f posix/mktypes dll_stl/setup \
679 - G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o
680 - rm -f "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib
681 - rm -f "${ED}"/etc/root/proof/*.sample
682 - rm -rf "${ED}"/etc/root/daemons
683 - popd > /dev/null
684 -}
685 -
686 -pkg_postinst() {
687 - use ruby && elog "ROOT Ruby module is available as libRubyROOT"
688 - fdo-mime_desktop_database_update
689 - use python && python_mod_optimize /usr/$(get_libdir)/root
690 -}
691 -
692 -pkg_postrm() {
693 - fdo-mime_desktop_database_update
694 - use python && python_mod_cleanup /usr/$(get_libdir)/root
695 -}
696
697 diff --git a/sci-physics/root/root-5.28.00d.ebuild b/sci-physics/root/root-5.28.00d.ebuild
698 deleted file mode 100644
699 index f685450..0000000
700 --- a/sci-physics/root/root-5.28.00d.ebuild
701 +++ /dev/null
702 @@ -1,338 +0,0 @@
703 -# Copyright 1999-2012 Gentoo Foundation
704 -# Distributed under the terms of the GNU General Public License v2
705 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.28.00d.ebuild,v 1.4 2011/11/13 11:21:12 jlec Exp $
706 -
707 -EAPI=3
708 -
709 -PYTHON_DEPEND="python? 2"
710 -
711 -inherit versionator eutils fortran-2 elisp-common fdo-mime python toolchain-funcs flag-o-matic
712 -
713 -#DOC_PV=$(get_major_version)_$(get_version_component_range 2)
714 -DOC_PV=5_26
715 -ROOFIT_DOC_PV=2.91-33
716 -TMVA_DOC_PV=4.03
717 -PATCH_PV=5.28.00b
718 -
719 -DESCRIPTION="C++ data analysis framework and interpreter from CERN"
720 -HOMEPAGE="http://root.cern.ch/"
721 -SRC_URI="
722 - ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz
723 - http://dev.gentoo.org/~bicatali/${PN}-${PATCH_PV}-xrootd-prop-flags.patch.bz2
724 - doc? ( ftp://root.cern.ch/${PN}/doc/Users_Guide_${DOC_PV}.pdf
725 - math? (
726 - ftp://root.cern.ch/${PN}/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
727 - http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf ) )"
728 -
729 -SLOT="0"
730 -LICENSE="LGPL-2.1"
731 -KEYWORDS="~amd64 ~x86"
732 -IUSE="afs avahi clarens doc emacs examples fits fftw graphviz kerberos ldap
733 - llvm +math mpi mysql ncurses odbc +opengl openmp oracle postgres pythia6
734 - pythia8 python +reflex ruby qt4 ssl xft xml xinetd xrootd"
735 -
736 -CDEPEND="
737 - >=dev-lang/cfortran-4.4-r2
738 - dev-libs/libpcre
739 - media-libs/ftgl
740 - media-libs/giflib
741 - media-libs/glew
742 - media-libs/libpng:0
743 - media-libs/tiff:0
744 - sys-apps/shadow
745 - virtual/jpeg
746 - x11-libs/libX11
747 - x11-libs/libXext
748 - x11-libs/libXft
749 - x11-libs/libXpm
750 - || ( >=media-libs/libafterimage-1.20 >=x11-wm/afterstep-2.2.11 )
751 - afs? ( net-fs/openafs )
752 - avahi? ( net-dns/avahi )
753 - clarens? ( dev-libs/xmlrpc-c )
754 - emacs? ( virtual/emacs )
755 - fits? ( sci-libs/cfitsio )
756 - fftw? ( sci-libs/fftw:3.0 )
757 - graphviz? ( media-gfx/graphviz )
758 - kerberos? ( virtual/krb5 )
759 - ldap? ( net-nds/openldap )
760 - llvm? ( sys-devel/llvm )
761 - math? ( sci-libs/gsl sci-mathematics/unuran mpi? ( virtual/mpi ) )
762 - mysql? ( virtual/mysql )
763 - ncurses? ( sys-libs/ncurses )
764 - odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
765 - opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps )
766 - oracle? ( dev-db/oracle-instantclient-basic )
767 - postgres? ( dev-db/postgresql-base )
768 - pythia6? ( sci-physics/pythia:6 )
769 - pythia8? ( sci-physics/pythia:8 )
770 - qt4? (
771 - x11-libs/qt-gui:4
772 - x11-libs/qt-opengl:4
773 - x11-libs/qt-qt3support:4
774 - x11-libs/qt-svg:4
775 - x11-libs/qt-webkit:4
776 - x11-libs/qt-xmlpatterns:4 )
777 - ruby? (
778 - dev-lang/ruby
779 - dev-ruby/rubygems )
780 - ssl? ( dev-libs/openssl )
781 - xml? ( dev-libs/libxml2:2 )"
782 -
783 -DEPEND="${CDEPEND}
784 - dev-util/pkgconfig"
785 -
786 -RDEPEND="
787 - virtual/fortran
788 -${CDEPEND}
789 - reflex? ( dev-cpp/gccxml )
790 - xinetd? ( sys-apps/xinetd )"
791 -
792 -S="${WORKDIR}/${PN}"
793 -
794 -pkg_setup() {
795 - fortran-2_pkg_setup
796 - echo
797 - elog "There are extra options on packages not yet in Gentoo:"
798 - elog "AliEn, castor, Chirp, dCache, gfal, gLite, Globus,"
799 - elog "HDFS, Monalisa, MaxDB/SapDB, SRP."
800 - elog "You can use the env variable EXTRA_ECONF variable for this."
801 - elog "For example, for SRP, you would set: "
802 - elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=/usr/$(get_libdir)\""
803 - echo
804 - enewgroup rootd
805 - enewuser rootd -1 -1 /var/spool/rootd rootd
806 -
807 - if use math; then
808 - if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
809 - ewarn "You are using gcc and OpenMP is available with gcc >= 4.2"
810 - ewarn "If you want to build this package with OpenMP, abort now,"
811 - ewarn "and set CC to an OpenMP capable compiler"
812 - elif use openmp; then
813 - export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1
814 - elif use mpi; then
815 - export USE_MPI=1 USE_PARALLEL_MINUIT2=1
816 - fi
817 - fi
818 -}
819 -
820 -src_prepare() {
821 - epatch \
822 - "${WORKDIR}"/${PN}-${PATCH_PV}-xrootd-prop-flags.patch \
823 - "${FILESDIR}"/${PN}-${PATCH_PV}-prop-ldflags.patch \
824 - "${FILESDIR}"/${PN}-${PATCH_PV}-asneeded.patch \
825 - "${FILESDIR}"/${PN}-${PATCH_PV}-nobyte-compile.patch \
826 - "${FILESDIR}"/${PN}-${PATCH_PV}-glibc212.patch \
827 - "${FILESDIR}"/${PN}-${PATCH_PV}-unuran.patch
828 -
829 - # make sure we use system libs and headers
830 - rm montecarlo/eg/inc/cfortran.h README/cfortran.doc
831 - rm -rf graf2d/asimage/src/libAfterImage
832 - rm -rf graf3d/ftgl/{inc,src}
833 - rm -rf graf2d/freetype/src
834 - rm -rf graf3d/glew/{inc,src}
835 - rm -rf core/pcre/src
836 - rm -rf math/unuran/src/unuran-*.tar.gz
837 - find core/zip -type f -name "[a-z]*" | xargs rm
838 - rm graf3d/gl/{inc,src}/gl2ps.*
839 - sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' graf3d/gl/Module.mk
840 -
841 - # TODO: unbundle xrootd as a new package
842 - #rm -rf net/xrootd/src
843 - #sed -i \
844 - # -e 's:-lXrdOuc:-lXrd &:' \
845 - # -e 's:$(XROOTDDIRL)/lib\(Xrd\w*\).a:-l\1:g' \
846 - # proof/proofd/Module.mk || die
847 -
848 - # In Gentoo, libPythia6 is called libpythia6
849 - # libungif is called libgif,
850 - # iodbc is in /usr/include/iodbc
851 - # pg_config.h is checked instead of libpq-fe.h
852 - sed -i \
853 - -e 's:libPythia6:libpythia6:g' \
854 - -e 's:ungif:gif:g' \
855 - -e 's:$ODBCINC:$ODBCINC /usr/include/iodbc:' \
856 - -e 's:libpq-fe.h:pg_config.h:' \
857 - configure || die "adjusting configure for Gentoo failed"
858 -
859 - # prefixify the configure script
860 - sed -i \
861 - -e 's:/usr:${EPREFIX}/usr:g' \
862 - configure || die "prefixify configure failed"
863 -
864 - # QTDIR only used for qt3 in gentoo, and configure looks for it.
865 - unset QTDIR
866 -}
867 -
868 -src_configure() {
869 - # the configure script is not the standard autotools
870 - ./configure \
871 - --prefix="${EPREFIX}"/usr \
872 - --etcdir="${EPREFIX}"/etc/root \
873 - --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
874 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
875 - --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
876 - --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
877 - --with-cc=$(tc-getCC) \
878 - --with-cxx=$(tc-getCXX) \
879 - --with-f77=$(tc-getFC) \
880 - --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \
881 - --disable-builtin-afterimage \
882 - --disable-builtin-freetype \
883 - --disable-builtin-ftgl \
884 - --disable-builtin-glew \
885 - --disable-builtin-pcre \
886 - --disable-builtin-zlib \
887 - --disable-rpath \
888 - --enable-asimage \
889 - --enable-astiff \
890 - --enable-exceptions \
891 - --enable-explicitlink \
892 - --enable-gdml \
893 - --enable-memstat \
894 - --enable-shadowpw \
895 - --enable-shared \
896 - --enable-soversion \
897 - --enable-table \
898 - --fail-on-missing \
899 - --with-afs-shared=yes \
900 - $(use_enable afs) \
901 - $(use_enable avahi bonjour) \
902 - $(use_enable clarens) \
903 - $(use_enable clarens peac) \
904 - $(use_enable ncurses editline) \
905 - $(use_enable fits fitsio) \
906 - $(use_enable fftw fftw3) \
907 - $(use_enable graphviz gviz) \
908 - $(use_enable kerberos krb5) \
909 - $(use_enable ldap) \
910 - $(use_enable llvm cling) \
911 - $(use_enable math gsl-shared) \
912 - $(use_enable math genvector) \
913 - $(use_enable math mathmore) \
914 - $(use_enable math minuit2) \
915 - $(use_enable math roofit) \
916 - $(use_enable math tmva) \
917 - $(use_enable math unuran) \
918 - $(use_enable mysql) \
919 - $(use_enable odbc) \
920 - $(use_enable opengl) \
921 - $(use_enable postgres pgsql) \
922 - $(use_enable pythia6) \
923 - $(use_enable pythia8) \
924 - $(use_enable python) \
925 - $(use_enable qt4 qt) \
926 - $(use_enable qt4 qtgsi) \
927 - $(use_enable reflex cintex) \
928 - $(use_enable reflex) \
929 - $(use_enable ruby) \
930 - $(use_enable ssl) \
931 - $(use_enable xft) \
932 - $(use_enable xml) \
933 - $(use_enable xrootd) \
934 - ${EXTRA_ECONF} \
935 - || die "configure failed"
936 -}
937 -
938 -src_compile() {
939 - emake OPT="${CFLAGS}" F77OPT="${FFLAGS}" || die "emake failed"
940 - if use emacs; then
941 - elisp-compile build/misc/*.el || die "elisp-compile failed"
942 - fi
943 -}
944 -
945 -doc_install() {
946 - cd "${S}"
947 - if use doc; then
948 - einfo "Installing user's guides"
949 - dodoc "${DISTDIR}"/Users_Guide_${DOC_PV}.pdf \
950 - use math && dodoc \
951 - "${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \
952 - "${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
953 - fi
954 -
955 - if use examples; then
956 - # these should really be taken care of by the root make install
957 - insinto /usr/share/doc/${PF}/examples/tutorials/tmva
958 - doins -r tmva/test
959 - else
960 - rm -rf "${ED}"/usr/share/doc/${PF}/examples
961 - fi
962 -}
963 -
964 -daemon_install() {
965 - cd "${S}"
966 - local daemons="rootd proofd"
967 - dodir /var/spool/rootd
968 - fowners rootd:rootd /var/spool/rootd
969 - dodir /var/spool/rootd/{pub,tmp}
970 - fperms 1777 /var/spool/rootd/{pub,tmp}
971 -
972 - use xrootd && daemons="${daemons} xrootd olbd"
973 - for i in ${daemons}; do
974 - newinitd "${FILESDIR}"/${i}.initd ${i}
975 - newconfd "${FILESDIR}"/${i}.confd ${i}
976 - done
977 - if use xinetd; then
978 - insinto /etc/xinetd
979 - doins etc/daemons/{rootd,proofd}.xinetd
980 - fi
981 -}
982 -
983 -desktop_install() {
984 - cd "${S}"
985 - sed -e 's,@prefix@,/usr,' \
986 - build/package/debian/root-system-bin.desktop.in > root.desktop
987 - domenu root.desktop
988 - doicon "${S}"/build/package/debian/root-system-bin.png
989 -
990 - insinto /usr/share/icons/hicolor/48x48/mimetypes
991 - doins build/package/debian/application-x-root.png
992 -
993 - insinto /usr/share/icons/hicolor/48x48/apps
994 - doicon build/package/debian/root-system-bin.xpm
995 -}
996 -
997 -src_install() {
998 - emake DESTDIR="${D}" install || die "emake install failed"
999 -
1000 - echo "LDPATH=${EPREFIX}/usr/$(get_libdir)/root" > 99root
1001 - use pythia8 && echo "PYTHIA8=${EPREFIX}/usr" >> 99root
1002 - use python && echo "PYTHONPATH=${EPREFIX}/usr/$(get_libdir)/root" >> 99root
1003 - use ruby && echo "RUBYLIB=${EPREFIX}/usr/$(get_libdir)/root" >> 99root
1004 - doenvd 99root || die "doenvd failed"
1005 -
1006 - # The build system installs Emacs support unconditionally and in the wrong
1007 - # directory. Remove it and call elisp-install in case of USE=emacs.
1008 - rm -rf "${ED}"/usr/share/emacs
1009 - if use emacs; then
1010 - elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed"
1011 - fi
1012 -
1013 - doc_install
1014 - daemon_install
1015 - desktop_install
1016 -
1017 - # Cleanup of files either already distributed or unused on Gentoo
1018 - rm "${ED}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT}
1019 - rm "${ED}"usr/share/root/fonts/LICENSE
1020 - pushd "${ED}"usr/$(get_libdir)/root/cint/cint/lib > /dev/null
1021 - rm -f posix/mktypes dll_stl/setup \
1022 - G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o
1023 - rm -f "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib
1024 - rm -f "${ED}"/etc/root/proof/*.sample
1025 - rm -rf "${ED}"/etc/root/daemons
1026 - popd > /dev/null
1027 - # these should be in PATH
1028 - mv "${ED}"usr/share/root/proof/utils/pq2/pq2* \
1029 - "${ED}"usr/bin
1030 -}
1031 -
1032 -pkg_postinst() {
1033 - fdo-mime_desktop_database_update
1034 - use python && python_mod_optimize /usr/$(get_libdir)/root
1035 -}
1036 -
1037 -pkg_postrm() {
1038 - fdo-mime_desktop_database_update
1039 - use python && python_mod_cleanup /usr/$(get_libdir)/root
1040 -}
1041
1042 diff --git a/sci-physics/root/root-5.32.00-r2.ebuild b/sci-physics/root/root-5.32.01.ebuild
1043 similarity index 100%
1044 rename from sci-physics/root/root-5.32.00-r2.ebuild
1045 rename to sci-physics/root/root-5.32.01.ebuild