summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-doc/root-docs/ChangeLog7
-rw-r--r--app-doc/root-docs/files/root-docs-5.34.01-makehtml.patch51
-rw-r--r--app-doc/root-docs/files/root-docs-5.34.18-html.patch12
-rw-r--r--app-doc/root-docs/root-docs-5.34.18-r1.ebuild139
-rw-r--r--app-doc/root-docs/root-docs-5.34.18.ebuild81
5 files changed, 6 insertions, 284 deletions
diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog
index 036d47beb6af..286e184b64be 100644
--- a/app-doc/root-docs/ChangeLog
+++ b/app-doc/root-docs/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-doc/root-docs
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.44 2015/03/02 08:25:14 bircoph Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.45 2015/03/02 08:41:44 bircoph Exp $
+
+ 02 Mar 2015; Andrew Savchenko <bircoph@gentoo.org> -root-docs-5.34.18.ebuild,
+ -root-docs-5.34.18-r1.ebuild, -files/root-docs-5.34.01-makehtml.patch,
+ -files/root-docs-5.34.18-html.patch:
+ Remove old.
*root-docs-5.34.26 (02 Mar 2015)
diff --git a/app-doc/root-docs/files/root-docs-5.34.01-makehtml.patch b/app-doc/root-docs/files/root-docs-5.34.01-makehtml.patch
deleted file mode 100644
index b339226c83d1..000000000000
--- a/app-doc/root-docs/files/root-docs-5.34.01-makehtml.patch
+++ /dev/null
@@ -1,51 +0,0 @@
---- root/Makefile.orig 2012-07-13 13:42:46.000000000 +0400
-+++ root/Makefile 2012-07-22 00:15:03.282994389 +0400
-@@ -1087,16 +1087,7 @@
-
- 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:
---- root/build/unix/makehtml.sh.orig 2012-06-28 11:33:36.000000000 +0400
-+++ root/build/unix/makehtml.sh 2012-07-22 00:18:58.705804436 +0400
-@@ -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 -l -b -q hsimple.C
-+ $ROOT -l -b -q hsimple.C && exit 1
- fi
- cd tree
- # we need tutorials/tree/cernstaff.root
- if [ ! -f cernstaff.root ]; then
-- $ROOT -l -b -q cernbuild.C
-+ $ROOT -l -b -q cernbuild.C || exit 1
- fi
- cd $dir
-
-@@ -20,7 +20,7 @@
-
- # To generate the full documentation, we do need to
- # use the graphics engine, so do not use '-b'.
--$ROOT -l <<makedoc
-+$ROOT -l <<makedoc || exit 1
- THtml h;
- h.LoadAllLibs();
- h.MakeAll();
diff --git a/app-doc/root-docs/files/root-docs-5.34.18-html.patch b/app-doc/root-docs/files/root-docs-5.34.18-html.patch
deleted file mode 100644
index 3b80b39cda49..000000000000
--- a/app-doc/root-docs/files/root-docs-5.34.18-html.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- root/html/src/THtml.cxx.orig 2012-05-25 16:18:10.000000000 +0400
-+++ root/html/src/THtml.cxx 2012-05-29 19:22:40.810563296 +0400
-@@ -1913,6 +1913,9 @@
- void THtml::CreateStyleSheet() const {
- // Write the default ROOT style sheet.
- CopyFileFromEtcDir("ROOT.css");
-+ CopyFileFromEtcDir("info.png");
-+ CopyFileFromEtcDir("root-banner.png");
-+ CopyFileFromEtcDir("rootdrawing-logo.png");
- CopyFileFromEtcDir("shadowAlpha.png");
- CopyFileFromEtcDir("shadow.gif");
- }
diff --git a/app-doc/root-docs/root-docs-5.34.18-r1.ebuild b/app-doc/root-docs/root-docs-5.34.18-r1.ebuild
deleted file mode 100644
index c36719ba5520..000000000000
--- a/app-doc/root-docs/root-docs-5.34.18-r1.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.18-r1.ebuild,v 1.2 2014/03/28 18:48:01 bicatali Exp $
-
-EAPI=5
-
-ROOT_PN="root"
-ROOFIT_DOC_PV=2.91-33
-TMVA_DOC_PV=4.2.0
-
-if [[ ${PV} == "9999" ]] ; then
- inherit git-r3
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-inherit eutils multilib toolchain-funcs virtualx
-
-DESCRIPTION="Documentation for ROOT Data Analysis Framework"
-HOMEPAGE="http://root.cern.ch/drupal"
-DOC_URI="ftp://root.cern.ch/root"
-SRC_URI="${SRC_URI}
- math? (
- http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
- ${DOC_URI}/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf
- metric? ( ${DOC_URI}/spectrum/Spectrum.pdf -> Spectrum-${PV}.pdf )
- !metric? ( ${DOC_URI}/spectrum/SpectrumLetter.pdf -> SpectrumLetter-${PV}.pdf ) )
- metric? (
- ${DOC_URI}/ROOTUsersGuideA4.pdf -> ROOTUsersGuideA4-${PV}.pdf
- ${DOC_URI}/primer/ROOTPrimer.pdf -> ROOTPrimer-${PV}.pdf )
- !metric? (
- ${DOC_URI}/ROOTUsersGuideLetter.pdf -> ROOTUsersGuideLetter-${PV}.pdf
- ${DOC_URI}/primer/ROOTPrimerLetter.pdf -> ROOTPrimerLetter-${PV}.pdf )
- api? (
- ${HOMEPAGE}/sites/default/files/rootdrawing-logo.png
- ${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"
-
-VIRTUALX_REQUIRED="api"
-
-DEPEND="
- ~sci-physics/root-${PV}[X,graphviz,opengl]
- virtual/pkgconfig"
-RDEPEND=""
-
-S="${WORKDIR}/${ROOT_PN}"
-DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}"
-
-src_prepare() {
- # Make html docs self-consistent for offline work (based on Fedora spec)
- if use api; then
- epatch \
- "${FILESDIR}"/${PN}-5.34.01-makehtml.patch \
- "${FILESDIR}"/${PN}-5.34.18-html.patch
- # make images local
- sed -i \
- -e 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/!!' \
- etc/html/ROOT.css || die "html sed failed"
- sed -i \
- -e 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/!!' \
- etc/html/ROOT.css || die "html sed failed"
- sed -i \
- -e 's!http://root.cern.ch/drupal/sites/default/files/!!' \
- etc/html/header.html || die "html sed failed"
-
- cp "${DISTDIR}"/{rootdrawing-logo.png,root-banner.png,info.png} \
- etc/html || die "html preparation failed"
- fi
- # 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}/usr/share/doc/${PF}" \
- --tutdir="${EPREFIX}/usr/share/doc/${PF}/examples/tutorials" \
- --testdir="${EPREFIX}/usr/share/doc/${PF}/examples/tests" \
- --with-cc="$(tc-getCC)" \
- --with-cxx="$(tc-getCXX)" \
- --with-f77="$(tc-getFC)" \
- --with-ld="$(tc-getCXX)" \
- --with-afs-shared=yes \
- --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \
- --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" \
- --nohowto
- fi
-}
-
-src_compile() {
- 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}
-
- if use metric; then
- doins "${DISTDIR}"/ROOTUsersGuideA4-${PV}.pdf
- doins "${DISTDIR}"/ROOTPrimer-${PV}.pdf
- use math && doins "${DISTDIR}"/Spectrum-${PV}.pdf
- else
- doins "${DISTDIR}"/ROOTUsersGuideLetter-${PV}.pdf
- doins "${DISTDIR}"/ROOTPrimerLetter-${PV}.pdf
- use math && doins "${DISTDIR}"/SpectrumLetter-${PV}.pdf
- fi
- use math && doins \
- "${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \
- "${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
-
- if use api; then
- # too large data to copy
- dodir ${DOC_DIR}/html
- mv htmldoc/* "${ED}${DOC_DIR}/html/" || die
- docompress -x ${DOC_DIR}/html
- fi
-}
diff --git a/app-doc/root-docs/root-docs-5.34.18.ebuild b/app-doc/root-docs/root-docs-5.34.18.ebuild
deleted file mode 100644
index 96784f81628b..000000000000
--- a/app-doc/root-docs/root-docs-5.34.18.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.18.ebuild,v 1.1 2014/03/18 19:19:00 bicatali Exp $
-
-EAPI=5
-
-ROOT_PN="root"
-PATCH_PV="5.34.01"
-
-if [[ ${PV} == "9999" ]] ; then
- _GIT=git-r3
- SRC_URI=""
- KEYWORDS=""
-else
- SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-inherit eutils multilib toolchain-funcs virtualx ${_GIT}
-
-DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)"
-HOMEPAGE="http://root.cern.ch/"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-IUSE=""
-
-S="${WORKDIR}/${ROOT_PN}"
-VIRTUALX_REQUIRED="always"
-
-DEPEND="
- ~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl]
- virtual/pkgconfig
- ${_GIT_DEP}"
-RDEPEND=""
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.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
- ./configure \
- --prefix="${EPREFIX}"/usr \
- --etcdir="${EPREFIX}"/etc/root \
- --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
- --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
- --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
- --with-cc=$(tc-getCC) \
- --with-cxx=$(tc-getCXX) \
- --with-f77=$(tc-getFC) \
- --with-ld=$(tc-getCXX) \
- --with-afs-shared=yes \
- --with-llvm-config="${EPREFIX}"/usr/bin/llvm-config \
- --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps \
- --nohowto
-}
-
-src_compile() {
- # 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 "looks like html doc generation crashed"
-}
-
-src_install() {
- dodir /usr/share/doc/${PF}
- # too large data to copy
- mv htmldoc/* "${ED}usr/share/doc/${PF}/"
- docompress -x "${EPREFIX}/usr/share/doc/${PF}/"
-}