From patchwork Thu Aug 4 03:26:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: rennes@openmailbox.org X-Patchwork-Id: 14305 Received: (qmail 102769 invoked by uid 89); 4 Aug 2016 03:27:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.1 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=entertainment, controlling, Framework, H*R:D*openmailbox.org X-Spam-Status: No, score=-3.2 required=5.0 tests=AWL, BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 04 Aug 2016 03:27:18 +0000 Received: from localhost ([::1]:37587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV9JU-0002dy-DY for patchwork@sourceware.org; Wed, 03 Aug 2016 23:27:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV9JP-0002ds-GF for guix-devel@gnu.org; Wed, 03 Aug 2016 23:27:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bV9JL-00063T-Fm for guix-devel@gnu.org; Wed, 03 Aug 2016 23:27:11 -0400 Received: from mail2.openmailbox.org ([62.4.1.33]:46029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bV9JL-00063N-2l for guix-devel@gnu.org; Wed, 03 Aug 2016 23:27:07 -0400 Received: by mail2.openmailbox.org (Postfix, from userid 1001) id 95B7A103BBF; Thu, 4 Aug 2016 05:27:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=openmailbox.org; s=openmailbox; t=1470281225; bh=pAfQXEA4zC5RaHA5ql3JgV8HTCTTubggzTrgkbjps94=; h=Date:From:To:Cc:Subject:Reply-To:In-Reply-To:References:From; b=WV5RqOT8zl/ZCxiO0FhbxbSJGNFNkMHyxXufUKly6SmUbrKbX+aLO8p0vN1ESJ3up OX8npIzpW1gkGygvpKixGIZqlge6m/hA2whkyaMR59kZUpm0Ro0jox358Zx3J86y6q dpLPrvqb2sm/OPAdoGLluAFx5nJWYIaEU1Jf3O58= Received: from www.openmailbox.org (unknown [10.91.130.55]) by mail2.openmailbox.org (Postfix) with ESMTP id 5D2AD111B1B; Thu, 4 Aug 2016 05:26:59 +0200 (CEST) MIME-Version: 1.0 Date: Wed, 03 Aug 2016 22:26:59 -0500 From: rennes@openmailbox.org To: guix-devel@gnu.org Subject: [PATCH] gnu: Add ola. Mail-Reply-To: rennes@openmailbox.org In-Reply-To: References: Message-ID: X-Sender: rennes@openmailbox.org User-Agent: Roundcube Webmail/1.0.6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 62.4.1.33 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: rennes@openmailbox.org Cc: jjfoerch@earthlink.net Errors-To: guix-devel-bounces+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" Hello Guix, > Date: Wed, 03 Aug 2016 09:14:09 -0400 > From: John J Foerch > > Hi, I have a favor to ask of anybody in the guix community - is there > anybody who would be willing to finish this package for me, since I > can't build and test it? This is a library that I need to use, but > maybe the only way that I can use it (until I upgrade my computer) will > be to install it as a substitute. > > Or are there any other suggestions for how I can build this myself? I attached the patch with some modifications for your review. I compiled and installed the ola package correctly. John, how I can make a real test to see if it works? Thanks From 562f3f6d4446fa68c21f1c42c0f39bf2ac145935 Mon Sep 17 00:00:00 2001 From: Rene Saavedra Date: Wed, 3 Aug 2016 21:36:52 -0500 Subject: [PATCH] gnu: Add ola. * gnu/packages/ola.scm (ola): New variable. --- gnu/packages/ola.scm | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 gnu/packages/ola.scm diff --git a/gnu/packages/ola.scm b/gnu/packages/ola.scm new file mode 100644 index 0000000..826c989 --- /dev/null +++ b/gnu/packages/ola.scm @@ -0,1 +1,66 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2016 John J. Foerch +;;; +;;; 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 ola) + #:use-module (guix build-system gnu) + #:use-module (guix download) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix packages) + #:use-module (gnu packages bison) + #:use-module (gnu packages check) + #:use-module (gnu packages compression) + #:use-module (gnu packages flex) + #:use-module (gnu packages linux) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages protobuf)) + +(define-public ola + (package + (name "ola") + (version "0.10.2") + (source (origin + (method url-fetch) + (uri (string-append + "https://github.com/OpenLightingProject/ola/releases/download/" + version "/ola-" version ".tar.gz")) + (sha256 + (base32 + "09zx1c8nkj29shfdzkahrh9397m3mwnsy0gj7jrb63f89f3n2vlq")))) + (build-system gnu-build-system) + (native-inputs + `(("bison" ,bison) + ("cppunit" ,cppunit) + ("flex" ,flex) + ("pkg-config" ,pkg-config))) + (inputs + `(("libuuid" ,util-linux) + ("protobuf" ,protobuf) + ("zlib" ,zlib))) + (arguments + `(#:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out"))) + #:phases %standard-phases)) + (synopsis "Framework for controlling entertainment lighting equipment") + (description "The Open Lighting Architecture is a framework for lighting +control information. It supports a range of protocols and over a dozen USB +devices. It can run as a standalone service, which is useful for converting +signals between protocols, or alternatively using the OLA API, it can be used +as the backend for lighting control software. OLA runs on many different +platforms including ARM, which makes it a perfect fit for low cost Ethernet to +DMX gateways.") + (home-page "https://www.openlighting.org/ola") + (license license:lgpl2.1+))) -- 2.6.3