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