summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gentoo.org>2015-04-12 19:13:51 +0000
committerAndrew Savchenko <bircoph@gentoo.org>2015-04-12 19:13:51 +0000
commite5a3a92695260ab580cbf95583b9519fe3e4e9ca (patch)
tree3242056009b50435272bf70560c7217f5c8e6fea /app-doc
parentVersion bump with minor fixes. (diff)
downloadhistorical-e5a3a92695260ab580cbf95583b9519fe3e4e9ca.tar.gz
historical-e5a3a92695260ab580cbf95583b9519fe3e4e9ca.tar.bz2
historical-e5a3a92695260ab580cbf95583b9519fe3e4e9ca.zip
version bump
Signed-off-by: Andrew Savchenko <bircoph@gentoo.org> Package-Manager: portage-2.2.18/cvs/Linux i686 Manifest-Sign-Key: 0x565953B95372756C
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/root-docs/ChangeLog8
-rw-r--r--app-doc/root-docs/Manifest32
-rw-r--r--app-doc/root-docs/files/root-docs-6.02.05-jsroot.patch11
-rw-r--r--app-doc/root-docs/root-docs-6.02.05.ebuild137
4 files changed, 173 insertions, 15 deletions
diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog
index 41511e1d3ddd..f543f4a8e6cd 100644
--- a/app-doc/root-docs/ChangeLog
+++ b/app-doc/root-docs/ChangeLog
@@ -1,6 +1,12 @@
# 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.48 2015/04/11 11:29:10 bircoph Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.49 2015/04/12 19:13:45 bircoph Exp $
+
+*root-docs-6.02.05 (12 Apr 2015)
+
+ 12 Apr 2015; Andrew Savchenko <bircoph@gentoo.org> +root-docs-6.02.05.ebuild,
+ +files/root-docs-6.02.05-jsroot.patch:
+ Version bump fro science overlay.
11 Apr 2015; Andrew Savchenko <bircoph@gentoo.org> root-docs-5.34.26.ebuild,
root-docs-5.34.28.ebuild:
diff --git a/app-doc/root-docs/Manifest b/app-doc/root-docs/Manifest
index 028338e891f6..a3f4969c4374 100644
--- a/app-doc/root-docs/Manifest
+++ b/app-doc/root-docs/Manifest
@@ -4,33 +4,37 @@ Hash: SHA256
AUX root-docs-5.32-makehtml.patch 1074 SHA256 cc5fc9fb780357c50137bbf1adb1630688abd288f3d337c06b154709e581a8de SHA512 4ab27af2f9f28cb2cb225e4a046844eb4043d24062ab5a70b81d06d9196d395f7e70ca1ccd9027e3cffab3786e4a0ea6b89881825eff8e3c3dc9cafe8bd400f1 WHIRLPOOL 6b32ff3135c46f18b06ddd9871d24f776ef89fa25c04bab180ccef35d5f1a54ab211a134f328daddd18b7d0648c241875e6cba0cd02b5f5118ee03448803726a
AUX root-docs-6.00.01-fillpatterns.patch 1023 SHA256 015f824ff9304ee455f94ef58790d378ee951ae5cb5c387a855c65797ec2df84 SHA512 a6f1ce23cd96046aa85158c5ec24f1cc84477cdd5c5e6f42e1e60f8a623994d4fce2727755b9cf73018a76c6d8d9320f4ad21fa39f6773aa59de1a5b4fe4a718 WHIRLPOOL bc967883de0e94bd095d347db1729a8d25b2e8b90886129bc91d0f7aead4be2c7a3241cc608e34adb43519dcd668d1caf786a87fcb70ca299084a37b626da36f
AUX root-docs-6.00.01-makehtml.patch 1488 SHA256 32647c1d5846be77d6cf0aef7c9c54c715175b7da001be7656b04640ebfe13b4 SHA512 923b039511e5f0f53d4a0bfa15b678b37b53999ff3c6865369637a5e281a5c7bff3fcb8fadbeb8cdee06363dde1c7bc5604a4b6fdcfc09e0f62e1fea438b15db WHIRLPOOL b9bb964e55f46254c837e79e16c9cd17c5e5bfa775d7001cff6071639704f4835b94e59be55f22ae76c077e3065bc37f1fc4a65c9a1b04b3fac74df5d2f96a42
+AUX root-docs-6.02.05-jsroot.patch 1044 SHA256 86098f9a5305fdca5f5e4caaae05c8118f9f1cf5aeb3906beb54d722ae5e574a SHA512 8addc5780121e73a72382b2908667de8805147d197dd62d013f08a1d0eaf13234e69f35f54e8fab04e0311071e25f1591423e843b4615327d23526fea251662d WHIRLPOOL c54b8bce5d4532725da89cb37ac07130c8821696468d0e9f082a9eff80107858b70d0da0832439c8abfb8246fecd04596f13a465b5d135e15e4f097bd8fd4051
DIST RooFit_Users_Manual_2.91-33.pdf 1330062 SHA256 101c4e4c41962238fcabf1caa86cafc51241a1800594491b2e62ef8b565a5646 SHA512 732d7dea3541b51e5f0b9b5b70dae57e1bdbb2504c4222d5e5095ec0f9b67307011c1f31c2c95be419b53dd8426f52f62f6c9370084208176a2ed3d7f25d783b WHIRLPOOL 033897bef4bdb13246a81ea6749f7895e6c4d639752e932130234ad9153bb399a4e5d416237850da27f139d3cccc53d9adb7a077abf20d257ce057157d6c3696
DIST TMVAUsersGuide-v4.2.0.pdf 4099493 SHA256 b61614d14289a20f5fa429f79e474e596cdabb807632c901347479ad425791b9 SHA512 a52f36bdf9791c2e1c4b17f08dbcb100927d11c0db1d69ec611437017f80d90be557baf530af10aabc4d07dac626f1736352abd71845dba5e2c0899ff5b126d4 WHIRLPOOL 5be3affaf45dc6086329a82d582f95c9a251fedb7943fd84c14310b91504b7318db0d992a7da8e9da8b0b0fbbf4a7c58b7339bc4b529221804afb9988342829c
DIST info.png 2060 SHA256 51de6661250f3fb71c6c8250cbc4bdc4dc4283cc90240b4dc1ee6168e8d40279 SHA512 81a730eefbe7a7e15d5840491402c7644bf7ed5d5f8f3830ed9457b343cc7882480e993ea84aef93500742cd0fe8469859cd2c925e5582b91ef56406804ae276 WHIRLPOOL 02ea6daf9e3d21947ebf5dd01c455a13f2fcbf9981be34a150056a3510122ca49e3d137d4f242c7218d4d06ace09566d513a04f09071723ac244f5a38e982bac
DIST roofit_quickstart_3.00.pdf 501576 SHA256 65aaf9e0c88352e265fd55b97a2503a9ee4a51d3219daff69c6f7f6427fe22cf SHA512 e8e1bd3bb3ead0ae3883512d7ff297651b99937fd5df0b61cf559ea5dd6cfbda35dfd8ebc953ed11a12f471849f6e95e05869b58a1e433ea6e5d1d1aa08bbb93 WHIRLPOOL a58b221272e3b2775639bf934f63cd06919105871ad736a84e18e6f3949a579301d1c6d69df39576dcc11867aa27274f5c78f36146a929698437b1a0c310aebe
DIST root-banner.png 132555 SHA256 d165e1cc175f654ff79af39193a6144678f600e14a53dd20e2b216b3e8951e94 SHA512 139347f396e88c8062d847d612949204cb80e551a826d926950ca8ab967f0d496487fed17a227fc796ae4db23fca758d91a0af7943142adbed358e98d7667b1f WHIRLPOOL dd23e26acf9303b404cda8135d6946af3b1abba3dfdff8d80e56096f810d50a01ebfb52dc1e6ee1d1b99fbb5859dc850e0e368155339b5007294d95ce8909857
+DIST root6-banner.jpg 32319 SHA256 9d6d226bbe61db257a1796a3ad04dfe97b3bb500a29349ff76bf6a929ed1e104 SHA512 f01dd253f24d59c374042efd239ce023e5ca82d3d617ca6763daf9720b169c4fb27a0f4573ea95d807f0e12095924606372df4940f65ce7d859164314d22b9af WHIRLPOOL 69976abe240235a4f4eb25d61a0ceb183dc5ad5f9e57e9130ae10615329dd23125848f45608e1ad2d65a286d1f191f95336316f7c8f1cc052d396c31433cbe4c
DIST root_v5.32.03.source.tar.gz 55529362 SHA256 575057c429625df69f0fa5c303287acefff185cda8cf8d1e9a6b2d21097d5ae6 SHA512 2e067eb9c6bbda5cf4df6973a3cf5307540247fb07c349f7ee74c0cf6a4abbb63f585a9ff67139cae985250fc5c5106b5ea03d7d9d2bcd20269e0ec8760ebd02 WHIRLPOOL 87dbf6f55f82001e07afc3b467e95f841f185f1f67d1dbd953f73e8aa9127ef8485db84100d6e9a08f0ae6aa5b45a565398eb6723145fff16c07e5158bb3e3ab
DIST root_v5.34.26.source.tar.gz 75171961 SHA256 c1fd2a249bb7210914b42e35dba4f1262cfa46b79ef7a41f73d7f08f8c54a643 SHA512 f5da5e20d1763608a32d78c48581e574a3f51aef47ecf6987a4064d1fb3234dfc9f626e041a17213f881f52f807ed6a6da60bf1d24951fa7dc2cadd94f8dd8b4 WHIRLPOOL 77b48b815c971642da68b71732a0ea3372648634281be634037b13cb58488f7075ec8bfc9a684e55d85cd9b038f229be29b19a15dfc829f0ce63a5f17241c23c
DIST root_v5.34.28.source.tar.gz 75178811 SHA256 aae8fbcd86ad78ded68e764f294ab493d6d814ebe0baadd5bdf33034cda874d1 SHA512 2985def942affedc6654b33c440b3828c104d74b92fffe9a2b47ea329ff2e572219142d751794b332b4ceb92532ca06401928f340bebd42809c0616ed14baee2 WHIRLPOOL 4062d6eae5bfe68447c60bd37cdd6e27447c1b4f45ce9a377bbffc16300c5bec58111ea1fb1483aaf87bbe03fb72834cb2c4a53f10d69b89f06160b86c45caae
+DIST root_v6.02.05.source.tar.gz 99121880 SHA256 7a5d4af171ba3b8a736c462b2041f8f35bd4c1d3b6a22c32a3ebd3ffe144ae60 SHA512 b30bc4aafe294ee069ee4c884ff70c983539a48eda586cd1938d00d4688f10e94a435640965b89c6d100fdd998453a4c1ae2109d5f1427f23865a868c561d684 WHIRLPOOL de363835fa00ffa0ff6e596b3c92b59ed59378bac3a344c066f7603d6104058203f76181d4c15478fd9066aedbe6a514257d5796feedb2d5d0d789b263e92955
EBUILD root-docs-5.32.03.ebuild 2676 SHA256 dc97172c2e2c5345b162cce4b3d17f96053e76e46a4d91b172592b56e53e5002 SHA512 dd3baf0499d0b0bbfc7247ded6d84a338efc005d3e9de2dfa5a5f1b415255eb6ab80ded66ec172cc3e78bb1552d048da74930fbb4003c94c8f5f8f02d38a329b WHIRLPOOL 1b807c265f68339a7e1da541da42d5dd923e4f75abaccaeaa5f2133ddcfc1c302813940a0fa686ecc8f8b8a1b4150d60595c9b9449001e513c9fe77d31c6c2b4
EBUILD root-docs-5.34.26.ebuild 4005 SHA256 81a2b57f2db680a17ba2c78d51d38ff9db22f128eda93e91edd6eb007e9e98b6 SHA512 5df85b58a8d70baca9d7095ab32136ab5be567ba08233d01e6f5dc84b3148652ab12606c465e4c04e2e5a51cf9eefd65290270519393f8f2ae337dbdaebbb4f3 WHIRLPOOL 68cf0c9d207ed116485943f5a7eb6a04386d598a78a92b97f04a6aefd9da50fd9417b185fa78bbd87b25c54f3497d9aea99b2ecd0dc498cfd2bc1726da4c12d2
EBUILD root-docs-5.34.28.ebuild 4005 SHA256 53c95a834076ef29621a62dc38bdf344a36362edc468242c4dffc31863e49ee2 SHA512 21efa81392dad65f12115317a6a7af88ebc926d723560a7563b3e4048f179ef61faa9f7d2462cae067840deb4658f743f65ad69a33e77aae09c862320766ac17 WHIRLPOOL 4a93f69cf46a3493617cb559f7020ec7eaac347f59732324e0069b77b3f06f119111c88d966fdcd204e7f052f785ea1e38c8673470ac6700e4058e2ded2cd9c3
-MISC ChangeLog 8798 SHA256 ff487dd5011261499624517abfb5bc7e16a92b530ab2169aab8b258139a19f2a SHA512 98627684015e87b9095049d13c892ed48a1a049ac58642cc8bf0d64dd26f39086207e1eb80bee0caee8d7b3a0c711c0c6075fa05529b268dd34112968b0c2e68 WHIRLPOOL a01c21d4fbfef7786c5338d2085846b09203eb586ae60bc17521fcec3f12082536f761d999c00da885724e2bd0eb5daaedf09ebe30acc40fa0cb77f4ea51c198
+EBUILD root-docs-6.02.05.ebuild 3972 SHA256 9ae96de284957930d2b3076743495f5397f2d74fbba92c6849000e51815ae644 SHA512 93b17c01bc85020527df2c283f0f71d3f74a18c5adb9ebada6b0854e75b702690ea1256281a289bfe6b65d630f878ea04fa4fb5ae11cc0ae3ea4fb35f0ec3857 WHIRLPOOL d3874b5b2210efb4fbdc1eedd0194ccdc2dbec9b81d1e12938d692332611aa29e6a8e5edec2950ef813142d37eecbe86d0a8146d3d0d3c7d834fe816d05814b4
+MISC ChangeLog 8990 SHA256 eb069c712c38235b3e3e281c7282939e6c446fc7e6d846bd92b13e0997ad4dec SHA512 46209ee4434a188f6e1f3b9f6c6b64cd13baf3b4a51133a1285ab7a33b7212947c0f82a5d8bf3ac37869615844e1bde3db11e1ae417f6462cb8d7a3fb2ad3e76 WHIRLPOOL 9f91af3fa9fcd2cc5e586b7f8a892a1bf537fbbe6f6e93f1f0e89965a8eca86890fa7672cc8b90df3300980b5a93ed6576c473a3bad1f06bc1e7be1e9786f8d3
MISC metadata.xml 689 SHA256 2011f78002bc02589b2452f40bf34c12798054c60520a8050a928ce34acd3880 SHA512 062cdf9eb9da391ae3a84bee9566eb180fd1780328b32a97633c3b726c93e7076ac3ba2395c590590acc72eabd1010ce4d6753d6a098f24aba2ea146d0013369 WHIRLPOOL 9e540329a8833ce2defcec20f7114b4ce14159cba598ea4cc658922c54e37735761dc02753205d0c5885796d26cfc94be51048f6bb377fb5fee78dcf3d9e1c52
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJVKQWIAAoJEPZTWjO6HuSNrk0P/jn8Sclgy6ggLE1w2ybPfWzc
-CRHzX1Cqw65yXtCYVMvagwky7iwIx5XrUnsHQ6Z96lSWkEV8NdUgnGLABRTMGuDn
-T8iLiN5tWtbrAU2d4Y09dH2nSSuy4o2ulyoMx72A+IgAnzpNMR5DunTbdRReB6KV
-qiQjoDZc5Ymlf38iaJBhUrJbu2O9To7xfXWz65H5QLT8YHjIwoX0fhWsO0Dg5wNX
-aXR0XFXHqwmNrCDqgVGuu4BYobEsz5dbJJvF8vWwGFggGYGzLc5WWKc7XY29F+O6
-5IWIouAmPjVfDeO57nrWtpFR8tuRufIMZN2VI7oC9RWH0o9TrOujOQ2HYr3P2pGE
-jOfvODopM20v45qhR1Wwt9YtdJtVewVaRGcNAHVYcP68d1tNl2zrVI/uqf2zLcFA
-t3rAyo8OeKUhGX74EmAy7nYTKxIxvriYSDD45GhjySp3nfXUcAme2PpBcqCkBEkM
-RKKCwB/4/I7zhDQGcIJK0UPSaOmIbHO8BguzSpa99bhkJ61XrJ+qCXtaYbEMK9M+
-QWDiDSwuKNX+Xxifii5YjQE/AzgfvcPGLwp3+7UkKqIMda4v7ooYjeJbW5HZdHmW
-LVeJs3UpM80X1aPT7Wb9pwsDA4MqPj81xECsxwP41aJK5E9PL6FKk9/I5s5SjzFk
-DLvpuMjuHPklFxAE5Wc3
-=mUc8
+iQIcBAEBCAAGBQJVKsPqAAoJEPZTWjO6HuSNKZ0P/j0z5CUBMcQ3GKR9K05qcIOx
+g8T34ny/ZBNRgq/QpmujoR1EqAMbz3nGTTTV4DmUj/vSZnk8qGLRM5oziYHUZ1qc
+i4bWn8ABE21TBUbtFl2v7ceN7DByeICpVdeZysn069b78LqlxOumi1xFElkeO18d
+TlJhE2q+q2AQbCus0FTvaX9GD9tuO3uAR3Z9GyGaJWfGai8zQE6BhBjhGkJ5btjb
+M/cKLS2Y13EjUST+vky5it9uONknKNB8rVd8Py5Chfjx3k4uLX5YekV6u6nQ2eND
+k5L8ohei8UIvHJPvMmUqre7afUCaEloLyFRWuklQtIs8ioyQ0aTaAHyiY97LA7eq
+r2hjmw+VrAIvzt/lKe9etlkITqnhunhtSvQm1gnQeNSOcs+ad4wBgDpTdtTMCdtl
+5vLYQQ7E7Ima3gjOKDA5Q/J7VCkfUMKiigI3JXiaLu+A/5iRim1t38wZ65Wt7RC+
+BrR6pJPsgO7gmBlLtYMMPz0IFVO37q5ivKBDqs37pWV/suHVg8ZioBP0EDGVHMp9
+oJ1+J/c4YQhp5YUrSYZFRz39xnGd15sSFhNX1U6/hGwstECT7Pw71jHwSFkTk3Jy
+8Q2HA/METORjMoQb/tkMZLHU3Nsr7Je4KflL62/25Egr/nN9xUGJJTXZnBU+/EyL
+mdsIXlIqJAxlMNiBDOTk
+=rsNB
-----END PGP SIGNATURE-----
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 000000000000..1ea170e84a71
--- /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.02.05.ebuild b/app-doc/root-docs/root-docs-6.02.05.ebuild
new file mode 100644
index 000000000000..6f07876a4675
--- /dev/null
+++ b/app-doc/root-docs/root-docs-6.02.05.ebuild
@@ -0,0 +1,137 @@
+# 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-6.02.05.ebuild,v 1.1 2015/04/12 19:13:45 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"
+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}-${PV}"
+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/default/files/images/root6-banner.jpg
+ ${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
+ 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}"
+
+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() {
+ epatch \
+ "${FILESDIR}/${PN}-6.00.01-makehtml.patch" \
+ "${FILESDIR}/${PN}-6.02.05-jsroot.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}/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
+}