summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-06-10 16:46:22 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-06-10 16:46:22 +0000
commitc670a629abee621f131f4d47299d27ff312d12f4 (patch)
tree0c5c6247a0c073a5f2a481b55b06c2ca8e172309 /app-doc
parentVersion bump from Andrew Savchenko. Added metric use flag for choosing the de... (diff)
downloadgentoo-2-c670a629abee621f131f4d47299d27ff312d12f4.tar.gz
gentoo-2-c670a629abee621f131f4d47299d27ff312d12f4.tar.bz2
gentoo-2-c670a629abee621f131f4d47299d27ff312d12f4.zip
Version bump from science overlay
(Portage version: 2.2.01.21938-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'app-doc')
-rw-r--r--app-doc/root-docs/ChangeLog7
-rw-r--r--app-doc/root-docs/root-docs-5.34.08.ebuild (renamed from app-doc/root-docs/root-docs-5.34.05.ebuild)41
2 files changed, 16 insertions, 32 deletions
diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog
index 9e86894f5237..660f30771476 100644
--- a/app-doc/root-docs/ChangeLog
+++ b/app-doc/root-docs/ChangeLog
@@ -1,8 +1,13 @@
# ChangeLog for app-doc/root-docs
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.32 2013/06/04 15:41:13 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.33 2013/06/10 16:46:22 bicatali Exp $
+*root-docs-5.34.08 (08 Jun 2013)
+
+ 08 Jun 2013; Andrew Savchenko <bircoph@gmail.com> +root-docs-5.34.08.ebuild:
+ Version bump.
+
28 May 2013; Andrew Savchenko <bircoph@gmail.com> +root-docs-5.34.07.ebuild:
Fix sandbox violation on DRI systems: use addpredict instead of
switching to Xong GL interface.
diff --git a/app-doc/root-docs/root-docs-5.34.05.ebuild b/app-doc/root-docs/root-docs-5.34.08.ebuild
index 2aed56679888..66d0f2f10362 100644
--- a/app-doc/root-docs/root-docs-5.34.05.ebuild
+++ b/app-doc/root-docs/root-docs-5.34.08.ebuild
@@ -1,14 +1,14 @@
# Copyright 1999-2013 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.05.ebuild,v 1.1 2013/02/25 04:44:12 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.08.ebuild,v 1.1 2013/06/10 16:46:22 bicatali Exp $
-EAPI=4
+EAPI=5
ROOT_PN="root"
PATCH_PV="5.34.01"
if [[ ${PV} == "9999" ]] ; then
- _SVN_DEP="dev-vcs/subversion"
+ _GIT=git-2
SRC_URI=""
KEYWORDS=""
else
@@ -16,7 +16,7 @@ else
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
-inherit eutils multilib toolchain-funcs virtualx
+inherit eutils multilib toolchain-funcs virtualx ${_GIT}
DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)"
HOMEPAGE="http://root.cern.ch/"
@@ -25,36 +25,15 @@ SLOT="0"
LICENSE="LGPL-2.1"
IUSE=""
-S="${WORKDIR}/${ROOT_PN}"
+S="${WORKDIR}/${ROOT_PN}-v5-34-00-patches"
VIRTUALX_REQUIRED="always"
DEPEND="
~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl]
virtual/pkgconfig
- ${_SVN_DEP}"
+ ${_GIT_DEP}"
RDEPEND=""
-pkg_setup() {
- # sandboxed user can't access video hardware, so xorg-x11 implementation
- # should be used
- GL_IMPLEM=$(eselect opengl show)
- eselect opengl set xorg-x11
-}
-
-src_unpack() {
- # can't use subversion eclass functions,
- # we need to svn export the same root tree:
- # 1) svn revisions for root and root-docs must be the same;
- # 2) no need to abuse server twice.
- if [[ ${PV} == "9999" ]] ; then
- addpredict "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk/.svn"
- svn export "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk" \
- "${S}" || die "svn export failed"
- else
- default
- fi
-}
-
src_prepare() {
epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.patch
}
@@ -78,6 +57,10 @@ src_configure() {
}
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;
@@ -91,7 +74,3 @@ src_install() {
mv htmldoc/* "${ED}usr/share/doc/${PF}/"
docompress -x "${EPREFIX}/usr/share/doc/${PF}/"
}
-
-pkg_postinst() {
- eselect opengl set ${GL_IMPLEM}
-}