1 |
bicatali 13/02/25 04:44:12 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: root-docs-5.34.05.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.01.21688-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
9 |
|
10 |
Revision Changes Path |
11 |
1.28 app-doc/root-docs/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/ChangeLog?rev=1.28&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/ChangeLog?rev=1.28&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/ChangeLog?r1=1.27&r2=1.28 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v |
20 |
retrieving revision 1.27 |
21 |
retrieving revision 1.28 |
22 |
diff -u -r1.27 -r1.28 |
23 |
--- ChangeLog 10 Dec 2012 17:06:01 -0000 1.27 |
24 |
+++ ChangeLog 25 Feb 2013 04:44:12 -0000 1.28 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for app-doc/root-docs |
27 |
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.27 2012/12/10 17:06:01 bicatali Exp $ |
29 |
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-doc/root-docs/ChangeLog,v 1.28 2013/02/25 04:44:12 bicatali Exp $ |
31 |
+ |
32 |
+*root-docs-5.34.05 (23 Feb 2013) |
33 |
+ |
34 |
+ 23 Feb 2013; Andrew Savchenko <bircoph@×××××.com> +root-docs-5.34.05.ebuild: |
35 |
+ Version bump. Remove old. Do not compress files (mostly headers) as |
36 |
+ this renders them unusable from html pages. |
37 |
|
38 |
10 Dec 2012; Sébastien Fabbro <bicatali@g.o> |
39 |
-files/root-docs-5.34-makehtml.patch, -root-docs-5.34.01.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-doc/root-docs/root-docs-5.34.05.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/root-docs-5.34.05.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-doc/root-docs/root-docs-5.34.05.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: root-docs-5.34.05.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2013 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $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 $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
ROOT_PN="root" |
57 |
PATCH_PV="5.34.01" |
58 |
|
59 |
if [[ ${PV} == "9999" ]] ; then |
60 |
_SVN_DEP="dev-vcs/subversion" |
61 |
SRC_URI="" |
62 |
KEYWORDS="" |
63 |
else |
64 |
SRC_URI="ftp://root.cern.ch/${ROOT_PN}/${ROOT_PN}_v${PV}.source.tar.gz" |
65 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
66 |
fi |
67 |
|
68 |
inherit eutils multilib toolchain-funcs virtualx |
69 |
|
70 |
DESCRIPTION="API documentation for ROOT (An Object-Oriented Data Analysis Framework)" |
71 |
HOMEPAGE="http://root.cern.ch/" |
72 |
|
73 |
SLOT="0" |
74 |
LICENSE="LGPL-2.1" |
75 |
IUSE="" |
76 |
|
77 |
S="${WORKDIR}/${ROOT_PN}" |
78 |
VIRTUALX_REQUIRED="always" |
79 |
|
80 |
DEPEND=" |
81 |
~sci-physics/root-${PV}[X,doc,graphviz,htmldoc,opengl] |
82 |
virtual/pkgconfig |
83 |
${_SVN_DEP}" |
84 |
RDEPEND="" |
85 |
|
86 |
pkg_setup() { |
87 |
# sandboxed user can't access video hardware, so xorg-x11 implementation |
88 |
# should be used |
89 |
GL_IMPLEM=$(eselect opengl show) |
90 |
eselect opengl set xorg-x11 |
91 |
} |
92 |
|
93 |
src_unpack() { |
94 |
# can't use subversion eclass functions, |
95 |
# we need to svn export the same root tree: |
96 |
# 1) svn revisions for root and root-docs must be the same; |
97 |
# 2) no need to abuse server twice. |
98 |
if [[ ${PV} == "9999" ]] ; then |
99 |
addpredict "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk/.svn" |
100 |
svn export "${PORTAGE_ACTUAL_DISTDIR:-${DISTDIR}}/svn-src/${ROOT_PN}/trunk" \ |
101 |
"${S}" || die "svn export failed" |
102 |
else |
103 |
default |
104 |
fi |
105 |
} |
106 |
|
107 |
src_prepare() { |
108 |
epatch "${FILESDIR}"/${PN}-${PATCH_PV}-makehtml.patch |
109 |
} |
110 |
|
111 |
src_configure() { |
112 |
# we need only to setup paths here, html docs doesn't depend on USE flags |
113 |
./configure \ |
114 |
--prefix="${EPREFIX}"/usr \ |
115 |
--etcdir="${EPREFIX}"/etc/root \ |
116 |
--libdir="${EPREFIX}"/usr/$(get_libdir)/${PN} \ |
117 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
118 |
--tutdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tutorials \ |
119 |
--testdir="${EPREFIX}"/usr/share/doc/${PF}/examples/tests \ |
120 |
--with-cc=$(tc-getCC) \ |
121 |
--with-cxx=$(tc-getCXX) \ |
122 |
--with-f77=$(tc-getFC) \ |
123 |
--with-ld=$(tc-getCXX) \ |
124 |
--with-afs-shared=yes \ |
125 |
--with-llvm-config="${EPREFIX}"/usr/bin/llvm-config \ |
126 |
--with-sys-iconpath="${EPREFIX}"/usr/share/pixmaps |
127 |
} |
128 |
|
129 |
src_compile() { |
130 |
ROOTSYS="${S}" Xemake html |
131 |
# if root.exe crashes, return code will be 0 due to gdb attach, |
132 |
# so we need to check if last html file was generated; |
133 |
# this check is volatile and can't catch crash on the last file. |
134 |
[[ -f htmldoc/timespec.html ]] || die "looks like html doc generation crashed" |
135 |
} |
136 |
|
137 |
src_install() { |
138 |
dodir /usr/share/doc/${PF} |
139 |
# too large data to copy |
140 |
mv htmldoc/* "${ED}usr/share/doc/${PF}/" |
141 |
docompress -x "${EPREFIX}/usr/share/doc/${PF}/" |
142 |
} |
143 |
|
144 |
pkg_postinst() { |
145 |
eselect opengl set ${GL_IMPLEM} |
146 |
} |