summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-08-17 09:45:55 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-08-17 09:45:55 +0000
commitcdc2c7b8edd3cd95ecccabd909d79e7a3292f964 (patch)
tree963e37531a0c1ded5878f2942ecd185b0d84322b /sci-misc/boinc
parentStable for x86, wrt bug #430370 (diff)
downloadgentoo-2-cdc2c7b8edd3cd95ecccabd909d79e7a3292f964.tar.gz
gentoo-2-cdc2c7b8edd3cd95ecccabd909d79e7a3292f964.tar.bz2
gentoo-2-cdc2c7b8edd3cd95ecccabd909d79e7a3292f964.zip
Drop older to keep just one release.
(Portage version: 2.2.0_alpha121/cvs/Linux x86_64)
Diffstat (limited to 'sci-misc/boinc')
-rw-r--r--sci-misc/boinc/ChangeLog6
-rw-r--r--sci-misc/boinc/boinc-6.12.42.ebuild151
-rw-r--r--sci-misc/boinc/files/6.12.26-fix_subdirs.patch26
3 files changed, 5 insertions, 178 deletions
diff --git a/sci-misc/boinc/ChangeLog b/sci-misc/boinc/ChangeLog
index 9c52643ccbbc..9a6b3ef9af91 100644
--- a/sci-misc/boinc/ChangeLog
+++ b/sci-misc/boinc/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-misc/boinc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.109 2012/07/18 12:56:45 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.110 2012/08/17 09:45:54 scarabeus Exp $
+
+ 17 Aug 2012; Tomáš Chvátal <scarabeus@gentoo.org> -boinc-6.12.42.ebuild,
+ -files/6.12.26-fix_subdirs.patch:
+ Drop older to keep just one release.
*boinc-7.0.29 (18 Jul 2012)
diff --git a/sci-misc/boinc/boinc-6.12.42.ebuild b/sci-misc/boinc/boinc-6.12.42.ebuild
deleted file mode 100644
index 0abb57381724..000000000000
--- a/sci-misc/boinc/boinc-6.12.42.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-6.12.42.ebuild,v 1.4 2012/06/26 13:13:18 ssuominen Exp $
-
-EAPI=4
-
-inherit flag-o-matic eutils wxwidgets autotools base user
-
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/"
-SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
-IUSE="X cuda"
-
-RDEPEND="
- !sci-misc/boinc-bin
- !app-admin/quickswitch
- >=app-misc/ca-certificates-20080809
- dev-libs/openssl
- net-misc/curl[ssl,curl_ssl_openssl]
- sys-apps/util-linux
- sys-libs/zlib
- cuda? (
- >=dev-util/nvidia-cuda-toolkit-2.1
- >=x11-drivers/nvidia-drivers-180.22
- )
- X? (
- dev-db/sqlite:3
- media-libs/freeglut
- sys-libs/glibc:2.2
- virtual/jpeg
- x11-libs/gtk+:2
- >=x11-libs/libnotify-0.7
- x11-libs/wxGTK:2.8[X,opengl]
- )
-"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- app-text/docbook-xml-dtd:4.4
- app-text/docbook2X
-"
-
-PATCHES=(
- "${FILESDIR}/6.12.26-fix_subdirs.patch"
-)
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-
-src_prepare() {
- # use system ssl certificates
- mkdir curl
- ln -s /etc/ssl/certs/ca-certificates.crt curl/ca-bundle.crt
-
- # prevent bad changes in compile flags, bug 286701
- sed -i -e 's:BOINC_SET_COMPILE_FLAGS::' configure.ac || die
-
- sed -i -e 's:AC_PROG_CC:&\nAC_PROG_OBJCXX:' configure.ac || die #423081
-
- sed -i -e 's:glib/gtypes.h:glib.h:' clientgui/gtk/taskbarex.cpp || die #413675
-
- base_src_prepare
-
- eautoreconf
-}
-
-src_configure() {
- local wxconf=""
-
- # add gtk includes
- append-flags "$(pkg-config --cflags gtk+-2.0)"
-
- # look for wxGTK
- if use X; then
- WX_GTK_VER="2.8"
- need-wxwidgets unicode
- wxconf+=" --with-wx-config=${WX_CONFIG}"
- else
- wxconf+=" --without-wxdir"
- fi
-
- econf \
- --disable-server \
- --enable-client \
- --enable-dynamic-client-linkage \
- --disable-static \
- --enable-unicode \
- --with-ssl \
- $(use_with X x) \
- $(use_enable X manager) \
- ${wxconf}
-}
-
-src_install() {
- default
- prune_libtool_files --all
-
- dodir /var/lib/${PN}/
- keepdir /var/lib/${PN}/
-
- if use X; then
- newicon -s 48 "${S}"/packages/generic/sea/${PN}mgr.48x48.png ${PN}.png
- make_desktop_entry boincmgr "${PN}" "${PN}" "Math;Science" "Path=/var/lib/${PN}"
- fi
-
- # cleanup cruft
- rm -rf "${D}"/etc/
-
- newinitd "${FILESDIR}"/${PN}.init ${PN}
- newconfd "${FILESDIR}"/${PN}.conf ${PN}
-}
-
-pkg_preinst() {
- enewgroup ${PN}
- # note this works only for first install so we have to
- # elog user about the need of being in video group
- if use cuda; then
- enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},video"
- else
- enewuser ${PN} -1 -1 /var/lib/${PN} "${PN}"
- fi
-}
-
-pkg_postinst() {
- echo
- elog "You are using the source compiled version of ${PN}."
- use X && elog "The graphical manager can be found at /usr/bin/${PN}mgr"
- elog
- elog "You need to attach to a project to do anything useful with ${PN}."
- elog "You can do this by running /etc/init.d/${PN} attach"
- elog "The howto for configuration is located at:"
- elog "http://boinc.berkeley.edu/wiki/Anonymous_platform"
- elog
- # Add warning about the new password for the client, bug 121896.
- if use X; then
- elog "If you need to use the graphical manager the password is in:"
- elog "/var/lib/${PN}/gui_rpc_auth.cfg"
- elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:"
- elog "/etc/conf.d/${PN}"
- elog "You should change this password to something more memorable (can be even blank)."
- elog "Remember to launch init script before using manager. Or changing the password."
- elog
- fi
- if use cuda; then
- elog "To be able to use CUDA you should add boinc user to video group."
- elog "Run as root:"
- elog "gpasswd -a boinc video"
- fi
-}
diff --git a/sci-misc/boinc/files/6.12.26-fix_subdirs.patch b/sci-misc/boinc/files/6.12.26-fix_subdirs.patch
deleted file mode 100644
index a0ea5ab0cc60..000000000000
--- a/sci-misc/boinc/files/6.12.26-fix_subdirs.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -urN boinc-6.12.26.old//configure.ac boinc-6.12.26//configure.ac
---- boinc-6.12.26.old//configure.ac 2011-05-22 09:40:36.392051762 +0200
-+++ boinc-6.12.26//configure.ac 2011-05-22 11:03:28.687889510 +0200
-@@ -887,7 +887,6 @@
- apps/Makefile
- clientgui/Makefile
- clientgui/res/Makefile
-- clientscr/Makefile
- client/Makefile
- client/win/boinc_path_config.py:py/boinc_path_config.py.in
- client/scripts/Makefile
-diff -urN boinc-6.12.26.old//Makefile.am boinc-6.12.26//Makefile.am
---- boinc-6.12.26.old//Makefile.am 2011-05-22 09:40:36.376051962 +0200
-+++ boinc-6.12.26//Makefile.am 2011-05-22 11:03:16.277044666 +0200
-@@ -21,10 +21,7 @@
- endif
-
- if ENABLE_MANAGER
-- CLIENTGUI_SUBDIRS = clientgui clientgui/res locale
-- if BUILD_X11_SCREENSAVER
-- CLIENTGUI_SUBDIRS += clientscr
-- endif
-+ CLIENTGUI_SUBDIRS = clientgui clientgui/res locale
- endif
-
- # ORDER MATTERS below. One must build dependencies FIRST, then things