From 443e6253cca7c7f3fe4ded222a81fad6a3b7e90e Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sun, 13 Nov 2011 11:21:12 +0000 Subject: Cleaned old, fixed slotting for media-libs/libpng and media-libs/tiff, sort Deps, converted elog -> echo where needed, cleaned illegal epause, formated metadat.xml Package-Manager: portage-2.2.0_alpha74/cvs/Linux x86_64 --- sci-physics/root/ChangeLog | 8 +- sci-physics/root/Manifest | 23 +-- sci-physics/root/metadata.xml | 68 ++++--- sci-physics/root/root-5.26.00-r2.ebuild | 307 ------------------------------- sci-physics/root/root-5.26.00e-r1.ebuild | 32 ++-- sci-physics/root/root-5.28.00d.ebuild | 26 ++- 6 files changed, 88 insertions(+), 376 deletions(-) delete mode 100644 sci-physics/root/root-5.26.00-r2.ebuild (limited to 'sci-physics') diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog index 0e05878c0985..ed9997cfa5fe 100644 --- a/sci-physics/root/ChangeLog +++ b/sci-physics/root/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sci-physics/root # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.89 2011/10/18 16:35:29 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.90 2011/11/13 11:21:12 jlec Exp $ + + 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, formated + metadat.xml 18 Oct 2011; Samuli Suominen root-5.26.00e-r1.ebuild, +files/root-5.26.00e-libpng15.patch: diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest index 3d3682598c07..a5c5fa5c25e8 100644 --- a/sci-physics/root/Manifest +++ b/sci-physics/root/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 AUX olbd.confd 197 RMD160 798de1808502f3e4ecfc5f024b56a419d9824057 SHA1 f2a4385fdf9849eafb1d5457727f6fbe80af1da3 SHA256 5a34da76bbe56cd3b8128f05c0d9900f9d7f7ffdcffc5deeb816c78ea46679ba AUX olbd.initd 714 RMD160 e2cc28474a280345f6962f890f5ddb3884d7f69f SHA1 4dcdf7ba35a834db2ac5a5bdfe4d2c31938f0552 SHA256 5d6c1b6e7b40d6842df6a6f7314fa2f49329b820ff86592d2f8d2662a414ec39 @@ -20,25 +20,18 @@ DIST RooFit_Users_Manual_2.91-33.pdf 1330062 RMD160 650b616018a5493d5fd7da1dc06c DIST TMVAUsersGuide-v4.03.pdf 3913533 RMD160 fbd62b90e7ad47ad69ec62d584417463ec13bf9c SHA1 84a63140cc3e01267d2cc7ffa374a7c24fbed37e SHA256 0cdbb4a2d19eb7a86e2911cfa73a905932e862d6c94be10b7662a9355b0241af DIST TMVAUsersGuide-v4.pdf 2355827 RMD160 0624a6ed7e006581eacdaa69e82bbdca91aa42a9 SHA1 98016f0ccfa6c54234e22b46032bb0b2f5d7ac20 SHA256 bbc6563fd14a6a4a88efca55fa75e74d9b5c2a9f5d3044239f3f83dc2967ad62 DIST Users_Guide_5_26.pdf 9914765 RMD160 9e67a407d5a4d4f7019ab7b9b29bc696b7974987 SHA1 c2ecb87226e2fa38e6214aaf76dd789663d260dd SHA256 d0887800de7ffe7d6c0957891d44a4b34bf9d0eeb3da7e34b735ef998770bf39 -DIST root-5.26.00-patches-p03.tar.bz2 164854 RMD160 5fbcfe152b944323a7c172f429d553e0c0a3d0fd SHA1 e48a8c61434e71c4aee5c3a2a4a342029228c4a3 SHA256 c0c19d663a7e71040612763028f4fdfb85793a0897cf1eb0842ac930861ab2e8 DIST root-5.26.00e-patches.tar.bz2 7102 RMD160 d513c643ec8acdbe293e7ca159f59c765c52a2ad SHA1 ca8a958186fc8a77c04348f61c97e2d836493026 SHA256 f29bf8251b8c7e1809993c4f5ae0f990d5c6e6721e77eb62107d27fa55b9bf47 DIST root-5.28.00b-xrootd-prop-flags.patch.bz2 3894 RMD160 ef6b06d4783320ee7d6189dbe122ac49605bc6f4 SHA1 8026dda3cb74da40359ccc6d4ee787c01eee958b SHA256 093b1acd8336f5bb723802455296d8db884a2909a4e483cce637b8191039b4cd -DIST root_v5.26.00.source.tar.gz 29209345 RMD160 bf7f91abd76ec86f69eb80506291cb8d4f87614e SHA1 318c5adf7f54f8206d9173d2fb0dc196a0e87192 SHA256 5ec86599bf7ef0fe3db11e5dd2d01183484cb199ab3a1c28d68f10b804e93e76 DIST root_v5.26.00e.source.tar.gz 28922785 RMD160 692312a1984279255e32c96a0a79b974ff2e2971 SHA1 5a4b7e1b759dfef0dd218491bbe74ca376fc8c07 SHA256 7f2604954775653825b9897da131278c9b349f12d77b1fc087004c1b838f4a80 DIST root_v5.28.00d.source.tar.gz 31145040 RMD160 f3a25f9c6ae5cd4d4ad511d6707adf0845bbfac5 SHA1 b932d9b2ebfe66a28333b5b9ef90ab0e877173d8 SHA256 2e485140cd786725ded68296f0629c7e1e498a167d80e8c812fe28ceca04ff60 -EBUILD root-5.26.00-r2.ebuild 8982 RMD160 f84b6392dfcdeaa4b696f31cc10d29a4a1dd4743 SHA1 5a894eb684a008ffc990fbbea6e070ea2b212f0e SHA256 b579cc245d98c76b6a22094c5f393061ae6aeb0b0666f0825428decea7550e9a -EBUILD root-5.26.00e-r1.ebuild 9303 RMD160 9ac2cc783cb5c71ddfe6d79ef2da6f58882c29d0 SHA1 751fc1ec72b84192797d939ab5137cc455dfb544 SHA256 6829126cc7b7e6a93bc2360f67ecb6e358f9eb44b09b433e7a307679d2b4b0d0 -EBUILD root-5.28.00d.ebuild 10025 RMD160 65ff9bdba7257ccfd6734a3bbcb58b3f18777194 SHA1 363e8e381f757f5719c1ca41c322e0416b07b6d9 SHA256 7081183857331522101f13346c6ca8e211e4799b0c5a262f56afb571eb0f838a -MISC ChangeLog 23691 RMD160 af041705e361b3fa4bba451791e8222a40fb0856 SHA1 9974f9c7ac8a46d2d9fc9ee4ac666ce96e99d0a4 SHA256 d309516e1061b316b9401b69b87524eb8e1545af1d708c5719ac3f5c0920d231 -MISC metadata.xml 1657 RMD160 ff8795d208ad4d5523d1984e740aaeaddbd9ae0a SHA1 d616a5f8671b19e4acc62d057d93d265b1833b5a SHA256 73189848145c6d863981271afb727790903aa4e4ef0ddc2b3cbbd13cd52c8e9a +EBUILD root-5.26.00e-r1.ebuild 9305 RMD160 994899517216137b4e42001466f711e92584f60a SHA1 a79276704a380325ca99b7946dad0dd3d25d79e8 SHA256 2bb91c3a47d8bd396758917f1888dcd5790c6baa52fb9f98a18805ff2c04e7bb +EBUILD root-5.28.00d.ebuild 10042 RMD160 ea9efcebd194eb462a73a9955ee05ec619316efe SHA1 80d288b54c86bb31ac6449284fd02fa12d9cec95 SHA256 f97bd53cb75df5efc7e39cf4b9e36baa8aec577355770a218f81e0edf22f28ce +MISC ChangeLog 23992 RMD160 1ced0700124a321f8db1c45ce06cbe9495a8ddbb SHA1 d4abdf317a6f5e0b53ea939f4676fb5117dac3e7 SHA256 516f57cf00110ff008911df1b7e9b21cd2a75946b165da6b8ff83f2015f72fd9 +MISC metadata.xml 1683 RMD160 8063a71a4bccf693c977288004ba0cfe0f5f1ec2 SHA1 ada6c9fcd24941b1a13452f695cdbe66ce1973d2 SHA256 5abddea0ed5b50a5d573679aa773c966890ed9e674110cb2baa3a8a458ddc2b9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBAgAGBQJOnaq8AAoJEEdUh39IaPFN/bkH+gONJCdPS61HeW/crO/yDRAZ -GeZHi/KREA+T5LKJRa/LIK+QOAuFQXcQZlNYCjecuR4+mkPCEMWtTLEjfQAkRXpW -QeiBR8eWvfJngoHQPHjI9ojrjtV0/nP5xFUOt39nl5xa69lIJ6Fe6GffwYUACc71 -bFapeUwlmcykGoiax1ofejv7V8qcHY8l8jOl1qhOfmYuFBeOXxHU3K8WlkMbmuUk -zgG4HBd2YzhM/VWY7Eh+VyIIK2ZZ9Tpd48frzmnrmU3w4/OCV0wegNKD5Ssj1q5f -nATSe0xPYQobsWO8pfLyspB5b8NWB7FEjzSOxzp0mmCkLDn63GX0h+9hAwvf5os= -=noyv +iEYEAREKAAYFAk6/qDQACgkQgAnW8HDreRaN4gCgvt8VSz/qsx5E2NWl1PSBWQ6c +vyYAoK6wr4/TlZLyUcbagjJ6oRNT++Qi +=mmm6 -----END PGP SIGNATURE----- diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml index f78c52ca59fb..cf1fefb20879 100644 --- a/sci-physics/root/metadata.xml +++ b/sci-physics/root/metadata.xml @@ -1,33 +1,43 @@ -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 *experimental* new C++ interpretor CINT7 - - Buld the Clarens and PEAC plug-ins, to use in a GRID enabled - analysis. - Support for images and data from FITS files with sci-libs/cfitsio - Build the sci-physics/geant (GEANT4) navigator - Build the new cling interactive interpreter based on sys-devel/llvm - Build all math related libraries plugins, needs sci-libs/gsl - - Builds the interface to Pythia-6 (sci-physics/pythia) - high energy physics generation events library - - - Builds the interface to Pythia-8 (sci-physics/pythia) - high energy physics generation events library - - Builds the reflection database for the C++ interpretor - Build the xrootd low latency file server - + 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 *experimental* new C++ interpretor CINT7 + + Buld the Clarens and PEAC plug-ins, to use in a GRID enabled analysis. + + + Support for images and data from FITS files with sci-libs/cfitsio + + + Build the sci-physics/geant (GEANT4) navigator + + + Build the new cling interactive interpreter based on sys-devel/llvm + + + Build all math related libraries plugins, needs sci-libs/gsl + + + Builds the interface to Pythia-6 (sci-physics/pythia) + high energy physics generation events library + + + Builds the interface to Pythia-8 (sci-physics/pythia) + high energy physics generation events library + + + Builds the reflection database for the C++ interpretor + + Build the xrootd low latency file server + diff --git a/sci-physics/root/root-5.26.00-r2.ebuild b/sci-physics/root/root-5.26.00-r2.ebuild deleted file mode 100644 index dc7a80ff2d2f..000000000000 --- a/sci-physics/root/root-5.26.00-r2.ebuild +++ /dev/null @@ -1,307 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.26.00-r2.ebuild,v 1.13 2011/06/21 14:31:50 jlec Exp $ - -EAPI=2 -inherit versionator eutils fortran-2 qt4 elisp-common fdo-mime toolchain-funcs flag-o-matic - -DOC_PV=$(get_major_version)_$(get_version_component_range 2) -ROOFIT_DOC_PV=2.91-33 -TMVA_DOC_PV=4 -PATCH_PV=p03 - -DESCRIPTION="C++ data analysis framework and interpreter from CERN" -SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz - mirror://gentoo/${P}-patches-${PATCH_PV}.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 )" - -HOMEPAGE="http://root.cern.ch/" - -SLOT="0" -LICENSE="LGPL-2.1" -KEYWORDS="amd64 x86" - -IUSE="afs cint7 clarens doc emacs examples fftw geant4 kerberos ldap - +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=detailitem&item_id=30944 -# || ( >=media-libs/libafterimage-1.18 x11-wm/afterstep ) -CDEPEND=">=dev-lang/cfortran-4.4-r2 - dev-libs/libpcre - >=media-libs/ftgl-2.1.3_rc5 - media-libs/libpng - virtual/jpeg - media-libs/giflib - media-libs/glew - media-libs/tiff - sys-apps/shadow - x11-libs/libXpm - x11-libs/libXft - afs? ( >=net-fs/openafs-1.4.7 ) - clarens? ( dev-libs/xmlrpc-c ) - emacs? ( virtual/emacs ) - fftw? ( sci-libs/fftw:3.0 ) - geant4? ( sci-physics/geant:4 ) - kerberos? ( virtual/krb5 ) - ldap? ( net-nds/openldap ) - math? ( >=sci-libs/gsl-1.8 ) - 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 ) - python? ( dev-lang/python ) - 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="${CDEPEND} - dev-util/pkgconfig" - -RDEPEND=" - virtual/fortran -${CDEPEND} - xinetd? ( sys-apps/xinetd )" - -S="${WORKDIR}/${PN}" - -pkg_setup() { - fortran-2_pkg_setup - elog - 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=\"--enable-srp --with-srp-libdir=/usr/$(get_libdir)\"" - elog - enewgroup rootd - enewuser rootd -1 -1 /var/spool/rootd rootd - - if use openmp && \ - [[ $(tc-getCC)$ == *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 >= 4.2" - ewarn "If you want to build this package with OpenMP, abort now," - ewarn "and set CC to an OpenMP capable compiler" - epause 5 - elif use openmp; then - export USE_OPENMP=1 - use math && export USE_PARALLEL_MINUIT2=1 - fi - # bug #287178 - append-ldflags $(no-as-needed) -} - -src_prepare() { - epatch "${WORKDIR}"/${P}-svn32505.patch - epatch "${WORKDIR}"/${P}-prop-ldflags.patch - epatch "${WORKDIR}"/${P}-xrootd-prop-flags.patch - epatch "${WORKDIR}"/${P}-configure-paths.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, and libftgl_pic is libftgl - 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="-O3"//' \ - -e 's/CFLAGS=$$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 \ - --with-cc=$(tc-getCC) \ - --with-cxx=$(tc-getCXX) \ - --with-f77=$(tc-getFC) \ - --fail-on-missing \ - --prefix=/usr \ - --libdir=/usr/$(get_libdir)/${PN} \ - --docdir=/usr/share/doc/${PF} \ - --tutdir=/usr/share/doc/${PF}/examples/tutorials \ - --testdir=/usr/share/doc/${PF}/examples/tests \ - --with-sys-iconpath=/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 \ - --with-afs-shared=yes \ - $(use_enable afs) \ - $(use_enable cint7) \ - $(use_enable clarens) \ - $(use_enable clarens peac) \ - $(use_enable fftw fftw3) \ - $(use_enable geant4 g4root) \ - $(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="${CFLAGS}" F77OPT="${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="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="${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="${D}" install || die "emake install failed" - - echo "LDPATH=/usr/$(get_libdir)/root" > 99root - use pythia8 && echo "PYTHIA8=/usr" >> 99root - use python && echo "PYTHONPATH=/usr/$(get_libdir)/root" >> 99root - use ruby && echo "RUBYLIB=/usr/$(get_libdir)/root" >> 99root - doenvd 99root || die "doenvd failed" - - # The build system installs Emacs support unconditionally and in the wrong - # directory. Remove it and call elisp-install in case of USE=emacs. - 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 "${D}"usr/share/doc/${PF}/{INSTALL,LICENSE,COPYING.CINT} - rm "${D}"usr/share/root/fonts/LICENSE - pushd "${D}"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 "${D}"usr/$(get_libdir)/root/cint/cint/include/makehpib - rm -f "${D}"/etc/root/proof/*.sample - rm -rf "${D}"/etc/root/daemons - popd > /dev/null -} - -pkg_postinst() { - use ruby && elog "ROOT Ruby module is available as libRubyROOT" - fdo-mime_desktop_database_update -} - -pkg_postrm() { - fdo-mime_desktop_database_update -} diff --git a/sci-physics/root/root-5.26.00e-r1.ebuild b/sci-physics/root/root-5.26.00e-r1.ebuild index c06df397abb7..2aec893f8ece 100644 --- a/sci-physics/root/root-5.26.00e-r1.ebuild +++ b/sci-physics/root/root-5.26.00e-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 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.ebuild,v 1.11 2011/10/18 16:35:29 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-physics/root/root-5.26.00e-r1.ebuild,v 1.12 2011/11/13 11:21:12 jlec Exp $ EAPI=3 @@ -14,7 +14,8 @@ TMVA_DOC_PV=4 DESCRIPTION="C++ data analysis framework and interpreter from CERN" HOMEPAGE="http://root.cern.ch/" -SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz +SRC_URI=" + 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 @@ -31,17 +32,18 @@ IUSE="afs clarens doc emacs examples fftw geant4 graphviz kerberos ldap # libafterimage ignored, to check every version # see https://savannah.cern.ch/bugs/?func=detailitem&item_id=30944 # || ( >=media-libs/libafterimage-1.18 x11-wm/afterstep ) -CDEPEND=">=dev-lang/cfortran-4.4-r2 +CDEPEND=" + >=dev-lang/cfortran-4.4-r2 dev-libs/libpcre >=media-libs/ftgl-2.1.3_rc5 - media-libs/libpng - virtual/jpeg media-libs/giflib media-libs/glew - media-libs/tiff + media-libs/libpng:0 + media-libs/tiff:0 sys-apps/shadow - x11-libs/libXpm + virtual/jpeg x11-libs/libXft + x11-libs/libXpm afs? ( >=net-fs/openafs-1.4.7 ) clarens? ( dev-libs/xmlrpc-c ) emacs? ( virtual/emacs ) @@ -58,11 +60,13 @@ CDEPEND=">=dev-lang/cfortran-4.4-r2 postgres? ( dev-db/postgresql-base ) pythia6? ( sci-physics/pythia:6 ) pythia8? ( sci-physics/pythia:8 ) - qt4? ( x11-libs/qt-gui:4 + 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 + ruby? ( + dev-lang/ruby dev-ruby/rubygems ) ssl? ( dev-libs/openssl ) xml? ( dev-libs/libxml2:2 )" @@ -72,21 +76,21 @@ DEPEND="${CDEPEND} RDEPEND=" virtual/fortran -${CDEPEND} + ${CDEPEND} xinetd? ( sys-apps/xinetd )" S="${WORKDIR}/${PN}" pkg_setup() { fortran-2_pkg_setup - elog + 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=\"--enable-srp --with-srp-libdir=/usr/$(get_libdir)\"" - elog + echo enewgroup rootd enewuser rootd -1 -1 /var/spool/rootd rootd @@ -97,7 +101,6 @@ pkg_setup() { ewarn "You are using gcc and OpenMP is available with gcc >= 4.2" ewarn "If you want to build this package with OpenMP, abort now," ewarn "and set CC to an OpenMP capable compiler" - epause 5 elif use openmp; then export USE_OPENMP=1 use math && export USE_PARALLEL_MINUIT2=1 @@ -106,7 +109,8 @@ pkg_setup() { } src_prepare() { - epatch "${WORKDIR}"/${P}-make-3.82.patch \ + epatch \ + "${WORKDIR}"/${P}-make-3.82.patch \ "${WORKDIR}"/${P}-prop-ldflags.patch \ "${WORKDIR}"/${P}-configure-paths.patch \ "${WORKDIR}"/${P}-nobyte-compile.patch \ diff --git a/sci-physics/root/root-5.28.00d.ebuild b/sci-physics/root/root-5.28.00d.ebuild index 89904116d005..0a01ee6f6e88 100644 --- a/sci-physics/root/root-5.28.00d.ebuild +++ b/sci-physics/root/root-5.28.00d.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2011 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.3 2011/06/21 14:31:50 jlec Exp $ +# $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=3 + PYTHON_DEPEND="python? 2" + inherit versionator eutils fortran-2 elisp-common fdo-mime python toolchain-funcs flag-o-matic #DOC_PV=$(get_major_version)_$(get_version_component_range 2) @@ -14,7 +16,8 @@ PATCH_PV=5.28.00b DESCRIPTION="C++ data analysis framework and interpreter from CERN" HOMEPAGE="http://root.cern.ch/" -SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz +SRC_URI=" + ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz http://dev.gentoo.org/~bicatali/${PN}-${PATCH_PV}-xrootd-prop-flags.patch.bz2 doc? ( ftp://root.cern.ch/${PN}/doc/Users_Guide_${DOC_PV}.pdf math? ( @@ -28,13 +31,14 @@ IUSE="afs avahi clarens doc emacs examples fits fftw graphviz kerberos ldap llvm +math mpi mysql ncurses odbc +opengl openmp oracle postgres pythia6 pythia8 python +reflex ruby qt4 ssl xft xml xinetd xrootd" -CDEPEND=">=dev-lang/cfortran-4.4-r2 +CDEPEND=" + >=dev-lang/cfortran-4.4-r2 dev-libs/libpcre media-libs/ftgl media-libs/giflib media-libs/glew - media-libs/libpng - media-libs/tiff + media-libs/libpng:0 + media-libs/tiff:0 sys-apps/shadow virtual/jpeg x11-libs/libX11 @@ -61,16 +65,18 @@ CDEPEND=">=dev-lang/cfortran-4.4-r2 postgres? ( dev-db/postgresql-base ) pythia6? ( sci-physics/pythia:6 ) pythia8? ( sci-physics/pythia:8 ) - qt4? ( x11-libs/qt-gui:4 + 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 + ruby? ( + dev-lang/ruby dev-ruby/rubygems ) ssl? ( dev-libs/openssl ) - xml? ( dev-libs/libxml2 )" + xml? ( dev-libs/libxml2:2 )" DEPEND="${CDEPEND} dev-util/pkgconfig" @@ -85,14 +91,14 @@ S="${WORKDIR}/${PN}" pkg_setup() { fortran-2_pkg_setup - elog + 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=\"--enable-srp --with-srp-libdir=/usr/$(get_libdir)\"" - elog + echo enewgroup rootd enewuser rootd -1 -1 /var/spool/rootd rootd -- cgit v1.2.3-65-gdbad