From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 2D25D138A69 for ; Sat, 11 Apr 2015 09:22:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EB4E7E088A; Sat, 11 Apr 2015 09:22:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 828E1E088A for ; Sat, 11 Apr 2015 09:22:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 96F70340B78 for ; Sat, 11 Apr 2015 09:22:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67EFF15AD2 for ; Sat, 11 Apr 2015 09:22:50 +0000 (UTC) From: "Andrew Savchenko" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Savchenko" Message-ID: <1428744127.2fb06979eefdd4cc62c8890b50f9e6f995b5b7a6.bircoph@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-physics/root/ X-VCS-Repository: proj/sci X-VCS-Files: sci-physics/root/ChangeLog sci-physics/root/root-6.02.05.ebuild X-VCS-Directories: sci-physics/root/ X-VCS-Committer: bircoph X-VCS-Committer-Name: Andrew Savchenko X-VCS-Revision: 2fb06979eefdd4cc62c8890b50f9e6f995b5b7a6 X-VCS-Branch: master Date: Sat, 11 Apr 2015 09:22:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: cdefd730-e93f-48c5-ae25-63ea2329963e X-Archives-Hash: 18161eb422b34236fa815c5b8d2399c5 commit: 2fb06979eefdd4cc62c8890b50f9e6f995b5b7a6 Author: Andrew Savchenko gmail com> AuthorDate: Sat Apr 11 09:22:07 2015 +0000 Commit: Andrew Savchenko gmail com> CommitDate: Sat Apr 11 09:22:07 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=2fb06979 sci-physics/root: drop minimal USE flag sci-physics/root/ChangeLog | 4 + sci-physics/root/root-6.02.05.ebuild | 236 ++++++++++++++++------------------- 2 files changed, 115 insertions(+), 125 deletions(-) diff --git a/sci-physics/root/ChangeLog b/sci-physics/root/ChangeLog index a4087b4..b62d422 100644 --- a/sci-physics/root/ChangeLog +++ b/sci-physics/root/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/sci-physics/root/ChangeLog,v 1.96 2012/03/29 18:21:49 bicatali Exp $ + 11 Apr 2015; Andrew Savchenko root-6.02.05.ebuild: + Drop minimal USE flag, as it is useless with current ROOT and + recently added USE flags. + *root-6.02.05 (08 Apr 2015) 08 Apr 2015; Andrew Savchenko -root-6.00.02.ebuild, diff --git a/sci-physics/root/root-6.02.05.ebuild b/sci-physics/root/root-6.02.05.ebuild index 61882d5..0a1f7e0 100644 --- a/sci-physics/root/root-6.02.05.ebuild +++ b/sci-physics/root/root-6.02.05.ebuild @@ -24,7 +24,7 @@ DOC_URI="ftp://root.cern.ch/${PN}/doc" SLOT="0/$(get_version_component_range 1-3 ${PV})" LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA" IUSE="+X afs avahi doc emacs examples fits fftw gdml geocad - graphviz http kerberos ldap +math +memstat minimal mpi mysql odbc + graphviz http kerberos ldap +math +memstat mpi mysql odbc +opengl openmp oracle postgres prefix pythia6 pythia8 python qt4 shadow sqlite ssl table +tiff xinetd xml xrootd" @@ -33,7 +33,7 @@ IUSE="+X afs avahi doc emacs examples fits fftw gdml geocad # TODO: unbundle: cling, vdt REQUIRED_USE=" - !X? ( !minimal? ( !opengl !qt4 !tiff ) ) + !X? ( !opengl !qt4 !tiff ) mpi? ( math !openmp ) openmp? ( math !mpi ) python? ( ${PYTHON_REQUIRED_USE} ) @@ -55,51 +55,48 @@ CDEPEND=" x11-libs/libX11:0= x11-libs/libXext:0= x11-libs/libXpm:0= - !minimal? ( - || ( - media-libs/libafterimage:0=[gif,jpeg,png,tiff?] - >=x11-wm/afterstep-2.2.11:0=[gif,jpeg,png,tiff?] - ) - opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= ) - qt4? ( - dev-qt/qtgui:4= - dev-qt/qtopengl:4= - dev-qt/qt3support:4= - dev-qt/qtsvg:4= - dev-qt/qtwebkit:4= - dev-qt/qtxmlpatterns:4= - ) - x11-libs/libXft:0= + || ( + media-libs/libafterimage:0=[gif,jpeg,png,tiff?] + >=x11-wm/afterstep-2.2.11:0=[gif,jpeg,png,tiff?] ) - ) - !minimal? ( - afs? ( net-fs/openafs ) - avahi? ( net-dns/avahi:0= ) - emacs? ( virtual/emacs ) - fits? ( sci-libs/cfitsio:0= ) - fftw? ( sci-libs/fftw:3.0= ) - geocad? ( =sci-physics/pythia-8.1.80:8= ) - python? ( ${PYTHON_DEPS} ) - sqlite? ( dev-db/sqlite:3= ) - ssl? ( dev-libs/openssl:0= ) - xml? ( dev-libs/libxml2:2= ) - xrootd? ( >=net-libs/xrootd-3.3.5:0= ) - )" + x11-libs/libXft:0= + ) + afs? ( net-fs/openafs ) + avahi? ( net-dns/avahi:0= ) + emacs? ( virtual/emacs ) + fits? ( sci-libs/cfitsio:0= ) + fftw? ( sci-libs/fftw:3.0= ) + geocad? ( =sci-physics/pythia-8.1.80:8= ) + python? ( ${PYTHON_DEPS} ) + sqlite? ( dev-db/sqlite:3= ) + ssl? ( dev-libs/openssl:0= ) + xml? ( dev-libs/libxml2:2= ) + xrootd? ( >=net-libs/xrootd-3.3.5:0= ) +" # TODO: ruby is not yet ported to ROOT-6, reenable when (if?) ready # ruby? ( @@ -113,7 +110,7 @@ DEPEND="${CDEPEND} RDEPEND="${CDEPEND} xinetd? ( sys-apps/xinetd )" -PDEPEND="doc? ( !minimal? ( ~app-doc/root-docs-${PV}[http=,math=] ) )" +PDEPEND="doc? ( ~app-doc/root-docs-${PV}[http=,math=] )" # install stuff in ${P} and not ${PF} for easier tracking in root-docs DOC_DIR="/usr/share/doc/${P}" @@ -168,8 +165,6 @@ pkg_setup() { enewgroup rootd enewuser rootd -1 -1 /var/spool/rootd rootd - use minimal && return - if use math; then if use openmp; then if [[ "$(tc-getCXX)" == *g++* && "$(tc-getCXX)" != *clang++* ]] && ! tc-has-openmp; then @@ -301,74 +296,67 @@ src_configure() { --docdir="${EPREFIX}${DOC_DIR}" --tutdir="${EPREFIX}${DOC_DIR}/examples/tutorials" --testdir="${EPREFIX}${DOC_DIR}/examples/tests" + --disable-builtin-afterimage + --disable-builtin-ftgl + --disable-builtin-freetype + --disable-builtin-glew + --disable-builtin-pcre + --disable-builtin-zlib + --disable-builtin-lzma --disable-werror + --enable-explicitlink + --enable-shared + --enable-soversion + --fail-on-missing --nohowto + --with-afs-shared=yes + --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" + $(use_enable X x11) + $(use_enable X asimage) + $(use_enable X xft) + $(use_enable afs) + $(use_enable avahi bonjour) + $(use_enable fits fitsio) + $(use_enable fftw fftw3) + $(use_enable gdml) + $(use_enable geocad) + $(use_enable graphviz gviz) + $(use_enable http) + $(use_enable kerberos krb5) + $(use_enable ldap) + $(use_enable math genvector) + $(use_enable math gsl-shared) + $(use_enable math mathmore) + $(use_enable math minuit2) + $(use_enable math roofit) + $(use_enable math tmva) + $(use_enable math vc) + $(use_enable math vdt) + $(use_enable math unuran) + $(use_enable memstat) + $(use_enable mysql) + $(usex mysql "--with-mysql-incdir=${EPREFIX}/usr/include/mysql" "") + $(use_enable odbc) + $(use_enable opengl) + $(use_enable oracle) + $(use_enable postgres pgsql) + $(usex postgres "--with-pgsql-incdir=$(pg_config --includedir)" "") + $(use_enable prefix rpath) + $(use_enable pythia6) + $(use_enable pythia8) + $(use_enable python) + $(use_enable qt4 qt) + $(use_enable qt4 qtgsi) + $(use_enable shadow shadowpw) + $(use_enable sqlite) + $(use_enable ssl) + $(use_enable table) + $(use_enable tiff astiff) + $(use_enable xml) + $(use_enable xrootd) + ${EXTRA_ECONF} ) - if use minimal; then - myconf+=( $(usex X --gminimal --minimal) ) - else - myconf+=( - --with-afs-shared=yes - --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" - --disable-builtin-afterimage - --disable-builtin-ftgl - --disable-builtin-freetype - --disable-builtin-glew - --disable-builtin-pcre - --disable-builtin-zlib - --disable-builtin-lzma - --enable-explicitlink - --enable-shared - --enable-soversion - --fail-on-missing - $(use_enable X x11) - $(use_enable X asimage) - $(use_enable X xft) - $(use_enable afs) - $(use_enable avahi bonjour) - $(use_enable fits fitsio) - $(use_enable fftw fftw3) - $(use_enable gdml) - $(use_enable geocad) - $(use_enable graphviz gviz) - $(use_enable http) - $(use_enable kerberos krb5) - $(use_enable ldap) - $(use_enable math genvector) - $(use_enable math gsl-shared) - $(use_enable math mathmore) - $(use_enable math minuit2) - $(use_enable math roofit) - $(use_enable math tmva) - $(use_enable math vc) - $(use_enable math vdt) - $(use_enable math unuran) - $(use_enable memstat) - $(use_enable mysql) - $(usex mysql "--with-mysql-incdir=${EPREFIX}/usr/include/mysql" "") - $(use_enable odbc) - $(use_enable opengl) - $(use_enable oracle) - $(use_enable postgres pgsql) - $(usex postgres "--with-pgsql-incdir=$(pg_config --includedir)" "") - $(use_enable prefix rpath) - $(use_enable pythia6) - $(use_enable pythia8) - $(use_enable python) - $(use_enable qt4 qt) - $(use_enable qt4 qtgsi) - $(use_enable shadow shadowpw) - $(use_enable sqlite) - $(use_enable ssl) - $(use_enable table) - $(use_enable tiff astiff) - $(use_enable xml) - $(use_enable xrootd) - ${EXTRA_ECONF} - ) - fi - ./configure ${myconf[@]} || die "configure failed" } @@ -378,7 +366,7 @@ src_compile() { F77OPT="${FFLAGS}" \ ROOTSYS="${S}" \ LD_LIBRARY_PATH="${S}/lib" - use emacs && ! use minimal && elisp-compile build/misc/*.el + use emacs && elisp-compile build/misc/*.el } daemon_install() { @@ -429,19 +417,17 @@ src_install() { dodoc README.md echo "LDPATH=${EPREFIX%/}/usr/$(get_libdir)/root" > 99root + use pythia8 && echo "PYTHIA8=${EPREFIX%/}/usr" >> 99root - if ! use minimal; then - use pythia8 && echo "PYTHIA8=${EPREFIX%/}/usr" >> 99root - if use python; then - echo "PYTHONPATH=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root - python_optimize "${D}/usr/$(get_libdir)/root" - fi - use emacs && elisp-install ${PN} build/misc/*.{el,elc} - if use examples; then - # these should really be taken care of by the root make install - insinto ${DOC_DIR}/examples/tutorials/tmva - doins -r tmva/test - fi + if use python; then + echo "PYTHONPATH=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root + python_optimize "${D}/usr/$(get_libdir)/root" + fi + use emacs && elisp-install ${PN} build/misc/*.{el,elc} + if use examples; then + # these should really be taken care of by the root make install + insinto ${DOC_DIR}/examples/tutorials/tmva + doins -r tmva/test fi doenvd 99root