From patchwork Tue Apr 2 16:24:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Brant Gardner X-Patchwork-Id: 3179 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 86C1216E13; Tue, 2 Apr 2019 18:54:19 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, T_DKIM_INVALID,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 4E72716E11 for ; Tue, 2 Apr 2019 18:54:18 +0100 (BST) Received: from localhost ([127.0.0.1]:47264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBNc1-00024o-Jj for patchwork@mira.cbaines.net; Tue, 02 Apr 2019 13:54:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39616) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBMQG-0006qJ-8m for guix-patches@gnu.org; Tue, 02 Apr 2019 12:38:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBMQE-0007EA-KE for guix-patches@gnu.org; Tue, 02 Apr 2019 12:38:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56180) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hBMQE-0007DY-De for guix-patches@gnu.org; Tue, 02 Apr 2019 12:38:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hBMQE-0005Ih-4Y for guix-patches@gnu.org; Tue, 02 Apr 2019 12:38:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#35086] [PATCH] New package file for BOINC client & server Resent-From: "Brant Gardner" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Apr 2019 16:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 35086 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 35086@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155422307520359 (code B ref -1); Tue, 02 Apr 2019 16:38:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Apr 2019 16:37:55 +0000 Received: from localhost ([127.0.0.1]:41491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBMQ3-0005IG-4f for submit@debbugs.gnu.org; Tue, 02 Apr 2019 12:37:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53243) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hBMPz-0005I1-V6 for submit@debbugs.gnu.org; Tue, 02 Apr 2019 12:37:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:56737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBMPu-0006QM-EB for submit@debbugs.gnu.org; Tue, 02 Apr 2019 12:37:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hBMPs-0006MV-DG for guix-patches@gnu.org; Tue, 02 Apr 2019 12:37:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hBMCj-00077E-6H for guix-patches@gnu.org; Tue, 02 Apr 2019 12:24:07 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:53001) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hBMCi-000751-K6 for guix-patches@gnu.org; Tue, 02 Apr 2019 12:24:05 -0400 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 94BFC20241 for ; Tue, 2 Apr 2019 12:24:02 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute2.internal (MEProxy); Tue, 02 Apr 2019 12:24:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brantware.com; h=mime-version:message-id:date:from:to:subject:content-type; s= fm2; bh=+p4p7f2ohoesIqiTOGfaWUArEePoiUqEy07j+0TQUio=; b=WvoLswIk J8rNG5PyOQSVAv1vlF1xlzq7Pe+qbWMj3ouZ1jzrVWm4I0O9q+Nka/NKFFsHCwcU VtPjStigJLwlfu63VKE9FlqLT3xU+SAq0KWhkWwIFaq6wHomEOVMPWuJ8ID06Vz7 xMoEQkjeeAB2IVHhIgx26mkeV+bk76BYD2CUKzsigM62ctdI28dM44KZ+Wm6+PeZ o8Re0hFKNac7df3YqNFIxKzQ6ZJk8pl/VMfb6XxrJxWKaQE0Br/OKn0gfZjlJhQ7 Lzl/YgiwBTwGHwe45nx51YXZaFUBCqnpHBjVA4EMRBu1d99btDDlquQdYO22CD3t AmdTkNDa8OgUnQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=+p4p7f2ohoesIqiTOGfaWUArEePoi UqEy07j+0TQUio=; b=MkEMp2CaqGJgppH8jAp9Ogh9ZJbsEy6HFj/oHLsF2BVKM vpui4FCMSW3l2xUqAdu+zJsWSocbLG0LEPhNJEDEQTImbSjISBaw4vSgYzJvpt0S sZ/qv4hTLyWRdRDUdY3WgUlhfcOXCvmaRe6mBT8q+WHFyVTSgnsEwcd4lHZ/KS45 ExdE3ePMVJH+9GnOseykwyO9Lys2OP6+o8JhVYgzvpD02Wn+MllhGJiO12XAD8p5 Fa1OgZb+00jVC0Ru+rpznKMW1k/EodkioxffA2NMC97b5L9/NbI6wL4j5WT188/E 125gDAU06mpPdo5qV0rQ1Jf6/4Z1qAd30ekLxyD7w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrtddtgdektdculddtuddrgedutddrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepofgfgg fkfffhvffutgesmhdtreerreertdenucfhrhhomhepfdeurhgrnhhtucfirghrughnvghr fdcuoegsrhgrnhhttghgrghrughnvghrsegsrhgrnhhtfigrrhgvrdgtohhmqeenucfrrg hrrghmpehmrghilhhfrhhomhepsghrrghnthgtghgrrhgunhgvrhessghrrghnthifrghr vgdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 2182D7C539; Tue, 2 Apr 2019 12:24:02 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.6-329-gf4aae99-fmstable-20190329v1 Mime-Version: 1.0 X-Me-Personality: 65413192 Message-Id: <17ee4c77-7bf9-4a4c-b856-f9ca4ff3c7db@www.fastmail.com> Date: Tue, 02 Apr 2019 12:24:01 -0400 From: "Brant Gardner" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-Mailman-Approved-At: Tue, 02 Apr 2019 13:54:15 -0400 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This is my first submission for contributing to Guix, so any feedback or advice is welcomed! Thank you, --- Brant Gardner From 2946bd1c83a2ea224841d22463992be599dfc385 Mon Sep 17 00:00:00 2001 From: Brant Gardner Date: Tue, 2 Apr 2019 11:09:45 -0500 Subject: [PATCH] Added distributed.scm New package file for BOINC and other distributed-computing projects. This initial file just includes boinc-client and boinc-server, both at version 7.14.2. --- gnu/packages/distributed.scm | 119 +++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 gnu/packages/distributed.scm diff --git a/gnu/packages/distributed.scm b/gnu/packages/distributed.scm new file mode 100644 index 0000000000..a126738a52 --- /dev/null +++ b/gnu/packages/distributed.scm @@ -0,0 +1,119 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2014, 2015 Ludovic Courtès +;;; Copyright © 2016, 2017, 2018, 2019 Efraim Flashner +;;; Copyright © 2018 Tobias Geerinckx-Rice +;;; Copyright © 2018 Mathieu Othacehe +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (at +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages distributed) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix git-download) + #:use-module (guix build-system gnu) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (gnu packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages base) + #:use-module (gnu packages compression) + #:use-module (gnu packages databases) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages tls) + #:use-module (gnu packages curl) + #:use-module (gnu packages wxwidgets) + #:use-module (gnu packages gnome) + #:use-module (gnu packages gtk) + #:use-module (gnu packages perl) + #:use-module (gnu packages sqlite) + #:use-module (gnu packages python) + #:use-module (gnu packages python-xyz)) + +(define-public boinc-client + (package + (name "boinc-client") + (version "7.14.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/BOINC/boinc/archive/master/client-" + version ".tar.gz")) + (sha256 + (base32 + "0kpk78vz6qnjx80rws4vnf2l79yyh3gp786sql7whm95mp2dpssf")))) + (build-system gnu-build-system) + (arguments '(#:configure-flags '("--disable-server"))) + (inputs `(("openssl" ,openssl) + ("curl" ,curl) + ("wxwidgets" ,wxwidgets) + ("gtk+" ,gtk+) + ("gdk-pixbuf" ,gdk-pixbuf) + ("libnotify" ,libnotify) + ("sqlite" ,sqlite) + ("python" ,python) + ("python-pyserial" ,python-pyserial))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (synopsis "BOINC lets you help cutting-edge science research using your computer") + (description "BOINC is a platform for high-throughput computing on a large +scale (thousands or millions of computers). It can be used for volunteer +computing (using consumer devices) or grid computing (using organizational +resources). It supports virtualized, parallel, and GPU-based applications. + +BOINC is distributed under the LGPL open source license. It can be used for +commercial purposes, and applications need not be open source.") + (home-page "https://boinc.berkeley.edu/") + (license license:gpl3+))) + +(define-public boinc-server + (package + (name "boinc-server") + (version "7.14.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/BOINC/boinc/archive/master/client-" + version ".tar.gz")) + (sha256 + (base32 + "0kpk78vz6qnjx80rws4vnf2l79yyh3gp786sql7whm95mp2dpssf")))) + (build-system gnu-build-system) + (arguments '(#:configure-flags '("--disable-client" "--disable-manager") + #:parallel-build? #f + #:tests? #f)) ; FIXME: Looks like bad test syntax in the + ; source package, 2 tests fail. Disable for + ; now. + (inputs `(("openssl" ,openssl) + ("curl" ,curl) + ("mariadb" ,mariadb) + ("zlib" ,zlib))) + (propagated-inputs `(("python" ,python-wrapper) + ("perl" ,perl))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (synopsis "BOINC lets you help cutting-edge science research using your computer") + (description "BOINC is a platform for high-throughput computing on a large +scale (thousands or millions of computers). It can be used for volunteer +computing (using consumer devices) or grid computing (using organizational +resources). It supports virtualized, parallel, and GPU-based applications. + +BOINC is distributed under the LGPL open source license. It can be used for +commercial purposes, and applications need not be open source.") + (home-page "https://boinc.berkeley.edu/") + (license license:gpl3+))) -- 2.21.0