From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S252a-0000hs-Mc for garchives@archives.gentoo.org; Mon, 27 Feb 2012 18:11:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F97FE0538; Mon, 27 Feb 2012 18:11:09 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id DC3E1E0538 for ; Mon, 27 Feb 2012 18:11:08 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EF42E64776 for ; Mon, 27 Feb 2012 18:11:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id BD46BE53FE for ; Mon, 27 Feb 2012 18:11:06 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1330366228.3de1a19e6fd417276097e6fc2b456c5aebd54683.bircoph@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/root/files/, sci-physics/root/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/root/ChangeLog sci-physics/root/files/olbd.confd sci-physics/root/files/olbd.initd sci-physics/root/files/proofd.confd sci-physics/root/files/proofd.initd sci-physics/root/files/root-5.26.00-make-3.82.patch sci-physics/root/files/root-5.26.00e-libpng15.patch sci-physics/root/files/root-5.28.00b-asneeded.patch sci-physics/root/files/root-5.28.00b-glibc212.patch sci-physics/root/files/root-5.28.00b-nobyte-compile.patch sci-physics/root/files/root-5.28.00b-prop-ldflags.patch sci-physics/root/files/root-5.28.00b-unuran.patch sci-physics/root/files/root-5.32.00-afs.patch sci-physics/root/files/root-5.32.00-cfitsio.patch sci-physics/root/files/root-5.32.00-nobyte-compile.patch sci-physics/root/files/rootd.confd sci-physics/root/files/rootd.initd sci-physics/root/files/xrootd.confd sci-physics/root/files/xrootd.initd sci-physics/root/metadata.xml sci-physics/root/root-5.26.00e-r1.ebuild sci-physics/root/root-5.28.00d.ebuild sci-physics/root/root-5.32.00-r2.e build X-VCS-Directories: sci-physics/root/files/ sci-physics/root/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: 3de1a19e6fd417276097e6fc2b456c5aebd54683 X-VCS-Branch: master Date: Mon, 27 Feb 2012 18:11:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1a180275-563c-4f63-a866-6f20d8b5db13 X-Archives-Hash: 9c8e6cd2dffca07f6a82627a7d9b50b2 commit: 3de1a19e6fd417276097e6fc2b456c5aebd54683 Author: Andrew Savchenko gmail com> AuthorDate: Mon Feb 27 18:10:28 2012 +0000 Commit: Andrew Savchenko gmail com> CommitDate: Mon Feb 27 18:10:28 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/sci.git;a=3Dc= ommit;h=3D3de1a19e sci-physics/root: fix build on non-english locales --- sci-physics/root/ChangeLog | 606 ++++++++++++++= ++++++ sci-physics/root/files/olbd.confd | 9 + sci-physics/root/files/olbd.initd | 26 + sci-physics/root/files/proofd.confd | 12 + sci-physics/root/files/proofd.initd | 26 + .../root/files/root-5.26.00-make-3.82.patch | 36 ++ .../root/files/root-5.26.00e-libpng15.patch | 33 ++ .../root/files/root-5.28.00b-asneeded.patch | 20 + .../root/files/root-5.28.00b-glibc212.patch | 11 + .../root/files/root-5.28.00b-nobyte-compile.patch | 138 +++++ .../root/files/root-5.28.00b-prop-ldflags.patch | 13 + sci-physics/root/files/root-5.28.00b-unuran.patch | 39 ++ sci-physics/root/files/root-5.32.00-afs.patch | 33 ++ sci-physics/root/files/root-5.32.00-cfitsio.patch | 13 + .../root/files/root-5.32.00-nobyte-compile.patch | 137 +++++ sci-physics/root/files/rootd.confd | 8 + sci-physics/root/files/rootd.initd | 28 + sci-physics/root/files/xrootd.confd | 8 + sci-physics/root/files/xrootd.initd | 26 + sci-physics/root/metadata.xml | 29 + sci-physics/root/root-5.26.00e-r1.ebuild | 316 ++++++++++ sci-physics/root/root-5.28.00d.ebuild | 338 +++++++++++ sci-physics/root/root-5.32.00-r2.ebuild | 340 +++++++++++ 23 files changed, 2245 insertions(+), 0 deletions(-) diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog new file mode 100644 index 0000000..8b69c5c --- /dev/null +++ b/sci-physics/root/ChangeLog @@ -0,0 +1,606 @@ +# ChangeLog for sci-physics/root +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.92 201= 2/01/21 19:23:26 bicatali Exp $ + + 27 Feb 2012; Andrew Savchenko + root-5.26.00e-r1.ebuild: + Fix build on non-english locales. find tool may become crazy on + them, so force LANG=3DC LC_ALL=3DC for find only. + +*root-5.32.00-r2 (21 Jan 2012) + + 21 Jan 2012; S=C3=A9bastien Fabbro +root-5.32.00= -r2.ebuild, + +files/root-5.32.00-afs.patch, +files/root-5.32.00-cfitsio.patch, + +files/root-5.32.00-nobyte-compile.patch, files/proofd.initd, + files/rootd.initd, metadata.xml: + Import root ebuild from the science overlay. Main work from Andrew Sav= chenko, + now proxy-maintainer + + 13 Nov 2011; Justin Lecher -root-5.26.00-r2.ebuild, + root-5.26.00e-r1.ebuild, root-5.28.00d.ebuild, metadata.xml: + Cleaned old, fixed slotting for media-libs/libpng and media-libs/tiff,= sort + Deps, converted elog -> echo where needed, cleaned illegal epause, for= mated + metadat.xml + + 18 Oct 2011; Samuli Suominen root-5.26.00e-r1.e= build, + +files/root-5.26.00e-libpng15.patch: + Fix building with libpng15 wrt #387553 by Daniel Savard + + 21 Jun 2011; Justin Lecher root-5.26.00-r2.ebuild, + root-5.26.00e-r1.ebuild, root-5.28.00d.ebuild: + Add dependency on virtual/fortran + + 21 Jun 2011; Justin Lecher root-5.26.00-r2.ebuild, + root-5.26.00e-r1.ebuild, root-5.28.00d.ebuild: + Added fortran-2.eclass support + + 06 Jun 2011; Jeroen Roovers root-5.26.00-r2.ebuild, + root-5.26.00e-r1.ebuild: + Drop HPPA keywording (bug #355963). + + 31 May 2011; Markus Meier root-5.26.00e-r1.ebuild: + x86 stable, bug #367321 + + 23 May 2011; Markos Chandras root-5.26.00e-r1.eb= uild: + Stable on amd64 wrt bug #367321 + + 20 May 2011; Jeroen Roovers root-5.26.00e-r1.ebuild: + Stable for HPPA (bug #367321). + +*root-5.28.00d (17 May 2011) + + 17 May 2011; S=C3=A9bastien Fabbro -root-5.28.00= b.ebuild, + +root-5.28.00d.ebuild: + Version bump + +*root-5.28.00b (16 Mar 2011) + + 16 Mar 2011; S=C3=A9bastien Fabbro +root-5.28.00= b.ebuild, + +files/root-5.28.00b-asneeded.patch, +files/root-5.28.00b-glibc212.pat= ch, + +files/root-5.28.00b-nobyte-compile.patch, + +files/root-5.28.00b-prop-ldflags.patch, +files/root-5.28.00b-unuran.p= atch, + metadata.xml: + Version bump. Now builds with unbundled libafterimage (bug #252918), g= l2ps. + Added a few flags (fits for cfitsio, llvm for cling support). More ebu= ild + cleaning. + + 02 Mar 2011; Justin Lecher root-5.26.00-r2.ebuild, + root-5.26.00e-r1.ebuild: + Correct Slots for gtk 3 introduction to tree + + 13 Feb 2011; Ra=C3=BAl Porcel root-5.26.00-r2.ebu= ild, + root-5.26.00e-r1.ebuild: + Drop sparc keywords + + 18 Jan 2011; Kacper Kowalik -root-5.26.00-r4.e= build: + Drop old. + + 08 Nov 2010; Kacper Kowalik + root-5.26.00-r2.ebuild, root-5.26.00-r4.ebuild, root-5.26.00e-r1.ebuil= d: + media-libs/jpeg -> virtual/jpeg + +*root-5.26.00e-r1 (22 Oct 2010) + + 22 Oct 2010; Kacper Kowalik -root-5.26.00e.ebu= ild, + +root-5.26.00e-r1.ebuild, -files/root-5.26.00e-configure-paths.patch, + -files/root-5.26.00e-glibc212.patch, -files/root-5.26.00e-make-3.82.pa= tch, + -files/root-5.26.00e-nobyte-compile.patch, + -files/root-5.26.00e-prop-ldflags.patch: + Move patches to mirrors. Fixes bug 341971. + +*root-5.26.00e (19 Oct 2010) + + 19 Oct 2010; S=C3=A9bastien Fabbro + +root-5.26.00e.ebuild, +files/root-5.26.00e-configure-paths.patch, + +files/root-5.26.00e-glibc212.patch, +files/root-5.26.00e-make-3.82.pa= tch, + +files/root-5.26.00e-nobyte-compile.patch, + +files/root-5.26.00e-prop-ldflags.patch: + Version bump, patch for afs submitted by Andrew Savchenko. + + 16 Oct 2010; Kacper Kowalik + root-5.26.00-r4.ebuild, +files/root-5.26.00-make-3.82.patch: + Fix building with gmake-3.82 wrt 333083. Thanks to Diego for reporting= . + + 10 Jul 2010; Ra=C3=BAl Porcel root-5.26.00-r2.ebu= ild: + sparc stable wrt #318469 + + 06 Jul 2010; S=C3=A9bastien Fabbro + root-5.26.00-r4.ebuild: + Added graphviz use flag + + 25 Jun 2010; Arfrever Frehtes Taifersar Arahesis + root-5.26.00-r4.ebuild: + Fix usage of python_set_active_version() and python_mod_optimize(), us= e + python_mod_cleanup() instead of python_mod_optimize() in pkg_postrm() = (bug + #316247). + + 25 Jun 2010; S=C3=A9bastien Fabbro + -root-5.22.00-r3.ebuild, -root-5.24.00-r1.ebuild, -root-5.26.00-r3.ebu= ild, + root-5.26.00-r4.ebuild, -files/root-5.26.00-nobyte-compile.patch: + Patch bump and removed useless gsl flag + +*root-5.26.00-r4 (25 Jun 2010) + + 25 Jun 2010; Justin Lecher +root-5.26.00-r4.ebuild: + Fixes for PYTHON ABIs + + 22 Jun 2010; S=C3=A9bastien Fabbro + root-5.26.00-r3.ebuild: + Removed cint7 flag, discontinued effort, and does not compile (bug + #324957) + + 17 Jun 2010; Patrick Lauer root-5.22.00-r2.ebuild= , + root-5.22.00-r3.ebuild, root-5.24.00-r1.ebuild, root-5.26.00-r2.ebuild= , + root-5.26.00-r3.ebuild: + Migrating away from deprecated postgres virtuals + +*root-5.26.00-r3 (14 Jun 2010) + + 14 Jun 2010; S=C3=A9bastien Fabbro + +root-5.26.00-r3.ebuild: + New patch set from upstream fixing a number of bugs, more LDFLAGS + propagation fixes, added gsl flag and released as-needed for more test= ing + + 01 Jun 2010; Pawel Hajdan jr + root-5.26.00-r2.ebuild: + x86 stable wrt bug #318469 + + 25 May 2010; Pacho Ramos root-5.26.00-r2.ebuild: + stable amd64, bug 318469 + + 13 May 2010; Jeroen Roovers root-5.26.00-r2.ebuild: + Stable for HPPA (bug #318469). + +*root-5.26.00-r2 (10 Mar 2010) + + 10 Mar 2010; S=C3=A9bastien Fabbro -root-5.26.00= .ebuild, + -root-5.26.00-r1.ebuild, +root-5.26.00-r2.ebuild: + Now do not optimize dictionary upon upstream recomendation, remove bug= gy + gcc44 patch (fixing bug #305871), update various patches, documentatio= n + (bug #307915) and cleaned up some seds + +*root-5.26.00-r1 (19 Feb 2010) + + 19 Feb 2010; S=C3=A9bastien Fabbro + +root-5.26.00-r1.ebuild: + Patch version bump. Also fixed a configure problem when checking for + symbol (bug #305279) + +*root-5.26.00 (09 Jan 2010) + + 09 Jan 2010; S=C3=A9bastien Fabbro +root-5.26.00= .ebuild: + Version bump. Thanks Andrew Savchenko for his input, bug #298284 + + 24 Nov 2009; S=C3=A9bastien Fabbro + root-5.24.00-r1.ebuild: + Fixed a PIC problem when configuring with AFS (bug #294038) + +*root-5.24.00-r1 (19 Nov 2009) + + 19 Nov 2009; S=C3=A9bastien Fabbro + root-5.22.00-r2.ebuild, root-5.22.00-r3.ebuild, -root-5.24.00.ebuild, + +root-5.24.00-r1.ebuild: + Forbid as-needed (bug #287178), fixed a syntax while installing TMVA + documentation, new version bump with new set of patches. Thanks Andrew + Savchenko for his contribution. + + 06 Oct 2009; Dominik Kapusta root-5.22.00-r2.ebuild, + root-5.22.00-r3.ebuild, root-5.24.00.ebuild: + Removed alternative dependency on Qt metapackage + +*root-5.24.00 (24 Sep 2009) + + 24 Sep 2009; S=C3=A9bastien Fabbro +root-5.24.00= .ebuild: + Version bump, still masked. A bit buggy with xrootd, cint7 and afs at + least on amd64. Thanks Andrew Savchenko for his work + +*root-5.22.00-r3 (23 Sep 2009) + + 23 Sep 2009; S=C3=A9bastien Fabbro -root-3.05.04= .ebuild, + -root-5.16.00.ebuild, -files/root-5.16.00-fortran.patch, + -files/root-5.16.00-xft.patch, -files/sparc-root-5.16.00.patch, + -root-5.20.00-r3.ebuild, -files/root-5.20.00-defind.patch, + -root-5.22.00-r1.ebuild, +root-5.22.00-r3.ebuild, -files/proofd.xinetd= , + -files/root.xinetd: + Added a few patches, including: new upstream patch revision, gcc-4.4 + fixes, sandbox violation, passing CXXFLAGS for g4root, newer kerberos. + Removed fortran eclass, relying on toolchain eclass. Closing bug #2759= 78, + bug #280197, bug #280869. Removed older versions, including ancient + root-3.x which was the only one ppc stable, but just too buggy on all + arches, and unsupported. Thanks to Andrew Savchenko for his contributi= ons. + + 19 Jul 2009; Jeremy Olexa root-5.22.00-r2.ebuild= : + amd64 stable, bug 275997 + + 16 Jul 2009; Christian Faulhammer + root-5.22.00-r2.ebuild: + stable x86, bug 275997 + + 16 Jul 2009; Ferris McCormick root-5.22.00-r2.ebui= ld: + Sparc stable, bug #275997. + + 25 Jun 2009; S=C3=A9bastien Fabbro Manifest: + Fixed a patch for python checking, bug #275284, thanks Adam Hunt + +*root-5.22.00-r2 (24 Jun 2009) + + 24 Jun 2009; S=C3=A9bastien Fabbro + +root-5.22.00-r2.ebuild: + New patch revision (svn #29183 )from upstream including many bug fixes + + 23 Jun 2009; Jeroen Roovers root-5.20.00-r3.ebuild, + +files/root-5.20.00-defind.patch: + Fix spelling error causing compile failure (bug #275205). + + 05 May 2009; Christian Faulhammer + root-5.20.00-r3.ebuild: + stable x86, bug 245875 + + 05 May 2009; Christian Faulhammer + root-5.20.00-r3.ebuild, root-5.22.00-r1.ebuild: + add dev-ruby/rubygems as dependency + + 13 Apr 2009; S=C3=A9bastien Fabbro + root-5.20.00-r3.ebuild, -root-5.22.00.ebuild, root-5.22.00-r1.ebuild: + Applied a patch from Ben Bannier to fix cint7 without ROOTSYS (bug + #263332) and allow cross-compiling (thanks jer, bug #265482) + +*root-5.22.00-r1 (06 Apr 2009) + + 06 Apr 2009; S=C3=A9bastien Fabbro + root-5.20.00-r3.ebuild, +root-5.22.00-r1.ebuild: + Fixed hicolor icons, thanks ulm, added new upstream patch and fixed do= c + name for TMVA, thanks Ben Bannier + + 22 Mar 2009; Jeremy Olexa root-5.20.00-r3.ebuild= : + amd64 stable, bug 245875 + + 05 Mar 2009; Ferris McCormick root-5.20.00-r3.ebui= ld: + Sparc stable and done with Bug #245875. + + 20 Jan 2009; S=C3=A9bastien Fabbro files/proofd.= initd, + files/rootd.initd, files/xrootd.initd, root-5.20.00-r3.ebuild, + root-5.22.00.ebuild: + Fixed postgresql configuration (bug #251590), fixed server rootd and + proofd files + + 19 Dec 2008; S=C3=A9bastien Fabbro root-5.22.00.= ebuild: + Fixed ftgl dependency, closing bug #251634 + +*root-5.22.00 (19 Dec 2008) + + 19 Dec 2008; S=C3=A9bastien Fabbro +root-5.22.00= .ebuild: + Version bump, moved to EAPI=3D2 + + 19 Dec 2008; S=C3=A9bastien Fabbro + root-5.20.00-r3.ebuild: + Forgot to apply xrootd-prop-flags patch + +*root-5.20.00-r3 (18 Dec 2008) + + 18 Dec 2008; S=C3=A9bastien Fabbro + files/root-5.20.00-as-needed.patch, -files/root-5.20.00-configure.patc= h, + +files/root-5.20.00-configure-paths.patch, -files/root-5.20.00-pic.pat= ch, + +files/root-5.20.00-prop-flags.patch, + +files/root-5.20.00-xrootd-shared.patch, +files/olbd.confd, + +files/olbd.initd, +files/proofd.confd, +files/proofd.initd, + +files/proofd.xinetd, +files/root.xinetd, +files/rootd.confd, + +files/rootd.initd, +files/xrootd.confd, +files/xrootd.initd, + -root-5.20.00-r1.ebuild, -root-5.20.00-r2.ebuild, +root-5.20.00-r3.ebu= ild: + Major revision bump with lots of changes: + - added proofd, rootd, xrootd initd daemons + - added xinetd support (use flag) for proofd and xrootd + - added desktop files and mimetypes + - fix cfortran dependency (closing bug #250432) + - fix qt:4 dependency + - fix for bad cfortran include file + - fix for more as-needed + - now propagates all flags everywhere (should close bug #250653) + - removed a bunch of installed files useless on gentoo + - install tmva tutorials + - now installs tutorials and tests with 'examples' use flag in=20 + /usr/share/doc/root*/examples directory + - do patches instead of sed's to propose upstream. + Removed older revisions. + + 05 Dec 2008; S=C3=A9bastien Fabbro + +files/root-5.20.00-ftgl_header.patch, root-5.20.00-r2.ebuild: + Fixed for older ftgl versions, bug #249885, thanks to Benjamin Bannier + +*root-5.20.00-r2 (04 Dec 2008) + + 04 Dec 2008; S=C3=A9bastien Fabbro + -files/root-5.18.00d-gcc43.patch, -files/root-5.18.00d-makefile.patch, + +files/root-5.20.00-as-needed.patch, +files/root-5.20.00-ftgl.patch, + -files/xrootd-20071116-checksymbol.patch, + -files/xrootd-20071116-gcc43.patch, -files/root-pic.patch, + -root-5.18.00d.ebuild, -root-5.20.00.ebuild, +root-5.20.00-r2.ebuild: + Fixed flags propagation, fixed dependency for qt-4, fixed for forced + as-needed (bug #248380), fixed for ftgl > 2.1.3_rc5 (bug #248789, than= ks + tao@post.cz), removed unixODBC as a possible odbc implementation (bug + #242150, thanks Benjamin Bennier), removed old version with big patche= s + (closing bug #249009) + +*root-5.20.00-r1 (23 Sep 2008) + + 23 Sep 2008; S=C3=A9bastien Fabbro + +files/root-5.20.00-include-defines-file.patch, + +files/root-5.20.00-upstream.patch, +root-5.20.00-r1.ebuild: + Added a bunch of patches from Benjamin Bannier for Pythia libraries (b= ug + #230673), ruby name changes (bug #236072), opengl include files (bug + #236071), extra documentation (bug #236070). Also added a reflex flag = to + enable users encountering bug #233698, some emacs changes thanks to ul= m. + Finally, added some patches from upstream documented in + http://root.cern.ch/twiki/bin/view/ROOT/PatchesV5-20-00. + + 29 Jul 2008; S=C3=A9bastien Fabbro metadata.xml, + root-5.18.00d.ebuild, root-5.20.00.ebuild: + Added use flags in metadata.xml, removed pch use flag (buggy upstream)= , + added libiodbc as a possible implementation for ODBC. Also fixed + qt-xmlpatterns dependency. + + 27 Jul 2008; Carsten Lohrke root-5.16.00.ebuild, + root-5.18.00d.ebuild: + QA: Get rid of deprecated qt_min_version(). + + 26 Jul 2008; Carsten Lohrke root-5.18.00d.ebuild, + root-5.20.00.ebuild: + Fix broken split Qt 4.4 dependencies, cf. bug 217161 comment 11. + + 18 Jul 2008; S=C3=A9bastien Fabbro root-5.16.00.= ebuild, + root-5.18.00d.ebuild, root-5.20.00.ebuild: + Now update PYTHONPATH, thanks Benjamin Bannier, bug #232124 + + 13 Jul 2008; S=C3=A9bastien Fabbro root-5.16.00.= ebuild: + Added libXft dep in 5.16.00 stable version, closing bug #204725 + +*root-5.20.00 (08 Jul 2008) + + 08 Jul 2008; S=C3=A9bastien Fabbro + -files/root-5.16.00-afs.patch, -files/root-5.16.00-flags.patch, + -files/root-5.16.00-postgres.patch, +files/root-5.20.00-configure.patc= h, + +files/root-5.20.00-pic.patch, -files/root-xrootd-flags.patch, + -root-5.16.00-r1.ebuild, -root-5.18.00.ebuild, root-5.18.00d.ebuild, + +root-5.20.00.ebuild: + Version bump, removed some older versions. Still buggy for pre-compile= d + headers (use flag pch), xrootd+afs, and could not test properly with + oracle flag + + 16 Jun 2008; S=C3=A9bastien Fabbro + files/root-5.18.00d-gcc43.patch: + Added more gcc-4.3 love to the mathcore, thanks to Derek Dolney, bug + #226013 + + 30 May 2008; S=C3=A9bastien Fabbro + files/xrootd-20071116-gcc43.patch: + Removed cvs tags in xrootd patch, closing bug #224195 + +*root-5.18.00d (29 May 2008) + + 29 May 2008; S=C3=A9bastien Fabbro + +files/root-5.18.00d-gcc43.patch, +files/root-5.18.00d-makefile.patch, + +files/xrootd-20071116-checksymbol.patch, + +files/xrootd-20071116-gcc43.patch, +root-5.18.00d.ebuild: + Version bump. This version is includes patches from upstream (included= in + sources), some local gcc-4.3 patches and various xrootd patches. Now w= orks + with afs on amd64. Removed cint7 flag as it is still too buggy, added + xrootd use flag, added a math flag triggering all math libraries + (mathcore, mathmore, minuit2, roofit, unuran). Much cleanup: qt-4.4 re= ady, + removed afterimage dependency (will be back in 5.20). This version sho= uld + be targeted for stabilization. + + 21 May 2008; Tiziano M=C3=BCller root-3.05.04.eb= uild, + root-5.16.00.ebuild, root-5.16.00-r1.ebuild, root-5.18.00.ebuild: + Changed dependency for postgresql from dev-db/postgresql to + virtual/postgresql-server + + 04 Apr 2008; S=C3=A9bastien Fabbro root-5.18.00.= ebuild: + Fixed tutorial->tutorials, closing bug #216130 + + 04 Apr 2008; Jeroen Roovers root-5.18.00.ebuild: + Marked ~hppa. + + 18 Jan 2008; S=C3=A9bastien Fabbro root-5.18.00.= ebuild: + Check for qt4 to be built with qt3support, closing bug #206540) + +*root-5.18.00 (17 Jan 2008) + + 17 Jan 2008; S=C3=A9bastien Fabbro + +files/root-pic.patch, +files/root-xrootd-flags.patch, + +root-5.18.00.ebuild: + Version bump. Compiles with pic shared libs (via patches). Most earlie= r + patches and problems have been sent upstream. + + 10 Jan 2008; S=C3=A9bastien Fabbro + +files/root-5.16.00-flags.patch, +files/root-5.16.00-postgres.patch, + +files/root-5.16.00-xft.patch, root-5.16.00-r1.ebuild: + Added various patches: one to respect flags in xrootd (needed for afs)= , one + to properly handle -truetype without libXft (bug #204725) and last one= for + postgresql (bug #203015). Added pch use flag for faster compilation wi= th g++ + + 16 Dec 2007; Markus Dittrich + +files/root-5.16.00-afs.patch, root-5.16.00-r1.ebuild: + Added patch to fix linking problem with afs libs. Re-added afs + USE flag. + +*root-5.16.00-r1 (15 Dec 2007) + + 15 Dec 2007; Markus Dittrich + +root-5.16.00-r1.ebuild: + New revision with patch fixing compile failure under gcc-4.2=20 + (see bug #199591). Also removed afs support until compilation=20 + problems are fixed. + + 09 Dec 2007; S=C3=A9bastien Fabbro -root-4.02.00= .ebuild, + root-5.16.00.ebuild: + Forced opengl as a dep, since it needs it anyway, added a possible fix= for + afs support, a die function for a g++ >=3D 4.2 and now use virtual/mys= ql + instead of dev-db/mysql + + 23 Nov 2007; Samuli Suominen root-5.16.00.ebuild: + amd64 stable wrt #196282 + + 24 Oct 2007; Christian Faulhammer root-5.16.00.ebui= ld: + stable x86, bug 196282 + + 22 Oct 2007; S=C3=A9bastien Fabbro root-5.16.00.= ebuild: + removed some doc install + + 19 Oct 2007; S=C3=A9bastien Fabbro root-5.16.00.= ebuild: + Added a pause at the end of pkg_setup. + + 18 Oct 2007; Ferris McCormick root-5.16.00.ebuild: + Sparc stable - Bug #196282 --- Hooray! It's been rough, but we made i= t. + + 17 Oct 2007; S=C3=A9bastien Fabbro root-5.16.00.= ebuild: + added libXpm as a dependency. + + 16 Sep 2007; S=C3=A9bastien Fabbro + -files/sparc-root-5.14.00c.patch, +files/sparc-root-5.16.00.patch, + -files/pgsql-no-libpq-int.patch, -files/root-makefile.patch, + -root-3.10.02-r1.ebuild, -root-5.14.00b.ebuild, -root-5.14.00c.ebuild, + root-5.16.00.ebuild: + Cleaning old versions and fixing bug #190163, thanks to fmccor + +*root-5.16.00 (24 Aug 2007) + + 24 Aug 2007; S=C3=A9bastien Fabbro + +files/root-5.16.00-fortran.patch, +root-5.16.00.ebuild: + Version bump. Added cern use flag. Upstream fixed xrootd for sparc and + parallell makes. + + 22 Jul 2007; Donnie Berkholz ; root-3.05.04.ebui= ld, + root-3.10.02-r1.ebuild, root-4.02.00.ebuild: + Drop virtual/x11 references. + +*root-5.14.00c (05 Mar 2007) + + 05 Mar 2007; S=C3=A9bastien Fabbro + +files/sparc-root-5.14.00c.patch, +root-5.14.00c.ebuild: + Version bump. Fixed parallel compiling and sparc architecture with a=20 + patch, from bug #87305, thanks to fmmcor. + +*root-5.14.00b (05 Feb 2007) + + 05 Feb 2007; S=C3=A9bastien Fabbro metadata.xml, + +root-5.14.00b.ebuild: + Major version bump, with a lot of changes in ebuild. LICENSE changed. + Closing bugs #34415, #98235, #109307. Thanks for everyone in bug #1093= 07=20 + for testing. + + 23 Nov 2006; Francesco Riosa root-3.05.04.ebuild, + root-3.10.02-r1.ebuild, root-4.02.00.ebuild: + dev-db/mysql =3D> virtual/mysql + + 02 Jul 2006; Luis Medinas metadata.xml: + Update metadata to sci-physics. + + 02 Jul 2006; Luis Medinas + +files/pgsql-no-libpq-int.patch, +files/root-makefile.patch, + +metadata.xml, +root-3.05.04.ebuild, +root-3.10.02-r1.ebuild, + +root-4.02.00.ebuild: + Moved from sci-libs/root to sci-physics/root. + + 23 Jun 2006; Doug Goldstein root-3.10.02-r1.ebuild= , + root-4.02.00.ebuild: + USE flag qt->qt3/qt4 change + + 03 Feb 2006; Patrick Kursawe root-3.05.04.ebuild= , + root-3.10.02-r1.ebuild, root-4.02.00.ebuild: + Porting to modular X + + 28 Jul 2005; Caleb Tennis root-3.10.02-r1.ebuild, + root-4.02.00.ebuild: + Fix qt dep per bug #100235 + + 26 Jun 2005; Olivier Fisette + -files/root-4.00.06a-gcc-3.4.patch, -root-3.03.04-r2.ebuild, + -root-4.00.06a.ebuild: + Removed obsolete versions. + + 08 Apr 2005; Michael Hanselmann root-4.02.00.ebuil= d: + Like on sparc, this package doesn't work yet on ppc. + + 29 Mar 2005; Ferris McCormick root-4.02.00.ebuild: + Add -sparc keyword to make explicit that as distributed, this package = cannot + build on sparc. Supported architectures are hardwired in a tgz file i= ncluded + within the package: xrootd/src/xrootd-20041124-0752.src.tgz, and in + unix/src/TUnixSystem.cxx, and linux:sparc is not among them. There is= no + apparent for this package not to work on sparc, but as constituted, it= cannot + without upstream support. + + 12 Mar 2005; Patrick Kursawe root-4.02.00.ebuild= : + No bugs for this version for about two months -> stable + +*root-4.02.00 (15 Jan 2005) + + 15 Jan 2005; Olivier Fisette +root-4.02.00.ebuil= d: + New version. GCC 3.4 patch no longer required. + + 29 Dec 2004; Ciaran McCreesh : + Change encoding to UTF-8 for GLEP 31 compliance + +*root-3.10.02-r1 (28 Dec 2004) + + 28 Dec 2004; Olivier Fisette +metadata.xml, + +files/pgsql-no-libpq-int.patch, +files/root-4.00.06a-gcc-3.4.patch, + +files/root-makefile.patch, +root-3.03.04-r2.ebuild, +root-3.05.04.ebu= ild, + +root-3.10.02-r1.ebuild, +root-4.00.06a.ebuild: + Moved from dev-libs/root to sci-libs/root. + +*root-4.00.06a (02 Jul 2004) + + 02 Jul 2004; Patrick Kursawe metadata.xml, + root-4.00.06a.ebuild, files/root-4.00.06a-gcc-3.4.patch: + Version bump, see bug #55719 - gcc 3.4 patch extracted from "root" CVS= . + +*root-3.10.02-r1 (15 Jun 2004) + + 15 Jun 2004; Patrick Kursawe root-3.10.02-r1.ebu= ild, + root-3.10.02.ebuild: + Shared libs were not found, see bug #53095 + + 07 Jun 2004; Patrick Kursawe root-3.10.02.ebuild= : + According to user report (forums/slackerman) it works for amd64. + +*root-3.10.02 (20 Apr 2004) + + 20 Apr 2004; Patrick Kursawe root-3.10.02.ebuild= : + Version bump, see bug #34412 + + 06 Oct 2003; Heinrich Wendel root-3.05.04.ebuild: + stable bump #29947 + + 12 Jun 2003; Seemant Kulleen root-3.03.04-r2.ebui= ld: + xfree provides xpm + +*root-3.05.04 (25 Apr 2003) + + 25 Feb 2003; Luca Barbato root-3.05.04.ebuild : + New version, as suggested by Dmitry Kustov + =20 +*root-3.03.04-r2 (22 Feb 2003) + + 22 Feb 2003; Bryon Roche root-3.03.04-r1.ebuild root-3= .03.04-r2.ebuild files/digest-root-3.03.04-r2 files/pgsql-no-libpq-int.pa= tch files/root-makefile.patch : + Fixed header include issues with the PostgreSQL api, as well as config= uration/compilation issues. + + 06 Dec 2002; Rodney Rees : changed sparc ~sparc ke= ywords +=20 +*root-3.03.04-r1 (11 Apr 2002) + + 24 Oct 2002; J.Alberto Su=C3=A1rez L=C3=B3pez root-3= .03.04-r1.ebuild + Typo error in the ebuild appear 'econ' not 'econf'. + =20 + 11 Apr 2002; G.Bevin root-3.03.04-r1.ebuild + files/digest-root-3.03.04-r1 : + =20 + Added env entry for the libs. + Removed rpath switch from configure since it created a segfaulting roo= t + executable. + =20 +*root-3.03.04 (11 Apr 2002) + + 11 Apr 2002; G.Bevin root-3.03.04.ebuild + files/digest-root-3.03.04 : + =20 + Initial release diff --git a/sci-physics/root/files/olbd.confd b/sci-physics/root/files/o= lbd.confd new file mode 100644 index 0000000..848f4d7 --- /dev/null +++ b/sci-physics/root/files/olbd.confd @@ -0,0 +1,9 @@ +# conf.d file for olbd daemon + +# User to run as (default is `xrootd') +OLBD_USER=3D"root" + +# +# Please refer to the olbd(1) man(1) page for more +# information on command line parameters.=20 +OLBD_OPTS=3D"" diff --git a/sci-physics/root/files/olbd.initd b/sci-physics/root/files/o= lbd.initd new file mode 100644 index 0000000..1793300 --- /dev/null +++ b/sci-physics/root/files/olbd.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/olbd.initd,v 1= .1 2008/12/18 18:10:18 bicatali Exp $ + +depend() { + need net + use dns logger + provide root-file-server +} + +start() { + ebegin "Starting ROOT open load balancer server" + start-stop-daemon --start --quiet --user=3D${OLBD_USER} \ + --make-pidfile --pidfile=3D/var/run/olbd.pid \ + --exec /usr/bin/olbd --background -- ${OLBD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping ROOT open load balancer server" + start-stop-daemon --stop --quiet \ + --pidfile=3D/var/run/olbd.pid \ + --exec /usr/bin/olbd + eend $? +} diff --git a/sci-physics/root/files/proofd.confd b/sci-physics/root/files= /proofd.confd new file mode 100644 index 0000000..81720a7 --- /dev/null +++ b/sci-physics/root/files/proofd.confd @@ -0,0 +1,12 @@ +# conf.d file for proof daemon +# +# Please refer to the proofd(1) man(1) page for more information on=20 +# command line parameters.=20 +# +PROOFD_OPTS=3D + +# Specify your base of your PROOF directory here. If left blank, it +# will use the system default (e.g., /usr/share/root/proof).=20 +# Note, however, that ROOT recommends that this directory is shared (via +# NFS or similar) among all the nodes of the cluster. +PROOF_DIR=3D diff --git a/sci-physics/root/files/proofd.initd b/sci-physics/root/files= /proofd.initd new file mode 100644 index 0000000..7fc275a --- /dev/null +++ b/sci-physics/root/files/proofd.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/proofd.initd,v= 1.3 2012/01/21 19:23:26 bicatali Exp $ + +depend() { + need root-file-server + use logger +} + +start() { + ebegin "Starting parallel ROOT facility server" + start-stop-daemon --start --quiet \ + --pidfile /var/run/proofd.pid \ + --exec /usr/bin/proofd -- ${PROOFD_OPTS} ${PROOF_DIR} + pidof /usr/bin/proofd > /var/run/proofd.pid + eend $? +} + +stop() { + ebegin "Stopping parallel ROOT facility server" + start-stop-daemon --stop --quiet \ + --pidfile /var/run/proofd.pid \ + --exec /usr/bin/proofd + eend $? +} diff --git a/sci-physics/root/files/root-5.26.00-make-3.82.patch b/sci-ph= ysics/root/files/root-5.26.00-make-3.82.patch new file mode 100644 index 0000000..dc6d8a0 --- /dev/null +++ b/sci-physics/root/files/root-5.26.00-make-3.82.patch @@ -0,0 +1,36 @@ +http://root.cern.ch/viewcvs?view=3Drev&revision=3D35096 +https://savannah.cern.ch/bugs/?func=3Ddetailitem&item_id=3D72166 + +--- root-5.26.00d/Makefile ++++ root-5.26.00d/Makefile +@@ -544,6 +544,30 @@ + .PRECIOUS: include/%.h +=20 + # special rules (need to be defined before generic ones) ++cint/cint/lib/dll_stl/G__%.o: cint/cint/lib/dll_stl/G__%.cxx ++ $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \ ++ $(CXXFLAGS) $(DICTFLAGS) -D__cplusplus -I$(CINTDIR)/lib/prec_stl \ ++ -I$(CINTDIR)/stl -I$(CINTDIR)/inc -- $< ++ $(CXX) $(NOOPT) $(CXXFLAGS) $(DICTFLAGS) -I. -I$(CINTDIR)/inc $(CXXOU= T)$@ -c $< ++ ++cint/cint/lib/dll_stl/G__c_%.o: cint/cint/lib/dll_stl/G__c_%.c ++ $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \ ++ $(CFLAGS) $(DICTFLAGS) -I$(CINTDIR)/lib/prec_stl \ ++ -I$(CINTDIR)/stl -I$(CINTDIR)/inc -- $< ++ $(CC) $(NOOPT) $(CFLAGS) $(DICTFLAGS) -I. -I$(CINTDIR)/inc $(CXXOUT)$= @ -c $< ++ ++cint/cint/lib/G__%.o: cint/cint/lib/G__%.cxx ++ $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \ ++ $(CXXFLAGS) $(DICTFLAGS) -D__cplusplus -I$(CINTDIR)/lib/prec_stl \ ++ -I$(CINTDIR)/stl -I$(CINTDIR)/inc -- $< ++ $(CXX) $(NOOPT) $(CXXFLAGS) $(DICTFLAGS) -I. -I$(CINTDIR)/inc $(CXXOU= T)$@ -c $< ++ ++cint/cint/lib/G__c_%.o: cint/cint/lib/G__c_%.c ++ $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \ ++ $(CFLAGS) $(DICTFLAGS) -I$(CINTDIR)/lib/prec_stl \ ++ -I$(CINTDIR)/stl -I$(CINTDIR)/inc -- $< ++ $(CC) $(NOOPT) $(CFLAGS) $(DICTFLAGS) -I. -I$(CINTDIR)/inc $(CXXOUT)$= @ -c $< ++ + G__%.o: G__%.cxx + $(MAKEDEP) -R -f$(patsubst %.o,%.d,$@) -Y -w 1000 -- \ + $(CXXFLAGS) $(DICTFLAGS) -D__cplusplus -I$(CINTDIR)/lib/prec_stl \ diff --git a/sci-physics/root/files/root-5.26.00e-libpng15.patch b/sci-ph= ysics/root/files/root-5.26.00e-libpng15.patch new file mode 100644 index 0000000..91ed9c4 --- /dev/null +++ b/sci-physics/root/files/root-5.26.00e-libpng15.patch @@ -0,0 +1,33 @@ +This patch is a copy from media-libs/libafterimage. + +--- graf2d/asimage/src/libAfterImage/export.c ++++ graf2d/asimage/src/libAfterImage/export.c +@@ -496,7 +496,7 @@ + png_ptr =3D png_create_write_struct( PNG_LIBPNG_VER_STRING, NULL, NULL= , NULL ); + if ( png_ptr !=3D NULL ) + if( (info_ptr =3D png_create_info_struct(png_ptr)) !=3D NULL ) +- if( setjmp(png_ptr->jmpbuf) ) ++ if( setjmp(png_jmpbuf(png_ptr)) ) + { + png_destroy_info_struct(png_ptr, (png_infopp) &info_ptr); + info_ptr =3D NULL ; +--- graf2d/asimage/src/libAfterImage/import.c ++++ graf2d/asimage/src/libAfterImage/import.c +@@ -1251,7 +1251,7 @@ + * the normal method of doing things with libpng). REQUIRED unless = you + * set up your own error handlers in the png_create_read_struct() ea= rlier. + */ +- if ( !setjmp (png_ptr->jmpbuf)) ++ if ( !setjmp (png_jmpbuf(png_ptr))) + { + ASFlagType rgb_flags =3D ASStorage_RLEDiffCompress|ASStorage_32Bit = ; +=20 +@@ -1468,7 +1468,7 @@ +=20 + static void asim_png_read_data(png_structp png_ptr, png_bytep data, png= _size_t length) + { +- ASImPNGReadBuffer *buf =3D (ASImPNGReadBuffer *)png_ptr->io_ptr; ++ ASImPNGReadBuffer *buf =3D (ASImPNGReadBuffer *)png_get_io_ptr(png_p= tr); + memcpy(data, buf->buffer, length); + buf->buffer +=3D length; + } diff --git a/sci-physics/root/files/root-5.28.00b-asneeded.patch b/sci-ph= ysics/root/files/root-5.28.00b-asneeded.patch new file mode 100644 index 0000000..b845247 --- /dev/null +++ b/sci-physics/root/files/root-5.28.00b-asneeded.patch @@ -0,0 +1,20 @@ +--- root.orig/configure 2010-12-20 07:17:54.000000000 +0000 ++++ root/configure 2010-12-20 07:16:05.000000000 +0000 +@@ -709,7 +709,7 @@ + cat < conftest.mk + include ${ac_srcdir}/config/Makefile.${arch} + conftest: conftest.c +- \$(CC) \$(CFLAGS) \$(LDFLAGS) $linkdir $linklib \$< -o \$@ ++ \$(CC) \$(CFLAGS) \$(LDFLAGS) \$< $linkdir $linklib -o \$@ +=20 + conftest.c: + echo "int main() { return 0; }" > \$@ +@@ -723,7 +723,7 @@ + cat < conftest.mk + include ${ac_srcdir}/config/Makefile.${arch} + conftest:conftest.c +- \$(CC) \$(CFLAGS) \$(LDFLAGS) $linkdir $linklib \$< -o \$@ ++ \$(CC) \$(CFLAGS) \$(LDFLAGS) \$< $linkdir $linklib -o \$@ +=20 + conftest.c: + echo "extern int $linksymbol (); " > \$@ diff --git a/sci-physics/root/files/root-5.28.00b-glibc212.patch b/sci-ph= ysics/root/files/root-5.28.00b-glibc212.patch new file mode 100644 index 0000000..a365431 --- /dev/null +++ b/sci-physics/root/files/root-5.28.00b-glibc212.patch @@ -0,0 +1,11 @@ +--- root.orig/net/auth/src/TAFS.cxx 2010-09-14 03:22:22.647915854 +0400 ++++ root/net/auth/src/TAFS.cxx 2010-09-14 03:22:39.034599899 +0400 +@@ -11,6 +11,7 @@ +=20 + #ifndef WIN32 + # include ++# include + #else + # define ssize_t int + # include + 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 new file mode 100644 index 0000000..7029bf1 --- /dev/null +++ b/sci-physics/root/files/root-5.28.00b-nobyte-compile.patch @@ -0,0 +1,138 @@ +diff -Naur root.orig/Makefile root/Makefile +--- root.orig/Makefile 2010-12-17 22:48:40.577775091 +0300 ++++ root/Makefile 2010-12-17 22:49:27.902497903 +0300 +@@ -1148,10 +1148,7 @@ + if test "x$(RFLX_GRFLXPY)" !=3D "x"; then \ + rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPY); \ + fi; \ +- if test "x$(RFLX_GRFLXPYC)" !=3D "x"; then \ +- rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPYC); \ +- fi; \ +- if test "x$(RFLX_GRFLXPY)$(RFLX_GRFLXPYC)" !=3D "x"; then \ ++ if test "x$(RFLX_GRFLXPY)" !=3D "x"; then \ + dir=3D$(RFLX_GRFLXDD:lib/=3D); \ + while test "x$${dir}" !=3D "x" && \ + test -d $(DESTDIR)$(LIBDIR)/$${dir} && \ +diff -Naur root.orig/bindings/pyroot/Module.mk root/bindings/pyroot/Modu= le.mk +--- root.orig/bindings/pyroot/Module.mk 2010-12-17 22:48:39.941179413 +0= 300 ++++ root/bindings/pyroot/Module.mk 2010-12-17 22:49:27.899164943 +0300 +@@ -48,8 +48,6 @@ + ROOTPY :=3D $(subst $(MODDIR),$(LPATH),$(ROOTPYS)) + $(LPATH)/%.py: $(MODDIR)/%.py; cp $< $@ + endif +-ROOTPYC :=3D $(ROOTPY:.py=3D.pyc) +-ROOTPYO :=3D $(ROOTPY:.py=3D.pyo) +=20 + # used in the main Makefile + ALLHDRS +=3D $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYROOTH)) +@@ -68,10 +66,8 @@ + include/%.h: $(PYROOTDIRI)/%.h + cp $< $@ +=20 +-%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" = )' +-%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$= <" )' +=20 +-$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) $(ROOTPYC) $(ROOTPYO) = \ ++$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) \ + $(ROOTLIBSDEP) $(PYTHONLIBDEP) + @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ + "$(SOFLAGS)" libPyROOT.$(SOEXT) $@ \ +@@ -113,7 +109,7 @@ +=20 + distclean-$(MODNAME): clean-$(MODNAME) + @rm -f $(PYROOTDEP) $(PYROOTDS) $(PYROOTDH) $(PYROOTLIB) \ +- $(ROOTPY) $(ROOTPYC) $(ROOTPYO) $(PYROOTMAP) \ ++ $(ROOTPY) $(PYROOTMAP) \ + $(PYROOTPYD) $(PYTHON64DEP) $(PYTHON64) +=20 + distclean:: distclean-$(MODNAME) +diff -Naur root.orig/build/package/debian/rules root/build/package/debia= n/rules +--- root.orig/build/package/debian/rules 2010-12-17 22:48:40.197817461 += 0300 ++++ root/build/package/debian/rules 2010-12-17 22:49:27.902497903 +0300 +@@ -623,10 +623,6 @@ + -X$(SYSCONFDIR)/root/system.rootauthrc \ + -X$(SYSCONFDIR)/root/system.rootdaemonrc \ + -X$(PREFIX)/lib/root/$(SOVERS)/libAfterImage.a \ +- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyc \ +- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyo \ +- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyc \ +- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyo =09 + # $(foreach i, \ + # $(wildcard $(DTMP)/$(PREFIX)/lib/root/lib*.so.$(SOVERS)), \ + # -X$(i:$(DTMP)/%=3D%) ) +diff -Naur root.orig/cint/cintex/Module.mk root/cint/cintex/Module.mk +--- root.orig/cint/cintex/Module.mk 2010-12-17 22:48:40.057833071 +0300 ++++ root/cint/cintex/Module.mk 2010-12-17 22:49:27.902497903 +0300 +@@ -31,10 +31,6 @@ + CINTEXPY :=3D $(subst $(MODDIR)/python,$(LPATH),$(CINTEXPYS)) + $(LPATH)/%.py: $(MODDIR)/python/%.py; cp $< $@ + endif +-ifneq ($(BUILDPYTHON),no) +-CINTEXPYC :=3D $(CINTEXPY:.py=3D.pyc) +-CINTEXPYO :=3D $(CINTEXPY:.py=3D.pyo) +-endif +=20 + # used in the main Makefile + ALLHDRS +=3D $(patsubst $(MODDIRI)/Cintex/%.h,include/Cintex/%.h,$= (CINTEXH)) +@@ -86,8 +82,6 @@ + fi) + cp $< $@ +=20 +-%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" = )' +-%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$= <" )' +=20 + $(CINTEXLIB): $(CINTEXO) $(CINTEXPY) $(CINTEXPYC) $(CINTEXPYO) \ + $(ORDER_) $(subst $(CINTEXLIB),,$(MAINLIBS)) $(CINTEXLI= BDEP) +diff -Naur root.orig/cint/reflex/Module.mk root/cint/reflex/Module.mk +--- root.orig/cint/reflex/Module.mk 2010-12-17 22:48:40.037835301 +0300 ++++ root/cint/reflex/Module.mk 2010-12-17 22:51:36.871451359 +0300 +@@ -48,9 +48,6 @@ + RFLX_GRFLXS :=3D $(wildcard $(RFLX_GRFLXSD)/*.py) + RFLX_GRFLXPY :=3D $(patsubst $(RFLX_GRFLXSD)/%.py,$(RFLX_GRFLXDD)/%.py= ,$(RFLX_GRFLXS)) + RFLX_GRFLXPY +=3D $(RFLX_GCCXMLPATHPY) +-ifneq ($(BUILDPYTHON),no) +-RFLX_GRFLXPYC :=3D $(subst .py,.pyc,$(RFLX_GRFLXPY)) +-endif +=20 + RFLX_LIBDIR =3D $(LIBDIR) +=20 +@@ -92,7 +89,7 @@ +=20 + ALLEXECS +=3D $(RFLX_GENMAPX) +=20 +-POSTBIN +=3D $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY) ++POSTBIN +=3D $(RFLX_GRFLXPY) +=20 + ##### local rules ##### + .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) \ +@@ -122,8 +119,6 @@ + mkdir -p lib/python/genreflex; fi ) + cp $< $@ +=20 +-$(RFLX_GRFLXDD)/%.pyc: $(RFLX_GRFLXDD)/%.py +- @python -c 'import py_compile; py_compile.compile( "$<" )' +=20 + $(RFLX_GENMAPO) : CXXFLAGS +=3D -I$(REFLEXDIRS)/genmap +=20 +@@ -149,7 +144,7 @@ + $(RLIBMAP) -o $@ -l $(REFLEXDICTLIB) \ + -d $(REFLEXDICTLIBDEPM) -c $(REFLEXL) +=20 +-all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_G= RFLXPYC) $(RFLX_GRFLXPY) ++all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_G= RFLXPY) +=20 + clean-genreflex: + @rm -rf lib/python/genreflex +diff -Naur root.orig/cint/reflex/python/CMakeLists.txt root/cint/reflex/= python/CMakeLists.txt +--- root.orig/cint/reflex/python/CMakeLists.txt 2010-12-17 22:48:40.0378= 35301 +0300 ++++ root/cint/reflex/python/CMakeLists.txt 2010-12-17 22:49:27.902497903= +0300 +@@ -15,7 +15,7 @@ + ##################### sources #################### +=20 + FILE(GLOB_RECURSE GENREFLEX_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} g= enreflex/*.py) +-SET(GENREFLEX_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/genreflex/genreflex.py= c PARENT_SCOPE) ++SET(GENREFLEX_SCRIPT PARENT_SCOPE) +=20 + ##################### gccxmlpath #################### +=20 + diff --git a/sci-physics/root/files/root-5.28.00b-prop-ldflags.patch b/sc= i-physics/root/files/root-5.28.00b-prop-ldflags.patch new file mode 100644 index 0000000..7324319 --- /dev/null +++ b/sci-physics/root/files/root-5.28.00b-prop-ldflags.patch @@ -0,0 +1,13 @@ +diff -Naur root.orig/config/Makefile.in root/config/Makefile.in +--- root.orig/config/Makefile.in 2010-12-14 17:20:26.000000000 +0300 ++++ root/config/Makefile.in 2010-12-17 22:33:34.902161458 +0300 +@@ -27,7 +27,7 @@ +=20 + EXTRA_CFLAGS :=3D -Iinclude @cflags@ + EXTRA_CXXFLAGS :=3D -Iinclude @cflags@ +-EXTRA_LDFLAGS :=3D @ldflags@ ++EXTRA_LDFLAGS :=3D @ldflags@ $(LDFLAGS) + WINRTDEBUG :=3D @winrtdebug@ +=20 + GLBPATCHFLAGS :=3D @glbpatchcflags@ + diff --git a/sci-physics/root/files/root-5.28.00b-unuran.patch b/sci-phys= ics/root/files/root-5.28.00b-unuran.patch new file mode 100644 index 0000000..76422da --- /dev/null +++ b/sci-physics/root/files/root-5.28.00b-unuran.patch @@ -0,0 +1,39 @@ +diff -ur root-trunk.orig/math/unuran/Module.mk root-trunk/math/unuran/Mo= dule.mk +--- root.orig/math/unuran/Module.mk 2010-11-25 20:41:32.000000000 +0100 ++++ root/math/unuran/Module.mk 2010-11-25 20:51:47.190704977 +0100 +@@ -20,7 +20,7 @@ + UNURANETAG :=3D $(call stripsrc,$(UNURANDIRS)/headers.d) + UNRCFG :=3D $(call stripsrc,$(UNURANDIRS)/$(UNRVERS)/config.h) +=20 +-UNRTARCONTENT:=3D$(subst $(UNRVERS),$(UNRDIRS),$(shell mkdir -p $(UNRDI= R); cd $(UNRDIR); gunzip -c $(UNRSRCS) | tar tf -)) ++UNRTARCONTENT:=3D + UNRS :=3D $(filter %.c, \ + $(filter $(UNRDIRS)/src/utils/%,$(UNRTARCONTENT)) \ + $(filter $(UNRDIRS)/src/methods/%,$(UNRTARCONTENT)) \ +@@ -69,10 +69,9 @@ + ##### local rules ##### + .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) +=20 +-include/%.h: $(UNURANDIRI)/%.h $(UNURANETAG) ++include/%.h: $(UNURANDIRI)/%.h + cp $< $@ +=20 +-$(UNURANDEP): $(UNRCFG) + $(UNRS): $(UNURANETAG) +=20 + $(UNURANETAG): $(UNRSRCS) +@@ -125,12 +124,12 @@ + GNUMAKE=3D$(MAKE) ./configure CC=3D"$$ACC" \ + CFLAGS=3D"$$ACFLAGS"); +=20 +-$(UNURANLIB): $(UNRCFG) $(UNRO) $(UNURANO) $(UNURANDO) $(ORDER_) \ ++$(UNURANLIB): $(UNURANO) $(UNURANDO) $(ORDER_) \ + $(MAINLIBS) $(UNURANLIBDEP) + @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ + "$(SOFLAGS)" libUnuran.$(SOEXT) $@ \ + "$(UNURANO) $(UNURANDO)" \ +- "$(UNURANLIBEXTRA) $(UNRO)" ++ "$(UNURANLIBEXTRA) -lunuran" +=20 + $(UNURANDS): $(UNRINIT) $(UNURANDH1) $(UNURANL) $(ROOTCINTTMPDEP) + $(MAKEDIR) diff --git a/sci-physics/root/files/root-5.32.00-afs.patch b/sci-physics/= root/files/root-5.32.00-afs.patch new file mode 100644 index 0000000..2bf3179 --- /dev/null +++ b/sci-physics/root/files/root-5.32.00-afs.patch @@ -0,0 +1,33 @@ +--- root/net/auth/src/TAFS.cxx.orig 2011-12-04 00:56:29.405007770 +0400 ++++ root/net/auth/src/TAFS.cxx 2011-12-04 00:56:35.534709259 +0400 +@@ -138,7 +138,7 @@ + } else { + if (isatty(0) !=3D 0 && isatty(1) !=3D 0) { + Gl_config("noecho", 1); +- pw =3D Getline((char *) prompt.Data()); ++ pw =3D const_cast( Getline((char *) prompt.Data()) = ); + Gl_config("noecho", 0); + } else { + Warning("TAFS", "not tty: cannot prompt for passwd: failure= "); +--- root/core/clib/src/strlcat.c.orig 2011-12-04 01:49:26.495179487 +040= 0 ++++ root/core/clib/src/strlcat.c 2011-12-04 01:50:41.407524763 +0400 +@@ -38,7 +38,7 @@ + * Returns strlen(src) + MIN(siz, strlen(initial dst)). + * If retval >=3D siz, truncation occurred. + */ +-size_t ++size_t __attribute__((weak)) + strlcat(char *dst, const char *src, size_t siz) + { + register char *d =3D dst; +--- root/core/clib/src/strlcpy.c.orig 2011-12-04 01:49:34.329797251 +040= 0 ++++ root/core/clib/src/strlcpy.c 2011-12-04 01:50:49.051151843 +0400 +@@ -36,7 +36,7 @@ + * will be copied. Always NUL terminates (unless siz =3D=3D 0). + * Returns strlen(src); if retval >=3D siz, truncation occurred. + */ +-size_t ++size_t __attribute__((weak)) + strlcpy(char *dst, const char *src, size_t siz) + { + register char *d =3D dst; diff --git a/sci-physics/root/files/root-5.32.00-cfitsio.patch b/sci-phys= ics/root/files/root-5.32.00-cfitsio.patch new file mode 100644 index 0000000..853c3f3 --- /dev/null +++ b/sci-physics/root/files/root-5.32.00-cfitsio.patch @@ -0,0 +1,13 @@ +--- configure.orig 2012-01-19 23:44:44.127607638 +0100 ++++ configure 2012-01-20 00:19:20.420652913 +0100 +@@ -3435,9 +3435,7 @@ + cfitsioinc=3D$found_hdr + cfitsioincdir=3D$found_dir +=20 +- # At this time, libcfitsio.a should always be prefered over .so, +- # to avoid forcing users to install cfitsio. +- check_library "libcfitsio cfitsio" "no" "$cfitsiolibdir" \ ++ check_library "libcfitsio cfitsio" "yes" "$cfitsiolibdir" \ + $CFITSIO ${CFITSIO:+$CFITSIO/lib} ${CFITSIO:+$CFITSIO/.libs} \ + ${finkdir:+$finkdir/lib} \ + /usr/local/lib /usr/lib /opt/cfitsio/lib diff --git a/sci-physics/root/files/root-5.32.00-nobyte-compile.patch b/s= ci-physics/root/files/root-5.32.00-nobyte-compile.patch new file mode 100644 index 0000000..179e579 --- /dev/null +++ b/sci-physics/root/files/root-5.32.00-nobyte-compile.patch @@ -0,0 +1,137 @@ +diff -Naur root.as-needed/Makefile root/Makefile +--- root.as-needed/Makefile 2011-07-10 10:42:49.758191296 +0400 ++++ root/Makefile 2011-07-10 10:43:21.493339703 +0400 +@@ -1167,10 +1167,7 @@ + if test "x$(RFLX_GRFLXPY)" !=3D "x"; then \ + rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPY); \ + fi; \ +- if test "x$(RFLX_GRFLXPYC)" !=3D "x"; then \ +- rm -f $(DESTDIR)$(LIBDIR)/$(RFLX_GRFLXPYC); \ +- fi; \ +- if test "x$(RFLX_GRFLXPY)$(RFLX_GRFLXPYC)" !=3D "x"; then \ ++ if test "x$(RFLX_GRFLXPY)" !=3D "x"; then \ + dir=3D$(RFLX_GRFLXDD:lib/=3D); \ + while test "x$${dir}" !=3D "x" && \ + test -d $(DESTDIR)$(LIBDIR)/$${dir} && \ +diff -Naur root.as-needed/bindings/pyroot/Module.mk root/bindings/pyroot= /Module.mk +--- root.as-needed/bindings/pyroot/Module.mk 2011-07-10 10:42:48.9915613= 04 +0400 ++++ root/bindings/pyroot/Module.mk 2011-07-10 10:43:21.493339703 +0400 +@@ -48,8 +48,6 @@ + ROOTPY :=3D $(subst $(MODDIR),$(LPATH),$(ROOTPYS)) + $(LPATH)/%.py: $(MODDIR)/%.py; cp $< $@ + endif +-ROOTPYC :=3D $(ROOTPY:.py=3D.pyc) +-ROOTPYO :=3D $(ROOTPY:.py=3D.pyo) +=20 + # used in the main Makefile + ALLHDRS +=3D $(patsubst $(MODDIRI)/%.h,include/%.h,$(PYROOTH)) +@@ -68,10 +66,8 @@ + include/%.h: $(PYROOTDIRI)/%.h + cp $< $@ +=20 +-%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" = )' +-%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$= <" )' +=20 +-$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) $(ROOTPYC) $(ROOTPYO) = \ ++$(PYROOTLIB): $(PYROOTO) $(PYROOTDO) $(ROOTPY) \ + $(ROOTLIBSDEP) $(PYTHONLIBDEP) + @$(MAKELIB) $(PLATFORM) $(LD) "$(LDFLAGS)" \ + "$(SOFLAGS)" libPyROOT.$(SOEXT) $@ \ +@@ -113,7 +109,7 @@ +=20 + distclean-$(MODNAME): clean-$(MODNAME) + @rm -f $(PYROOTDEP) $(PYROOTDS) $(PYROOTDH) $(PYROOTLIB) \ +- $(ROOTPY) $(ROOTPYC) $(ROOTPYO) $(PYROOTMAP) \ ++ $(ROOTPY) $(PYROOTMAP) \ + $(PYROOTPYD) $(PYTHON64DEP) $(PYTHON64) +=20 + distclean:: distclean-$(MODNAME) +diff -Naur root.as-needed/build/package/debian/rules root/build/package/= debian/rules +--- root.as-needed/build/package/debian/rules 2011-07-10 10:42:49.241549= 346 +0400 ++++ root/build/package/debian/rules 2011-07-10 10:48:06.989670589 +0400 +@@ -691,10 +691,6 @@ + -X$(SYSCONFDIR)/root/system.rootauthrc \ + -X$(SYSCONFDIR)/root/system.rootdaemonrc \ + -X$(PREFIX)/lib/root/$(SOVERS)/libAfterImage.a \ +- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyc \ +- -X$(PREFIX)/lib/root/$(SOVERS)/PyCintex.pyo \ +- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyc \ +- -X$(PREFIX)/lib/root/$(SOVERS)/ROOT.pyo \ + -X$(PREFIX)/lib/root/$(SOVERS)/cint7 \ + -X$(PREFIX)/include/root/Minuit2 + # $(foreach i, \ +diff -Naur root.as-needed/cint/cintex/Module.mk root/cint/cintex/Module.= mk +--- root.as-needed/cint/cintex/Module.mk 2011-07-10 10:42:49.104889217 += 0400 ++++ root/cint/cintex/Module.mk 2011-07-10 10:43:21.496672876 +0400 +@@ -31,10 +31,6 @@ + CINTEXPY :=3D $(subst $(MODDIR)/python,$(LPATH),$(CINTEXPYS)) + $(LPATH)/%.py: $(MODDIR)/python/%.py; cp $< $@ + endif +-ifneq ($(BUILDPYTHON),no) +-CINTEXPYC :=3D $(CINTEXPY:.py=3D.pyc) +-CINTEXPYO :=3D $(CINTEXPY:.py=3D.pyo) +-endif +=20 + # used in the main Makefile + ALLHDRS +=3D $(patsubst $(MODDIRI)/Cintex/%.h,include/Cintex/%.h,$= (CINTEXH)) +@@ -86,8 +82,6 @@ + fi) + cp $< $@ +=20 +-%.pyc: %.py; python -c 'import py_compile; py_compile.compile( "$<" = )' +-%.pyo: %.py; python -O -c 'import py_compile; py_compile.compile( "$= <" )' +=20 + $(CINTEXLIB): $(CINTEXO) $(CINTEXPY) $(CINTEXPYC) $(CINTEXPYO) \ + $(ORDER_) $(subst $(CINTEXLIB),,$(MAINLIBS)) $(CINTEXLI= BDEP) +diff -Naur root.as-needed/cint/reflex/Module.mk root/cint/reflex/Module.= mk +--- root.as-needed/cint/reflex/Module.mk 2011-07-10 10:42:49.074890651 += 0400 ++++ root/cint/reflex/Module.mk 2011-07-10 10:43:21.496672876 +0400 +@@ -48,9 +48,6 @@ + RFLX_GRFLXS :=3D $(wildcard $(RFLX_GRFLXSD)/*.py) + RFLX_GRFLXPY :=3D $(patsubst $(RFLX_GRFLXSD)/%.py,$(RFLX_GRFLXDD)/%.py= ,$(RFLX_GRFLXS)) + RFLX_GRFLXPY +=3D $(RFLX_GCCXMLPATHPY) +-ifneq ($(BUILDPYTHON),no) +-RFLX_GRFLXPYC :=3D $(subst .py,.pyc,$(RFLX_GRFLXPY)) +-endif +=20 + RFLX_LIBDIR =3D $(LIBDIR) +=20 +@@ -92,7 +89,7 @@ +=20 + ALLEXECS +=3D $(RFLX_GENMAPX) +=20 +-POSTBIN +=3D $(RFLX_GRFLXPYC) $(RFLX_GRFLXPY) ++POSTBIN +=3D $(RFLX_GRFLXPY) +=20 + ##### local rules ##### + .PHONY: all-$(MODNAME) clean-$(MODNAME) distclean-$(MODNAME) \ +@@ -122,8 +119,6 @@ + mkdir -p lib/python/genreflex; fi ) + cp $< $@ +=20 +-$(RFLX_GRFLXDD)/%.pyc: $(RFLX_GRFLXDD)/%.py +- @python -c 'import py_compile; py_compile.compile( "$<" )' +=20 + $(RFLX_GENMAPO) : CXXFLAGS +=3D -I$(REFLEXDIRS)/genmap +=20 +@@ -149,7 +144,7 @@ + $(RLIBMAP) -o $@ -l $(REFLEXDICTLIB) \ + -d $(REFLEXDICTLIBDEPM) -c $(REFLEXL) +=20 +-all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_G= RFLXPYC) $(RFLX_GRFLXPY) ++all-$(MODNAME): $(REFLEXLIB) $(REFLEXDICTLIB) $(REFLEXDICTMAP) $(RFLX_G= RFLXPY) +=20 + clean-genreflex: + @rm -rf lib/python/genreflex +diff -Naur root.as-needed/cint/reflex/python/CMakeLists.txt root/cint/re= flex/python/CMakeLists.txt +--- root.as-needed/cint/reflex/python/CMakeLists.txt 2011-07-10 10:42:49= .074890651 +0400 ++++ root/cint/reflex/python/CMakeLists.txt 2011-07-10 10:43:21.496672876= +0400 +@@ -15,7 +15,7 @@ + ##################### sources #################### +=20 + FILE(GLOB_RECURSE GENREFLEX_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} g= enreflex/*.py) +-SET(GENREFLEX_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/genreflex/genreflex.py= c PARENT_SCOPE) ++SET(GENREFLEX_SCRIPT PARENT_SCOPE) +=20 + ##################### gccxmlpath #################### +=20 diff --git a/sci-physics/root/files/rootd.confd b/sci-physics/root/files/= rootd.confd new file mode 100644 index 0000000..7516b8c --- /dev/null +++ b/sci-physics/root/files/rootd.confd @@ -0,0 +1,8 @@ +# conf.d file for root daemon + +# User to run as (default is `rootd') +ROOTD_USER=3D"rootd" + +# Please refer to the rootd(1) man(1) page for more information on=20 +# command line parameters.=20 +ROOTD_OPTS=3D"" diff --git a/sci-physics/root/files/rootd.initd b/sci-physics/root/files/= rootd.initd new file mode 100644 index 0000000..14c0d8e --- /dev/null +++ b/sci-physics/root/files/rootd.initd @@ -0,0 +1,28 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/rootd.initd,v = 1.3 2012/01/21 19:23:26 bicatali Exp $ + +depend() { + need net + use logger + provide root-file-server +} + +start() { + ebegin "Starting ROOT file server" + pid=3D$(start-stop-daemon --start --quiet --user ${ROOTD_USER} \ + --pidfile /var/run/rootd.pid \ + --exec /usr/bin/rootd -- ${ROOTD_OPTS}) + retval=3D$? + echo ${ROOTD_PID} > /var/run/rootd.pid + eend ${retval} +} + +stop() { + ebegin "Stopping ROOT file server" + start-stop-daemon --stop --quiet \ + --pidfile /var/run/rootd.pid \ + --exec /usr/bin/rootd + eend $? +} diff --git a/sci-physics/root/files/xrootd.confd b/sci-physics/root/files= /xrootd.confd new file mode 100644 index 0000000..e725cd1 --- /dev/null +++ b/sci-physics/root/files/xrootd.confd @@ -0,0 +1,8 @@ +# conf.d file for xroot daemon + +# User to run as (default is `root') +XROOTD_USER=3D"root" + +# Please refer to the xrootd(1) man(1) page for more +# information on command line parameters.=20 +XROOTD_OPTS=3D"" diff --git a/sci-physics/root/files/xrootd.initd b/sci-physics/root/files= /xrootd.initd new file mode 100644 index 0000000..28dd8a5 --- /dev/null +++ b/sci-physics/root/files/xrootd.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/files/xrootd.initd,v= 1.2 2009/01/20 18:04:09 bicatali Exp $ + +depend() { + need net + use logger dns + provide root-file-server +} + +start() { + ebegin "Starting extended ROOTD file server" + start-stop-daemon --start --quiet --user ${XROOTD_USER} \ + --make-pidfile --pidfile /var/run/xrootd.pid \ + --exec /usr/bin/xrootd --background -- ${XROOTD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping extended ROOTD file server" + start-stop-daemon --stop --quiet \ + --pidfile /var/run/xrootd.pid \ + --exec /usr/bin/xrootd + eend $? +} diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xm= l new file mode 100644 index 0000000..aaec26a --- /dev/null +++ b/sci-physics/root/metadata.xml @@ -0,0 +1,29 @@ + + + + + bircoph@gmail.com + Andrew Savchenko + Maintainer. Assign bugs to him + +sci-physics + + ROOT Object Oriented Technologies is an object oriented data + analysis framework written in C++ by the CERN. Widely used in + high energy physics, but also in other data analysis applications. It + contains the CINT C/C++ interpreter and many classes such as + statistics, serialization, optimization, linear algebra, graphics, + GUI toolkit, and a complete visualization framework. + + + Build the Clarens and PEAC plug-ins, to use in= a GRID enabled analysis + Support for images and data from FITS files with <= pkg>sci-libs/cfitsio + Support for sci-physics/geant version= 4 + Build the new cling interactive interpreter based = on sys-devel/llvm + Build all math related libraries plugins, needs sci-libs/gsl + Build the interface for sci-physics/pythia= version 6.x + Build the interface for sci-physics/pythia= version 8.x + Build the reflection database for the C++ interp= reter + Build the interface for net-libs/xrootd + + diff --git a/sci-physics/root/root-5.26.00e-r1.ebuild b/sci-physics/root/= root-5.26.00e-r1.ebuild new file mode 100644 index 0000000..777617b --- /dev/null +++ b/sci-physics/root/root-5.26.00e-r1.ebuild @@ -0,0 +1,316 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.26.00e-r1.ebu= ild,v 1.12 2011/11/13 11:21:12 jlec Exp $ + +EAPI=3D3 + +PYTHON_DEPEND=3D"python? 2" + +inherit versionator eutils fortran-2 elisp-common fdo-mime python toolch= ain-funcs + +DOC_PV=3D$(get_major_version)_$(get_version_component_range 2) +ROOFIT_DOC_PV=3D2.91-33 +TMVA_DOC_PV=3D4 + +DESCRIPTION=3D"C++ data analysis framework and interpreter from CERN" +HOMEPAGE=3D"http://root.cern.ch/" +SRC_URI=3D" + ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz + mirror://gentoo/${P}-patches.tar.bz2 + doc? ( + ftp://root.cern.ch/root/doc/Users_Guide_${DOC_PV}.pdf + ftp://root.cern.ch/root/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf + http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-= v${TMVA_DOC_PV}.pdf )" + +SLOT=3D"0" +LICENSE=3D"LGPL-2.1" +KEYWORDS=3D"amd64 x86" +IUSE=3D"afs clarens doc emacs examples fftw geant4 graphviz kerberos lda= p + +math mysql odbc +opengl openmp oracle postgres pythia6 pythia8 python + +reflex ruby qt4 ssl xft xml xinetd xrootd" + +# libafterimage ignored, to check every version +# see https://savannah.cern.ch/bugs/?func=3Ddetailitem&item_id=3D30944 +# || ( >=3Dmedia-libs/libafterimage-1.18 x11-wm/afterstep ) +CDEPEND=3D" + >=3Ddev-lang/cfortran-4.4-r2 + dev-libs/libpcre + >=3Dmedia-libs/ftgl-2.1.3_rc5 + media-libs/giflib + media-libs/glew + media-libs/libpng:0 + media-libs/tiff:0 + sys-apps/shadow + virtual/jpeg + x11-libs/libXft + x11-libs/libXpm + afs? ( >=3Dnet-fs/openafs-1.4.7 ) + clarens? ( dev-libs/xmlrpc-c ) + emacs? ( virtual/emacs ) + fftw? ( sci-libs/fftw:3.0 ) + geant4? ( sci-physics/geant:4 ) + graphviz? ( media-gfx/graphviz ) + kerberos? ( virtual/krb5 ) + ldap? ( net-nds/openldap ) + math? ( sci-libs/gsl ) + mysql? ( virtual/mysql ) + odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) + opengl? ( virtual/opengl virtual/glu ) + oracle? ( dev-db/oracle-instantclient-basic ) + postgres? ( dev-db/postgresql-base ) + pythia6? ( sci-physics/pythia:6 ) + pythia8? ( sci-physics/pythia:8 ) + qt4? ( + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4 + x11-libs/qt-qt3support:4 + x11-libs/qt-xmlpatterns:4 ) + ruby? ( + dev-lang/ruby + dev-ruby/rubygems ) + ssl? ( dev-libs/openssl ) + xml? ( dev-libs/libxml2:2 )" + +DEPEND=3D"${CDEPEND} + dev-util/pkgconfig" + +RDEPEND=3D" + virtual/fortran + ${CDEPEND} + xinetd? ( sys-apps/xinetd )" + +S=3D"${WORKDIR}/${PN}" + +pkg_setup() { + fortran-2_pkg_setup + echo + elog "You may want to build ROOT with these non Gentoo extra packages:" + elog "AliEn, castor, Chirp, dCache, gfal, gLite, Globus," + elog "Monalisa, MaxDB/SapDB, SRP." + elog "You can use the env variable EXTRA_ECONF variable for this." + elog "For example, for SRP, you would set: " + elog "EXTRA_ECONF=3D\"--enable-srp --with-srp-libdir=3D/usr/$(get_libdi= r)\"" + echo + enewgroup rootd + enewuser rootd -1 -1 /var/spool/rootd rootd + + if use openmp && \ + [[ $(tc-getCC)$ =3D=3D *gcc* ]] && \ + ( [[ $(gcc-major-version)$(gcc-minor-version) -lt 42 ]] || \ + ! has_version sys-devel/gcc[openmp] ); then + ewarn "You are using gcc and OpenMP is available with gcc >=3D 4.2" + ewarn "If you want to build this package with OpenMP, abort now," + ewarn "and set CC to an OpenMP capable compiler" + elif use openmp; then + export USE_OPENMP=3D1 + use math && export USE_PARALLEL_MINUIT2=3D1 + fi + use python && python_set_active_version 2 +} + +src_prepare() { + epatch \ + "${WORKDIR}"/${P}-make-3.82.patch \ + "${WORKDIR}"/${P}-prop-ldflags.patch \ + "${WORKDIR}"/${P}-configure-paths.patch \ + "${WORKDIR}"/${P}-nobyte-compile.patch \ + "${WORKDIR}"/${P}-glibc212.patch \ + "${WORKDIR}"/${P}-xrootd-prop-flags.patch \ + "${FILESDIR}"/${P}-libpng15.patch + + # use system cfortran + rm montecarlo/eg/inc/cfortran.h README/cfortran.doc + + # take a more descriptive name for ruby libs + sed -i \ + -e 's/libRuby/libRubyROOT/g' \ + bindings/ruby/Module.mk bindings/ruby/src/drr.cxx \ + || die "ajusting ruby libname failed" + + # in gentoo, libPythia6 is called libpythia6 + # libungif is called libgif + sed -i \ + -e 's/libPythia6/libpythia6/g' \ + -e 's/ungif/gif/g' \ + configure || die "adjusting library names failed" + + # libafterimage flags are hardcoded + sed -i \ + -e 's/CFLAGS=3D"-O3"//' \ + -e 's/CFLAGS=3D$$ACFLAGS//' \ + graf2d/asimage/Module.mk graf2d/asimage/src/libAfterImage/configure \ + || die "flag propagation in libafterimage failed" + # QTDIR only used for qt3 in gentoo, and configure looks for it. + unset QTDIR +} + +src_configure() { + # the configure script is not the standard autotools + ./configure \ + --prefix=3D"${EPREFIX}"/usr \ + --libdir=3D"${EPREFIX}"/usr/$(get_libdir)/${PN} \ + --docdir=3D"${EPREFIX}"/usr/share/doc/${PF} \ + --tutdir=3D"${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \ + --testdir=3D"${EPREFIX}"/usr/share/doc/${PF}/examples/tests \ + --with-cc=3D$(tc-getCC) \ + --with-cxx=3D$(tc-getCXX) \ + --with-f77=3D$(tc-getFC) \ + --with-sys-iconpath=3D"${EPREFIX}"/usr/share/pixmaps \ + --disable-builtin-freetype \ + --disable-builtin-ftgl \ + --disable-builtin-glew \ + --disable-builtin-pcre \ + --disable-builtin-zlib \ + --disable-rpath \ + --enable-asimage \ + --enable-astiff \ + --enable-exceptions \ + --enable-explicitlink \ + --enable-gdml \ + --enable-memstat \ + --enable-shadowpw \ + --enable-shared \ + --enable-soversion \ + --enable-table \ + --fail-on-missing \ + --with-afs-shared=3Dyes \ + $(use_enable afs) \ + $(use_enable clarens) \ + $(use_enable clarens peac) \ + $(use_enable fftw fftw3) \ + $(use_enable geant4 g4root) \ + $(use_enable graphviz gviz) \ + $(use_enable kerberos krb5) \ + $(use_enable ldap) \ + $(use_enable math gsl-shared) \ + $(use_enable math genvector) \ + $(use_enable math mathmore) \ + $(use_enable math minuit2) \ + $(use_enable math roofit) \ + $(use_enable math unuran) \ + $(use_enable mysql) \ + $(use_enable odbc) \ + $(use_enable opengl) \ + $(use_enable postgres pgsql) \ + $(use_enable pythia6) \ + $(use_enable pythia8) \ + $(use_enable python) \ + $(use_enable qt4 qt) \ + $(use_enable qt4 qtgsi) \ + $(use_enable reflex cintex) \ + $(use_enable reflex) \ + $(use_enable ruby) \ + $(use_enable ssl) \ + $(use_enable xft) \ + $(use_enable xml) \ + $(use_enable xrootd) \ + ${EXTRA_ECONF} \ + || die "configure failed" +} + +src_compile() { + emake OPT=3D"${CFLAGS}" F77OPT=3D"${FFLAGS}" || die "emake failed" + if use emacs; then + elisp-compile build/misc/*.el || die "elisp-compile failed" + fi +} + +doc_install() { + cd "${S}" + if use doc; then + einfo "Installing user's guides" + insinto /usr/share/doc/${PF} + doins \ + "${DISTDIR}"/Users_Guide_${DOC_PV}.pdf \ + "${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf \ + || die "pdf install failed" + if use math; then + doins "${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \ + || die "math doc install failed" + fi + fi + + if use examples; then + # these should really be taken care of by the root make install + insinto /usr/share/doc/${PF}/examples/tutorials/tmva + doins -r tmva/test || die + else + rm -rf "${D}"/usr/share/doc/${PF}/examples + fi +} + +daemon_install() { + cd "${S}" + local daemons=3D"rootd proofd" + dodir /var/spool/rootd + fowners rootd:rootd /var/spool/rootd + dodir /var/spool/rootd/{pub,tmp} + fperms 1777 /var/spool/rootd/{pub,tmp} + + use xrootd && daemons=3D"${daemons} xrootd olbd" + for i in ${daemons}; do + newinitd "${FILESDIR}"/${i}.initd ${i} + newconfd "${FILESDIR}"/${i}.confd ${i} + done + if use xinetd; then + insinto /etc/xinetd + doins etc/daemons/{rootd,proofd}.xinetd || die + fi +} + +desktop_install() { + cd "${S}" + sed -e 's,@prefix@,/usr,' \ + build/package/debian/root-system-bin.desktop.in > root.desktop + domenu root.desktop + doicon "${S}"/build/package/debian/root-system-bin.png + + insinto /usr/share/icons/hicolor/48x48/mimetypes + doins build/package/debian/application-x-root.png + + insinto /usr/share/icons/hicolor/48x48/apps + doicon build/package/debian/root-system-bin.xpm +} + +src_install() { + emake DESTDIR=3D"${D}" install || die "emake install failed" + + echo "LDPATH=3D${EPREFIX}/usr/$(get_libdir)/root" > 99root + use pythia8 && echo "PYTHIA8=3D${EPREFIX}/usr" >> 99root + use python && echo "PYTHONPATH=3D${EPREFIX}/usr/$(get_libdir)/root" >> = 99root + use ruby && echo "RUBYLIB=3D${EPREFIX}/usr/$(get_libdir)/root" >> 99roo= t + doenvd 99root || die "doenvd failed" + + # The build system installs Emacs support unconditionally and in the wr= ong + # directory. Remove it and call elisp-install in case of USE=3Demacs. + rm -rf "${D}"/usr/share/emacs + if use emacs; then + elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed= " + fi + + doc_install + daemon_install + desktop_install + + # Cleanup of files either already distributed or unused on Gentoo + rm "${ED}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT} + rm "${ED}"usr/share/root/fonts/LICENSE + pushd "${ED}"usr/$(get_libdir)/root/cint/cint/lib > /dev/null + rm -f posix/mktypes dll_stl/setup \ + G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o + rm -f "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib + rm -f "${ED}"/etc/root/proof/*.sample + rm -rf "${ED}"/etc/root/daemons + popd > /dev/null +} + +pkg_postinst() { + use ruby && elog "ROOT Ruby module is available as libRubyROOT" + fdo-mime_desktop_database_update + use python && python_mod_optimize /usr/$(get_libdir)/root +} + +pkg_postrm() { + fdo-mime_desktop_database_update + use python && python_mod_cleanup /usr/$(get_libdir)/root +} diff --git a/sci-physics/root/root-5.28.00d.ebuild b/sci-physics/root/roo= t-5.28.00d.ebuild new file mode 100644 index 0000000..f685450 --- /dev/null +++ b/sci-physics/root/root-5.28.00d.ebuild @@ -0,0 +1,338 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.28.00d.ebuild= ,v 1.4 2011/11/13 11:21:12 jlec Exp $ + +EAPI=3D3 + +PYTHON_DEPEND=3D"python? 2" + +inherit versionator eutils fortran-2 elisp-common fdo-mime python toolch= ain-funcs flag-o-matic + +#DOC_PV=3D$(get_major_version)_$(get_version_component_range 2) +DOC_PV=3D5_26 +ROOFIT_DOC_PV=3D2.91-33 +TMVA_DOC_PV=3D4.03 +PATCH_PV=3D5.28.00b + +DESCRIPTION=3D"C++ data analysis framework and interpreter from CERN" +HOMEPAGE=3D"http://root.cern.ch/" +SRC_URI=3D" + ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz + http://dev.gentoo.org/~bicatali/${PN}-${PATCH_PV}-xrootd-prop-flags.pat= ch.bz2 + doc? ( ftp://root.cern.ch/${PN}/doc/Users_Guide_${DOC_PV}.pdf + math? ( + ftp://root.cern.ch/${PN}/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf + http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-= v${TMVA_DOC_PV}.pdf ) )" + +SLOT=3D"0" +LICENSE=3D"LGPL-2.1" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"afs avahi clarens doc emacs examples fits fftw graphviz kerberos= ldap + llvm +math mpi mysql ncurses odbc +opengl openmp oracle postgres pythia= 6 + pythia8 python +reflex ruby qt4 ssl xft xml xinetd xrootd" + +CDEPEND=3D" + >=3Ddev-lang/cfortran-4.4-r2 + dev-libs/libpcre + media-libs/ftgl + media-libs/giflib + media-libs/glew + media-libs/libpng:0 + media-libs/tiff:0 + sys-apps/shadow + virtual/jpeg + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft + x11-libs/libXpm + || ( >=3Dmedia-libs/libafterimage-1.20 >=3Dx11-wm/afterstep-2.2.11 ) + afs? ( net-fs/openafs ) + avahi? ( net-dns/avahi ) + clarens? ( dev-libs/xmlrpc-c ) + emacs? ( virtual/emacs ) + fits? ( sci-libs/cfitsio ) + fftw? ( sci-libs/fftw:3.0 ) + graphviz? ( media-gfx/graphviz ) + kerberos? ( virtual/krb5 ) + ldap? ( net-nds/openldap ) + llvm? ( sys-devel/llvm ) + math? ( sci-libs/gsl sci-mathematics/unuran mpi? ( virtual/mpi ) ) + mysql? ( virtual/mysql ) + ncurses? ( sys-libs/ncurses ) + odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) + opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps ) + oracle? ( dev-db/oracle-instantclient-basic ) + postgres? ( dev-db/postgresql-base ) + pythia6? ( sci-physics/pythia:6 ) + pythia8? ( sci-physics/pythia:8 ) + qt4? ( + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4 + x11-libs/qt-qt3support:4 + x11-libs/qt-svg:4 + x11-libs/qt-webkit:4 + x11-libs/qt-xmlpatterns:4 ) + ruby? ( + dev-lang/ruby + dev-ruby/rubygems ) + ssl? ( dev-libs/openssl ) + xml? ( dev-libs/libxml2:2 )" + +DEPEND=3D"${CDEPEND} + dev-util/pkgconfig" + +RDEPEND=3D" + virtual/fortran +${CDEPEND} + reflex? ( dev-cpp/gccxml ) + xinetd? ( sys-apps/xinetd )" + +S=3D"${WORKDIR}/${PN}" + +pkg_setup() { + fortran-2_pkg_setup + echo + elog "There are extra options on packages not yet in Gentoo:" + elog "AliEn, castor, Chirp, dCache, gfal, gLite, Globus," + elog "HDFS, Monalisa, MaxDB/SapDB, SRP." + elog "You can use the env variable EXTRA_ECONF variable for this." + elog "For example, for SRP, you would set: " + elog "EXTRA_ECONF=3D\"--enable-srp --with-srp-libdir=3D/usr/$(get_libdi= r)\"" + echo + enewgroup rootd + enewuser rootd -1 -1 /var/spool/rootd rootd + + if use math; then + if use openmp && [[ $(tc-getCC)$ =3D=3D *gcc* ]] && ! tc-has-openmp; t= hen + ewarn "You are using gcc and OpenMP is available with gcc >=3D 4.2" + ewarn "If you want to build this package with OpenMP, abort now," + ewarn "and set CC to an OpenMP capable compiler" + elif use openmp; then + export USE_OPENMP=3D1 USE_PARALLEL_MINUIT2=3D1 + elif use mpi; then + export USE_MPI=3D1 USE_PARALLEL_MINUIT2=3D1 + fi + fi +} + +src_prepare() { + epatch \ + "${WORKDIR}"/${PN}-${PATCH_PV}-xrootd-prop-flags.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-prop-ldflags.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-asneeded.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-nobyte-compile.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-glibc212.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-unuran.patch + + # make sure we use system libs and headers + rm montecarlo/eg/inc/cfortran.h README/cfortran.doc + rm -rf graf2d/asimage/src/libAfterImage + rm -rf graf3d/ftgl/{inc,src} + rm -rf graf2d/freetype/src + rm -rf graf3d/glew/{inc,src} + rm -rf core/pcre/src + rm -rf math/unuran/src/unuran-*.tar.gz + find core/zip -type f -name "[a-z]*" | xargs rm + rm graf3d/gl/{inc,src}/gl2ps.* + sed -i -e 's/^GLLIBS *:=3D .* $(OPENGLLIB)/& -lgl2ps/' graf3d/gl/Module= .mk + + # TODO: unbundle xrootd as a new package + #rm -rf net/xrootd/src + #sed -i \ + # -e 's:-lXrdOuc:-lXrd &:' \ + # -e 's:$(XROOTDDIRL)/lib\(Xrd\w*\).a:-l\1:g' \ + # proof/proofd/Module.mk || die + + # In Gentoo, libPythia6 is called libpythia6 + # libungif is called libgif, + # iodbc is in /usr/include/iodbc + # pg_config.h is checked instead of libpq-fe.h + sed -i \ + -e 's:libPythia6:libpythia6:g' \ + -e 's:ungif:gif:g' \ + -e 's:$ODBCINC:$ODBCINC /usr/include/iodbc:' \ + -e 's:libpq-fe.h:pg_config.h:' \ + configure || die "adjusting configure for Gentoo failed" + + # prefixify the configure script + sed -i \ + -e 's:/usr:${EPREFIX}/usr:g' \ + configure || die "prefixify configure failed" + + # QTDIR only used for qt3 in gentoo, and configure looks for it. + unset QTDIR +} + +src_configure() { + # the configure script is not the standard autotools + ./configure \ + --prefix=3D"${EPREFIX}"/usr \ + --etcdir=3D"${EPREFIX}"/etc/root \ + --libdir=3D"${EPREFIX}"/usr/$(get_libdir)/${PN} \ + --docdir=3D"${EPREFIX}"/usr/share/doc/${PF} \ + --tutdir=3D"${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \ + --testdir=3D"${EPREFIX}"/usr/share/doc/${PF}/examples/tests \ + --with-cc=3D$(tc-getCC) \ + --with-cxx=3D$(tc-getCXX) \ + --with-f77=3D$(tc-getFC) \ + --with-sys-iconpath=3D"${EPREFIX}"/usr/share/pixmaps \ + --disable-builtin-afterimage \ + --disable-builtin-freetype \ + --disable-builtin-ftgl \ + --disable-builtin-glew \ + --disable-builtin-pcre \ + --disable-builtin-zlib \ + --disable-rpath \ + --enable-asimage \ + --enable-astiff \ + --enable-exceptions \ + --enable-explicitlink \ + --enable-gdml \ + --enable-memstat \ + --enable-shadowpw \ + --enable-shared \ + --enable-soversion \ + --enable-table \ + --fail-on-missing \ + --with-afs-shared=3Dyes \ + $(use_enable afs) \ + $(use_enable avahi bonjour) \ + $(use_enable clarens) \ + $(use_enable clarens peac) \ + $(use_enable ncurses editline) \ + $(use_enable fits fitsio) \ + $(use_enable fftw fftw3) \ + $(use_enable graphviz gviz) \ + $(use_enable kerberos krb5) \ + $(use_enable ldap) \ + $(use_enable llvm cling) \ + $(use_enable math gsl-shared) \ + $(use_enable math genvector) \ + $(use_enable math mathmore) \ + $(use_enable math minuit2) \ + $(use_enable math roofit) \ + $(use_enable math tmva) \ + $(use_enable math unuran) \ + $(use_enable mysql) \ + $(use_enable odbc) \ + $(use_enable opengl) \ + $(use_enable postgres pgsql) \ + $(use_enable pythia6) \ + $(use_enable pythia8) \ + $(use_enable python) \ + $(use_enable qt4 qt) \ + $(use_enable qt4 qtgsi) \ + $(use_enable reflex cintex) \ + $(use_enable reflex) \ + $(use_enable ruby) \ + $(use_enable ssl) \ + $(use_enable xft) \ + $(use_enable xml) \ + $(use_enable xrootd) \ + ${EXTRA_ECONF} \ + || die "configure failed" +} + +src_compile() { + emake OPT=3D"${CFLAGS}" F77OPT=3D"${FFLAGS}" || die "emake failed" + if use emacs; then + elisp-compile build/misc/*.el || die "elisp-compile failed" + fi +} + +doc_install() { + cd "${S}" + if use doc; then + einfo "Installing user's guides" + dodoc "${DISTDIR}"/Users_Guide_${DOC_PV}.pdf \ + use math && dodoc \ + "${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \ + "${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf + fi + + if use examples; then + # these should really be taken care of by the root make install + insinto /usr/share/doc/${PF}/examples/tutorials/tmva + doins -r tmva/test + else + rm -rf "${ED}"/usr/share/doc/${PF}/examples + fi +} + +daemon_install() { + cd "${S}" + local daemons=3D"rootd proofd" + dodir /var/spool/rootd + fowners rootd:rootd /var/spool/rootd + dodir /var/spool/rootd/{pub,tmp} + fperms 1777 /var/spool/rootd/{pub,tmp} + + use xrootd && daemons=3D"${daemons} xrootd olbd" + for i in ${daemons}; do + newinitd "${FILESDIR}"/${i}.initd ${i} + newconfd "${FILESDIR}"/${i}.confd ${i} + done + if use xinetd; then + insinto /etc/xinetd + doins etc/daemons/{rootd,proofd}.xinetd + fi +} + +desktop_install() { + cd "${S}" + sed -e 's,@prefix@,/usr,' \ + build/package/debian/root-system-bin.desktop.in > root.desktop + domenu root.desktop + doicon "${S}"/build/package/debian/root-system-bin.png + + insinto /usr/share/icons/hicolor/48x48/mimetypes + doins build/package/debian/application-x-root.png + + insinto /usr/share/icons/hicolor/48x48/apps + doicon build/package/debian/root-system-bin.xpm +} + +src_install() { + emake DESTDIR=3D"${D}" install || die "emake install failed" + + echo "LDPATH=3D${EPREFIX}/usr/$(get_libdir)/root" > 99root + use pythia8 && echo "PYTHIA8=3D${EPREFIX}/usr" >> 99root + use python && echo "PYTHONPATH=3D${EPREFIX}/usr/$(get_libdir)/root" >> = 99root + use ruby && echo "RUBYLIB=3D${EPREFIX}/usr/$(get_libdir)/root" >> 99roo= t + doenvd 99root || die "doenvd failed" + + # The build system installs Emacs support unconditionally and in the wr= ong + # directory. Remove it and call elisp-install in case of USE=3Demacs. + rm -rf "${ED}"/usr/share/emacs + if use emacs; then + elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed= " + fi + + doc_install + daemon_install + desktop_install + + # Cleanup of files either already distributed or unused on Gentoo + rm "${ED}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT} + rm "${ED}"usr/share/root/fonts/LICENSE + pushd "${ED}"usr/$(get_libdir)/root/cint/cint/lib > /dev/null + rm -f posix/mktypes dll_stl/setup \ + G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o + rm -f "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib + rm -f "${ED}"/etc/root/proof/*.sample + rm -rf "${ED}"/etc/root/daemons + popd > /dev/null + # these should be in PATH + mv "${ED}"usr/share/root/proof/utils/pq2/pq2* \ + "${ED}"usr/bin +} + +pkg_postinst() { + fdo-mime_desktop_database_update + use python && python_mod_optimize /usr/$(get_libdir)/root +} + +pkg_postrm() { + fdo-mime_desktop_database_update + use python && python_mod_cleanup /usr/$(get_libdir)/root +} diff --git a/sci-physics/root/root-5.32.00-r2.ebuild b/sci-physics/root/r= oot-5.32.00-r2.ebuild new file mode 100644 index 0000000..093c935 --- /dev/null +++ b/sci-physics/root/root-5.32.00-r2.ebuild @@ -0,0 +1,340 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.32.00-r2.ebui= ld,v 1.1 2012/01/21 19:19:46 bicatali Exp $ + +EAPI=3D4 +PYTHON_DEPEND=3D"python? 2" +inherit versionator eutils fortran-2 elisp-common fdo-mime python toolch= ain-funcs flag-o-matic + +#DOC_PV=3D$(get_major_version)_$(get_version_component_range 2) +DOC_PV=3D5_26 +ROOFIT_DOC_PV=3D2.91-33 +TMVA_DOC_PV=3D4.03 +PATCH_PV=3D5.28.00b +PATCH_PV2=3D5.32.00 + +DESCRIPTION=3D"C++ data analysis framework and interpreter from CERN" +HOMEPAGE=3D"http://root.cern.ch/" +SRC_URI=3D"ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz + doc? ( ftp://root.cern.ch/${PN}/doc/Users_Guide_${DOC_PV}.pdf + math? ( + ftp://root.cern.ch/${PN}/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf + http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-= v${TMVA_DOC_PV}.pdf ) )" + +SLOT=3D"0" +LICENSE=3D"LGPL-2.1" +KEYWORDS=3D"~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE=3D"+X afs avahi clarens doc emacs examples fits fftw graphviz kerbe= ros ldap + llvm +math mpi mysql ncurses odbc +opengl openmp oracle postgres prefix + pythia6 pythia8 python +reflex ruby qt4 ssl xft xml xinetd xrootd" + +CDEPEND=3D" + app-arch/xz-utils + >=3Ddev-lang/cfortran-4.4-r2 + dev-libs/libpcre + media-libs/freetype + media-libs/giflib + media-libs/libpng:0 + media-libs/tiff:0 + sys-apps/shadow + sys-libs/zlib + virtual/jpeg + X? ( + media-libs/ftgl + media-libs/glew + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXpm + || ( >=3Dmedia-libs/libafterimage-1.20 >=3Dx11-wm/afterstep-2.2.11 ) + opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps ) + qt4? ( + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4 + x11-libs/qt-qt3support:4 + x11-libs/qt-svg:4 + x11-libs/qt-webkit:4 + x11-libs/qt-xmlpatterns:4 ) + xft? ( x11-libs/libXft ) + ) + afs? ( net-fs/openafs ) + avahi? ( net-dns/avahi ) + clarens? ( dev-libs/xmlrpc-c[curl] ) + emacs? ( virtual/emacs ) + fits? ( sci-libs/cfitsio ) + fftw? ( sci-libs/fftw:3.0 ) + graphviz? ( media-gfx/graphviz ) + kerberos? ( virtual/krb5 ) + ldap? ( net-nds/openldap ) + llvm? ( sys-devel/llvm ) + math? ( sci-libs/gsl sci-mathematics/unuran mpi? ( virtual/mpi ) ) + mysql? ( virtual/mysql ) + ncurses? ( sys-libs/ncurses ) + odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) + oracle? ( dev-db/oracle-instantclient-basic ) + postgres? ( dev-db/postgresql-base ) + pythia6? ( sci-physics/pythia:6 ) + pythia8? ( sci-physics/pythia:8 ) + ruby? ( + dev-lang/ruby + dev-ruby/rubygems ) + ssl? ( dev-libs/openssl ) + xml? ( dev-libs/libxml2 ) + xrootd? ( net-libs/xrootd )" + +DEPEND=3D"${CDEPEND} + dev-util/pkgconfig" + +RDEPEND=3D" + virtual/fortran + ${CDEPEND} + reflex? ( dev-cpp/gccxml ) + xinetd? ( sys-apps/xinetd )" + +REQUIRED_USE=3D"!X? ( !opengl !qt4 !xft )" + +S=3D"${WORKDIR}/${PN}" + +pkg_setup() { + fortran-2_pkg_setup + python_pkg_setup + echo + elog "There are extra options on packages not yet in Gentoo:" + elog "AliEn, castor, Chirp, dCache, gfal, gLite, Globus," + elog "HDFS, Monalisa, MaxDB/SapDB, SRP." + elog "You can use the env variable EXTRA_ECONF variable for this." + elog "For example, for SRP, you would set: " + elog "EXTRA_ECONF=3D\"--enable-srp --with-srp-libdir=3D/usr/$(get_libdi= r)\"" + echo + enewgroup rootd + enewuser rootd -1 -1 /var/spool/rootd rootd + + if use math; then + if use openmp && [[ $(tc-getCC)$ =3D=3D *gcc* ]] && ! tc-has-openmp; t= hen + ewarn "You are using gcc and OpenMP is available with gcc >=3D 4.2" + ewarn "If you want to build this package with OpenMP, abort now," + ewarn "and set CC to an OpenMP capable compiler" + elif use openmp; then + export USE_OPENMP=3D1 USE_PARALLEL_MINUIT2=3D1 + elif use mpi; then + export USE_MPI=3D1 USE_PARALLEL_MINUIT2=3D1 + fi + fi +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-prop-ldflags.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-asneeded.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV2}-nobyte-compile.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-glibc212.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV}-unuran.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV2}-afs.patch \ + "${FILESDIR}"/${PN}-${PATCH_PV2}-cfitsio.patch + + # make sure we use system libs and headers + rm montecarlo/eg/inc/cfortran.h README/cfortran.doc + rm -rf graf2d/asimage/src/libAfterImage + rm -rf graf3d/ftgl/{inc,src} + rm -rf graf2d/freetype/src + rm -rf graf3d/glew/{inc,src} + rm -rf core/pcre/src + rm -rf math/unuran/src/unuran-*.tar.gz + LANG=3DC LC_ALL=3DC find core/zip -type f -name "[a-z]*" | xargs rm + rm -rf core/lzma/src/*.tar.gz + rm graf3d/gl/{inc,src}/gl2ps.* + sed -i -e 's/^GLLIBS *:=3D .* $(OPENGLLIB)/& -lgl2ps/' graf3d/gl/Module= .mk + + # In Gentoo, libPythia6 is called libpythia6 + # libungif is called libgif, + # iodbc is in /usr/include/iodbc + # pg_config.h is checked instead of libpq-fe.h + sed -i \ + -e 's:libPythia6:libpythia6:g' \ + -e 's:ungif:gif:g' \ + -e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \ + -e 's:libpq-fe.h:pg_config.h:' \ + configure || die "adjusting configure for Gentoo failed" + + # prefixify the configure script + sed -i \ + -e 's:/usr:${EPREFIX}/usr:g' \ + configure || die "prefixify configure failed" + + # QTDIR only used for qt3 in gentoo, and configure looks for it. + unset QTDIR +} + +src_configure() { + # the configure script is not the standard autotools + ./configure \ + --prefix=3D"${EPREFIX}"/usr \ + --etcdir=3D"${EPREFIX}"/etc/root \ + --libdir=3D"${EPREFIX}"/usr/$(get_libdir)/${PN} \ + --docdir=3D"${EPREFIX}"/usr/share/doc/${PF} \ + --tutdir=3D"${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \ + --testdir=3D"${EPREFIX}"/usr/share/doc/${PF}/examples/tests \ + --with-cc=3D$(tc-getCC) \ + --with-cxx=3D$(tc-getCXX) \ + --with-f77=3D$(tc-getFC) \ + --with-sys-iconpath=3D"${EPREFIX}"/usr/share/pixmaps \ + --disable-builtin-afterimage \ + --disable-builtin-freetype \ + --disable-builtin-ftgl \ + --disable-builtin-glew \ + --disable-builtin-pcre \ + --disable-builtin-zlib \ + --disable-builtin-lzma \ + --enable-astiff \ + --enable-exceptions \ + --enable-explicitlink \ + --enable-gdml \ + --enable-memstat \ + --enable-shadowpw \ + --enable-shared \ + --enable-soversion \ + --enable-table \ + --fail-on-missing \ + --with-afs-shared=3Dyes \ + $(use_enable X x11) \ + $(use_enable X asimage) \ + $(use_enable afs) \ + $(use_enable avahi bonjour) \ + $(use_enable clarens) \ + $(use_enable clarens peac) \ + $(use_enable ncurses editline) \ + $(use_enable fits fitsio) \ + $(use_enable fftw fftw3) \ + $(use_enable graphviz gviz) \ + $(use_enable kerberos krb5) \ + $(use_enable ldap) \ + $(use_enable llvm cling) \ + $(use_enable math gsl-shared) \ + $(use_enable math genvector) \ + $(use_enable math mathmore) \ + $(use_enable math minuit2) \ + $(use_enable math roofit) \ + $(use_enable math tmva) \ + $(use_enable math unuran) \ + $(use_enable mysql) \ + $(use_enable odbc) \ + $(use_enable opengl) \ + $(use_enable postgres pgsql) \ + $(use_enable prefix rpath) \ + $(use_enable pythia6) \ + $(use_enable pythia8) \ + $(use_enable python) \ + $(use_enable qt4 qt) \ + $(use_enable qt4 qtgsi) \ + $(use_enable reflex cintex) \ + $(use_enable reflex) \ + $(use_enable ruby) \ + $(use_enable ssl) \ + $(use_enable xft) \ + $(use_enable xml) \ + $(use_enable xrootd) \ + ${EXTRA_ECONF} \ + || die "configure failed" +} + +src_compile() { + emake OPT=3D"${CFLAGS}" F77OPT=3D"${FFLAGS}" || die "emake failed" + if use emacs; then + elisp-compile build/misc/*.el || die "elisp-compile failed" + fi +} + +doc_install() { + cd "${S}" + if use doc; then + einfo "Installing user's guides" + dodoc "${DISTDIR}"/Users_Guide_${DOC_PV}.pdf + use math && dodoc \ + "${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \ + "${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf + fi + + if use examples; then + # these should really be taken care of by the root make install + insinto /usr/share/doc/${PF}/examples/tutorials/tmva + doins -r tmva/test + else + rm -rf "${ED}"/usr/share/doc/${PF}/examples + fi +} + +daemon_install() { + cd "${S}" + local daemons=3D"rootd proofd" + dodir /var/spool/rootd + fowners rootd:rootd /var/spool/rootd + dodir /var/spool/rootd/{pub,tmp} + fperms 1777 /var/spool/rootd/{pub,tmp} + + for i in ${daemons}; do + newinitd "${FILESDIR}"/${i}.initd ${i} + newconfd "${FILESDIR}"/${i}.confd ${i} + done + if use xinetd; then + insinto /etc/xinetd + doins etc/daemons/{rootd,proofd}.xinetd + fi +} + +desktop_install() { + cd "${S}" + sed -e 's,@prefix@,/usr,' \ + build/package/debian/root-system-bin.desktop.in > root.desktop + domenu root.desktop + doicon "${S}"/build/package/debian/root-system-bin.png + + insinto /usr/share/icons/hicolor/48x48/mimetypes + doins build/package/debian/application-x-root.png + + insinto /usr/share/icons/hicolor/48x48/apps + doicon build/package/debian/root-system-bin.xpm +} + +src_install() { + emake DESTDIR=3D"${D}" install || die "emake install failed" + + echo "LDPATH=3D${EPREFIX}/usr/$(get_libdir)/root" > 99root + use pythia8 && echo "PYTHIA8=3D${EPREFIX}/usr" >> 99root + use python && echo "PYTHONPATH=3D${EPREFIX}/usr/$(get_libdir)/root" >> = 99root + use ruby && echo "RUBYLIB=3D${EPREFIX}/usr/$(get_libdir)/root" >> 99roo= t + doenvd 99root || die "doenvd failed" + + # The build system installs Emacs support unconditionally and in the wr= ong + # directory. Remove it and call elisp-install in case of USE=3Demacs. + rm -rf "${ED}"/usr/share/emacs + if use emacs; then + elisp-install ${PN} build/misc/*.{el,elc} || die "elisp-install failed= " + fi + + doc_install + daemon_install + desktop_install + + # Cleanup of files either already distributed or unused on Gentoo + rm "${ED}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT} + rm "${ED}"usr/share/root/fonts/LICENSE + pushd "${ED}"usr/$(get_libdir)/root/cint/cint/lib > /dev/null + rm -f posix/mktypes dll_stl/setup \ + G__* dll_stl/G__* dll_stl/rootcint_* posix/exten.o + rm -f "${ED}"usr/$(get_libdir)/root/cint/cint/include/makehpib + rm -f "${ED}"/etc/root/proof/*.sample + rm -rf "${ED}"/etc/root/daemons + popd > /dev/null + # these should be in PATH + mv "${ED}"usr/share/root/proof/utils/pq2/pq2* \ + "${ED}"usr/bin +} + +pkg_postinst() { + fdo-mime_desktop_database_update + use python && python_mod_optimize /usr/$(get_libdir)/root +} + +pkg_postrm() { + fdo-mime_desktop_database_update + use python && python_mod_cleanup /usr/$(get_libdir)/root +}