Gentoo Archives: gentoo-commits

From: Andrew Savchenko <bircoph@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: app-doc/root-docs/
Date: Sat, 23 Feb 2013 12:45:09
Message-Id: 1361623443.338b775bfe333660b3ac031c25767e5f2335bba0.bircoph@gentoo
1 commit: 338b775bfe333660b3ac031c25767e5f2335bba0
2 Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
3 AuthorDate: Sat Feb 23 12:44:03 2013 +0000
4 Commit: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
5 CommitDate: Sat Feb 23 12:44:03 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=338b775b
7
8 app-doc/root-docs: version bump
9
10 And fix headers installations: they should not be compressed.
11
12 ---
13 app-doc/root-docs/ChangeLog | 9 ++-
14 app-doc/root-docs/root-docs-5.32.04.ebuild | 96 --------------------
15 ...ocs-5.34.03.ebuild => root-docs-5.34.05.ebuild} | 5 +-
16 app-doc/root-docs/root-docs-9999.ebuild | 3 +-
17 4 files changed, 13 insertions(+), 100 deletions(-)
18
19 diff --git a/app-doc/root-docs/ChangeLog b/app-doc/root-docs/ChangeLog
20 index ebc679f..3ddaf4a 100644
21 --- a/app-doc/root-docs/ChangeLog
22 +++ b/app-doc/root-docs/ChangeLog
23 @@ -1,7 +1,14 @@
24 # ChangeLog for app-doc/root-docs
25 -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
26 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
27 # $Header: $
28
29 +*root-docs-5.34.05 (23 Feb 2013)
30 +
31 + 23 Feb 2013; Andrew Savchenko <bircoph@×××××.com> -root-docs-5.32.04.ebuild,
32 + -root-docs-5.34.03.ebuild, +root-docs-5.34.05.ebuild, root-docs-9999.ebuild:
33 + Version bump. Remove old. Do not compress files (mostly headers) as
34 + this renders them unusable from html pages.
35 +
36 *root-docs-5.34.03 (25 Oct 2012)
37
38 25 Oct 2012; Andrew Savchenko <bircoph@×××××.com> -root-docs-5.34.02.ebuild,
39
40 diff --git a/app-doc/root-docs/root-docs-5.32.04.ebuild b/app-doc/root-docs/root-docs-5.32.04.ebuild
41 deleted file mode 100644
42 index 65095a2..0000000
43 --- a/app-doc/root-docs/root-docs-5.32.04.ebuild
44 +++ /dev/null
45 @@ -1,96 +0,0 @@
46 -# Copyright 1999-2012 Gentoo Foundation
47 -# Distributed under the terms of the GNU General Public License v2
48 -# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.32.03.ebuild,v 1.4 2012/07/14 18:45:53 jdhore Exp $
49 -
50 -EAPI=4
51 -
52 -ROOT_PN="root"
53 -PATCH_PV="5.32"
54 -
55 -if [[ ${PV} == "9999" ]] ; then
56 - _SVN_DEP="dev-vcs/subversion"
57 - SRC_URI=""
58 - KEYWORDS=""
59 -else
60 - SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz"
61 - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
62 -fi
63 -
64 -inherit eutils multilib toolchain-funcs virtualx
65 -
66 -DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)"
67 -HOMEPAGE="http://root.cern.ch/"
68 -
69 -SLOT="0"
70 -LICENSE="LGPL-2.1"
71 -IUSE=""
72 -
73 -S="${WORKDIR}/${ROOT_PN}"
74 -VIRTUALX_REQUIRED="always"
75 -
76 -DEPEND="
77 - ~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl]
78 - virtual/pkgconfig
79 - ${_SVN_DEP}"
80 -RDEPEND=""
81 -
82 -pkg_setup() {
83 - # sandboxed user can't access video hardware, so xorg-x11 implementation
84 - # should be used
85 - GL_IMPLEM=$(eselect opengl show)
86 - eselect opengl set xorg-x11
87 -}
88 -
89 -src_unpack() {
90 - # can't use subversion eclass functions,
91 - # we need to svn export the same root tree:
92 - # 1) svn revisions for root and root-docs must be the same;
93 - # 2) no need to abuse server twice.
94 - if [[ ${PV} == "9999" ]] ; then
95 - addpredict "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk/.svn"
96 - svn export "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk" \
97 - "${S}" || die "svn export failed"
98 - else
99 - default
100 - fi
101 -}
102 -
103 -src_prepare() {
104 - epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.patch
105 -}
106 -
107 -src_configure() {
108 - # we need only to setup paths here, html docs doesn't depend on USE flags
109 - ./configure \
110 - --prefix="${EPREFIX}"/usr \
111 - --etcdir="${EPREFIX}"/etc/root \
112 - --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \
113 - --docdir="${EPREFIX}"/usr/share/doc/${PF} \
114 - --tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \
115 - --testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \
116 - --with-cc=$(tc-getCC) \
117 - --with-cxx=$(tc-getCXX) \
118 - --with-f77=$(tc-getFC) \
119 - --with-ld=$(tc-getCXX) \
120 - --with-afs-shared=yes \
121 - --with-llvm-config="${EPREFIX}"/usr/bin/llvm-config \
122 - --with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps
123 -}
124 -
125 -src_compile() {
126 - ROOTSYS="${S}" Xemake html
127 - # if root.exe crashes, return code will be 0 due to gdb attach,
128 - # so we need to check if last html file was generated;
129 - # this check is volatile and can't catch crash on the last file.
130 - [[ -f htmldoc/timespec.html ]] || die "looks like html doc generation crashed"
131 -}
132 -
133 -src_install() {
134 - dodir /usr/share/doc/${PF}
135 - # too large data to copy
136 - mv htmldoc/* "${ED}usr/share/doc/${PF}/"
137 -}
138 -
139 -pkg_postinst() {
140 - eselect opengl set ${GL_IMPLEM}
141 -}
142
143 diff --git a/app-doc/root-docs/root-docs-5.34.03.ebuild b/app-doc/root-docs/root-docs-5.34.05.ebuild
144 similarity index 94%
145 rename from app-doc/root-docs/root-docs-5.34.03.ebuild
146 rename to app-doc/root-docs/root-docs-5.34.05.ebuild
147 index f873d30..3bab6fa 100644
148 --- a/app-doc/root-docs/root-docs-5.34.03.ebuild
149 +++ b/app-doc/root-docs/root-docs-5.34.05.ebuild
150 @@ -1,6 +1,6 @@
151 -# Copyright 1999-2012 Gentoo Foundation
152 +# Copyright 1999-2013 Gentoo Foundation
153 # Distributed under the terms of the GNU General Public License v2
154 -# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.01.ebuild,v 1.1 2012/07/22 20:34:45 bicatali Exp $
155 +# $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 $
156
157 EAPI=4
158
159 @@ -89,6 +89,7 @@ src_install() {
160 dodir /usr/share/doc/${PF}
161 # too large data to copy
162 mv htmldoc/* "${ED}usr/share/doc/${PF}/"
163 + docompress -x "${EPREFIX}/usr/share/doc/${PF}/"
164 }
165
166 pkg_postinst() {
167
168 diff --git a/app-doc/root-docs/root-docs-9999.ebuild b/app-doc/root-docs/root-docs-9999.ebuild
169 index 27260c2..4763153 100644
170 --- a/app-doc/root-docs/root-docs-9999.ebuild
171 +++ b/app-doc/root-docs/root-docs-9999.ebuild
172 @@ -1,4 +1,4 @@
173 -# Copyright 1999-2012 Gentoo Foundation
174 +# Copyright 1999-2013 Gentoo Foundation
175 # Distributed under the terms of the GNU General Public License v2
176 # $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.00.ebuild,v 1.2 2012/06/27 17:31:12 bicatali Exp $
177
178 @@ -89,6 +89,7 @@ src_install() {
179 dodir /usr/share/doc/${PF}
180 # too large data to copy
181 mv htmldoc/* "${ED}usr/share/doc/${PF}/"
182 + docompress -x "${EPREFIX}/usr/share/doc/${PF}/"
183 }
184
185 pkg_postinst() {