1 |
commit: a2586f2c2bf034121dcdd94160475a7c1c16bcdb |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 5 15:31:00 2018 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 5 15:32:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2586f2c |
7 |
|
8 |
app-doc/root-docs: remove ebuild |
9 |
|
10 |
This ebuild is for documentation for sci-physics/root-5.34.36, |
11 |
which has been removed due to several bugs and is deprecated |
12 |
and no longer maintained upstream. Users can still download |
13 |
ROOT 5 documentation from https://root.cern/documentation. |
14 |
|
15 |
Package-Manager: Portage-2.3.41, Repoman-2.3.9 |
16 |
|
17 |
app-doc/root-docs/Manifest | 6 - |
18 |
.../files/root-docs-6.00.01-fillpatterns.patch | 30 ----- |
19 |
.../files/root-docs-6.00.01-makehtml.patch | 55 --------- |
20 |
app-doc/root-docs/metadata.xml | 25 ---- |
21 |
app-doc/root-docs/root-docs-5.34.36.ebuild | 137 --------------------- |
22 |
5 files changed, 253 deletions(-) |
23 |
|
24 |
diff --git a/app-doc/root-docs/Manifest b/app-doc/root-docs/Manifest |
25 |
deleted file mode 100644 |
26 |
index 52210d61177..00000000000 |
27 |
--- a/app-doc/root-docs/Manifest |
28 |
+++ /dev/null |
29 |
@@ -1,6 +0,0 @@ |
30 |
-DIST RooFit_Users_Manual_2.91-33.pdf 1330062 BLAKE2B 5c4210a3c388ac3aa8e289c0744de077a61deae9c43cd8f6fd2b6b7cd5d800f6a2c444dabcf326c148491768f816e329c7cbbae116e5faa3d5ea1af63d1f879b SHA512 732d7dea3541b51e5f0b9b5b70dae57e1bdbb2504c4222d5e5095ec0f9b67307011c1f31c2c95be419b53dd8426f52f62f6c9370084208176a2ed3d7f25d783b |
31 |
-DIST TMVAUsersGuide-v4.2.0.pdf 4099493 BLAKE2B d64e2544dd31d0d096e778bdbda77fce162971988480214df7663c4e51bca70436f03eb410687ac3a675880ac0bc615b0e43901e86c68428f768cf082b1db085 SHA512 a52f36bdf9791c2e1c4b17f08dbcb100927d11c0db1d69ec611437017f80d90be557baf530af10aabc4d07dac626f1736352abd71845dba5e2c0899ff5b126d4 |
32 |
-DIST info.png 2060 BLAKE2B 7a2780a8c63c055d3ef8e346d6d712fe15a210c7ce50d414ac931d21e0f6ca045151e8d3f4f3004971e8f2bf8b2c303a0273a38b6e88e42ab2250069c52fae5c SHA512 81a730eefbe7a7e15d5840491402c7644bf7ed5d5f8f3830ed9457b343cc7882480e993ea84aef93500742cd0fe8469859cd2c925e5582b91ef56406804ae276 |
33 |
-DIST roofit_quickstart_3.00.pdf 501576 BLAKE2B 14b40d639b78040733f608a75970d115ba56e677b4931f2de0c43b47b960d8a5a33d45ebeb0f37dff587e14cb964218564ce9751ecedd079bd55aaa6d9534aec SHA512 e8e1bd3bb3ead0ae3883512d7ff297651b99937fd5df0b61cf559ea5dd6cfbda35dfd8ebc953ed11a12f471849f6e95e05869b58a1e433ea6e5d1d1aa08bbb93 |
34 |
-DIST root-banner.png 132555 BLAKE2B 47c03b7d82ab48cd2b23fa05db624262d11f37a2fc2cfeacddc42ad6368be19860ebca805fe0e438a8552c7f815ab330dd05cc111da7ccfda4f939c9b3c74e2d SHA512 139347f396e88c8062d847d612949204cb80e551a826d926950ca8ab967f0d496487fed17a227fc796ae4db23fca758d91a0af7943142adbed358e98d7667b1f |
35 |
-DIST root_v5.34.36.source.tar.gz 75427331 BLAKE2B 203af03e1459c7fe079fcb1b30da145b3262f90c074abb7ff8fb3b1b2b90ac24391ce51aa8afbd10e0db8d69549207f15176207bc30a13720e0ae94342a38dfa SHA512 2cc0c8f8b63b2a3ce01c49c41704483548a7324d92c21a63e3e36a00f4d6f5656a7844fdf48cb71a6f2a2c974112527300ffd3bb5502d8365ffaf138e6ae4c7a |
36 |
|
37 |
diff --git a/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch b/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch |
38 |
deleted file mode 100644 |
39 |
index e48a4f77568..00000000000 |
40 |
--- a/app-doc/root-docs/files/root-docs-6.00.01-fillpatterns.patch |
41 |
+++ /dev/null |
42 |
@@ -1,30 +0,0 @@ |
43 |
-diff --git a/core/base/doc/macros/fillpatterns.C b/core/base/doc/macros/fillpatterns.C |
44 |
-index b0a5132..fca81c8 100644 |
45 |
---- a/core/base/doc/macros/fillpatterns.C |
46 |
-+++ b/core/base/doc/macros/fillpatterns.C |
47 |
-@@ -20,11 +20,11 @@ TCanvas * fillpatterns() |
48 |
- |
49 |
- // Fixed patterns. |
50 |
- for (i=1; i<=5; i++) { |
51 |
-- box(j++, 0.01, y-bh, 0.19, y); |
52 |
-- box(j++, 0.21, y-bh, 0.39, y); |
53 |
-- box(j++, 0.41, y-bh, 0.59, y); |
54 |
-- box(j++, 0.61, y-bh, 0.79, y); |
55 |
-- box(j++, 0.81, y-bh, 0.99, y); |
56 |
-+ box(j, 0.01, y-bh, 0.19, y); j++; |
57 |
-+ box(j, 0.21, y-bh, 0.39, y); j++; |
58 |
-+ box(j, 0.41, y-bh, 0.59, y); j++; |
59 |
-+ box(j, 0.61, y-bh, 0.79, y); j++; |
60 |
-+ box(j, 0.81, y-bh, 0.99, y); j++; |
61 |
- y = y-bh-db; |
62 |
- } |
63 |
- |
64 |
-@@ -55,7 +55,7 @@ TCanvas * fillpatterns() |
65 |
- return Pat; |
66 |
- } |
67 |
- |
68 |
--box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
69 |
-+void box(Int_t pat, Double_t x1, Double_t y1, Double_t x2, Double_t y2) |
70 |
- { |
71 |
- // Draw an box using the fill pattern "pat" with the "pat" value |
72 |
- // written on top. |
73 |
|
74 |
diff --git a/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch b/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch |
75 |
deleted file mode 100644 |
76 |
index 613468629a5..00000000000 |
77 |
--- a/app-doc/root-docs/files/root-docs-6.00.01-makehtml.patch |
78 |
+++ /dev/null |
79 |
@@ -1,55 +0,0 @@ |
80 |
-diff --git a/Makefile b/Makefile |
81 |
-index 600e8db..afad025 100644 |
82 |
---- a/Makefile |
83 |
-+++ b/Makefile |
84 |
-@@ -1072,16 +1072,7 @@ $(ROOTPCH): $(ROOTCLINGSTAGE1DEP) $(ALLHDRS) $(CLINGETCPCH) $(ORDER_) $(ALLLIBS) |
85 |
- |
86 |
- ifeq ($(BUILDX11),yes) |
87 |
- ifeq ($(BUILDASIMAGE),yes) |
88 |
--html: rootexecs postbin changelog releasenotes |
89 |
--ifneq ($(USECONFIG),FALSE) |
90 |
-- @if [ "x`which root.exe`" != "x$(DESTDIR)$(BINDIR)/root.exe" ] \ |
91 |
-- || [ "`which root.exe`" -ot "bin/root.exe" ]; then \ |
92 |
-- echo 'ERROR: root.exe has not been installed by this build.'; \ |
93 |
-- echo ' Run "make install" before running "make html".'; \ |
94 |
-- exit 1; \ |
95 |
-- fi |
96 |
--endif |
97 |
-- @$(MAKELOGHTML) |
98 |
-+html: compiledata releasenotes |
99 |
- @$(MAKEHTML) |
100 |
- else |
101 |
- html: |
102 |
-diff --git a/build/unix/makehtml.sh b/build/unix/makehtml.sh |
103 |
-index a94e790..8b4589d 100755 |
104 |
---- a/build/unix/makehtml.sh |
105 |
-+++ b/build/unix/makehtml.sh |
106 |
-@@ -1,16 +1,16 @@ |
107 |
- #! /bin/sh |
108 |
- |
109 |
- dir=`pwd` |
110 |
--ROOT=$dir/bin/root |
111 |
-+ROOT=root |
112 |
- cd tutorials |
113 |
- # we need tutorials/hsimple.root |
114 |
- if [ ! -f hsimple.root ]; then |
115 |
-- $ROOT -n -l -b -q hsimple.C |
116 |
-+ $ROOT -n -l -b -q hsimple.C && exit 1 |
117 |
- fi |
118 |
- cd tree |
119 |
- # we need tutorials/tree/cernstaff.root |
120 |
- if [ ! -f cernstaff.root ]; then |
121 |
-- $ROOT -n -l -b -q cernbuild.C |
122 |
-+ $ROOT -n -l -b -q cernbuild.C || exit 1 |
123 |
- fi |
124 |
- cd $dir |
125 |
- |
126 |
-@@ -20,7 +20,7 @@ echo "" |
127 |
- |
128 |
- # To generate the full documentation, we do need to |
129 |
- # use the graphics engine, so do not use '-b'. |
130 |
--$ROOT -n -l <<makedoc |
131 |
-+$ROOT -n -l <<makedoc || exit 1 |
132 |
- THtml h; |
133 |
- h.LoadAllLibs(); |
134 |
- h.MakeAll(); |
135 |
|
136 |
diff --git a/app-doc/root-docs/metadata.xml b/app-doc/root-docs/metadata.xml |
137 |
deleted file mode 100644 |
138 |
index 47caabb1d8d..00000000000 |
139 |
--- a/app-doc/root-docs/metadata.xml |
140 |
+++ /dev/null |
141 |
@@ -1,25 +0,0 @@ |
142 |
-<?xml version="1.0" encoding="UTF-8"?> |
143 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
144 |
-<pkgmetadata> |
145 |
- <maintainer type="person"> |
146 |
- <email>bircoph@g.o</email> |
147 |
- <name>Andrew Savchenko</name> |
148 |
- </maintainer> |
149 |
- <maintainer type="project"> |
150 |
- <email>sci-physics@g.o</email> |
151 |
- <name>Gentoo Physics Project</name> |
152 |
- </maintainer> |
153 |
- <longdescription lang="en"> |
154 |
- This package contains the automatically generated ROOT class |
155 |
- documentation. |
156 |
- </longdescription> |
157 |
- <use> |
158 |
- <flag name="api">Generate html API documentation</flag> |
159 |
- <flag name="http">Build HttpServer documentation</flag> |
160 |
- <flag name="math">Provide all math related documentation</flag> |
161 |
- <flag name="metric">Default to A4 paper size and metric measurement. Letter will be used otherwise</flag> |
162 |
- </use> |
163 |
- <upstream> |
164 |
- <remote-id type="sourceforge">tmva</remote-id> |
165 |
- </upstream> |
166 |
-</pkgmetadata> |
167 |
|
168 |
diff --git a/app-doc/root-docs/root-docs-5.34.36.ebuild b/app-doc/root-docs/root-docs-5.34.36.ebuild |
169 |
deleted file mode 100644 |
170 |
index b9b09c53549..00000000000 |
171 |
--- a/app-doc/root-docs/root-docs-5.34.36.ebuild |
172 |
+++ /dev/null |
173 |
@@ -1,137 +0,0 @@ |
174 |
-# Copyright 1999-2016 Gentoo Foundation |
175 |
-# Distributed under the terms of the GNU General Public License v2 |
176 |
- |
177 |
-EAPI=5 |
178 |
- |
179 |
-ROOT_PN="root" |
180 |
-ROOFIT_DOC_PV=2.91-33 |
181 |
-ROOFIT_QS_DOC_PV=3.00 |
182 |
-TMVA_DOC_PV=4.2.0 |
183 |
- |
184 |
-if [[ ${PV} == "9999" ]] ; then |
185 |
- inherit git-r3 |
186 |
- EVCS_OFFLINE=yes # we need exactly the same checkout as root itself |
187 |
- EGIT_REPO_URI="http://root.cern.ch/git/root.git" |
188 |
- KEYWORDS="" |
189 |
-else |
190 |
- SRC_URI="https://root.cern.ch/download/${ROOT_PN}_v${PV}.source.tar.gz" |
191 |
- KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
192 |
- S="${WORKDIR}/${ROOT_PN}" |
193 |
-fi |
194 |
- |
195 |
-inherit eutils multilib virtualx |
196 |
- |
197 |
-DESCRIPTION="Documentation for ROOT Data Analysis Framework" |
198 |
-HOMEPAGE="https://root.cern.ch" |
199 |
-SRC_URI="${SRC_URI} |
200 |
- math? ( |
201 |
- http://tmva.sourceforge.net/docu/TMVAUsersGuide.pdf -> TMVAUsersGuide-v${TMVA_DOC_PV}.pdf |
202 |
- https://root.cern.ch/download/doc/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf |
203 |
- http://root.cern.ch/drupal/sites/default/files/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf ) |
204 |
- api? ( |
205 |
- ${HOMEPAGE}/sites/all/themes/newsflash/images/blue/root-banner.png |
206 |
- ${HOMEPAGE}/sites/all/themes/newsflash/images/info.png )" |
207 |
- |
208 |
-SLOT="0" |
209 |
-LICENSE="LGPL-2.1" |
210 |
-IUSE="api +math +metric http" |
211 |
- |
212 |
-VIRTUALX_REQUIRED="api" |
213 |
- |
214 |
-DEPEND=" |
215 |
- app-text/pandoc |
216 |
- dev-haskell/pandoc-citeproc[bibutils] |
217 |
- dev-texlive/texlive-fontsrecommended |
218 |
- dev-texlive/texlive-latexrecommended |
219 |
- virtual/pkgconfig |
220 |
- api? ( |
221 |
- media-fonts/dejavu |
222 |
- ~sci-physics/root-${PV}[X,graphviz,opengl] |
223 |
- )" |
224 |
-RDEPEND="" |
225 |
- |
226 |
-DOC_DIR="/usr/share/doc/${ROOT_PN}-${PV}" |
227 |
- |
228 |
-src_unpack() { |
229 |
- if [[ ${PV} == "9999" ]] ; then |
230 |
- # we need to force sci-physics/root checkout here |
231 |
- git-r3_checkout "${EGIT_REPO_URI}" "${WORKDIR}/${P}" "sci-physics/root/0" |
232 |
- else |
233 |
- default |
234 |
- fi |
235 |
-} |
236 |
- |
237 |
-src_prepare() { |
238 |
- use api && epatch \ |
239 |
- "${FILESDIR}/${PN}-6.00.01-makehtml.patch" \ |
240 |
- "${FILESDIR}/${PN}-6.00.01-fillpatterns.patch" |
241 |
- # prefixify the configure script |
242 |
- sed -i \ |
243 |
- -e "s:/usr:${EPREFIX}/usr:g" \ |
244 |
- configure || die "prefixify configure failed" |
245 |
-} |
246 |
- |
247 |
-src_configure() { |
248 |
- # we need only to setup paths here, html docs doesn't depend on USE flags |
249 |
- if use api; then |
250 |
- ./configure \ |
251 |
- --prefix="${EPREFIX}/usr" \ |
252 |
- --etcdir="${EPREFIX}/etc/root" \ |
253 |
- --libdir="${EPREFIX}/usr/$(get_libdir)/${PN}" \ |
254 |
- --docdir="${EPREFIX}${DOC_DIR}" \ |
255 |
- --tutdir="${EPREFIX}${DOC_DIR}/examples/tutorials" \ |
256 |
- --testdir="${EPREFIX}${DOC_DIR}/examples/tests" \ |
257 |
- --with-llvm-config="${EPREFIX}/usr/bin/llvm-config" \ |
258 |
- --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps" \ |
259 |
- --nohowto |
260 |
- fi |
261 |
-} |
262 |
- |
263 |
-src_compile() { |
264 |
- pdf_target=( primer users-guide ) |
265 |
- local pdf_size=pdfa4 |
266 |
- use metric || pdf_size=pdfletter |
267 |
- use math && pdf_target+=( minuit2 spectrum ) |
268 |
- use http && pdf_target+=( HttpServer JSROOT ) |
269 |
- |
270 |
- local i |
271 |
- for (( i=0; i<${#pdf_target[@]}; i++ )); do |
272 |
- emake -C documentation/"${pdf_target[i]}" "${pdf_size}" |
273 |
- done |
274 |
- |
275 |
- if use api; then |
276 |
- # video drivers may want to access hardware devices |
277 |
- cards=$(echo -n /dev/dri/card* /dev/ati/card* /dev/nvidiactl* | sed 's/ /:/g') |
278 |
- [[ -n "${cards}" ]] && addpredict "${cards}" |
279 |
- |
280 |
- ROOTSYS="${S}" Xemake html |
281 |
- # if root.exe crashes, return code will be 0 due to gdb attach, |
282 |
- # so we need to check if last html file was generated; |
283 |
- # this check is volatile and can't catch crash on the last file. |
284 |
- [[ -f htmldoc/timespec.html ]] || die "html doc generation crashed" |
285 |
- fi |
286 |
-} |
287 |
- |
288 |
-src_install() { |
289 |
- insinto "${DOC_DIR}" |
290 |
- |
291 |
- local i |
292 |
- for (( i=0; i<${#pdf_target[@]}; i++ )); do |
293 |
- doins documentation/"${pdf_target[i]}"/*.pdf |
294 |
- done |
295 |
- unset pdf_target |
296 |
- |
297 |
- use math && doins \ |
298 |
- "${DISTDIR}/RooFit_Users_Manual_${ROOFIT_DOC_PV}.pdf" \ |
299 |
- "${DISTDIR}/roofit_quickstart_${ROOFIT_QS_DOC_PV}.pdf" \ |
300 |
- "${DISTDIR}/TMVAUsersGuide-v${TMVA_DOC_PV}.pdf" |
301 |
- |
302 |
- if use api; then |
303 |
- # Install offline replacements for online messages |
304 |
- cp "${DISTDIR}"/{root-banner.png,info.png} htmldoc/ || die "cp failed" |
305 |
- # too large data to copy |
306 |
- dodir "${DOC_DIR}/html" |
307 |
- mv htmldoc/* "${ED}${DOC_DIR}/html/" || die |
308 |
- docompress -x ${DOC_DIR}/html |
309 |
- fi |
310 |
-} |