1 |
bicatali 14/03/26 20:38:21 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: root-docs-5.34.18-r1.ebuild |
5 |
Removed: root-docs-5.34.15.ebuild root-docs-5.32.04.ebuild |
6 |
root-docs-5.34.09.ebuild root-docs-5.34.13.ebuild |
7 |
root-docs-5.34.10.ebuild |
8 |
Log: |
9 |
Added standard root docs and trigger html api doc with api flag. Clean up. |
10 |
|
11 |
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
12 |
|
13 |
Revision Changes Path |
14 |
1.9 app-doc/root-docs/metadata.xml |
15 |
|
16 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/metadata.xml?rev=1.9&view=markup |
17 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/metadata.xml?rev=1.9&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/metadata.xml?r1=1.8&r2=1.9 |
19 |
|
20 |
Index: metadata.xml |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/app-doc/root-docs/metadata.xml,v |
23 |
retrieving revision 1.8 |
24 |
retrieving revision 1.9 |
25 |
diff -u -r1.8 -r1.9 |
26 |
--- metadata.xml 17 Mar 2013 17:12:53 -0000 1.8 |
27 |
+++ metadata.xml 26 Mar 2014 20:38:20 -0000 1.9 |
28 |
@@ -12,4 +12,9 @@ |
29 |
This package contains the automatically generated ROOT class |
30 |
documentation. |
31 |
</longdescription> |
32 |
+<use> |
33 |
+ <flag name="api">Generate html API documentation</flag> |
34 |
+ <flag name="math">Downloads all math related documentation</flag> |
35 |
+ <flag name="metric">Default to A4 paper size and metric measurement</flag> |
36 |
+</use> |
37 |
</pkgmetadata> |
38 |
|
39 |
|
40 |
|
41 |
1.41 app-doc/root-docs/ChangeLog |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/ChangeLog?rev=1.41&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/ChangeLog?rev=1.41&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/ChangeLog?r1=1.40&r2=1.41 |
46 |
|
47 |
Index: ChangeLog |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v |
50 |
retrieving revision 1.40 |
51 |
retrieving revision 1.41 |
52 |
diff -u -r1.40 -r1.41 |
53 |
--- ChangeLog 18 Mar 2014 19:19:00 -0000 1.40 |
54 |
+++ ChangeLog 26 Mar 2014 20:38:20 -0000 1.41 |
55 |
@@ -1,6 +1,15 @@ |
56 |
# ChangeLog for app-doc/root-docs |
57 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.40 2014/03/18 19:19:00 bicatali Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.41 2014/03/26 20:38:20 bicatali Exp $ |
60 |
+ |
61 |
+*root-docs-5.34.18-r1 (26 Mar 2014) |
62 |
+ |
63 |
+ 26 Mar 2014; Sébastien Fabbro <bicatali@g.o> |
64 |
+ +files/root-docs-5.34.18-html.patch, +root-docs-5.34.18-r1.ebuild, |
65 |
+ -root-docs-5.32.04.ebuild, -root-docs-5.34.09.ebuild, |
66 |
+ -root-docs-5.34.10.ebuild, -root-docs-5.34.13.ebuild, |
67 |
+ -root-docs-5.34.15.ebuild, metadata.xml: |
68 |
+ Added standard root docs and trigger html api doc with api flag. Clean up. |
69 |
|
70 |
*root-docs-5.34.18 (18 Mar 2014) |
71 |
|
72 |
|
73 |
|
74 |
|
75 |
1.1 app-doc/root-docs/root-docs-5.34.18-r1.ebuild |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/root-docs-5.34.18-r1.ebuild?rev=1.1&view=markup |
78 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/root-docs-5.34.18-r1.ebuild?rev=1.1&content-type=text/plain |
79 |
|
80 |
Index: root-docs-5.34.18-r1.ebuild |
81 |
=================================================================== |
82 |
# Copyright 1999-2014 Gentoo Foundation |
83 |
# Distributed under the terms of the GNU General Public License v2 |
84 |
# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/root-docs-5.34.18-r1.ebuild,v 1.1 2014/03/26 20:38:20 bicatali Exp $ |
85 |
|
86 |
EAPI=5 |
87 |
|
88 |
ROOT_PN="root" |
89 |
ROOFIT_DOC_PV=2.91-33 |
90 |
TMVA_DOC_PV=4.2.0 |
91 |
|
92 |
if [[ ${PV} == "9999" ]] ; then |
93 |
inherit git-r3 |
94 |
SRC_URI="" |
95 |
KEYWORDS="" |
96 |
else |
97 |
SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz" |
98 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
99 |
fi |
100 |
|
101 |
inherit eutils multilib toolchain-funcs virtualx |
102 |
|
103 |
DESCRIPTION="Documentation for ROOT Data Analysis Framework" |
104 |
HOMEPAGE="http://root.cern.ch/drupal" |
105 |
DOC_URI="ftp://root.cern.ch/root" |
106 |
SRC_URI="${SRC_URI} |
107 |
math? ( |
108 |
http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf |
109 |
${DOC_URI}/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf |
110 |
metric? ( ${DOC_URI}/spectrum/Spectrum.pdf -> Spectrum-${PV}.pdf ) |
111 |
!metric? ( ${DOC_URI}/spectrum/SpectrumLetter.pdf -> SpectrumLetter-${PV}.pdf ) ) |
112 |
metric? ( |
113 |
${DOC_URI}/ROOTUsersGuideA4.pdf -> ROOTUsersGuideA4-${PV}.pdf |
114 |
${DOC_URI}/primer/ROOTPrimer.pdf -> ROOTPrimer-${PV}.pdf ) |
115 |
!metric? ( |
116 |
${DOC_URI}/ROOTUsersGuideLetter.pdf -> ROOTUsersGuideLetter-${PV}.pdf |
117 |
${DOC_URI}/primer/ROOTPrimerLetter.pdf -> ROOTPrimerLetter-${PV}.pdf ) |
118 |
api? ( |
119 |
${HOMEPAGE}/sites/default/files/rootdrawing-logo.png |
120 |
${HOMEPAGE}/sites/all/themes/newsflash/images/blue/root-banner.png |
121 |
${HOMEPAGE}/sites/all/themes/newsflash/images/info.png )" |
122 |
|
123 |
SLOT="0" |
124 |
LICENSE="LGPL-2.1" |
125 |
IUSE="api +math +metric" |
126 |
|
127 |
VIRTUALX_REQUIRED="api" |
128 |
|
129 |
DEPEND=" |
130 |
~sci-physics/root-${PV}[X,graphviz,opengl] |
131 |
virtual/pkgconfig" |
132 |
RDEPEND="" |
133 |
|
134 |
S="${WORKDIR}/${ROOT_PN}" |
135 |
DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}" |
136 |
|
137 |
src_prepare() { |
138 |
# Make html docs self-consistent for offline work (based on Fedora spec) |
139 |
if use api; then |
140 |
epatch \ |
141 |
"${FILESDIR}"/${PN}-5.34.01-makehtml.patch \ |
142 |
"${FILESDIR}"/${PN}-5.34.18-html.patch |
143 |
# make images local |
144 |
sed -i \ |
145 |
-e 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/blue/!!' \ |
146 |
etc/html/ROOT.css || die "html sed failed" |
147 |
sed -i \ |
148 |
-e 's!http://root.cern.ch/drupal/sites/all/themes/newsflash/images/!!' \ |
149 |
etc/html/ROOT.css || die "html sed failed" |
150 |
sed -i \ |
151 |
-e 's!http://root.cern.ch/drupal/sites/default/files/!!' \ |
152 |
etc/html/header.html || die "html sed failed" |
153 |
|
154 |
cp "${DISTDIR}"/{rootdrawing-logo.png,root-banner.png,info.png} \ |
155 |
etc/html || die "html preparation failed" |
156 |
fi |
157 |
# prefixify the configure script |
158 |
sed -i \ |
159 |
-e "s:/usr:${EPREFIX}/usr:g" \ |
160 |
configure || die "prefixify configure failed" |
161 |
} |
162 |
|
163 |
src_configure() { |
164 |
# we need only to setup paths here, html docs doesn't depend on USE flags |
165 |
if use api; then |
166 |
./configure \ |
167 |
--prefix="${EPREFIX}/usr" \ |
168 |
--etcdir="${EPREFIX}/etc/root" \ |
169 |
--libdir="${EPREFIX}/usr/$(get_libdir)/${PN}" \ |
170 |
--docdir="${EPREFIX}/usr/share/doc/${PF}" \ |
171 |
--tutdir="${EPREFIX}/usr/share/doc/${PF}/examples/tutorials" \ |
172 |
--testdir="${EPREFIX}/usr/share/doc/${PF}/examples/tests" \ |
173 |
--with-cc="$(tc-getCC)" \ |
174 |
--with-cxx="$(tc-getCXX)" \ |
175 |
--with-f77="$(tc-getFC)" \ |
176 |
--with-ld="$(tc-getCXX)" \ |
177 |
--with-afs-shared=yes \ |
178 |
--with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \ |
179 |
--with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" \ |
180 |
--nohowto |
181 |
fi |
182 |
} |
183 |
|
184 |
src_compile() { |
185 |
if use html; then |
186 |
# video drivers may want to access hardware devices |
187 |
cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g') |
188 |
[[ -n "${cards}" ]] && addpredict "${cards}" |
189 |
|
190 |
ROOTSYS="${S}" Xemake html |
191 |
# if root.exe crashes, return code will be 0 due to gdb attach, |
192 |
# so we need to check if last html file was generated; |
193 |
# this check is volatile and can't catch crash on the last file. |
194 |
[[ -f htmldoc/timespec.html ]] || die "html doc generation crashed" |
195 |
fi |
196 |
} |
197 |
|
198 |
src_install() { |
199 |
insinto ${DOC_DIR} |
200 |
|
201 |
if use metric; then |
202 |
doins "${DISTDIR}"/ROOTUsersGuideA4-${PV}.pdf |
203 |
doins "${DISTDIR}"/ROOTPrimer-${PV}.pdf |
204 |
use math && doins "${DISTDIR}"/Spectrum-${PV}.pdf |
205 |
else |
206 |
doins "${DISTDIR}"/ROOTUsersGuideLetter-${PV}.pdf |
207 |
doins "${DISTDIR}"/ROOTPrimerLetter-${PV}.pdf |
208 |
use math && doins "${DISTDIR}"/SpectrumLetter-${PV}.pdf |
209 |
fi |
210 |
use math && doins \ |
211 |
"${DISTDIR}"/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf \ |
212 |
"${DISTDIR}"/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf |
213 |
|
214 |
if use api; then |
215 |
# too large data to copy |
216 |
dodir ${DOC_DIR}/html |
217 |
mv htmldoc/* "${ED}${DOC_DIR}/html/" || die |
218 |
docompress -x ${DOC_DIR}/html |
219 |
fi |
220 |
} |