1 |
scarabeus 09/01/31 15:19:36 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: boinc-6.4.5.ebuild |
5 |
Removed: boinc-6.2.15.ebuild boinc-5.4.11.ebuild |
6 |
boinc-5.10.28.ebuild boinc-5.5.6.ebuild |
7 |
boinc-5.2.14.ebuild boinc-4.72.20050813-r3.ebuild |
8 |
boinc-5.10.45.ebuild boinc-5.8.15.ebuild |
9 |
Log: |
10 |
Version bump. Remove old cruft. Per bug #251766. |
11 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
12 |
|
13 |
Revision Changes Path |
14 |
1.6 sci-misc/boinc/metadata.xml |
15 |
|
16 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/metadata.xml?rev=1.6&view=markup |
17 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/metadata.xml?rev=1.6&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/metadata.xml?r1=1.5&r2=1.6 |
19 |
|
20 |
Index: metadata.xml |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/metadata.xml,v |
23 |
retrieving revision 1.5 |
24 |
retrieving revision 1.6 |
25 |
diff -u -r1.5 -r1.6 |
26 |
--- metadata.xml 21 Jan 2009 10:44:26 -0000 1.5 |
27 |
+++ metadata.xml 31 Jan 2009 15:19:36 -0000 1.6 |
28 |
@@ -11,5 +11,10 @@ |
29 |
</longdescription> |
30 |
<use> |
31 |
<flag name='server'>Enable compilation of server</flag> |
32 |
+ <flag name="cuda"> |
33 |
+ Use nvidia cuda toolkit for speeding up computations. |
34 |
+ NOTE: works only for subset of nvidia graphic cards so make sure your card |
35 |
+ is supported before opening bug about it. |
36 |
+ </flag> |
37 |
</use> |
38 |
</pkgmetadata> |
39 |
|
40 |
|
41 |
|
42 |
1.47 sci-misc/boinc/ChangeLog |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/ChangeLog?rev=1.47&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/ChangeLog?rev=1.47&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/ChangeLog?r1=1.46&r2=1.47 |
47 |
|
48 |
Index: ChangeLog |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v |
51 |
retrieving revision 1.46 |
52 |
retrieving revision 1.47 |
53 |
diff -u -r1.46 -r1.47 |
54 |
--- ChangeLog 21 Jan 2009 10:44:26 -0000 1.46 |
55 |
+++ ChangeLog 31 Jan 2009 15:19:36 -0000 1.47 |
56 |
@@ -1,6 +1,20 @@ |
57 |
# ChangeLog for sci-misc/boinc |
58 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.46 2009/01/21 10:44:26 bicatali Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.47 2009/01/31 15:19:36 scarabeus Exp $ |
61 |
+ |
62 |
+*boinc-6.4.5 (31 Jan 2009) |
63 |
+ |
64 |
+ 31 Jan 2009; Tomas Chvatal <scarabeus@g.o> |
65 |
+ -files/08_all_Makefile.patch, -files/boinc-4.72.20050813-gcc4-fix.patch, |
66 |
+ -files/boinc-5.2.14-gcc-4.1.patch, -files/boinc-5.10.45-gcc4.3.patch, |
67 |
+ -files/boinc-6.2.15-mute-warnings.patch, |
68 |
+ -files/boinc-6.2.15-project-list-size.patch, files/boinc.conf, |
69 |
+ files/boinc.init, -files/gui_rpc_auth.cfg, metadata.xml, |
70 |
+ -boinc-4.72.20050813-r3.ebuild, -boinc-5.2.14.ebuild, |
71 |
+ -boinc-5.4.11.ebuild, -boinc-5.5.6.ebuild, -boinc-5.8.15.ebuild, |
72 |
+ -boinc-5.10.28.ebuild, -boinc-5.10.45.ebuild, -boinc-6.2.15.ebuild, |
73 |
+ +boinc-6.4.5.ebuild: |
74 |
+ Version bump. Remove old cruft. Per bug #251766. |
75 |
|
76 |
21 Jan 2009; Sébastien Fabbro <bicatali@g.o> metadata.xml: |
77 |
Updated maintainership for scarabeus |
78 |
|
79 |
|
80 |
|
81 |
1.1 sci-misc/boinc/boinc-6.4.5.ebuild |
82 |
|
83 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/boinc-6.4.5.ebuild?rev=1.1&view=markup |
84 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/boinc/boinc-6.4.5.ebuild?rev=1.1&content-type=text/plain |
85 |
|
86 |
Index: boinc-6.4.5.ebuild |
87 |
=================================================================== |
88 |
# Copyright 1999-2009 Gentoo Foundation |
89 |
# Distributed under the terms of the GNU General Public License v2 |
90 |
# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-6.4.5.ebuild,v 1.1 2009/01/31 15:19:36 scarabeus Exp $ |
91 |
|
92 |
# |
93 |
# Don't forget to keep things in sync with binary boinc package! |
94 |
# |
95 |
|
96 |
EAPI="2" |
97 |
|
98 |
inherit flag-o-matic depend.apache eutils wxwidgets |
99 |
|
100 |
DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" |
101 |
HOMEPAGE="http://boinc.ssl.berkeley.edu/" |
102 |
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.bz2" |
103 |
|
104 |
LICENSE="LGPL-2.1" |
105 |
SLOT="0" |
106 |
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" |
107 |
IUSE="X cuda server" |
108 |
|
109 |
RDEPEND=" |
110 |
!sci-misc/boinc |
111 |
app-misc/ca-certificates |
112 |
dev-libs/openssl |
113 |
net-misc/curl |
114 |
sys-apps/util-linux |
115 |
sys-libs/zlib |
116 |
cuda? ( |
117 |
>=dev-util/nvidia-cuda-toolkit-2.1 |
118 |
>=x11-drivers/nvidia-drivers-180.22 |
119 |
) |
120 |
server? ( |
121 |
>=virtual/mysql-5.0 |
122 |
dev-python/mysql-python |
123 |
) |
124 |
" |
125 |
DEPEND="${RDEPEND} |
126 |
sys-devel/gettext |
127 |
server? ( virtual/imap-c-client ) |
128 |
X? ( |
129 |
media-libs/freeglut |
130 |
media-libs/jpeg |
131 |
x11-libs/wxGTK:2.8[X,opengl] |
132 |
) |
133 |
" |
134 |
|
135 |
src_prepare() { |
136 |
# use system ssl certificates |
137 |
mkdir "${S}"/curl |
138 |
cp /etc/ssl/certs/ca-certificates.crt "${S}"/curl/ca-bundle.crt |
139 |
# copy icons to correct location |
140 |
cp "${S}"/sea/*.png "${S}"/clientgui/res/ |
141 |
# fix stripping |
142 |
## TODO |
143 |
} |
144 |
|
145 |
src_configure() { |
146 |
local wxconf="" |
147 |
local config="" |
148 |
|
149 |
# define preferable CFLAGS (recommended by upstream) |
150 |
append-flags -O3 -funroll-loops -fforce-addr -ffast-math |
151 |
|
152 |
# look for wxGTK |
153 |
if use X; then |
154 |
WX_GTK_VER="2.8" |
155 |
need-wxwidgets unicode |
156 |
wxconf="${wxconf} --with-wx-config=${WX_CONFIG}" |
157 |
else |
158 |
wxconf="${wxconf} --without-wxdir" |
159 |
fi |
160 |
|
161 |
# nonstandard enable |
162 |
use server || config="--disable-server" |
163 |
|
164 |
# configure |
165 |
econf \ |
166 |
--disable-dependency-tracking \ |
167 |
--with-gnu-ld \ |
168 |
--enable-unicode \ |
169 |
--enable-client \ |
170 |
--with-ssl \ |
171 |
${wxconf} \ |
172 |
${config} \ |
173 |
$(use_with X x) |
174 |
|
175 |
# Fix LDFLAGS. Link to compiled stuff and not to installed one |
176 |
sed -i \ |
177 |
-e "s|LDFLAGS = |LDFLAGS = -L../lib |g" \ |
178 |
*/Makefile || die "sed failed" |
179 |
} |
180 |
|
181 |
src_compile() { |
182 |
# disable paralel build. |
183 |
emake -j1 || die "emake failed" |
184 |
} |
185 |
|
186 |
src_install() { |
187 |
emake DESTDIR="${D}" install || die "make install failed" |
188 |
|
189 |
dodir /var/lib/${PN}/ |
190 |
keepdir /var/lib/${PN}/ |
191 |
|
192 |
if use X; then |
193 |
newicon "${S}"/sea/${PN}mgr.48x48.png ${PN}.png |
194 |
make_desktop_entry /usr/bin/boinc_gui "${PN}" ${PN} "Education;Science" /var/lib/${PN} |
195 |
fi |
196 |
|
197 |
# cleanup cruft |
198 |
rm "${D}"/usr/bin/ca-bundle.crt |
199 |
rm -rf "${D}"/etc/ |
200 |
|
201 |
newinitd "${FILESDIR}"/${PN}.init ${PN} |
202 |
newconfd "${FILESDIR}"/${PN}.conf ${PN} |
203 |
} |
204 |
|
205 |
pkg_setup() { |
206 |
enewgroup ${PN} |
207 |
if use cuda; then |
208 |
enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},video" |
209 |
else |
210 |
enewuser ${PN} -1 -1 /var/lib/${PN} "${PN}" |
211 |
fi |
212 |
} |
213 |
|
214 |
pkg_postinst() { |
215 |
echo |
216 |
elog "You are using the source compiled version." |
217 |
elog "The manager can be found at /usr/bin/${PN}_gui" |
218 |
elog |
219 |
elog "You need to attach to a project to do anything useful with ${PN}." |
220 |
elog "You can do this by running /etc/init.d/${PN} attach" |
221 |
elog "The howto for configuration is located at:" |
222 |
elog "http://${PN}.berkeley.edu/anonymous_platform.php" |
223 |
elog |
224 |
# Add warning about the new password for the client, bug 121896. |
225 |
elog "If you need to use the graphical client the password is in:" |
226 |
elog "/var/lib/${PN}/gui_rpc_auth.cfg" |
227 |
elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:" |
228 |
elog "/etc/conf.d/${PN}" |
229 |
elog "You should change this to something more memorable (can be even blank)." |
230 |
elog |
231 |
elog "Remember to launch init script before using manager. Or changing the password." |
232 |
if use cuda; then |
233 |
elog "To be able to use CUDA you should add boinc user to video group." |
234 |
elog "To do so run as root:" |
235 |
elog "gpasswd -a boinc video" |
236 |
fi |
237 |
} |