Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-misc/boinc/
Date: Wed, 06 Oct 2021 08:33:28
Message-Id: 1633509096.61ac7eae1111bca92db16ce5ecaed039e9ee8d2a.jsmolic@gentoo
1 commit: 61ac7eae1111bca92db16ce5ecaed039e9ee8d2a
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 6 07:51:51 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 6 08:31:36 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61ac7eae
7
8 sci-misc/boinc: drop 7.16.16
9
10 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
11
12 sci-misc/boinc/Manifest | 1 -
13 sci-misc/boinc/boinc-7.16.16.ebuild | 208 ------------------------------------
14 2 files changed, 209 deletions(-)
15
16 diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest
17 index 214c7d2ddfb..a8af88e0f15 100644
18 --- a/sci-misc/boinc/Manifest
19 +++ b/sci-misc/boinc/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST boinc-7.16.16.tar.gz 49599131 BLAKE2B 819ab85c19a684144711f77e669b892aa73c006b81c1d7ef7adbd9d580e1e8473ae27b52dc17953ee677c70fc78ed15df936afd740e629715f30f2b81d84ea6f SHA512 dd7042e176d6506c70de7866556ae73b2f45734df92038086d5b0414751f3da08dc571c49f0c26d747d3fb2577674d3ff8cdec7d3563861eaaaa5af9c1db0a0e
22 DIST boinc-7.16.17.tar.gz 49628624 BLAKE2B 87e266a29506ecaa41fd18a2521b08c291548a4e31f7748001e5214e6f1fada1ded8bb8b559635d4f9c7c256cd7829dcf9132c02448c559d5ceb13524ca42e0f SHA512 e9882f37ad5c83ed020155c8192228322932f83b88ed00d025dcda63bff2dca109ecdcbaf98b48c4522b841f545f32352e5c158ae0a41de0a1f2941ac8135221
23 DIST boinc.tif 288208 BLAKE2B 156a99f08dcabc62a46874830600b9d237e64b650b8edf35db67b82006a67039a3965707194e8f0b25cfd65138b8700c0bfb877507418393b9cd3df32e94d260 SHA512 548e19b87fd70dbeb05687320b86aad39981c161b5b5b7e02fc3ce886d4c464c9bb763d5652d9895dd505ce247c7ff4490caa3d407e28f54ce889ffbab22d046
24
25 diff --git a/sci-misc/boinc/boinc-7.16.16.ebuild b/sci-misc/boinc/boinc-7.16.16.ebuild
26 deleted file mode 100644
27 index 5ed09539980..00000000000
28 --- a/sci-misc/boinc/boinc-7.16.16.ebuild
29 +++ /dev/null
30 @@ -1,208 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -MY_PV=$(ver_cut 1-2)
37 -WX_GTK_VER=3.0-gtk3
38 -
39 -inherit autotools desktop flag-o-matic linux-info systemd wxwidgets xdg-utils
40 -
41 -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
42 -HOMEPAGE="https://boinc.ssl.berkeley.edu/"
43 -
44 -SRC_URI="X? ( https://boinc.berkeley.edu/logo/boinc_glossy2_512_F.tif -> ${PN}.tif )"
45 -if [[ ${PV} == *9999 ]] ; then
46 - EGIT_REPO_URI="https://github.com/BOINC/${PN}.git"
47 - inherit git-r3
48 -else
49 - SRC_URI+=" https://github.com/BOINC/boinc/archive/client_release/${MY_PV}/${PV}.tar.gz -> ${P}.tar.gz"
50 - KEYWORDS="~amd64 ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
51 - S="${WORKDIR}/${PN}-client_release-${MY_PV}-${PV}"
52 -fi
53 -
54 -LICENSE="LGPL-3"
55 -SLOT="0"
56 -IUSE="X cuda curl_ssl_gnutls +curl_ssl_openssl"
57 -
58 -REQUIRED_USE="^^ ( curl_ssl_gnutls curl_ssl_openssl ) "
59 -
60 -# libcurl must not be using an ssl backend boinc does not support.
61 -# If the libcurl ssl backend changes, boinc should be recompiled.
62 -COMMON_DEPEND="
63 - acct-group/boinc
64 - acct-user/boinc
65 - >=app-misc/ca-certificates-20080809
66 - cuda? (
67 - >=dev-util/nvidia-cuda-toolkit-2.1
68 - >=x11-drivers/nvidia-drivers-180.22
69 - )
70 - net-misc/curl[curl_ssl_gnutls(-)=,-curl_ssl_nss(-),curl_ssl_openssl(-)=,-curl_ssl_axtls(-),-curl_ssl_cyassl(-)]
71 - sys-apps/util-linux
72 - sys-libs/zlib
73 - X? (
74 - dev-db/sqlite:3
75 - media-libs/freeglut
76 - virtual/jpeg:0=
77 - x11-libs/gtk+:3
78 - x11-libs/libICE
79 - >=x11-libs/libnotify-0.7
80 - x11-libs/libSM
81 - x11-libs/libXi
82 - x11-libs/libXmu
83 - x11-libs/wxGTK:${WX_GTK_VER}[X,opengl,webkit]
84 - virtual/jpeg
85 - )
86 -"
87 -DEPEND="${RDEPEND}
88 - app-text/docbook-xml-dtd:4.4
89 - app-text/docbook2X
90 - sys-devel/gettext
91 - X? ( virtual/imagemagick-tools[png,tiff] )
92 -"
93 -RDEPEND="${COMMON_DEPEND}
94 - !app-admin/quickswitch
95 -"
96 -
97 -PATCHES=(
98 - # >=x11-libs/wxGTK-3.0.2.0-r3 has webview removed, bug 587462
99 - "${FILESDIR}"/${PN}-${MY_PV}-fix_webview.patch
100 -)
101 -
102 -pkg_setup() {
103 - # Bug 578750
104 - if use kernel_linux; then
105 - linux-info_pkg_setup
106 - if ! linux_config_exists; then
107 - ewarn "Can't check the linux kernel configuration."
108 - ewarn "You might be missing vsyscall support."
109 - elif kernel_is -ge 4 4 \
110 - && linux_chkconfig_present LEGACY_VSYSCALL_NONE; then
111 - ewarn "You do not have vsyscall emulation enabled."
112 - ewarn "This will prevent some boinc projects from running."
113 - ewarn "Please enable vsyscall emulation:"
114 - ewarn " CONFIG_LEGACY_VSYSCALL_EMULATE=y"
115 - ewarn "in /usr/src/linux/.config, to be found at"
116 - ewarn " Processor type and features --->"
117 - ewarn " vsyscall table for legacy applications (None) --->"
118 - ewarn " (X) Emulate"
119 - ewarn "Alternatively, you can enable CONFIG_LEGACY_VSYSCALL_NATIVE."
120 - ewarn "However, this has security implications and is not recommended."
121 - fi
122 - fi
123 -}
124 -
125 -src_prepare() {
126 - # bug #732024
127 - if test "x$(get_libdir)" = "xlib64"; then
128 - sed -i -e 's,/:/lib:/usr/lib:,:/lib64:/usr/lib64:,g' m4/sah_check_lib.m4 || die
129 - fi
130 -
131 - default
132 -
133 - # prevent bad changes in compile flags, bug 286701
134 - sed -i -e "s:BOINC_SET_COMPILE_FLAGS::" configure.ac || die "sed failed"
135 -
136 - eautoreconf
137 -
138 - # bug #732024
139 - if test "x$(get_libdir)" = "xlib64"; then
140 - sed -i -e 's,/lib\([ /;:"]\),/lib64\1,g' configure || die
141 - fi
142 -}
143 -
144 -src_configure() {
145 - use X && setup-wxwidgets
146 -
147 - append-libs -L"${ESYSROOT}"/usr/$(get_libdir) -L"${ESYSROOT}"/$(get_libdir)
148 -
149 - econf --disable-server \
150 - --enable-client \
151 - --enable-dynamic-client-linkage \
152 - --disable-static \
153 - --enable-unicode \
154 - --with-ssl \
155 - $(use_with X x) \
156 - $(use_enable X manager) \
157 - $(usex X --with-wx-config="${WX_CONFIG}" --without-wxdir)
158 -}
159 -
160 -src_install() {
161 - default
162 -
163 - keepdir /var/lib/${PN}
164 -
165 - if use X; then
166 - # Create new icons. bug 593362
167 - local s SIZES=(16 22 24 32 36 48 64 72 96 128 192 256)
168 - for s in "${SIZES[@]}"; do
169 - # The convert command is not checked, because it will issue warnings and exit with
170 - # an error code if imagemagick is used and was merged with USE="-xml", although the
171 - # conversion has worked. See #766093
172 - # Instead, newicon will fail if the conversion did not produce the icon.
173 - convert "${DISTDIR}"/${PN}.tif -resize ${s}x${s} "${WORKDIR}"/boinc_${s}.png
174 - newicon -s $s "${WORKDIR}"/boinc_${s}.png boinc.png
175 - done
176 - make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
177 -
178 - # Rename the desktop file to boincmgr.desktop to (hot)fix bug 599910
179 - mv "${ED}"/usr/share/applications/boincmgr{-${PN},}.desktop || \
180 - die "Failed to rename desktop file"
181 - fi
182 -
183 - # cleanup cruft
184 - rm -r "${ED}"/etc || die "rm failed"
185 - find "${D}" -name '*.la' -delete || die "Removing .la files failed"
186 -
187 - sed -e "s/@libdir@/$(get_libdir)/" "${FILESDIR}"/${PN}.init.in > ${PN}.init || die
188 - newinitd ${PN}.init ${PN}
189 - newconfd "${FILESDIR}"/${PN}.conf ${PN}
190 -}
191 -
192 -pkg_postinst() {
193 - if use X; then
194 - xdg_desktop_database_update
195 - xdg_mimeinfo_database_update
196 - xdg_icon_cache_update
197 - fi
198 -
199 - elog
200 - elog "You are using the source compiled version of boinc."
201 - use X && elog "The graphical manager can be found at /usr/bin/boincmgr"
202 - elog
203 - elog "You need to attach to a project to do anything useful with boinc."
204 - elog "You can do this by running /etc/init.d/boinc attach"
205 - elog "The howto for configuration is located at:"
206 - elog "http://boinc.berkeley.edu/wiki/Anonymous_platform"
207 - elog
208 - # Add warning about the new password for the client, bug 121896.
209 - if use X; then
210 - elog "If you need to use the graphical manager the password is in:"
211 - elog "/var/lib/boinc/gui_rpc_auth.cfg"
212 - elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:"
213 - elog "/etc/conf.d/boinc"
214 - elog "You should change this password to something more memorable (can be even blank)."
215 - elog "Remember to launch init script before using manager. Or changing the password."
216 - elog
217 - fi
218 - elog "To be able to use CUDA or OpenCL you should add the boinc user to the video group."
219 - elog "Run as root:"
220 - elog "gpasswd -a boinc video"
221 - elog
222 - # Add information about BOINC supporting OpenCL
223 - elog "BOINC supports OpenCL. To use it you have to eselect"
224 - if use cuda; then
225 - elog "nvidia as the OpenCL implementation, as you are using CUDA."
226 - else
227 - elog "the correct OpenCL implementation for your graphic card."
228 - fi
229 - elog
230 -}
231 -
232 -pkg_postrm() {
233 - if use X; then
234 - xdg_desktop_database_update
235 - xdg_mimeinfo_database_update
236 - xdg_icon_cache_update
237 - fi
238 -}