* [gentoo-commits] proj/sci:master commit in: app-doc/root-docs/, app-doc/root-docs/files/
@ 2015-04-08 2:24 Andrew Savchenko
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Savchenko @ 2015-04-08 2:24 UTC (permalink / raw
To: gentoo-commits
commit: bbc44bbf34362d51d8e9b6626c36c3cf73049ddb
Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
AuthorDate: Wed Apr 8 02:24:39 2015 +0000
Commit: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
CommitDate: Wed Apr 8 02:24:39 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=bbc44bbf
app-doc/root-docs: version bump
app-doc/root-docs/ChangeLog | 9 +++++++
.../files/root-docs-6.00.01-fillpatterns.patch | 30 ----------------------
.../root-docs/files/root-docs-6.02.05-jsroot.patch | 11 ++++++++
...ocs-6.00.02.ebuild => root-docs-6.02.05.ebuild} | 20 ++++++++-------
app-doc/root-docs/root-docs-9999.ebuild | 2 +-
5 files changed, 32 insertions(+), 40 deletions(-)
diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog
index 355d052..09e5506 100644
--- a/app-doc/root-docs/ChangeLog
+++ b/app-doc/root-docs/ChangeLog
@@ -2,6 +2,15 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.42 2014/03/28 18:48:01 bicatali Exp $
+*root-docs-6.02.05 (08 Apr 2015)
+
+ 08 Apr 2015; Andrew Savchenko <bircoph@gentoo.org> -root-docs-6.00.02.ebuild,
+ +root-docs-6.02.05.ebuild, root-docs-9999.ebuild,
+ -files/root-docs-6.00.01-fillpatterns.patch,
+ +files/root-docs-6.02.05-jsroot.patch:
+ Version bump for evaluation and testing.
+ Remove old.
+
03 Mar 2015; Andrew Savchenko <bircoph@gentoo.org> -root-docs-5.34.26.ebuild:
5.34.26 is now in the portage tree
diff --git a/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch b/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch
deleted file mode 100644
index e48a4f7..0000000
--- a/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch
+++ /dev/null
@@ -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.
diff --git a/app-doc/root-docs/files/root-docs-6.02.05-jsroot.patch b/app-doc/root-docs/files/root-docs-6.02.05-jsroot.patch
new file mode 100644
index 0000000..1ea170e
--- /dev/null
+++ b/app-doc/root-docs/files/root-docs-6.02.05-jsroot.patch
@@ -0,0 +1,11 @@
+--- root-6.02.05/documentation/JSROOT/JSROOT.md.orig 2015-02-09 11:59:47.000000000 +0300
++++ root-6.02.05/documentation/JSROOT/JSROOT.md 2015-04-05 19:13:24.010358387 +0300
+@@ -198,7 +198,7 @@
+ <div id="drawing">loading...</div>
+ </body>
+
+-Internally, the JSROOT.loadScript(urllist, callback, debug) method is used. It can be useful when some other scripts should be loaded as well. __urllist__ is a string with scripts names, separated by ';' symbol. If a script name starts with __$$$__ (triple dollar sign), the script will be loaded from a location relative to the main JSROOT directory.
++Internally, the JSROOT.loadScript(urllist, callback, debug) method is used. It can be useful when some other scripts should be loaded as well. __urllist__ is a string with scripts names, separated by ';' symbol. If a script name starts with __\$\$\$__ (triple dollar sign), the script will be loaded from a location relative to the main JSROOT directory.
+ This location is automatically detected when JSRootCore.js script is loaded.
+
+
diff --git a/app-doc/root-docs/root-docs-6.00.02.ebuild b/app-doc/root-docs/root-docs-6.02.05.ebuild
similarity index 90%
rename from app-doc/root-docs/root-docs-6.00.02.ebuild
rename to app-doc/root-docs/root-docs-6.02.05.ebuild
index 096e0fe..fbc5aa2 100644
--- a/app-doc/root-docs/root-docs-6.00.02.ebuild
+++ b/app-doc/root-docs/root-docs-6.02.05.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 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 $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.28.ebuild,v 1.1 2015/03/25 21:39:33 bircoph Exp $
EAPI=5
@@ -13,11 +13,10 @@ 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="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
- S="${WORKDIR}/${ROOT_PN}"
+ S="${WORKDIR}/${ROOT_PN}-${PV}"
fi
inherit eutils multilib virtualx
@@ -40,7 +39,7 @@ IUSE="api +math +metric http"
VIRTUALX_REQUIRED="api"
DEPEND="
- ~sci-physics/root-${PV}[X,graphviz,opengl]
+ ~sci-physics/root-${PV}[X,graphviz,opengl,tiff]
app-text/pandoc
app-text/texlive
dev-haskell/pandoc-citeproc[bibutils]
@@ -60,9 +59,10 @@ src_unpack() {
}
src_prepare() {
- use api && epatch \
+ epatch \
"${FILESDIR}/${PN}-6.00.01-makehtml.patch" \
- "${FILESDIR}/${PN}-6.00.01-fillpatterns.patch"
+ "${FILESDIR}/${PN}-6.02.05-jsroot.patch"
+
# prefixify the configure script
sed -i \
-e "s:/usr:${EPREFIX}/usr:g" \
@@ -90,8 +90,9 @@ src_compile() {
local pdf_size=pdfa4
use metric || pdf_size=pdfletter
use math && pdf_target+=( minuit2 spectrum )
- use http && pdf_target+=( HttpServer )
+ 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
@@ -105,13 +106,14 @@ src_compile() {
# 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/tableDescriptor_st.html ]] || die "html doc generation crashed"
+ [[ -f htmldoc/WindowAttributes_t.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
diff --git a/app-doc/root-docs/root-docs-9999.ebuild b/app-doc/root-docs/root-docs-9999.ebuild
index 3c99658..d603111 120000
--- a/app-doc/root-docs/root-docs-9999.ebuild
+++ b/app-doc/root-docs/root-docs-9999.ebuild
@@ -1 +1 @@
-root-docs-6.00.02.ebuild
\ No newline at end of file
+root-docs-6.02.05.ebuild
\ No newline at end of file
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: app-doc/root-docs/, app-doc/root-docs/files/
@ 2015-07-18 13:49 Andrew Savchenko
0 siblings, 0 replies; 3+ messages in thread
From: Andrew Savchenko @ 2015-07-18 13:49 UTC (permalink / raw
To: gentoo-commits
commit: 18480253df9ef5cddd357863d55a8b75ebcb11a5
Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
AuthorDate: Sat Jul 18 13:49:28 2015 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Jul 18 13:49:28 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=18480253
app-doc/root-docs/5.34.32 is moved to the main tree now
app-doc/root-docs/ChangeLog | 4 +
.../files/root-docs-6.00.01-fillpatterns.patch | 30 -----
app-doc/root-docs/root-docs-5.34.32.ebuild | 137 ---------------------
3 files changed, 4 insertions(+), 167 deletions(-)
diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog
index 71e1af1..d5887fa 100644
--- a/app-doc/root-docs/ChangeLog
+++ b/app-doc/root-docs/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.42 2014/03/28 18:48:01 bicatali Exp $
+ 18 Jul 2015; Andrew Savchenko <bircoph@gentoo.org> -root-docs-5.34.32.ebuild,
+ -files/root-docs-6.00.01-fillpatterns.patch:
+ 5.34.32 is moved to the main tree now
+
*root-docs-5.34.32 (17 Jul 2015)
17 Jul 2015; Andrew Savchenko <bircoph@gentoo.org> +root-docs-5.34.32.ebuild,
diff --git a/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch b/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch
deleted file mode 100644
index e48a4f7..0000000
--- a/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch
+++ /dev/null
@@ -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.
diff --git a/app-doc/root-docs/root-docs-5.34.32.ebuild b/app-doc/root-docs/root-docs-5.34.32.ebuild
deleted file mode 100644
index 50bf04b..0000000
--- a/app-doc/root-docs/root-docs-5.34.32.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2015 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.28.ebuild,v 1.3 2015/06/14 19:25:46 bircoph Exp $
-
-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="ftp://root.cern.ch/${ROOT_PN}/${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="http://root.cern.ch/drupal"
-SRC_URI="${SRC_URI}
- math? (
- http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf
- http://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-latex
- 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
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/sci:master commit in: app-doc/root-docs/, app-doc/root-docs/files/
@ 2018-07-06 14:12 Justin Bronder
0 siblings, 0 replies; 3+ messages in thread
From: Justin Bronder @ 2018-07-06 14:12 UTC (permalink / raw
To: gentoo-commits
commit: 212422dad739e5280fb19a8acf8409374183c9c1
Author: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 6 14:12:02 2018 +0000
Commit: Justin Bronder <jsbronder <AT> gentoo <DOT> org>
CommitDate: Fri Jul 6 14:12:02 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=212422da
app-doc/root-docs: removal due to migration of sci-physics/root
Package-Manager: Portage-2.3.40, Repoman-2.3.9
.../files/root-docs-6.00.01-makehtml.patch | 55 ----------
app-doc/root-docs/metadata.xml | 22 ----
app-doc/root-docs/root-docs-9999.ebuild | 112 ---------------------
3 files changed, 189 deletions(-)
diff --git a/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch b/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch
deleted file mode 100644
index 613468629..000000000
--- a/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch
+++ /dev/null
@@ -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();
diff --git a/app-doc/root-docs/metadata.xml b/app-doc/root-docs/metadata.xml
deleted file mode 100644
index 119d0b2ba..000000000
--- a/app-doc/root-docs/metadata.xml
+++ /dev/null
@@ -1,22 +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>
-</pkgmetadata>
diff --git a/app-doc/root-docs/root-docs-9999.ebuild b/app-doc/root-docs/root-docs-9999.ebuild
deleted file mode 100644
index 0d5916f42..000000000
--- a/app-doc/root-docs/root-docs-9999.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-ROOT_PN="root"
-ROOFIT_DOC_PV=2.91-33
-ROOFIT_QS_DOC_PV=3.00
-TMVA_DOC_PV=4.2.0
-
-inherit eutils git-r3 multilib virtualx
-
-DESCRIPTION="Documentation for ROOT Data Analysis Framework"
-HOMEPAGE="http://root.cern.ch/drupal"
-SRC_URI=""
-EGIT_REPO_URI="http://root.cern.ch/git/root.git"
-
-SLOT="0"
-LICENSE="LGPL-2.1"
-IUSE="api +math +metric http"
-
-VIRTUALX_REQUIRED="api"
-
-DEPEND="
- app-text/pandoc
- app-text/texlive
- dev-haskell/pandoc-citeproc[bibutils]
- virtual/pkgconfig
- api? (
- media-fonts/dejavu
- ~sci-physics/root-${PV}[X,graphviz,opengl]
- )"
-RDEPEND=""
-
-DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.00.01-makehtml.patch
-)
-
-src_prepare() {
- default
- # 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-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/WindowAttributes_t.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}"/{root6-banner.jpg,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
-}
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-06 14:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-06 14:12 [gentoo-commits] proj/sci:master commit in: app-doc/root-docs/, app-doc/root-docs/files/ Justin Bronder
-- strict thread matches above, loose matches on Subject: below --
2015-07-18 13:49 Andrew Savchenko
2015-04-08 2:24 Andrew Savchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox