Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/
Date: Wed, 27 Dec 2017 11:56:38
Message-Id: 1514375754.e5f2f2be84c3b6a791f53864d397372d41308430.leio@gentoo
1 commit: e5f2f2be84c3b6a791f53864d397372d41308430
2 Author: Sven Eden <yamakuzure <AT> gmx <DOT> net>
3 AuthorDate: Sun Dec 24 14:24:24 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 27 11:55:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f2f2be
7
8 sci-misc/boinc: Clean up old ebuilds
9
10 As it was discussed in bug 640822, said bug is now closed with
11 cleaning up the old ebuilds.
12 The newest no longer depends on gtk2 based wxWidgets, and remains.
13
14 Closes: https://bugs.gentoo.org/640822
15 Package-Manager: Portage-2.3.19, Repoman-2.3.6
16
17 sci-misc/boinc/Manifest | 1 -
18 sci-misc/boinc/boinc-7.8.1-r1.ebuild | 189 -----------------------------------
19 sci-misc/boinc/boinc-7.8.1.ebuild | 181 ---------------------------------
20 3 files changed, 371 deletions(-)
21
22 diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
23 index d4d77311581..669f224b49a 100644
24 --- a/sci-misc/boinc/Manifest
25 +++ b/sci-misc/boinc/Manifest
26 @@ -1,3 +1,2 @@
27 -DIST boinc-7.8.1.tar.gz 52056850 BLAKE2B ddedde30c18e231e4820e8ecf66a9a5042b25527a1ce670ddeae314ee08b9549601aab4e920871ff30933474bdf5a1ff2d2772daa76eb602fce1d98a1f9d425f SHA512 32a30f19dd6b7e6b6050de9952091c2a60e27f4891542f70a449a7d7af347d9b0eecae4501bfb7465f453d1bbe321369f911be74b882384aa5216db3bf569656
28 DIST boinc-7.8.4.tar.gz 52035132 BLAKE2B 4234bd6f3ad3bbb4d7d518e45c16b8843de35f37d2cfd40ff149d85d14cb6d6bed2cbd682ba1d16099c1261eb000f8bb2e4f637b47d12e84e43266b4de076ed0 SHA512 d888f6c1586b57cdad7c4c783b2e58ae3bc3da8d0183eaacfe43f9798519e65129324222e6190a8ee1f00be2dfd31ee54fe2a88ef77950506e29552ce32de8aa
29 DIST boinc.tif 288208 BLAKE2B 156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260 SHA512 548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046
30
31 diff --git a/sci-misc/boinc/boinc-7.8.1-r1.ebuild b/sci-misc/boinc/boinc-7.8.1-r1.ebuild
32 deleted file mode 100644
33 index 885e7ebb207..00000000000
34 --- a/sci-misc/boinc/boinc-7.8.1-r1.ebuild
35 +++ /dev/null
36 @@ -1,189 +0,0 @@
37 -# Copyright 1999-2017 Gentoo Foundation
38 -# Distributed under the terms of the GNU General Public License v2
39 -
40 -EAPI=6
41 -
42 -WX_GTK_VER=3.0
43 -
44 -inherit autotools eutils gnome2-utils linux-info systemd user versionator wxwidgets
45 -
46 -MY_PV=$(get_version_component_range 1-2)
47 -
48 -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
49 -HOMEPAGE="http://boinc.ssl.berkeley.edu/"
50 -SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz
51 - X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> ${PN}.tif )"
52 -RESTRICT="mirror"
53 -
54 -LICENSE="LGPL-2.1"
55 -SLOT="0"
56 -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
57 -IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
58 -
59 -REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
60 -
61 -# libcurl must not be using an ssl backend boinc does not support.
62 -# If the libcurl ssl backend changes, boinc should be recompiled.
63 -RDEPEND="
64 - !sci-misc/boinc-bin
65 - !app-admin/quickswitch
66 - >=app-misc/ca-certificates-20080809
67 - net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
68 - sys-apps/util-linux
69 - sys-libs/zlib
70 - cuda? (
71 - >=dev-util/nvidia-cuda-toolkit-2.1
72 - >=x11-drivers/nvidia-drivers-180.22
73 - )
74 - X? (
75 - dev-db/sqlite:3
76 - media-libs/freeglut
77 - sys-libs/glibc:2.2
78 - virtual/jpeg:0=
79 - x11-libs/gtk+:2
80 - >=x11-libs/libnotify-0.7
81 - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
82 - )
83 -"
84 -DEPEND="${RDEPEND}
85 - sys-devel/gettext
86 - app-text/docbook-xml-dtd:4.4
87 - app-text/docbook2X
88 - X? ( virtual/imagemagick-tools[png,tiff] )
89 -"
90 -
91 -PATCHES=(
92 - # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
93 - "${FILESDIR}"/fix_webview.patch
94 -)
95 -
96 -S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
97 -
98 -pkg_setup() {
99 - # Bug 578750
100 - if use kernel_linux; then
101 - linux-info_pkg_setup
102 - if ! linux_config_exists; then
103 - ewarn "Can't check the linux kernel configuration."
104 - ewarn "You might be missing vsyscall support."
105 - elif kernel_is -ge 4 4 \
106 - && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
107 - ewarn "You do not have vsyscall emulation enabled."
108 - ewarn "This will prevent some boinc projects from running."
109 - ewarn "Please enable vsyscall emulation:"
110 - ewarn " CONFIG_LEGACY_VSYSCALL_EMULATE=y"
111 - ewarn "in /usr/src/linux/.config, to be found at"
112 - ewarn " Processor type and features --->"
113 - ewarn " vsyscall table for legacy applications (None) --->"
114 - ewarn " (X) Emulate"
115 - ewarn "Alternatively, you can enable CONFIG_LEGACY_VSYSCALL_NATIVE."
116 - ewarn "However, this has security implications and is not recommended."
117 - fi
118 - fi
119 -}
120 -
121 -src_prepare() {
122 - default
123 -
124 - # prevent bad changes in compile flags, bug 286701
125 - sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
126 -
127 - eautoreconf
128 -
129 - use X && need-wxwidgets unicode
130 -}
131 -
132 -src_configure() {
133 - econf --disable-server \
134 - --enable-client \
135 - --enable-dynamic-client-linkage \
136 - --disable-static \
137 - --enable-unicode \
138 - --with-ssl \
139 - $(use_with X x) \
140 - $(use_enable X manager) \
141 - $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
142 -}
143 -
144 -src_install() {
145 - default
146 -
147 - keepdir /var/lib/${PN}
148 -
149 - if use X; then
150 - # Create new icons. bug 593362
151 - local s SIZES=(16 22 24 32 36 48 64 72 96 128 192 256)
152 - for s in "${SIZES[@]}"; do
153 - convert "${DISTDIR}"/${PN}.tif -resize ${s}x${s} "${WORKDIR}"/boinc_${s}.png || die
154 - newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
155 - done
156 - make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
157 -
158 - # Rename the desktop file to boincmgr.desktop to (hot)fix bug 599910
159 - mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop || \
160 - die "Failed to rename desktop file"
161 - fi
162 -
163 - # cleanup cruft
164 - rm -rf "${ED%/}"/etc || die "rm failed"
165 -
166 - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.init.in > ${PN}.init || die
167 - newinitd ${PN}.init ${PN}
168 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
169 - systemd_dounit "${FILESDIR}"/${PN}.service
170 -}
171 -
172 -pkg_preinst() {
173 - gnome2_icon_savelist
174 -
175 - enewgroup ${PN}
176 - # note this works only for first install so we have to
177 - # elog user about the need of being in video group
178 - local groups="${PN}"
179 - if use cuda; then
180 - groups+=",video"
181 - fi
182 - enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}"
183 -}
184 -
185 -pkg_postinst() {
186 - gnome2_icon_cache_update
187 -
188 - elog
189 - elog "You are using the source compiled version of boinc."
190 - use X && elog "The graphical manager can be found at /usr/bin/boincmgr"
191 - elog
192 - elog "You need to attach to a project to do anything useful with boinc."
193 - elog "You can do this by running /etc/init.d/boinc attach"
194 - elog "The howto for configuration is located at:"
195 - elog "http://boinc.berkeley.edu/wiki/Anonymous_platform"
196 - elog
197 - # Add warning about the new password for the client, bug 121896.
198 - if use X; then
199 - elog "If you need to use the graphical manager the password is in:"
200 - elog "/var/lib/boinc/gui_rpc_auth.cfg"
201 - elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:"
202 - elog "/etc/conf.d/boinc"
203 - elog "You should change this password to something more memorable (can be even blank)."
204 - elog "Remember to launch init script before using manager. Or changing the password."
205 - elog
206 - fi
207 - if use cuda; then
208 - elog "To be able to use CUDA you should add boinc user to video group."
209 - elog "Run as root:"
210 - elog "gpasswd -a boinc video"
211 - elog
212 - fi
213 - # Add information about BOINC supporting OpenCL
214 - elog "BOINC supports OpenCL. To use it you have to eselect"
215 - if use cuda; then
216 - elog "nvidia as the OpenCL implementation, as you are using CUDA."
217 - else
218 - elog "the correct OpenCL implementation for your graphic card."
219 - fi
220 - elog
221 -}
222 -
223 -pkg_postrm() {
224 - gnome2_icon_cache_update
225 -}
226
227 diff --git a/sci-misc/boinc/boinc-7.8.1.ebuild b/sci-misc/boinc/boinc-7.8.1.ebuild
228 deleted file mode 100644
229 index 59a13dfeba9..00000000000
230 --- a/sci-misc/boinc/boinc-7.8.1.ebuild
231 +++ /dev/null
232 @@ -1,181 +0,0 @@
233 -# Copyright 1999-2017 Gentoo Foundation
234 -# Distributed under the terms of the GNU General Public License v2
235 -
236 -EAPI=6
237 -
238 -WX_GTK_VER=3.0
239 -
240 -inherit autotools eutils linux-info systemd user versionator wxwidgets
241 -
242 -MY_PV=$(get_version_component_range 1-2)
243 -
244 -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
245 -HOMEPAGE="http://boinc.ssl.berkeley.edu/"
246 -SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz
247 - X? ( http://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> ${PN}.tif )"
248 -RESTRICT="mirror"
249 -
250 -LICENSE="LGPL-2.1"
251 -SLOT="0"
252 -KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
253 -IUSE="X cuda curl_ssl_gnutls curl_ssl_libressl +curl_ssl_openssl static-libs"
254 -
255 -REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_libressl curl_ssl_openssl ) "
256 -
257 -# libcurl must not be using an ssl backend boinc does not support.
258 -# If the libcurl ssl backend changes, boinc should be recompiled.
259 -RDEPEND="
260 - !sci-misc/boinc-bin
261 - !app-admin/quickswitch
262 - >=app-misc/ca-certificates-20080809
263 - net-misc/curl[curl_ssl_gnutls(-)=,curl_ssl_libressl(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
264 - sys-apps/util-linux
265 - sys-libs/zlib
266 - cuda? (
267 - >=dev-util/nvidia-cuda-toolkit-2.1
268 - >=x11-drivers/nvidia-drivers-180.22
269 - )
270 - X? (
271 - dev-db/sqlite:3
272 - media-libs/freeglut
273 - sys-libs/glibc:2.2
274 - virtual/jpeg:0=
275 - x11-libs/gtk+:2
276 - >=x11-libs/libnotify-0.7
277 - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
278 - )
279 -"
280 -DEPEND="${RDEPEND}
281 - sys-devel/gettext
282 - app-text/docbook-xml-dtd:4.4
283 - app-text/docbook2X
284 - X? ( virtual/imagemagick-tools[png,tiff] )
285 -"
286 -
287 -PATCHES=(
288 - # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
289 - "${FILESDIR}"/fix_webview.patch
290 -)
291 -
292 -S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
293 -
294 -pkg_setup() {
295 - # Bug 578750
296 - if use kernel_linux; then
297 - linux-info_pkg_setup
298 - if ! linux_config_exists; then
299 - ewarn "Can't check the linux kernel configuration."
300 - ewarn "You might be missing vsyscall support."
301 - elif kernel_is -ge 4 4 \
302 - && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
303 - ewarn "You do not have vsyscall emulation enabled."
304 - ewarn "This will prevent some boinc projects from running."
305 - ewarn "Please enable vsyscall emulation:"
306 - ewarn " CONFIG_LEGACY_VSYSCALL_EMULATE=y"
307 - ewarn "in /usr/src/linux/.config, to be found at"
308 - ewarn " Processor type and features --->"
309 - ewarn " vsyscall table for legacy applications (None) --->"
310 - ewarn " (X) Emulate"
311 - ewarn "Alternatively, you can enable CONFIG_LEGACY_VSYSCALL_NATIVE."
312 - ewarn "However, this has security implications and is not recommended."
313 - fi
314 - fi
315 -}
316 -
317 -src_prepare() {
318 - default
319 -
320 - # prevent bad changes in compile flags, bug 286701
321 - sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
322 -
323 - eautoreconf
324 -
325 - use X && need-wxwidgets unicode
326 -}
327 -
328 -src_configure() {
329 - econf --disable-server \
330 - --enable-client \
331 - --enable-dynamic-client-linkage \
332 - --disable-static \
333 - --enable-unicode \
334 - --with-ssl \
335 - $(use_with X x) \
336 - $(use_enable X manager) \
337 - $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
338 -}
339 -
340 -src_install() {
341 - default
342 -
343 - keepdir /var/lib/${PN}
344 -
345 - if use X; then
346 - # Create new icons. bug 593362
347 - local s SIZES=(16 22 24 32 36 48 64 72 96 128 192 256)
348 - for s in "${SIZES[@]}"; do
349 - convert "${DISTDIR}"/${PN}.tif -resize ${s}x${s} "${WORKDIR}"/boinc_${s}.png || die
350 - newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
351 - done
352 - make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
353 -
354 - # Rename the desktop file to boincmgr.desktop to (hot)fix bug 599910
355 - mv "${ED%/}"/usr/share/applications/boincmgr{-${PN},}.desktop || \
356 - die "Failed to rename desktop file"
357 - fi
358 -
359 - # cleanup cruft
360 - rm -rf "${ED%/}"/etc || die "rm failed"
361 -
362 - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.init.in > ${PN}.init || die
363 - newinitd ${PN}.init ${PN}
364 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
365 - systemd_dounit "${FILESDIR}"/${PN}.service
366 -}
367 -
368 -pkg_preinst() {
369 - enewgroup ${PN}
370 - # note this works only for first install so we have to
371 - # elog user about the need of being in video group
372 - local groups="${PN}"
373 - if use cuda; then
374 - groups+=",video"
375 - fi
376 - enewuser ${PN} -1 -1 /var/lib/${PN} "${groups}"
377 -}
378 -
379 -pkg_postinst() {
380 - elog
381 - elog "You are using the source compiled version of boinc."
382 - use X && elog "The graphical manager can be found at /usr/bin/boincmgr"
383 - elog
384 - elog "You need to attach to a project to do anything useful with boinc."
385 - elog "You can do this by running /etc/init.d/boinc attach"
386 - elog "The howto for configuration is located at:"
387 - elog "http://boinc.berkeley.edu/wiki/Anonymous_platform"
388 - elog
389 - # Add warning about the new password for the client, bug 121896.
390 - if use X; then
391 - elog "If you need to use the graphical manager the password is in:"
392 - elog "/var/lib/boinc/gui_rpc_auth.cfg"
393 - elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:"
394 - elog "/etc/conf.d/boinc"
395 - elog "You should change this password to something more memorable (can be even blank)."
396 - elog "Remember to launch init script before using manager. Or changing the password."
397 - elog
398 - fi
399 - if use cuda; then
400 - elog "To be able to use CUDA you should add boinc user to video group."
401 - elog "Run as root:"
402 - elog "gpasswd -a boinc video"
403 - elog
404 - fi
405 - # Add information about BOINC supporting OpenCL
406 - elog "BOINC supports OpenCL. To use it you have to eselect"
407 - if use cuda; then
408 - elog "nvidia as the OpenCL implementation, as you are using CUDA."
409 - else
410 - elog "the correct OpenCL implementation for your graphic card."
411 - fi
412 - elog
413 -}