app-doc/root-docs: remove ebuild

This ebuild is for documentation for sci-physics/root-5.34.36,
which has been removed due to several bugs and is deprecated
and no longer maintained upstream. Users can still download
ROOT 5 documentation from https://root.cern/documentation.

Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
Guilherme Amadio
2018-07-05 17:31:00 +02:00
parent 4e544119b2
commit a2586f2c2b
5 changed files with 0 additions and 253 deletions

View File

@@ -1,6 +0,0 @@
DIST RooFit_Users_Manual_2.91-33.pdf 1330062 BLAKE2B 5c4210a3c388ac3aa8e289c0744de077a61deae9c43cd8f6fd2b6b7cd5d800f6a2c444dabcf326c148491768f816e329c7cbbae116e5faa3d5ea1af63d1f879b SHA512 732d7dea3541b51e5f0b9b5b70dae57e1bdbb2504c4222d5e5095ec0f9b67307011c1f31c2c95be419b53dd8426f52f62f6c9370084208176a2ed3d7f25d783b
DIST TMVAUsersGuide-v4.2.0.pdf 4099493 BLAKE2B d64e2544dd31d0d096e778bdbda77fce162971988480214df7663c4e51bca70436f03eb410687ac3a675880ac0bc615b0e43901e86c68428f768cf082b1db085 SHA512 a52f36bdf9791c2e1c4b17f08dbcb100927d11c0db1d69ec611437017f80d90be557baf530af10aabc4d07dac626f1736352abd71845dba5e2c0899ff5b126d4
DIST info.png 2060 BLAKE2B 7a2780a8c63c055d3ef8e346d6d712fe15a210c7ce50d414ac931d21e0f6ca045151e8d3f4f3004971e8f2bf8b2c303a0273a38b6e88e42ab2250069c52fae5c SHA512 81a730eefbe7a7e15d5840491402c7644bf7ed5d5f8f3830ed9457b343cc7882480e993ea84aef93500742cd0fe8469859cd2c925e5582b91ef56406804ae276
DIST roofit_quickstart_3.00.pdf 501576 BLAKE2B 14b40d639b78040733f608a75970d115ba56e677b4931f2de0c43b47b960d8a5a33d45ebeb0f37dff587e14cb964218564ce9751ecedd079bd55aaa6d9534aec SHA512 e8e1bd3bb3ead0ae3883512d7ff297651b99937fd5df0b61cf559ea5dd6cfbda35dfd8ebc953ed11a12f471849f6e95e05869b58a1e433ea6e5d1d1aa08bbb93
DIST root-banner.png 132555 BLAKE2B 47c03b7d82ab48cd2b23fa05db624262d11f37a2fc2cfeacddc42ad6368be19860ebca805fe0e438a8552c7f815ab330dd05cc111da7ccfda4f939c9b3c74e2d SHA512 139347f396e88c8062d847d612949204cb80e551a826d926950ca8ab967f0d496487fed17a227fc796ae4db23fca758d91a0af7943142adbed358e98d7667b1f
DIST root_v5.34.36.source.tar.gz 75427331 BLAKE2B 203af03e1459c7fe079fcb1b30da145b3262f90c074abb7ff8fb3b1b2b90ac24391ce51aa8afbd10e0db8d69549207f15176207bc30a13720e0ae94342a38dfa SHA512 2cc0c8f8b63b2a3ce01c49c41704483548a7324d92c21a63e3e36a00f4d6f5656a7844fdf48cb71a6f2a2c974112527300ffd3bb5502d8365ffaf138e6ae4c7a

View File

@@ -1,30 +0,0 @@
diff --git a/core/base/doc/macros/fillpatterns.C b/core/base/doc/macros/fillpatterns.C
index b0a5132..fca81c8 100644
--- a/core/base/doc/macros/fillpatterns.C
+++ b/core/base/doc/macros/fillpatterns.C
@@ -20,11 +20,11 @@ TCanvas * fillpatterns()
// Fixed patterns.
for (i=1; i<=5; i++) {
- box(j++, 0.01, y-bh, 0.19, y);
- box(j++, 0.21, y-bh, 0.39, y);
- box(j++, 0.41, y-bh, 0.59, y);
- box(j++, 0.61, y-bh, 0.79, y);
- box(j++, 0.81, y-bh, 0.99, y);
+ box(j, 0.01, y-bh, 0.19, y); j++;
+ box(j, 0.21, y-bh, 0.39, y); j++;
+ box(j, 0.41, y-bh, 0.59, y); j++;
+ box(j, 0.61, y-bh, 0.79, y); j++;
+ box(j, 0.81, y-bh, 0.99, y); j++;
y = y-bh-db;
}
@@ -55,7 +55,7 @@ TCanvas * fillpatterns()
return Pat;
}
-box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
+void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2)
{
// Draw an box using the fill pattern "pat" with the "pat" value
// written on top.

View File

@@ -1,55 +0,0 @@
diff --git a/Makefile b/Makefile
index 600e8db..afad025 100644
--- a/Makefile
+++ b/Makefile
@@ -1072,16 +1072,7 @@ $(ROOTPCH): $(ROOTCLINGSTAGE1DEP) $(ALLHDRS) $(CLINGETCPCH) $(ORDER_) $(ALLLIBS)
ifeq ($(BUILDX11),yes)
ifeq ($(BUILDASIMAGE),yes)
-html: rootexecs postbin changelog releasenotes
-ifneq ($(USECONFIG),FALSE)
- @if [ "x`which root.exe`" != "x$(DESTDIR)$(BINDIR)/root.exe" ] \
- || [ "`which root.exe`" -ot "bin/root.exe" ]; then \
- echo 'ERROR: root.exe has not been installed by this build.'; \
- echo ' Run "make install" before running "make html".'; \
- exit 1; \
- fi
-endif
- @$(MAKELOGHTML)
+html: compiledata releasenotes
@$(MAKEHTML)
else
html:
diff --git a/build/unix/makehtml.sh b/build/unix/makehtml.sh
index a94e790..8b4589d 100755
--- a/build/unix/makehtml.sh
+++ b/build/unix/makehtml.sh
@@ -1,16 +1,16 @@
#! /bin/sh
dir=`pwd`
-ROOT=$dir/bin/root
+ROOT=root
cd tutorials
# we need tutorials/hsimple.root
if [ ! -f hsimple.root ]; then
- $ROOT -n -l -b -q hsimple.C
+ $ROOT -n -l -b -q hsimple.C && exit 1
fi
cd tree
# we need tutorials/tree/cernstaff.root
if [ ! -f cernstaff.root ]; then
- $ROOT -n -l -b -q cernbuild.C
+ $ROOT -n -l -b -q cernbuild.C || exit 1
fi
cd $dir
@@ -20,7 +20,7 @@ echo ""
# To generate the full documentation, we do need to
# use the graphics engine, so do not use '-b'.
-$ROOT -n -l <<makedoc
+$ROOT -n -l <<makedoc || exit 1
THtml h;
h.LoadAllLibs();
h.MakeAll();

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>bircoph@gentoo.org</email>
<name>Andrew Savchenko</name>
</maintainer>
<maintainer type="project">
<email>sci-physics@gentoo.org</email>
<name>Gentoo Physics Project</name>
</maintainer>
<longdescription lang="en">
This package contains the automatically generated ROOT class
documentation.
</longdescription>
<use>
<flag name="api">Generate html API documentation</flag>
<flag name="http">Build HttpServer documentation</flag>
<flag name="math">Provide all math related documentation</flag>
<flag name="metric">Default to A4 paper size and metric measurement. Letter will be used otherwise</flag>
</use>
<upstream>
<remote-id type="sourceforge">tmva</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,137 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
ROOT_PN="root"
ROOFIT_DOC_PV=2.91-33
ROOFIT_QS_DOC_PV=3.00
TMVA_DOC_PV=4.2.0
if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EVCS_OFFLINE=yes # we need exactly the same checkout as root itself
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
KEYWORDS=""
else
SRC_URI="https://root.cern.ch/download/${ROOT_PN}_v${PV}.source.tar.gz"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
S="${WORKDIR}/${ROOT_PN}"
fi
inherit eutils multilib virtualx
DESCRIPTION="Documentation for ROOT Data Analysis Framework"
HOMEPAGE="https://root.cern.ch"
SRC_URI="${SRC_URI}
math? (
http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
https://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf )
api? (
${HOMEPAGE}/sites/all/themes/newsflash/images/blue/root-banner.png
${HOMEPAGE}/sites/all/themes/newsflash/images/info.png )"
SLOT="0"
LICENSE="LGPL-2.1"
IUSE="api +math +metric http"
VIRTUALX_REQUIRED="api"
DEPEND="
app-text/pandoc
dev-haskell/pandoc-citeproc[bibutils]
dev-texlive/texlive-fontsrecommended
dev-texlive/texlive-latexrecommended
virtual/pkgconfig
api? (
media-fonts/dejavu
~sci-physics/root-${PV}[X,graphviz,opengl]
)"
RDEPEND=""
DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}"
src_unpack() {
if [[ ${PV} == "9999" ]] ; then
# we need to force sci-physics/root checkout here
git-r3_checkout "${EGIT_REPO_URI}" "${WORKDIR}/${P}" "sci-physics/root/0"
else
default
fi
}
src_prepare() {
use api && epatch \
"${FILESDIR}/${PN}-6.00.01-makehtml.patch" \
"${FILESDIR}/${PN}-6.00.01-fillpatterns.patch"
# prefixify the configure script
sed -i \
-e "s:/usr:${EPREFIX}/usr:g" \
configure || die "prefixify configure failed"
}
src_configure() {
# we need only to setup paths here, html docs doesn't depend on USE flags
if use api; then
./configure \
--prefix="${EPREFIX}/usr" \
--etcdir="${EPREFIX}/etc/root" \
--libdir="${EPREFIX}/usr/$(get_libdir)/${PN}" \
--docdir="${EPREFIX}${DOC_DIR}" \
--tutdir="${EPREFIX}${DOC_DIR}/examples/tutorials" \
--testdir="${EPREFIX}${DOC_DIR}/examples/tests" \
--with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
--with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" \
--nohowto
fi
}
src_compile() {
pdf_target=( primer users-guide )
local pdf_size=pdfa4
use metric || pdf_size=pdfletter
use math && pdf_target+=( minuit2 spectrum )
use http && pdf_target+=( HttpServer JSROOT )
local i
for (( i=0; i<${#pdf_target[@]}; i++ )); do
emake -C documentation/"${pdf_target[i]}" "${pdf_size}"
done
if use api; then
# video drivers may want to access hardware devices
cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g')
[[ -n "${cards}" ]] && addpredict "${cards}"
ROOTSYS="${S}" Xemake html
# if root.exe crashes, return code will be 0 due to gdb attach,
# so we need to check if last html file was generated;
# this check is volatile and can't catch crash on the last file.
[[ -f htmldoc/timespec.html ]] || die "html doc generation crashed"
fi
}
src_install() {
insinto "${DOC_DIR}"
local i
for (( i=0; i<${#pdf_target[@]}; i++ )); do
doins documentation/"${pdf_target[i]}"/*.pdf
done
unset pdf_target
use math && doins \
"${DISTDIR}/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf" \
"${DISTDIR}/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf" \
"${DISTDIR}/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf"
if use api; then
# Install offline replacements for online messages
cp "${DISTDIR}"/{root-banner.png,info.png} htmldoc/ || die "cp failed"
# too large data to copy
dodir "${DOC_DIR}/html"
mv htmldoc/* "${ED}${DOC_DIR}/html/" || die
docompress -x ${DOC_DIR}/html
fi
}