diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2012-10-26 15:39:53 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2012-10-26 15:39:53 +0000 |
commit | d813f5a60148b77d73be9945b9cfd30232f8b9d4 (patch) | |
tree | 385a2c1d50eca4e9819c9fc8ac45a66b358d5cf6 /app-doc/root-docs | |
parent | Stable for amd64, wrt bug #439734 (diff) | |
download | gentoo-2-d813f5a60148b77d73be9945b9cfd30232f8b9d4.tar.gz gentoo-2-d813f5a60148b77d73be9945b9cfd30232f8b9d4.tar.bz2 gentoo-2-d813f5a60148b77d73be9945b9cfd30232f8b9d4.zip |
import from science overlay
(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'app-doc/root-docs')
-rw-r--r-- | app-doc/root-docs/ChangeLog | 17 | ||||
-rw-r--r-- | app-doc/root-docs/metadata.xml | 14 | ||||
-rw-r--r-- | app-doc/root-docs/root-docs-5.32.04.ebuild | 96 | ||||
-rw-r--r-- | app-doc/root-docs/root-docs-5.34.03.ebuild | 96 |
4 files changed, 214 insertions, 9 deletions
diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog index 911cfdbbcaaa..c40fdd9645d8 100644 --- a/app-doc/root-docs/ChangeLog +++ b/app-doc/root-docs/ChangeLog @@ -1,6 +1,19 @@ # ChangeLog for app-doc/root-docs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.25 2012/07/22 20:34:45 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.26 2012/10/26 15:39:53 bicatali Exp $ + +*root-docs-5.34.03 (25 Oct 2012) + + 25 Oct 2012; Andrew Savchenko <bircoph@gmail.com> -root-docs-5.34.02.ebuild, + +root-docs-5.34.03.ebuild: + Version bump. + +*root-docs-5.34.02 (19 Oct 2012) +*root-docs-5.32.04 (19 Oct 2012) + + 19 Oct 2012; Andrew Savchenko <bircoph@gmail.com> +root-docs-5.32.04.ebuild, + +files/root-docs-5.32-makehtml.patch, +root-docs-5.34.02.ebuild: + Version bump for patch releases in 5.32 and 5.34 branches. *root-docs-5.34.01 (22 Jul 2012) @@ -8,7 +21,7 @@ +files/root-docs-5.34.01-makehtml.patch, root-docs-9999.ebuild, -files/root-docs-9999-makehtml.patch: Version bump. - + 15 Jul 2012; Justin Lecher <jlec@gentoo.org> -root-docs-5.26.00.ebuild, -root-docs-5.28-r1.ebuild: Cleaned old diff --git a/app-doc/root-docs/metadata.xml b/app-doc/root-docs/metadata.xml index 19e890db0e46..8d64e524d20f 100644 --- a/app-doc/root-docs/metadata.xml +++ b/app-doc/root-docs/metadata.xml @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <maintainer> - <email>bircoph@gmail.com</email> - <name>Andrew Savchenko</name> - <description>Maintainer. Assign bugs to him</description> - </maintainer> - <herd>sci-physics</herd> - <longdescription lang="en"> +<maintainer> + <email>bircoph@gmail.com</email> + <name>Andrew Savchenko</name> + <description>Maintainer. Assign bugs to him</description> +</maintainer> +<herd>sci-physics</herd> +<longdescription lang="en"> This package contains the automatically generated ROOT class documentation. </longdescription> diff --git a/app-doc/root-docs/root-docs-5.32.04.ebuild b/app-doc/root-docs/root-docs-5.32.04.ebuild new file mode 100644 index 000000000000..10e30771f8b3 --- /dev/null +++ b/app-doc/root-docs/root-docs-5.32.04.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2012 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.32.04.ebuild,v 1.1 2012/10/26 15:39:53 bicatali Exp $ + +EAPI=4 + +ROOT_PN="root" +PATCH_PV="5.32" + +if [[ ${PV} == "9999" ]] ; then + _SVN_DEP="dev-vcs/subversion" + 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="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 + ${_SVN_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 +} + +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 +} + +src_compile() { + 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}/" +} + +pkg_postinst() { + eselect opengl set ${GL_IMPLEM} +} diff --git a/app-doc/root-docs/root-docs-5.34.03.ebuild b/app-doc/root-docs/root-docs-5.34.03.ebuild new file mode 100644 index 000000000000..b44f4cc1a2b5 --- /dev/null +++ b/app-doc/root-docs/root-docs-5.34.03.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2012 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.03.ebuild,v 1.1 2012/10/26 15:39:53 bicatali Exp $ + +EAPI=4 + +ROOT_PN="root" +PATCH_PV="5.34.01" + +if [[ ${PV} == "9999" ]] ; then + _SVN_DEP="dev-vcs/subversion" + 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="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 + ${_SVN_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 +} + +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 +} + +src_compile() { + 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}/" +} + +pkg_postinst() { + eselect opengl set ${GL_IMPLEM} +} |