Adding new version.
authorOlivier Fisette <ribosome@gentoo.org>
Sun, 16 Jan 2005 02:43:45 +0000 (02:43 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Sun, 16 Jan 2005 02:43:45 +0000 (02:43 +0000)
sci-libs/root/ChangeLog
sci-libs/root/Manifest
sci-libs/root/files/digest-root-4.02.00 [new file with mode: 0644]
sci-libs/root/root-3.03.04-r2.ebuild
sci-libs/root/root-3.05.04.ebuild
sci-libs/root/root-3.10.02-r1.ebuild
sci-libs/root/root-4.00.06a.ebuild
sci-libs/root/root-4.02.00.ebuild [new file with mode: 0644]

index fcafd7ff1ac7843601f8a7f8e4dfae0f65eef241..0261a6f98937ca27061f24800101fbe08418a766 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sci-libs/root
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/ChangeLog,v 1.3 2004/12/29 21:34:39 ciaranm Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/ChangeLog,v 1.4 2005/01/16 02:43:45 ribosome Exp $
+
+*root-4.02.00 (15 Jan 2005)
+
+  15 Jan 2005; Olivier Fisette <ribosome@gentoo.org> +root-4.02.00.ebuild:
+  New version. GCC 3.4 patch no longer required.
 
   29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
   Change encoding to UTF-8 for GLEP 31 compliance
index 6c32d2098617ea77195bd11e02c6ee32541c9549..57cef1751dc2fbafa2e361f28dcf1b34d69004d7 100644 (file)
@@ -1,13 +1,15 @@
-MD5 345820d0ff6fe2361b2861700b4d93e6 root-4.00.06a.ebuild 4945
-MD5 176f4ded036b17c7998520ab63fc926f root-3.03.04-r2.ebuild 1617
-MD5 f891defa0778c7eb1b2d683e5eeb40e3 ChangeLog 2621
-MD5 8ca4f56fd69bbed4152f972f498a7978 root-3.10.02-r1.ebuild 4745
-MD5 a89e2928f08a2c9b1f644bf41fed01f1 root-3.05.04.ebuild 1613
+MD5 2c3cfae012a66112dbb070862289562d root-3.10.02-r1.ebuild 4745
+MD5 15793f41f3908d859a1b391e3187b5c3 root-3.05.04.ebuild 1613
+MD5 6412f51c01aebcfaab889144c40c8697 root-3.03.04-r2.ebuild 1617
+MD5 6a0e2306bb11e7f7fe135e08f8e0fbb5 root-4.02.00.ebuild 4836
+MD5 89c2b5cf2fe2b5a303c2413c8cd7bf39 root-4.00.06a.ebuild 4945
+MD5 1c7f75813fd6f229f39de318d44cf00e ChangeLog 2776
 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
-MD5 20d87dacea92f9c1128048bf8a7e5e32 files/digest-root-4.00.06a 75
-MD5 1ef2792a1fad865173670aa5942bef6c files/pgsql-no-libpq-int.patch 290
-MD5 bd215c79e54b143ed1ecdb7d3e45f10b files/root-4.00.06a-gcc-3.4.patch 2709
+MD5 58ce6f63773b28de747663b7e908e2bb files/root-makefile.patch 742
 MD5 053f8a5dbe37435f2b62ee44c79e9523 files/digest-root-3.05.04 73
-MD5 da92522ba08f8d50e5197b6a9fd7549f files/digest-root-3.10.02-r1 74
+MD5 6ed7f7ff48d537bdd4a588d1d992b22a files/digest-root-4.02.00 74
 MD5 cb6730d3f0de83973de47c6bf1d82cfa files/digest-root-3.03.04-r2 73
-MD5 58ce6f63773b28de747663b7e908e2bb files/root-makefile.patch 742
+MD5 1ef2792a1fad865173670aa5942bef6c files/pgsql-no-libpq-int.patch 290
+MD5 20d87dacea92f9c1128048bf8a7e5e32 files/digest-root-4.00.06a 75
+MD5 da92522ba08f8d50e5197b6a9fd7549f files/digest-root-3.10.02-r1 74
+MD5 bd215c79e54b143ed1ecdb7d3e45f10b files/root-4.00.06a-gcc-3.4.patch 2709
diff --git a/sci-libs/root/files/digest-root-4.02.00 b/sci-libs/root/files/digest-root-4.02.00
new file mode 100644 (file)
index 0000000..3bfe76b
--- /dev/null
@@ -0,0 +1 @@
+MD5 621c663e11ca4de453e64ee15f3c5ebc root_v4.02.00.source.tar.gz 13074632
index b6f57e1210d0ebcfd6d78d89b7846a108beedd89..62823ed55d982a861095937c893d9646710f5e2f 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/root-3.03.04-r2.ebuild,v 1.1 2004/12/28 23:01:57 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/root-3.03.04-r2.ebuild,v 1.2 2005/01/16 02:43:45 ribosome Exp $
 
 inherit flag-o-matic eutils
 
index 9ae1785dbc7e2c9af947b3affd8a07fd25a2e23c..173746e54b5bab909f96690a34c6733cfd18b1b9 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/root-3.05.04.ebuild,v 1.1 2004/12/28 23:01:57 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/root-3.05.04.ebuild,v 1.2 2005/01/16 02:43:45 ribosome Exp $
 
 inherit flag-o-matic eutils
 
index e891d14f3a21ef9423b9a0f4a9c54e5f846c0c16..769c9bf0a36468edf83a87ab2ab5772e3199f8d7 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/root-3.10.02-r1.ebuild,v 1.1 2004/12/28 23:01:57 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/root-3.10.02-r1.ebuild,v 1.2 2005/01/16 02:43:45 ribosome Exp $
 
 inherit flag-o-matic eutils
 
index 91e233ecf12cf1769e4de474c331b95cb7c38d39..be635fd3b2f85b6d535168f9144aa08ee1b7162b 100644 (file)
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/root-4.00.06a.ebuild,v 1.1 2004/12/28 23:01:57 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/root-4.00.06a.ebuild,v 1.2 2005/01/16 02:43:45 ribosome Exp $
 
 inherit flag-o-matic eutils
 
diff --git a/sci-libs/root/root-4.02.00.ebuild b/sci-libs/root/root-4.02.00.ebuild
new file mode 100644 (file)
index 0000000..26331da
--- /dev/null
@@ -0,0 +1,176 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/root/root-4.02.00.ebuild,v 1.1 2005/01/16 02:43:45 ribosome Exp $
+
+inherit flag-o-matic eutils
+
+S=${WORKDIR}/${PN}
+DESCRIPTION="An Object-Oriented Data Analysis Framework"
+MY_VER=${PV%[a-z]}
+MY_PATCH=${PV##"${MY_VER}"}
+SRC_URI="ftp://root.cern.ch/root/root_v${MY_VER}.source${MY_PATCH}.tar.gz"
+HOMEPAGE="http://root.cern.ch/"
+
+SLOT="0"
+LICENSE="as-is"
+KEYWORDS="~x86"
+IUSE="afs kerberos ldap mysql opengl postgres python qt"
+
+DEPEND="virtual/x11
+       >=media-libs/freetype-2.0.9
+       sys-apps/shadow
+       opengl? ( virtual/opengl virtual/glu )
+       mysql? ( >=dev-db/mysql-3.23.49 )
+       postgres? ( >=dev-db/postgresql-7.1.3-r4 )
+       !amd64? ( afs? ( net-fs/openafs ) )
+       kerberos? ( app-crypt/mit-krb5 )
+       ldap? ( net-nds/openldap )
+       qt? ( x11-libs/qt )
+       python? ( dev-lang/python )"
+
+src_compile() {
+
+       local myconf
+
+       if [ "x$CERNLIB" = "x" ]
+       then
+               einfo "No support for cernlib, (h/g)2root will not be build."
+               einfo "To install root with cernlib support, use:"
+               einfo "    export CERNLIB=<directory>/lib"
+               einfo "where <directory>/lib contains libpacklib.[so,a] and libkernlib.[so,a]"
+               USECERN="--disable-cern"
+       else
+               if [ -e $CERNLIB/libpacklib.[so,a] -a -e $CERNLIB/libkernlib.[so,a] ]
+               then
+                       einfo "Support for cernlib found."
+                       USECERN="--enable-cern --with-cern-libdir=$CERNLIB"
+               else
+                       einfo "No support for cernlib, (h/g)2root will not be build."
+                       einfo "CERNLIB = $CERNLIB has no libpacklib.[so,a] or no libkernlib.[so,a]"
+                       USECERN="--disable-cern"
+               fi
+       fi
+       einfo
+       if [ "x$PYTHIA" = "x" ]
+       then
+               einfo "No support for pythia."
+               einfo "To install root with pythia support, use:"
+               einfo "    export PYTHIA=<directory>/lib"
+               einfo "where <directory>/lib contains libPythia.[so,a]"
+               USEPYTHIA="--disable-pythia"
+       else
+               if [ -e $PYTHIA/libPythia.[so,a] ]
+               then
+                       einfo "Support for pythia found."
+                       USEPYTHIA="--enable-pythia --with-pythia-libdir=$PYTHIA"
+               else
+                       einfo "No support for pythia."
+                       einfo "PYTHIA = $PYTHIA has no libPythia.[so,a]"
+                       USEPYTHIA="--disable-pythia"
+               fi
+       fi
+       einfo
+       if [ "x$PYTHIA6" = "x" ]
+       then
+               einfo "No support for pythia6."
+               einfo "To install root with pythia6 support, use:"
+               einfo "    export PYTHIA6=<directory>/lib"
+               einfo "where <directory>/lib contains libPythia6.[so,a]"
+               USEPYTHIA6="--disable-pythia6"
+       else
+               if [ -e $PYTHIA6/libPythia6.[so,a] ]
+               then
+                       einfo "Support for pythia6 found."
+                       USEPYTHIA6="--enable-pythia6 --with-pythia6-libdir=$PYTHIA6"
+               else
+                       einfo "No support for pythia6."
+                       einfo "PYTHIA6 = $PYTHIA6 has no libPythia6.[so,a]"
+                       USEPYTHIA6="--disable-pythia6"
+               fi
+       fi
+       einfo
+       if [ "x$VENUS" = "x" ]
+       then
+               einfo "No support for venus."
+               einfo "To install root with venus support, use:"
+               einfo "    export VENUS=<directory>/lib"
+               einfo "where <directory>/lib contains libVenus.[so,a]"
+               USEVENUS="--disable-venus"
+       else
+               if [ -e $VENUS/libVenus.[so,a] ]
+               then
+                       einfo "Support for venus found."
+                       USEVENUS="--enable-venus --with-venus-libdir=$VENUS"
+               else
+                       einfo "No support for venus."
+                       einfo "VENUS = $VENUS has no libVenus.[so,a]"
+                       USEVENUS="--disable-venus"
+               fi
+       fi
+
+       case $SYSTEM_ARCH in
+               ppc)
+                       append-flags "-fsigned-char";;
+       esac
+
+       if ! use amd64; then
+               myconf="${myconf} $(use_enable afs)"
+       else
+               myconf="${myconf} --disable-afs"
+       fi
+
+       ./configure linux \
+               --aclocaldir=/usr/share/aclocal/ \
+               --bindir=/usr/bin \
+               --cintincdir=/usr/share/root/cint \
+               --datadir=/usr/share/root \
+               --docdir=/usr/share/doc/${P} \
+               --elispdir=/usr/share/emacs/site-lisp \
+               --etcdir=/etc/root \
+               --fontdir=/usr/share/root/fonts \
+               --iconpath=/usr/share/root/icons \
+               --incdir=/usr/include/root \
+               --libdir=/usr/lib/root \
+               --macrodir=/usr/share/root/macros \
+               --mandir=/usr/share/man/man1 \
+               --prefix=/usr \
+               --proofdir=/usr/share/root/proof \
+               --srcdir=/usr/share/root/src \
+               --testdir=/usr/share/doc/${P}/test \
+               --tutdir=/usr/share/doc/${P}/tutorial \
+               --disable-alien \
+               --disable-asimage \
+               $USECERN \
+               --disable-chirp \
+               --disable-dcache \
+               --disable-exceptions \
+               --disable-explicitlink \
+               --disable-globus \
+               `use_enable kerberos krb5` \
+               `use_enable ldap` \
+               `use_enable mysql` \
+               `use_enable opengl` \
+               `use_enable postgres pgsql` \
+               $USEPYTHIA \
+               $USEPYTHIA6 \
+               `use_enable qt` \
+               `use_enable python` \
+               --disable-rfio \
+               --disable-rpath \
+               --disable-sapdb \
+               --enable-shadowpw \
+               --enable-shared \
+               --enable-soversion \
+               --disable-srp \
+               --disable-table \
+               --enable-thread \
+               $USEVENUS \
+               ${myconf} || die "configure failed"
+       emake OPT="$CFLAGS" || die "make failed"
+}
+
+src_install() {
+       make DESTDIR=${D} INSTALL="install" install || die "install failed"
+       dodir /etc/env.d
+       echo > ${D}/etc/env.d/99root "LDPATH=\"/usr/lib/root\""
+}