sci-physics/root: add nosplash USE flag
authorGuilherme Amadio <amadio@gentoo.org>
Fri, 2 Aug 2019 14:07:33 +0000 (16:07 +0200)
committerGuilherme Amadio <amadio@gentoo.org>
Mon, 5 Aug 2019 15:28:35 +0000 (17:28 +0200)
This disables ROOT's splash screen by default.

Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
sci-physics/root/metadata.xml
sci-physics/root/root-6.12.06-r10.ebuild [moved from sci-physics/root/root-6.12.06-r9.ebuild with 96% similarity]
sci-physics/root/root-6.14.08-r3.ebuild [moved from sci-physics/root/root-6.14.08-r2.ebuild with 96% similarity]
sci-physics/root/root-6.16.00-r2.ebuild [moved from sci-physics/root/root-6.16.00-r1.ebuild with 96% similarity]
sci-physics/root/root-6.18.00-r1.ebuild [moved from sci-physics/root/root-6.18.00.ebuild with 96% similarity]
sci-physics/root/root-9999.ebuild

index f2ba440c8cea14e7a69198ae84de2eb7a12d983c..8eb44b130ef327277ff549a2bc525986a21fadab 100644 (file)
@@ -33,6 +33,7 @@
     <flag name="libcxx">Build ROOT against <pkg>sys-libs/libcxx</pkg></flag>
     <flag name="memstat">Build memory statistics library, helps to detect memory leaks</flag>
     <flag name="minuit">Build ROOT's internal versions of minuit (fortran) and minuit2 (C++)</flag>
+    <flag name="nosplash">Disable ROOT's splash screen by default</flag>
     <flag name="pythia6">Build the interface for <pkg>sci-physics/pythia</pkg> version 6.x </flag>
     <flag name="pythia8">Build the interface for <pkg>sci-physics/pythia</pkg> version 8.x </flag>
     <flag name="R">Enable support for <pkg>dev-lang/R</pkg></flag>
similarity index 96%
rename from sci-physics/root/root-6.12.06-r9.ebuild
rename to sci-physics/root/root-6.12.06-r10.ebuild
index 244f4d26df850fe560b0c6b9892273c5551a1652..43923b51d70d1ea668963325f3027e2663100cd8 100644 (file)
@@ -18,9 +18,9 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
 
 IUSE="+X aqua +asimage +davix emacs +examples fits fftw fortran
        +gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
-       +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
-       +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
-       +threads +tiff +tmva +unuran vc xinetd +xml xrootd zeroconf"
+       +minuit mysql nosplash odbc +opengl oracle postgres prefix pythia6
+       pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb
+       test +threads +tiff +tmva +unuran vc xinetd +xml xrootd zeroconf"
 
 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
 LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -133,6 +133,10 @@ src_prepare() {
        # CSS should use local images
        sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
 
+       if use nosplash; then
+               sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+       fi
+
        hprefixify core/clingutils/CMakeLists.txt
 }
 
similarity index 96%
rename from sci-physics/root/root-6.14.08-r2.ebuild
rename to sci-physics/root/root-6.14.08-r3.ebuild
index 69718f3f62575f74fee550b888b47a538cf1ce61..58b0d4a14fbe26be29aed0b290661fa3f7492dc4 100644 (file)
@@ -18,10 +18,10 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
 
 IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
        fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
-       libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
-       pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
-       table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
-       zeroconf"
+       libcxx memstat +minuit mysql nosplash odbc +opengl oracle postgres
+       prefix pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite
+       +ssl table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml
+       xrootd zeroconf"
 
 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
 LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -131,6 +131,10 @@ src_prepare() {
        # CSS should use local images
        sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
 
+       if use nosplash; then
+               sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+       fi
+
        hprefixify core/clingutils/CMakeLists.txt
 }
 
similarity index 96%
rename from sci-physics/root/root-6.16.00-r1.ebuild
rename to sci-physics/root/root-6.16.00-r2.ebuild
index c893ead5cca22913d2f804d0b21583c75f750ec7..62d33225b7aacdbae04ac39f4fa6856642c22803 100644 (file)
@@ -18,10 +18,10 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
 
 IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
        fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
-       libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
-       pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
-       table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
-       zeroconf"
+       libcxx memstat +minuit mysql nosplash odbc +opengl oracle postgres
+       prefix pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite
+       +ssl table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml
+       xrootd zeroconf"
 
 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
 LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -133,6 +133,10 @@ src_prepare() {
        # CSS should use local images
        sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
 
+       if use nosplash; then
+               sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+       fi
+
        hprefixify core/clingutils/CMakeLists.txt
 }
 
similarity index 96%
rename from sci-physics/root/root-6.18.00.ebuild
rename to sci-physics/root/root-6.18.00-r1.ebuild
index 7d471c4b20693bb8585443f0cc29219ae7885303..a9a02ada21d2562dc9e3e2424874107722a98547 100644 (file)
@@ -18,9 +18,9 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
 
 IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
        fits fftw fortran +gdml graphviz +gsl http jemalloc libcxx memstat
-       +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
-       +python qt5 R +roofit root7 shadow sqlite +ssl +tbb test +threads
-       +tiff +tmva +unuran vc +vmc +xml xrootd"
+       +minuit mysql nosplash odbc +opengl oracle postgres prefix pythia6
+       pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl +tbb test
+       +threads +tiff +tmva +unuran vc +vmc +xml xrootd"
 
 SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
 LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -127,6 +127,10 @@ src_prepare() {
        # CSS should use local images
        sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
 
+       if use nosplash; then
+               sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+       fi
+
        hprefixify core/clingutils/CMakeLists.txt
 }
 
index d300c32a9370fac21dddc61662d7bcff41130b62..dbe4236df64c796ecc643460cb25ef2753f8cb81 100644 (file)
@@ -17,9 +17,9 @@ HOMEPAGE="https://root.cern"
 
 IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
        fits fftw fortran +gdml graphviz +gsl http libcxx +minuit mysql
-       odbc +opengl oracle postgres prefix pythia6 pythia8 +python qt5 R
-       +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc vmc
-       +xml xrootd"
+       nosplash odbc +opengl oracle postgres prefix pythia6 pythia8
+       +python qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva
+       +unuran vc vmc +xml xrootd"
 
 if [[ ${PV} =~ "9999" ]] ; then
        inherit git-r3
@@ -138,6 +138,10 @@ src_prepare() {
        # CSS should use local images
        sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
 
+       if use nosplash; then
+               sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+       fi
+
        hprefixify core/clingutils/CMakeLists.txt
 }